-
Notifications
You must be signed in to change notification settings - Fork 22
[FEAT] Code-repair for candidates with unmatched test results #945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
aseembits93
merged 69 commits into
main
from
feat/feedback-loop-for-unmatched-test-results
Dec 19, 2025
Merged
Changes from 21 commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
5830a70
quick and dirty
mohammedahmed18 3e0440b
safter
mohammedahmed18 eb16cb2
Optimize parse_test_failures_from_stdout
codeflash-ai[bot] 168118a
Merge pull request #946 from codeflash-ai/codeflash/optimize-pr945-20…
mohammedahmed18 a7f8816
fix tests
mohammedahmed18 4e9f894
linting
mohammedahmed18 1c9abaf
did it pass ?
mohammedahmed18 0b2d894
revert test optimization
mohammedahmed18 ecfa89f
cleaner
mohammedahmed18 6ea2545
test: try to fix the candidate and see if the diff is empty
mohammedahmed18 fe68772
capture all test discrepancies
ed39ec8
do the repair in main loop
142da4c
todo write backend endpoint
5a7c356
need to test now
8a28d0d
Merge branch 'feat/feedback-loop-for-unmatched-test-results' of githu…
mohammedahmed18 5ed5dfc
works, figure out logging
fe33c82
local db logging
83814be
ready to run experiments
0325444
logging fix
9f7ed90
handle test class methods for the test diff
mohammedahmed18 1ddc87c
Merge branch 'feat/feedback-loop-for-unmatched-test-results' of githu…
mohammedahmed18 6060ffb
codeflash suggestion
mohammedahmed18 1120d64
safer parsing
mohammedahmed18 c2e037a
better parsing for pytest stdout
mohammedahmed18 5703889
Merge branch 'feat/feedback-loop-for-unmatched-test-results' of githu…
mohammedahmed18 bd1ebf4
temp logging
c1ae81e
working version
mohammedahmed18 696448c
Merge branch 'feat/feedback-loop-for-unmatched-test-results' of githu…
mohammedahmed18 97f2426
fix override candidate after the code repair
mohammedahmed18 6a9390c
typo
mohammedahmed18 b93fd34
enhancements and cleanups
mohammedahmed18 bcc19f7
handle repaired code is exact same as the original code
mohammedahmed18 79387c3
linting issue and handle file name in code_print for repaired candidate
mohammedahmed18 4c13bb9
fixes
mohammedahmed18 12dc7e1
Merge branch 'main' of github.com:codeflash-ai/codeflash into feat/fe…
mohammedahmed18 d66d2ce
small changes
mohammedahmed18 b4474f3
add code repairs to the queue
mohammedahmed18 726405b
optimization source
mohammedahmed18 ee4749a
make it work
mohammedahmed18 15b72b1
repair the code after refinement if needed
mohammedahmed18 e63d39f
typo
mohammedahmed18 cc9ad56
optimization source and parents
mohammedahmed18 4976d5d
some heuristics to limit code repair from generating many candidates
mohammedahmed18 704a4b0
shorten error string, more enhancements needed
ff584fb
reprlib repr for shorter repr
ae080d0
enhancements
mohammedahmed18 6c8be65
Merge branch 'main' of github.com:codeflash-ai/codeflash into feat/fe…
mohammedahmed18 2e5d728
Optimize AiServiceClient._get_valid_candidates
codeflash-ai[bot] 4dea247
Merge pull request #966 from codeflash-ai/codeflash/optimize-pr945-20…
mohammedahmed18 b5ca2b4
fix failing test
mohammedahmed18 b438243
Merge branch 'feat/feedback-loop-for-unmatched-test-results' of githu…
mohammedahmed18 f219996
fix validation error for python code
mohammedahmed18 9d099ac
remove comment
mohammedahmed18 68e0e7c
Merge remote-tracking branch 'origin/feat/feedback-loop-for-unmatched…
cb8ce22
Merge pull request #965 from codeflash-ai/feat/shorten-test-feedback
aseembits93 41de7be
Merge branch 'feat/feedback-loop-for-unmatched-test-results' of githu…
mohammedahmed18 a6a5578
fixes
mohammedahmed18 93f7331
Merge branch 'main' into feat/feedback-loop-for-unmatched-test-results
mohammedahmed18 b96a01c
reprlib bugfix
aseembits93 ddb656f
tests: parse test output
mohammedahmed18 58ff338
Merge branch 'feat/feedback-loop-for-unmatched-test-results' of githu…
mohammedahmed18 46522d8
Merge branch 'main' into feat/feedback-loop-for-unmatched-test-results
aseembits93 d165a15
Merge remote-tracking branch 'origin/main' into feat/feedback-loop-fo…
aseembits93 9b04565
merge conflicts fix
aseembits93 5063fba
revert version
aseembits93 60a6db2
Merge branch 'main' into feat/feedback-loop-for-unmatched-test-results
aseembits93 13a82fd
bugfix
aseembits93 a04dc98
merge commit fix
aseembits93 194ded5
merge commit fix
aseembits93 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.