You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[P1] Share auto-patch logic between verify --fix and generation loop #10
Done on master. code2test verify --fix builds a TestGenerator and calls the same verify_and_fix that generation uses (code2test/cli/commands/verify.py), so one code path applies every repair. --fix only rewrites files Code2Test generated and that haven't been edited since.
Covered by tests/test_cli.py: test_verify_fails_after_code_change_and_fix_repairs, test_verify_fix_does_not_overwrite_hand_edited_tests, test_unfixable_tests_are_not_written. Generation-side repair is covered in tests/test_pipeline.py.
Activity
pro-utkarshM commentedon Oct 15, 2026
Done on
master.code2test verify --fixbuilds aTestGeneratorand calls the sameverify_and_fixthat generation uses (code2test/cli/commands/verify.py), so one code path applies every repair.--fixonly rewrites files Code2Test generated and that haven't been edited since.Covered by
tests/test_cli.py:test_verify_fails_after_code_change_and_fix_repairs,test_verify_fix_does_not_overwrite_hand_edited_tests,test_unfixable_tests_are_not_written. Generation-side repair is covered intests/test_pipeline.py.Generated by Claude Code