Skip to content

feat: add failure minimization via delta debugging - #11

Merged
utsab345 merged 4 commits into
mainfrom
feat/failure-minimization
Oct 12, 2026
Merged

utsab345 merged 4 commits into
mainfrom
feat/failure-minimization

Conversation

@utsab345

Copy link
Copy Markdown
Owner

Failure Minimization

Adds stepfork minimize command that uses delta debugging to find minimal reproducible traces.

Usage

stepfork minimize failure.sftrace --entrypoint agent:run --output minimal.sftrace

Implementation

  • Failure signature detection (exception, divergence, output mismatch)
  • Delta debugging with dependency preservation
  • Timeout and nondeterminism handling
  • 29 new tests, all passing

Files Changed

  • src/stepfork/minimize/ (4 new modules)
  • src/stepfork/cli/minimize.py (CLI command)
  • docs/minimize.md (user guide)
  • Tests in tests/unit/ and tests/integration/

@utsab345
utsab345 merged commit 061eda8 into main Oct 12, 2026
6 checks passed
@utsab345
utsab345 deleted the feat/failure-minimization branch October 12, 2026 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant