Skip to content

tools(mutation): speedups, triage CLI tools, and 360 auto-triaged survivors - #8485

Merged
squid-shepherd[bot] merged 10 commits into
mainfrom
feat/mutation-triage-tools
Nov 15, 2026
Merged

squid-shepherd[bot] merged 10 commits into
mainfrom
feat/mutation-triage-tools

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

  1. Mutation Execution Speedups

    • tests/tools/mutation.py:
      • compiles(..., only_file=m.file) compiles only the mutated .java file with -sourcepath and routes through javac_server.javac.
      • write_mutant hardlinks unmodified port files (_link_or_copy) and unlinks m.file before writing the mutant.
      • run batches intermediate _save checkpoints every 10 mutants instead of every mutant.
    • tests/tools/det_mutation.py:
      • run() now passes one_jvm=not full (matching mutation.py CLI's fast-mode default).
  2. Survivor Triage Automation (tests/tools/survivor_attack.py)

    • screen: Java-only divergence screener (--promote forwards only diverging mutants to full COBOL+Java try).
    • auto-state: runs facts and applies det_mutation.py state for settled ATTACK_SETTLED mutants.
    • facts-all: batches facts / auto-state by corpus so each corpus translates once.
    • clusters & fault-candidates: cluster open survivors across cases and surface cases with uncovered fault-guard branches.
    • --apply: appends winning calls / scenarios / faults proposals into case.json.
    • New port_fact detectors: dominated IMAGE_s_* / Cobol.store / Cobol.move (inert_image, cobol_store_dominated), local_assign_unread (calen = cx(task, N)), and EIBTIME / EIBDATE in eib_resp_unread.
  3. Backlog Reduction

    • Ran survivor_attack.py facts-all --auto-state --limit 15, auto-triaging 360 static-fact survivors across 12 carddemo-* and cbsa-* cases with updated det_mutation/*.json ledgers.

Verification

  • pytest tests/tools/test_survivor_attack.py tests/tools/test_det_mutation.py tests/tools/test_mutation_bytes.py: 140 passed in 3.04s
  • det_mutation.py check: det mutation: ok
  • det_mutation.py stale-check --vs origin/main: det mutation: no stale ledger

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 15, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 7a42a14 into main Nov 15, 2026
37 checks passed
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant