Skip to content

equivalence: batch CALL compare (equivalence_call.compare_dto) checks only DTO-mapped fields; DTOs with trailing FILLER keep a short extent #4778

Closed

Description

@squid-protocol

Follow-ups from #4765 / PR #4772, which made COMMAREA and file-record compares cover every occurrence by name and subscript.

  1. tests/tools/equivalence_call.compare_dto (batch CALL USING / LINKAGE compares) still compares only the fields the DTO maps. LINKAGE bytes the DTO doesn't map, and occurrences beyond the first in a model-port DTO, are not compared. This is the same class of proof weakness as Equivalence: COMMAREA OCCURS fields are compared at the first occurrence only; det LINK of an OCCURS DTO passes the first occurrence's extent #4765.
  2. DTOs with a trailing FILLER (CBSA CustctrlDfhcommarea, GenApp Lg* DTOs) keep their old extent, so bytes past the last named field aren't carried or compared.
  3. (Lower) BMS screens keep the old single-occurrence layout. No case's map has an OCCURS today; add a test so one is caught when it appears.

Acceptance:

  • The CALL compare covers every LINKAGE field and occurrence by name and subscript, the way harness compares every OCCURS occurrence; the whole table travels (Fixes #4765) #4772 does for COMMAREAs.
  • Trailing FILLER is covered: compared as bytes when no field names it, or explicitly declared as not compared, with the reason.
  • A deliberately broken port that changes an unmapped LINKAGE byte is caught.
  • A full proof_sweep.py --det-only and --model-only re-sweep: any newly failing case goes on the baseline with an issue; the compare is never loosened.

🤖 Generated with Claude Code

Activity

  1. added
    bug
    testing
    legacy-modernization
    priority: high
    on Oct 9, 2026
  2. added
    scope:sweep
    on Oct 16, 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

    buglegacy-modernizationpriority: highscope:sweeptesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions