Repository navigation
Description
Part of #4628. A watcher1 (owner's Pi 5) job, fenced from churn like #7957: assigned to the owner, label claim:watcher1.
Why this program
mortgage-nbrvl(EPSNBRVL, number validation) is a CALL case, whichsurvivor_attack.py tryalready handles on main; nothing waits on survivor_attack: batchtry, and the PR gate refuses bulk survivor reasons (Part of #4628) #8014.- The proof covers 3/3 paragraphs and 22/22 branches, yet 144 of 337 mutants survive. They are boundary inputs the case lacks (e.g. Java line 246
WS-IDX > WS-MAX-FIELD, line 285's end-of-spaces loop). - det_mutation: exhaustive ledgers for CBSTM03B, PAUDBLOD, PAUDBUNL, EPSNBRVL, EPSMPMT (Part of #4628) #7762 labelled all 144 from stock sentences, with 2 attacks on record. This job replaces those labels with attacks.
- No churn issue, queued item or open PR touches EPSNBRVL.
The job
Goal: make the tests catch mutants. Kills and new test inputs are the result; labels are not. Work from origin/main, in a work dir outside the repo (e.g. ~/l5/nbrvl), with JDK 17 (JAVA_HOME). A JDK 21 shell makes try report a false port-differs until #8014 lands.
python tests/tools/survivor_attack.py facts mortgage-nbrvl --work DIR- Take first the survivors that change a condition, comparison, length or loop bound (ROR/NEG/COR/AOR), and lines inside paragraphs (e.g. Java 246, 285). Skip the DTO-copy lines (Java ~70-80): those are harness gaps, leave them unstated.
- Per survivor:
survivor_attack.py packet mortgage-nbrvl ID --work DIR, then read the COBOL (zBuilder/MortgageApplication). WriteINPUTS.json: CALLs in the case's format (copy the shape of a call intests/equivalence/mortgage-nbrvl/case.json). Aim at the boundary: exactly the max length, one over, all spaces, a trailing space, a decimal point first or last, a non-digit. Aim one input at several mutants of the same line. survivor_attack.py try mortgage-nbrvl ID1,ID2 --inputs INPUTS.json --work DIR, then act on the result:killed: add that call tocase.json.survived: try a second, different idea.port-differs: stop and report it (a real bug).refused: change the input.
- After all kills:
python tests/tools/det_mutation.py run mortgage-nbrvl --work DIR --sample 0
Rules
- Never write
equivalentorunreachableyourself. - Do not write a verdict for a survivor you did not attack. An unstated survivor is already open. Never reuse one sentence across many survivors (survivor_attack: batch
try, and the PR gate refuses bulk survivor reasons (Part of #4628) #8014 makes the PR gate refuse that). - A survivor attacked twice without a kill: state
case-gapviadet_mutation.py state mortgage-nbrvl TRIAGE.json --attempts DIR/attempts.json, with its own reason naming the input you would try next. - Stop after 30 survivors attacked or 4 hours, whichever comes first.
Done when
One PR, titled EPSNBRVL: N survivors killed by M new calls (Part of #4628). The body gives the counts attacked / killed / left open and lists the new calls. The PR must change tests/equivalence/mortgage-nbrvl/case.json; a session with no kills is reported here instead of a PR.
Next for watcher1 if this goes well: EPSMPMT (mortgage-mpmt), then CBSTM03B: same shape (CALL cases).
Activity