Skip to content

Equivalence harness: BMS maps support #4506

Closed

Description

@squid-protocol

PR #4492 added map-field input generation for CICS screens (values on file, miss, bad). Remaining: generate inputs straight from the BMS map definitions (field lengths, attributes, PICIN/PICOUT, protected and numeric fields), and compare the OUTPUT map too: field contents, attribute bytes, cursor position and error messages, not just the data the program moved.

Done when (each language): (1) the original runs in the harness (or its outputs are captured on z/OS via #4050); (2) inputs are generated from the language's declared data structures, like #3804 does for COBOL; (3) outputs are compared field by field and reported through #4493; (4) one real case proves, with coverage measured and a mutation run on the replacement. If (1) is impossible locally, say so and depend on #4050 instead of faking a runner.

Remaining slices (as of 2026-10-18)

Done so far: 2 merged PRs (#5306, #5394).

Drafted 2026-10-18 by a Sonnet triage pass from this issue, its comments and the bodies of its "Part of" PRs; (verify) items were not checked against main. Tick boxes as slices merge; edit freely.

Activity

  1. added
    enhancement
    testing
    legacy-modernization
    on Oct 5, 2026
  2. squid-protocol commented on Oct 14, 2026

    @squid-protocol
    OwnerAuthor

    Siblings: #5116 (BMS field conversion gaps in the oracle/det).

  3. added
    scope:core
    era:2
    on Oct 16, 2026
  4. added
    needs:corpus
    needs:docker
    on Oct 18, 2026
  5. 32 remaining items

  6. squid-protocol commented on Oct 21, 2026

    @squid-protocol
    OwnerAuthor

    #5913 merged: a partial slice of [c:868a42e0] "Mutation on the generated cases: acctview 17/35 caught (sample), tranview 24/40; triage the survivors (CON width constants, fault-run paths) or add fault runs. (1 PR)"; left: scored acctview, tranview (earlier), menu and adminmenu generated cases; the other -generated cases (cardview, useradd/userupd/userdel, the CBSA and GenApp ones) are still unscored (promoter-bot)

  7. squid-protocol commented on Oct 21, 2026

    @squid-protocol
    OwnerAuthor

    #5913 merged: a partial slice of [c:0f47734b] "(verify) Output-map compare: confirm nothing in "compare the OUTPUT map" is missing (attributes, colour, cursor, messages exist per #5306), then tick it."; left: not ticked: #5306's body says the output-map compare (attribute bytes, colour, cursor, options, message fields) exists from #4053/#4270, but this PR did not re-read it in the harness (promoter-bot)

  8. squid-protocol commented on Oct 22, 2026

    @squid-protocol
    OwnerAuthor

    Waiting on an owner decision (asked privately, 2026-10-22). Nothing is needed from contributors; work resumes once it is answered.

  9. squid-protocol commented on Oct 22, 2026

    @squid-protocol
    OwnerAuthor

    The owner decided (2026-10-22); the bot applies it on its next tick.

  10. squid-protocol commented on Oct 22, 2026

    @squid-protocol
    OwnerAuthor

    All slices are ticked and merged (#5306, #5394, #5802, #5844, #6004, #6009): RECEIVE MAP inputs are generated from BMS definitions, the output map is compared in full (data, attributes, colour, cursor, options), and a mutation run was done on real cases. The PICIN/PICOUT/JUSTIFY/NUM-default work stays in sibling #5116 (no burned program needs it); closing does not fold it in.

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

    claim:melekenhancementera:2legacy-modernizationneeds:corpusneeds:dockerscope:coretesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions