Skip to content

Input generator assumes English field names and ISO dates (DATUM / FECHA / DATO; DDMMYYYY) #3829

Closed

Description

@squid-protocol

equivalence_inputs.py: if "DATE" in name.upper() and nbytes == 10 writes YYYY-MM-DD. Fields named DATUM, FECHA, DATA or DATO, and 8-byte DDMMYYYY / YYYYMMDD fields, get random letters. The program then takes only its error path, and the equivalence claim covers far less than it seems.

Fix: Drive date shapes from the case ("format": "DD.MM.YYYY") or from a field fact, not from the English name.

Found by a cultural-assumptions audit (2026-09-26): confirmed in code or by probe (JDK 17 locales, IBM code-page decoding, the harness's GnuCOBOL image) unless marked plausible.

🤖 Generated with Claude Code

Activity

  1. added
    enhancement
    legacy-modernization
    on Sep 26, 2026
  2. added a commit that references this issue on Sep 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementlegacy-modernization

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions