Saurabh Misra
cbc6558037
Merge pull request #1157 from codeflash-ai/fix-optimized-candidate-result
...
Fix optimized candidate result
2024-10-28 23:17:19 -07:00
Saurabh Misra
21eb0cffa9
set loop_count as 0 if things fail
2024-10-28 23:06:17 -07:00
Saurabh Misra
ba53f7a61a
Merge branch 'refs/heads/main' into fix-optimized-candidate-result
2024-10-28 23:03:25 -07:00
Saurabh Misra
099f555f95
Ensure loop_count is measured correctly and test_results is not an empty object. clarify the scope of the function run_optimized_candidate
2024-10-28 23:03:02 -07:00
Kevin Turcios
ac2fc90d4d
Merge pull request #1153 from codeflash-ai/paperqa-bugs
...
Paperqa bugs
2024-10-29 05:12:38 +00:00
Kevin Turcios
e25155f17b
Update testgen.py
2024-10-28 23:48:27 -05:00
Kevin Turcios
d9b24d1b84
revert recent django changes
...
This reverts commit c87ed40c0c .
Revert "add logical retrying for the openai client"
This reverts commit 94a9e8efbf .
2024-10-28 23:22:58 -05:00
Kevin Turcios
c87ed40c0c
poetry oof
2024-10-28 23:21:03 -05:00
Kevin Turcios
94a9e8efbf
add logical retrying for the openai client
2024-10-28 23:18:16 -05:00
Kevin Turcios
f882e01cda
Update cfapi.py
2024-10-28 22:19:52 -05:00
Kevin Turcios
e89c0b5284
another pickle handle
2024-10-28 21:49:20 -05:00
Kevin Turcios
eb33a1ef51
Merge branch 'main' of https://github.com/codeflash-ai/codeflash into paperqa-bugs
2024-10-28 21:19:09 -05:00
Saurabh Misra
274c7b3aa5
Merge pull request #1155 from codeflash-ai/fix-quantity-of-tests-critic
...
Use the right way to count passing tests
2024-10-28 19:06:14 -07:00
Saurabh Misra
398860cdb4
Use the right way to count passing tests
2024-10-28 18:16:14 -07:00
KRRT7
84b42aa6cf
various improvements
...
- Refactor cfapi.py to handle error responses from the API and return appropriate messages.
- make the CF-API clearer when returning responses
formatting & ruff
make ruff happy
2024-10-28 18:17:19 -05:00
KRRT7
108aa2ea0d
part two
2024-10-28 05:59:24 +00:00
Ubuntu
382bc8ff68
part one
2024-10-28 04:54:32 +00:00
Kevin Turcios
4211f68c21
Merge pull request #1138 from codeflash-ai/QOL-impls
...
CLI visual QOL improvement and AI service reliability
2024-10-28 04:43:26 +00:00
Saurabh Misra
1c1be3f0bc
Merge branch 'main' into QOL-impls
2024-10-27 20:52:17 -07:00
Saurabh Misra
8ea8e38ef2
Merge pull request #1148 from codeflash-ai/handle-pytest-with-classes
...
Fix failures for running tests with Classes within Pytest
2024-10-27 20:51:03 -07:00
Kevin Turcios
1341ba5368
Merge branch 'main' of https://github.com/codeflash-ai/codeflash into QOL-impls
2024-10-27 21:42:14 -05:00
Saurabh Misra
80678ab026
Merge branch 'main' into handle-pytest-with-classes
2024-10-27 19:27:11 -07:00
Saurabh Misra
e477d0f681
Merge pull request #1129 from codeflash-ai/reformat-the-project-with-new-ruff
...
Ruff reformat and fix codeflash dependencies
2024-10-27 19:22:47 -07:00
Saurabh Misra
ae66e89321
Fix failures for running tests with Classes within Pytest
2024-10-27 19:17:31 -07:00
Kevin Turcios
7e40312880
the grinch
...
revert retrying logic
2024-10-27 19:16:07 -05:00
Kevin Turcios
3047020c63
event loop closed fix.
...
upgrade version due to bug:
https://github.com/encode/httpcore/issues/670
create new Async client per created open_ai_client due to bad connection pooling:
https://github.com/encode/httpx/discussions/2959
when we raise exceptions we can leave the client in a bad state, creating the client from within the coroutine helps.
2024-10-27 19:03:28 -05:00
Kevin Turcios
483356f687
fix tests
2024-10-27 16:43:28 -05:00
Kevin Turcios
4785d8b26c
hooks, not on=
...
you're supposed to use hooks from stamina, the on=callable wasn't reliable.
2024-10-27 16:34:08 -05:00
Kevin Turcios
9bda7bf470
add retrying to our aiservice requests
2024-10-27 12:52:36 -05:00
Kevin Turcios
cbe5fcc989
CLI visual QOL changes
2024-10-27 12:02:06 -05:00
Saurabh Misra
7bfb3dfa4f
update formatting rules
2024-10-25 16:24:24 -07:00
Saurabh Misra
29541456f3
add a missing comment
2024-10-25 16:00:14 -07:00
Saurabh Misra
b42c270f9a
Ruff reformat and fix all the python files
...
Set minimum libcst version to be 1.0.1
move the stub files to dev dependencies
2024-10-25 15:45:44 -07:00
RD
0a06160a57
Merge pull request #1128 from codeflash-ai/newstubs
...
New mypy stubs and ruff cleanup
2024-10-24 15:26:35 -07:00
RD
f9b1e7e65b
Pypi lies, need to downgrade one more time.
2024-10-24 14:58:09 -07:00
RD
2ae14e1d7b
Need to downgrade pandas-stub since we are forced to run on Python 3.9.
2024-10-24 14:48:55 -07:00
RD
f65aa08878
Ruff cleanup of code replacer, new stub files added by mypy.
2024-10-24 14:34:07 -07:00
RD
136ce5ee18
Merge pull request #1123 from codeflash-ai/ruffmypyupdates
...
Updating mypy, ruff, libcst
2024-10-24 03:13:02 -07:00
RD
5d48a8807f
Merge branch 'main' into ruffmypyupdates
2024-10-24 03:03:50 -07:00
Saurabh Misra
6df6f62f17
Merge pull request #1126 from codeflash-ai/release/v0.7.3
...
release v0.7.3
2024-10-23 22:55:38 -07:00
Saurabh Misra
cf3f595324
release v0.7.3
2024-10-23 21:58:31 -07:00
Saurabh Misra
fee1689cc8
Merge pull request #1118 from codeflash-ai/relative-import-error
...
Define a proper test project root - futurehouse fix
2024-10-23 21:48:35 -07:00
Saurabh Misra
15211bc47b
make the bubble sort min performance gain much lower
2024-10-23 21:02:29 -07:00
Saurabh Misra
b95dd4d186
fix unittest end to end test
2024-10-23 20:35:01 -07:00
Saurabh Misra
216df1011b
make tests more robust
2024-10-23 20:33:54 -07:00
Saurabh Misra
fb917597cf
add unittest end to end tests
2024-10-23 20:30:21 -07:00
Saurabh Misra
589acbb1f8
fix the tests
2024-10-23 18:55:24 -07:00
Saurabh Misra
abc2c6b9df
Finally fix the problem (at least in my local testing)
...
add an end to end regression testing for futurehouse directory structure as well
2024-10-23 18:02:05 -07:00
RD
4c44dba3dd
Updating mypy, ruff, libcst.
2024-10-23 14:51:27 -07:00
Saurabh Misra
660d96ca30
Merge branch 'main' into relative-import-error
2024-10-23 14:46:20 -07:00