Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Equivalence cases for whole-translated batch programs no case runs: CBSA BANKDATA, CardDemo CBSTM03B

Aperta
#5,561 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python
Ambito
testing

Direzione di ricerca

Add or extend tests/equivalence/cbsa-bankdata and tests/equivalence/carddemo-cbstm03b, using the existing CBSA Db2 harness and CALLed-program patterns from #5558 and #4803. Start with src/base/cobol_src/BANKDATA.cbl and app/cbl/CBSTM03B.CBL, then inspect the equivalence harness and IBM reference policy in .claude/rules/mainframe-evidence-policy.md. Done means generated Db2 rows and CUSTOMER-FILE contents match the oracle, every CBSTM03B request type matches, and the evidence reports reach L2 or explicitly name what blocks it, with paragraph and branch coverage reported.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

era:2 legacy-modernization needs:corpus needs:docker priority: medium scope:core testing

Two burned-estate batch programs translate whole (evidence L1) but no equivalence case runs them, so they cannot climb to L2. Their evidence reports' next is "an equivalence case that runs it". Found while sizing the six burned CICS estates' remaining rungs (2026-10-18).

program estate what it is case needs
src/base/cobol_src/BANKDATA.cbl (1,463 lines) CBSA batch data generator: writes CUSTOMER-FILE (VSAM, OPEN OUTPUT, l.449) and Db2 rows (EXEC SQL l.73-642) the Db2 generated-rows path of the harness (#4507, as cbsa-bnk1dac in #5558) plus the VSAM output dataset; compare the file and the table contents
app/cbl/CBSTM03B.CBL (230 lines) CardDemo file-I/O subprogram CBSTM03A CALLs: OPEN / READ / CLOSE of TRNXFILE, XREFFILE, CUSTFILE, ACCTFILE by a LINKAGE request block a CALLed-program case (subprograms, as #4803's mortgage-csmrt) driven by its LINKAGE area directly: CBSTM03A itself still has holes (#5560, and its SET ADDRESS OF control-block walk)

Not in this issue: CardDemo COBSWAIT already has tests/equivalence/carddemo-cobswait (#5106 audit; its L1 should clear on the next evidence refresh), and DBUNLDGS / PAUDBLOD are IMS (#4893).

Acceptance

  • tests/equivalence/cbsa-bankdata: BANKDATA's det port equal to the oracle on its scenarios (generated Db2 rows, CUSTOMER-FILE contents); the evidence report shows BANKDATA at L2 or names what holds it.
  • tests/equivalence/carddemo-cbstm03b: CBSTM03B equal on every request type (each file x OPEN / READ / CLOSE, end of file, a missing record); L2 or the named reason.
  • Paragraph / branch coverage quoted in the PR (towards L3/L4).

Burned estates only; IBM is the reference (.claude/rules/mainframe-evidence-policy.md).

Lingua principale
Python
Stelle
57
Fork
11
Merge medio
1h 43m
PR unite (30g)
985

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di squid-protocol/gitgalaxy

Tutte le issue di squid-protocol/gitgalaxy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.