ali
|
1c7c2b88ba
|
Merge branch 'main' of github.com:codeflash-ai/codeflash into testgen/multi-files
|
2025-10-08 01:40:56 +03:00 |
|
Kevin Turcios
|
3f1f8d3080
|
sync with main
|
2025-09-26 17:06:38 -07:00 |
|
Kevin Turcios
|
c6c9d9559f
|
few missing things
|
2025-09-26 16:25:28 -07:00 |
|
ali
|
4b41ab73bf
|
fix: unit tests
|
2025-09-25 04:10:25 +03:00 |
|
ali
|
5981d75b3e
|
use markdown context for the testgen
|
2025-09-25 03:31:05 +03:00 |
|
ali
|
28f50cc1e0
|
Merge branch 'main' of github.com:codeflash-ai/codeflash into fix/duplicate-global-assignments-when-reverting-helpers
|
2025-08-25 21:36:35 +03:00 |
|
ali
|
9c8256a122
|
prevent duplicates for new global statements
|
2025-08-25 00:44:12 +03:00 |
|
ali
|
117e682835
|
test: simplify
|
2025-08-23 20:17:13 +03:00 |
|
ali
|
e7de51a2df
|
prevent duplicate global assignments when reverting helpers
|
2025-08-23 18:34:37 +03:00 |
|
ali
|
99cb90832a
|
test & correct last import index
Signed-off-by: ali <mohammed18200118@gmail.com>
|
2025-08-22 17:45:44 +03:00 |
|
ali
|
c5b1d30319
|
add global assignments after the imports
Signed-off-by: ali <mohammed18200118@gmail.com>
|
2025-08-22 15:52:15 +03:00 |
|
mohammed ahmed
|
f2e5cb2e90
|
Merge branch 'main' into fix/existing-top-level-cond-imports
|
2025-08-11 18:45:31 +03:00 |
|
mohammed
|
a7ff701309
|
eleminate the use of flat code for parsing
|
2025-08-06 22:48:03 +03:00 |
|
mohammed
|
989b1f30a2
|
unit tests fixing
|
2025-08-06 03:33:46 +03:00 |
|
mohammed
|
07a9365987
|
send&recieve markdown code
|
2025-08-06 01:09:42 +03:00 |
|
mohammed
|
3eee162d41
|
fix markdown context for formatting and more refactoring
|
2025-08-04 15:35:28 +03:00 |
|
mohammed
|
24f2785d38
|
new line
|
2025-07-31 16:54:52 +03:00 |
|
mohammed
|
c3b775fc68
|
avoid adding new imports existed in top level try/catch or if TYPE_CHECKING
|
2025-07-31 16:52:11 +03:00 |
|
mohammed
|
330bf91e73
|
fix code replacement tests
|
2025-07-25 15:39:47 +03:00 |
|
mohammed
|
190d5930ca
|
fix: tests expected code new lines
|
2025-06-29 00:44:02 +03:00 |
|
aseembits93
|
da9df78062
|
new tests
|
2025-06-13 17:27:45 -07:00 |
|
aseembits93
|
85ce164d6a
|
rstrip for comparing strings
|
2025-06-06 13:41:34 -07:00 |
|
aseembits93
|
6abb3df8ef
|
1 test failing
|
2025-06-06 13:24:17 -07:00 |
|
Aseem Saxena
|
62909dbc19
|
Update tests/test_code_replacement.py
|
2025-06-06 13:19:39 -07:00 |
|
aseembits93
|
0be74c4d52
|
Ready to review
|
2025-06-06 13:18:58 -07:00 |
|
aseembits93
|
c93b80e87b
|
Ready to review
|
2025-06-06 13:11:07 -07:00 |
|
aseembits93
|
a65569cfa0
|
tests
|
2025-06-06 12:30:30 -07:00 |
|
Saurabh Misra
|
14409f7a23
|
Revert helper functions definitions when they are not used anymore in the optimized FTO
|
2025-06-05 22:40:09 -07:00 |
|
aseembits93
|
6db4199cec
|
quick fix
|
2025-05-01 16:47:52 -07:00 |
|
aseembits93
|
44d9229eea
|
assignments with if/else blocks are not modified
|
2025-05-01 16:02:20 -07:00 |
|
aseembits93
|
b7d01a8f74
|
more tests
|
2025-05-01 15:30:41 -07:00 |
|
aseembits93
|
0cbd20451f
|
more tests with different positions of global variables and multiple reassignments
|
2025-05-01 15:25:50 -07:00 |
|
aseembits93
|
28596b7b55
|
refactoring to run only for code replacement before PR/behavior instead of code context extraction
|
2025-04-30 19:46:29 -07:00 |
|
aseembits93
|
3da7b739de
|
undoing some test modifications
|
2025-04-30 19:20:13 -07:00 |
|
aseembits93
|
abbaec3b5e
|
tests work now
|
2025-04-30 18:14:00 -07:00 |
|
aseembits93
|
18c989537e
|
still testing
|
2025-04-30 16:32:43 -07:00 |
|
aseembits93
|
38f0253c41
|
duplicate global statements need to be handled
|
2025-04-29 18:54:54 -07:00 |
|
aseembits93
|
08c8067630
|
some tests failing now
|
2025-04-29 18:34:40 -07:00 |
|
Alvin Ryanputra
|
ed55d88d2b
|
updated other tests
|
2025-04-17 18:58:28 -04:00 |
|
Alvin Ryanputra
|
274f98b209
|
changed preexisting objects to be a set. removes duplicates naturally and makes it easier to search for matches when replacing code.
|
2025-03-13 18:52:11 -07:00 |
|
Alvin Ryanputra
|
302e919941
|
Modified testgen context to be a codestring instead of markdown
|
2025-03-10 16:15:34 -07:00 |
|
Alvin Ryanputra
|
17a42a218c
|
Implemented testgen context retrieval. Context retrieved is the union of read-writable code and read-only code. Did some refactors to remove code_to_optimize_with_helpers, and updated tests.
|
2025-03-05 16:40:23 -08:00 |
|
Alvin Ryanputra
|
8e8258a99f
|
shifted PR to new repo. refactors optimizer code into a FunctionOptimizer class
|
2025-02-13 16:10:53 +08:00 |
|
Alvin Ryanputra
|
69d68bd468
|
fixes
|
2025-01-25 07:23:35 +08:00 |
|
Alvin Ryanputra
|
c230a8a4db
|
fixed tests
|
2025-01-24 13:10:06 +08:00 |
|
Alvin Ryanputra
|
07d15688eb
|
now FunctionOptimizer only needs two arguments to set up. much easier for testing
|
2025-01-24 09:01:26 +08:00 |
|
Alvin Ryanputra
|
741f95ad0a
|
Changed verification type names, improved tests
|
2025-01-23 09:10:32 -08:00 |
|
Alvin Ryanputra
|
7e2bc47c13
|
updated some functions to fix import issue, and minor improvements.
|
2025-01-14 10:22:27 -08:00 |
|
Alvin Ryanputra
|
8de9cebe90
|
draft PR for init caching. no instrumentation checks implemented yet
|
2025-01-13 17:01:52 -08:00 |
|
Alvin Ryanputra
|
c41f710f5f
|
Modified code replacer to work file by file. now compatible with new code context extractor.
|
2025-01-08 14:56:53 -08:00 |
|