Pull Request Template
Summary of Changes¶
Type of Change¶
- [ ] Bug fix (non-breaking change restoring default
--compat=vardictjavaupstream parity or crash robustness) - [ ]
CompatProfile/ opt-in feature (v1.1+--compat=offswitch with diff-confinement test or opt-in CLI capability) - [ ] Performance optimization (scaling or memory footprint improvement)
- [ ] Test harness / benchmarking expansion
- [ ] Documentation update
- [ ] Infrastructure / CI workflow update
Parity Validation Receipt (AGENTS.md §15 Item 5)¶
Validation Statement:
validated vs VarDictJava 1.8.3, dataset <name>, cmd <...>
Mandatory PR Regression Suite Checklist¶
All checks must pass before PR approval. Run locally via bash harness/pr_check.sh:
Docs/infra-only PRs whose diff touches none of *.rs, Cargo.toml/Cargo.lock, crates/, harness/ may mark engine boxes below N/A with a one-line justification instead.
- [ ] Unit & Workspace Tests (Level 1): cargo test --workspace passes with zero failures.
- [ ] Integration Corpus (Level 2 / Tier-1): harness/run_integration.sh reports PASS: 91 XFAIL: 1 FAIL: 0 SKIP: 0 XPASS: 0 (UB-4 upstream fixture defect; 100% live oracle parity).
- [ ] Crash Robustness Suite (Level 2): cargo test -p vardictrust --test robustness passes (Hostile CIGAR PR #402, missing BAI #187).
- [ ] Differential Parity (Level 3 / Tier-2): harness/compare.sh and pr_check.sh Stage 4 (micro, s1a..s9, run_extended_coverage.sh --no-record, run_multimodal_slices.sh --no-record) executed with 0 diffs (\(\varepsilon \le 10^{-6}\)) in default --compat=vardictjava mode (plus targeted --compat=off diff-confinement tests in engine_behavior / robustness when modifying CompatProfile paths).
- [ ] Release Recertification (AGENTS.md §15 Item 4): If this is a release branch (release/vX.Y.Z) or milestone certification PR, run bash harness/recertify.sh and bash harness/acceptance.sh (N/A — deferred to release cut per two-tier testing policy on normal feature/fix PRs).
Mandatory Performance & Memory Verification¶
Every PR modifying variant calling, pileup, or realignment logic must verify performance:
- [ ] Performance Budget: python3 harness/perf_budget.py hg008-tier2 seqc2-exome-tier2 hg002-tier2 amplicon-tier2 hg008-cram-twin passes.
- [ ] Runtime Delta: PR runtime \(\le\) Baseline runtime (within 5% tolerance).
- [ ] Peak RSS Delta: PR peak RSS \(\le\) Baseline peak RSS (no memory regressions).
- [ ] Bounded Memory: Verified that memory usage remains \(O(1)\) across wide intervals via region tiling.
Security, Hygiene & Cluster Etiquette¶
- [ ]
cargo fmt --all -- --checkclean. - [ ]
cargo clippy --all-targets --all-features -- -D warningsclean (zero warnings). - [ ]
gitleaks detect --source .clean (0 leaks). - [ ] Cluster resource etiquette respected (concurrency capped at \(\le 8\) threads or
RUST_TEST_THREADS=4). - [ ] Zero
Co-Authored-Bycommit trailers per commit policy. - [ ] Engine fingerprint verified (
bash harness/engine_fingerprint.sh). - [ ] Multi-skill review completed and findings fixed (
/ponytail-review,/rust-router, and/pragmatic-rust-guidelinesper AGENTS.md §15.8). - [ ] Waited for
copilot-pull-request-reviewer[bot]review to finish; every review comment refuted or fixed with an inline reply and every review thread resolved (resolveReviewThread). - [ ] Security disclosures follow SECURITY.md (contact:
palakpsheth@gmail.com).