Saurabh Misra
|
74f7f4b256
|
Merge branch 'main' into ellipsis-filtering
|
2024-04-17 20:04:32 -07:00 |
|
Saurabh Misra
|
fa9d83879a
|
Merge branch 'main' into ellipsis-filtering
|
2024-04-17 19:55:55 -07:00 |
|
Saurabh Misra
|
108685391f
|
Merge branch 'main' into import-dill-as-pickle
|
2024-04-17 19:55:25 -07:00 |
|
Saurabh Misra
|
fd1abc3792
|
Merge remote-tracking branch 'origin/main' into import-dill-as-pickle
# Conflicts:
# cli/codeflash/code_utils/instrument_existing_tests.py
# cli/codeflash/tracing/replay_test.py
# cli/codeflash/verification/parse_test_output.py
# cli/tests/test_instrumentation.py
# django/aiservice/testgen/instrumentation/instrument_new_tests.py
|
2024-04-17 19:54:32 -07:00 |
|
Afik
|
3f79fcb019
|
Merge branch 'main' into dependabot/pip/django/aiservice/pip-b6df1a1e09
|
2024-04-17 19:47:54 -07:00 |
|
Saurabh Misra
|
b86c4300b5
|
Make cli and django all RUFF and TUFF
|
2024-04-17 19:41:00 -07:00 |
|
Saurabh Misra
|
527859563e
|
add to pipeline
|
2024-04-17 19:32:20 -07:00 |
|
Saurabh Misra
|
ee9639944f
|
Don't generate optimizations containing ellipsis
|
2024-04-17 19:31:07 -07:00 |
|
Saurabh Misra
|
15e45cd7d1
|
Django updates
|
2024-04-17 19:05:09 -07:00 |
|
dependabot[bot]
|
9fae980b63
|
Update gunicorn requirement in /django/aiservice in the pip group
Updates the requirements on [gunicorn](https://github.com/benoitc/gunicorn) to permit the latest version.
Updates `gunicorn` to 22.0.0
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](https://github.com/benoitc/gunicorn/compare/21.2.0...22.0.0)
---
updated-dependencies:
- dependency-name: gunicorn
dependency-type: direct:production
dependency-group: pip
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-04-17 02:54:27 +00:00 |
|
afik.cohen
|
725fbbf42a
|
Revert "Current basic prompts for optimizer and testgen"
This reverts commit 6b4c2a71a8.
|
2024-04-12 19:18:30 -07:00 |
|
afik.cohen
|
6b4c2a71a8
|
Current basic prompts for optimizer and testgen
|
2024-04-12 15:19:30 -07:00 |
|
afik.cohen
|
5230e6fe98
|
Merge remote-tracking branch 'origin/main' into prompteng-refactor
|
2024-04-12 13:46:03 -07:00 |
|
Saurabh Misra
|
9c6a2a4b09
|
how did i miss this
|
2024-04-11 22:48:30 -07:00 |
|
afik.cohen
|
a804ad8b14
|
Merge remote-tracking branch 'origin/main' into prompteng-refactor
|
2024-04-11 11:33:58 -07:00 |
|
Saurabh Misra
|
c12fc6c1f3
|
add some parse_python_version tests
|
2024-04-11 11:19:18 -07:00 |
|
Saurabh Misra
|
3506a01015
|
Aiservice returns correct error response
|
2024-04-10 22:24:50 -07:00 |
|
Saurabh Misra
|
cef4fb4637
|
better ruff settings for aiservice
|
2024-04-10 15:39:48 -07:00 |
|
Saurabh Misra
|
659478539b
|
better version parsing
|
2024-04-10 14:30:11 -07:00 |
|
renaud
|
68295b474f
|
Back to period separated string.
|
2024-04-10 03:07:20 -07:00 |
|
renaud
|
a736ad27ce
|
Merge remote-tracking branch 'origin/parse-testgen' into parse-testgen
|
2024-04-09 23:37:08 -07:00 |
|
renaud
|
106aeb4bf5
|
2-tupling.
|
2024-04-09 23:36:43 -07:00 |
|
RD
|
57736e048d
|
Merge branch 'main' into parse-testgen
|
2024-04-09 22:52:03 -07:00 |
|
renaud
|
5e641ecb0e
|
Compiling/parsing optimization candidate just before OpenAI call.
|
2024-04-09 22:46:37 -07:00 |
|
RD
|
1b6acb22b3
|
Merge branch 'main' into dont-replace-magic
|
2024-04-09 18:09:45 -07:00 |
|
Afik
|
b196ed10dd
|
Merge branch 'main' into afik/protier
|
2024-04-09 12:40:38 -07:00 |
|
renaud
|
d6a393a89c
|
WIP, blocked by debugger from fixing last failing test (bubble sort in class).
|
2024-04-09 05:36:43 -07:00 |
|
ihitamandal
|
cac48d2cd3
|
Merge remote-tracking branch 'origin/main' into parametrized-tests
|
2024-04-05 18:53:04 -07:00 |
|
RD
|
01fd1beafe
|
Merge branch 'main' into stop-deleting-new-imports
|
2024-04-05 11:34:31 -07:00 |
|
renaud
|
c60f4b9be9
|
Ruff, stop deleting new imports as I type them.
|
2024-04-05 11:31:22 -07:00 |
|
afik.cohen
|
57b56191ef
|
Preserve logging and print statements
|
2024-04-04 17:52:13 -07:00 |
|
Afik
|
5802ab0330
|
Merge branch 'main' into afik/prompt_engineering
|
2024-04-04 17:50:08 -07:00 |
|
ihitamandal
|
0222511a32
|
Fix instrumentation tests
|
2024-04-04 17:19:47 -07:00 |
|
ihitamandal
|
1fdc4294f0
|
Fix instrumentation tests
|
2024-04-04 17:13:18 -07:00 |
|
afik.cohen
|
1296525780
|
Only log features if there's no tier specified
|
2024-04-04 17:03:36 -07:00 |
|
afik.cohen
|
6a6f04c35b
|
Fix schema for aiservice
|
2024-04-04 16:33:06 -07:00 |
|
ihitamandal
|
b75b049fa0
|
Merge remote-tracking branch 'origin/main' into parametrized-tests
|
2024-04-04 16:15:25 -07:00 |
|
ihitamandal
|
14003d0474
|
Fix invocation id logging and add test case for generated test instrumentation
|
2024-04-04 16:15:07 -07:00 |
|
Afik
|
b67227af7d
|
Merge branch 'main' into dependabot/pip/django/aiservice/uvicorn-tw-0.29.0
|
2024-04-03 18:31:12 -07:00 |
|
renaud
|
f3d73350c2
|
Workable strictness settings for mypy and ruff, ruff will also format
|
2024-04-03 15:23:49 -07:00 |
|
Afik
|
9721bd11dd
|
Merge branch 'main' into dependabot/pip/django/aiservice/uvicorn-tw-0.29.0
|
2024-04-03 11:54:22 -07:00 |
|
Saurabh Misra
|
406916935f
|
Make only the optimizer use Azure OpenAI
|
2024-04-02 16:01:32 -07:00 |
|
dependabot[bot]
|
5d551afb90
|
Update uvicorn requirement from ^0.27.0 to ^0.29.0 in /django/aiservice
Updates the requirements on [uvicorn](https://github.com/encode/uvicorn) to permit the latest version.
- [Release notes](https://github.com/encode/uvicorn/releases)
- [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/uvicorn/compare/0.27.0...0.29.0)
---
updated-dependencies:
- dependency-name: uvicorn
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-04-01 13:33:52 +00:00 |
|
afik.cohen
|
b5dfe68d45
|
May use mocks, sort tests by difficulty
|
2024-03-29 19:10:29 -07:00 |
|
afik.cohen
|
c06a34d0b6
|
Prompt updates to explain why the optimized code preserves functionality and ensure high quality test cases
|
2024-03-29 17:49:41 -07:00 |
|
Saurabh Misra
|
633c7c3ba6
|
Merge branch 'main' into fix-dataset-logging
|
2024-03-28 20:30:29 -07:00 |
|
Saurabh Misra
|
5762fea370
|
Fix features logging by fixing pydantic validation of request
|
2024-03-28 20:28:46 -07:00 |
|
afik.cohen
|
7eee8b7d6d
|
Make paths os agnostic
|
2024-03-28 18:56:55 -07:00 |
|
afik.cohen
|
00f8d96150
|
Add AgentCoder Test Designer Prompt to testgen execute prompt
|
2024-03-28 18:40:33 -07:00 |
|
afik.cohen
|
3b083fb548
|
More prompt updates and formatting
|
2024-03-28 17:51:45 -07:00 |
|
Saurabh Misra
|
eb22069e18
|
Merge branch 'main' into remove-an-explanation
|
2024-03-28 17:48:59 -07:00 |
|
afik.cohen
|
2c0df469e1
|
Merge remote-tracking branch 'origin/main' into afik/prompt_engineering
|
2024-03-28 17:42:30 -07:00 |
|
renaud
|
bdccaa32d3
|
Fixing broken parents of dependent functions
|
2024-03-28 01:41:22 -07:00 |
|
Saurabh Misra
|
bbbe995ad3
|
modify regex
|
2024-03-27 19:43:59 -07:00 |
|
afik.cohen
|
288682ebfb
|
Extract explain prompt to md files
|
2024-03-26 19:46:49 -07:00 |
|
afik.cohen
|
f91d868f53
|
Merge remote-tracking branch 'origin/main' into afik/prompt_engineering
|
2024-03-26 18:48:06 -07:00 |
|
RD
|
106b0d3735
|
Merge branch 'main' into dunder-power
|
2024-03-26 00:05:13 -07:00 |
|
renaud
|
8c451bf6a5
|
Add support for all dunder methods for method to optimize. Clean up more types annotations.
|
2024-03-25 23:59:29 -07:00 |
|
afik.cohen
|
1cadf79976
|
Remove duplicated prompt rules
|
2024-03-25 19:18:21 -07:00 |
|
Saurabh Misra
|
7bb22a00c2
|
aiservice-optimize-successful
|
2024-03-25 13:42:33 -07:00 |
|
afik.cohen
|
9178f8ace9
|
Merge remote-tracking branch 'origin/main' into afik/prompt_engineering
|
2024-03-25 13:23:41 -07:00 |
|
Saurabh Misra
|
f9100c9f7b
|
Add python_version as required url attribute.
This can be used later to implement version specific parsing and checks
|
2024-03-24 14:23:43 -07:00 |
|
Saurabh Misra
|
6bb46d2f17
|
Merge remote-tracking branch 'origin/main' into feature-logging
# Conflicts:
# cli/codeflash/main.py
|
2024-03-24 13:56:19 -07:00 |
|
Saurabh Misra
|
765ceea6a2
|
Fix tests
|
2024-03-24 13:51:32 -07:00 |
|
Saurabh Misra
|
4c3b0debe6
|
PR feedback and making optimizations result a dataclass
|
2024-03-24 13:44:59 -07:00 |
|
RD
|
39e361d92d
|
Merge branch 'main' into better-main-typing
|
2024-03-23 19:27:26 -07:00 |
|
renaud
|
e17b5597e2
|
Fix some main typing annotations, include stricter ruff settings.
|
2024-03-23 19:25:58 -07:00 |
|
renaud
|
2f71a5f35d
|
Fix some main typing annotations, include stricter ruff settings.
|
2024-03-23 18:59:26 -07:00 |
|
Saurabh Misra
|
a68cc7e243
|
Make feature logging work end to end
|
2024-03-22 19:57:09 -07:00 |
|
afik.cohen
|
5c49b6db2b
|
Parse optimized code only out of Step 4 section
|
2024-03-22 18:34:07 -07:00 |
|
afik.cohen
|
206201bef8
|
Parse explanations from Step 5 output
|
2024-03-22 18:27:51 -07:00 |
|
afik.cohen
|
a41cc5a5a3
|
Implement few-shot prompt adapted from AgentCoder 2312.13010 CoT programmer prompt
|
2024-03-22 18:05:33 -07:00 |
|
Saurabh Misra
|
dfff87837b
|
Merge remote-tracking branch 'origin/main' into feature-logging
|
2024-03-22 17:34:52 -07:00 |
|
ihitamandal
|
808a7dcd29
|
Fix logging endpoint
|
2024-03-22 17:12:21 -07:00 |
|
ihitamandal
|
f900681022
|
Fix logging endpoint
|
2024-03-22 16:42:06 -07:00 |
|
Saurabh Misra
|
f3464fdbe3
|
fix imports
|
2024-03-22 16:33:08 -07:00 |
|
Saurabh Misra
|
ebe094d070
|
Merge remote-tracking branch 'origin/feature-logging' into feature-logging
|
2024-03-22 16:30:45 -07:00 |
|
Saurabh Misra
|
193583f75e
|
wip features ai service logging
|
2024-03-22 16:30:34 -07:00 |
|
ihitamandal
|
f5be9f759f
|
Add logging endpoint
|
2024-03-22 16:29:47 -07:00 |
|
Saurabh Misra
|
4aa2416c97
|
wip aiservice features logging
|
2024-03-22 15:12:28 -07:00 |
|
Saurabh Misra
|
5b028a116c
|
wip features logging aiservice
|
2024-03-22 14:47:07 -07:00 |
|
Afik
|
2d89540185
|
Merge branch 'main' into afik/cf-235
|
2024-03-22 14:11:42 -07:00 |
|
afik.cohen
|
f7e9ebada9
|
PR feedback, add more debug logging of OAI responses
|
2024-03-22 14:11:30 -07:00 |
|
RD
|
e141b6eb4b
|
Merge branch 'main' into no-submodules-for-you
|
2024-03-21 18:15:44 -07:00 |
|
renaud
|
7ee1440229
|
Catch and log Pydantic validation errors on generated code and explanation
|
2024-03-21 18:05:13 -07:00 |
|
afik.cohen
|
e540d0411d
|
Add debug logging for sensitive info that does not log in production to both aiservice and cli CF-235
|
2024-03-21 16:38:33 -07:00 |
|
renaud
|
3c9196e4f9
|
Catch and log Pydantic validation errors on generated code and explanation
|
2024-03-20 17:49:19 -07:00 |
|
afik.cohen
|
69eed03bcd
|
Only init sentry for aiservice in production
|
2024-03-18 15:17:46 -04:00 |
|
ihitamandal
|
f7b5784766
|
Fix unit tests
|
2024-03-14 10:57:47 -07:00 |
|
ihitamandal
|
ef798c7384
|
Merge remote-tracking branch 'origin/main' into parametrized-tests
|
2024-03-13 12:48:42 -07:00 |
|
ihitamandal
|
d09e8856c6
|
Modify and add unit tests
|
2024-03-13 12:47:30 -07:00 |
|
renaud
|
f474a9f78e
|
Fing code replacer bug, some type annotations and a parsing exception.
|
2024-03-13 02:43:25 -07:00 |
|
ihitamandal
|
baca3b91a9
|
Modifications to generated tests instrumentation
|
2024-03-12 13:06:16 -07:00 |
|
ihitamandal
|
8269800077
|
Merge remote-tracking branch 'origin/main' into parametrized-tests
|
2024-03-11 17:21:44 -07:00 |
|
ihitamandal
|
0b190663e5
|
Modify instrumentation for generated tests
|
2024-03-11 09:56:40 -07:00 |
|
Saurabh Misra
|
0d44cd86f5
|
Fix class docstring missing
|
2024-03-09 16:50:08 +05:30 |
|
afik.cohen
|
1fe0ddb611
|
Bump aiservice down use Python 3.12.1
|
2024-03-06 18:26:07 -08:00 |
|
afik.cohen
|
b90e1bbe52
|
Make aiservice deployment use Python 3.12
|
2024-03-06 18:22:51 -08:00 |
|
Afik
|
21f2576e9a
|
Merge branch 'main' into afik/pass_cst_to_all_postprocess_pipelinefns
|
2024-03-06 16:05:31 -08:00 |
|
Afik
|
db6c15858b
|
Merge branch 'main' into afik/aiservice_dedup_sort_imports
|
2024-03-06 16:00:11 -08:00 |
|
afik.cohen
|
d399ab2fdb
|
More PR feedback, bump openai version
|
2024-03-06 15:48:17 -08:00 |
|
RD
|
daea52ea3a
|
Merge branch 'main' into strictest-mypy-settings
|
2024-03-05 23:27:12 -08:00 |
|
renaud
|
5f526ef352
|
The type annotations must flow.
|
2024-03-05 22:56:10 -08:00 |
|
afik.cohen
|
4de98d94ca
|
Parse isorted code to make sure it's valid
|
2024-03-05 19:40:03 -08:00 |
|
afik.cohen
|
30642de662
|
Parse optimized candidate into CST and pass CST instead of code strings through all postprocess pipeline functions
|
2024-03-05 19:29:33 -08:00 |
|
afik.cohen
|
f33df70996
|
Merge remote-tracking branch 'origin/afik/aiservice_dedup_sort_imports' into afik/aiservice_dedup_sort_imports
|
2024-03-05 17:45:31 -08:00 |
|
afik.cohen
|
c2369a56a8
|
Fix names
|
2024-03-05 17:45:27 -08:00 |
|
Afik
|
259ae2dc33
|
Merge branch 'main' into afik/aiservice_dedup_sort_imports
|
2024-03-05 17:01:13 -08:00 |
|
Afik
|
d5652dd1bc
|
Merge pull request #370 from codeflash-ai/afik/aiservice_fixes
Use UvicornWorker with lifespan='off' CF-180
|
2024-03-05 16:36:10 -08:00 |
|
afik.cohen
|
aed3f853ae
|
Sort imports for generated tests too, also try adding some tests to test this, but spent an hour trying to get the django test runner to work and couldn't get it to find the tests, so punting for now
|
2024-03-05 16:33:50 -08:00 |
|
afik.cohen
|
07e24d3d57
|
Use isort to deduplicate and sort imports in generated candidates
|
2024-03-05 11:40:27 -08:00 |
|
RD
|
57a306241e
|
Merge branch 'main' into CF-181
|
2024-03-05 01:53:39 -08:00 |
|
renaud
|
61f0bf6873
|
Adding missing argument to format_code call in main.
|
2024-03-04 20:08:04 -08:00 |
|
ihitamandal
|
21facd2fc1
|
Resolve merge conflicts
|
2024-03-04 16:24:46 -08:00 |
|
Saurabh Misra
|
2a8816766c
|
Merge branch 'main' into seed-random-tests
|
2024-03-05 05:06:52 +05:30 |
|
afik.cohen
|
37dded13cd
|
Use UvicornWorker with lifespan='off', because Django does not
(and probably will not https://code.djangoproject.com/ticket/31508)
support Lifespan protocol.
|
2024-03-04 15:02:19 -08:00 |
|
Saurabh Misra
|
49d49b632d
|
fix test
|
2024-03-04 15:42:15 +05:30 |
|
Saurabh Misra
|
10eff93d91
|
Minor cosmetic fix tests
|
2024-03-04 15:40:19 +05:30 |
|
Saurabh Misra
|
82c31fc1fa
|
Seed correctly and add tests
|
2024-03-04 15:37:42 +05:30 |
|
Saurabh Misra
|
1dd43dd055
|
WIP changes to seed each test case to remove flakiness when generated test has randomness in it.
|
2024-03-04 04:04:52 +05:30 |
|
afik.cohen
|
21312cae74
|
Add sentry to aiservice
|
2024-02-29 17:55:12 -08:00 |
|
afik.cohen
|
51e1512ebf
|
Standardize posthog logging and env variable usage
|
2024-02-29 17:29:17 -08:00 |
|
RD
|
9ad552e0af
|
Merge branch 'main' into CF-45
|
2024-02-28 17:25:03 -08:00 |
|
renaud
|
3408ef43f1
|
Fixed all the tests. All of them.
|
2024-02-28 10:44:12 -08:00 |
|
RD
|
b760e7b253
|
Merge branch 'main' into CF-45
|
2024-02-26 21:15:52 -08:00 |
|
ihitamandal
|
2ed7821fd4
|
Merge remote-tracking branch 'origin/main' into parametrized-tests
|
2024-02-26 14:19:06 -08:00 |
|
renaud
|
554bc091c4
|
Fixed all the tests. All of them.
|
2024-02-26 11:34:31 -08:00 |
|
renaud
|
38ebeb8558
|
Handling instrumentation for methods.
|
2024-02-26 01:49:17 -08:00 |
|
renaud
|
c6c7496070
|
Top level function instrumentation for input mutation.
|
2024-02-25 05:56:18 -08:00 |
|
Saurabh Misra
|
35c9f1999b
|
Merge branch 'main' into docstring-fix
|
2024-02-24 17:27:16 +05:30 |
|
Saurabh Misra
|
af6a04e4d9
|
update test name
|
2024-02-24 17:25:24 +05:30 |
|
Saurabh Misra
|
b77e52a5ca
|
Improve docstring replacer
|
2024-02-24 17:19:08 +05:30 |
|
ihitamandal
|
ee4430616e
|
Add instrumentation for generated tests
|
2024-02-23 16:01:50 -08:00 |
|
renaud
|
98cbc8e8cf
|
Building most of the new instrumented test file.
|
2024-02-22 11:07:28 -08:00 |
|
renaud
|
30738647a5
|
Fixing imports
|
2024-02-22 03:16:53 -08:00 |
|
renaud
|
f09e2264e7
|
Django tests
|
2024-02-22 02:51:13 -08:00 |
|
Saurabh Misra
|
605098fa51
|
Fix docstring in optimized functions
|
2024-02-21 20:01:05 +05:30 |
|
renaud
|
724b24696c
|
Test for current level of test instrumentation as baseline.
|
2024-02-21 06:24:23 -08:00 |
|
renaud
|
9fdd5d078a
|
Fixing FunctionToOptimize definition bug.
|
2024-02-20 21:34:01 -08:00 |
|
renaud
|
edb74265a5
|
Fixing FunctionToOptimize definition bug.
|
2024-02-20 21:32:15 -08:00 |
|
Saurabh Misra
|
e8a84fd0f0
|
Clean up the explanation message
|
2024-02-14 13:57:57 -08:00 |
|
renaud
|
406b7c41f2
|
Cleaning up code, adding tests.
|
2024-02-13 05:52:22 -08:00 |
|
renaud
|
34ea691711
|
Postprocess checking for optimized code.
|
2024-02-12 20:21:26 -08:00 |
|
renaud
|
bc8a21051d
|
Merge remote-tracking branch 'origin/main' into CF-96
# Conflicts:
# cli/codeflash/result/create_pr.py
# django/aiservice/testgen/instrumentation/edit_generated_test.py
# django/aiservice/testgen/instrumentation/tests/test_edit_generated_test.py
|
2024-02-08 14:00:43 -08:00 |
|
afik.cohen
|
550bc807c1
|
Remove some empty generated files
|
2024-02-07 19:29:30 -08:00 |
|
afik.cohen
|
8a241f7520
|
Move authapp, optimizer and testgen into sister apps of aiservice
|
2024-02-07 18:52:15 -08:00 |
|
afik.cohen
|
d21e6257b8
|
Merge remote-tracking branch 'origin/main' into reorganize-aiservice
|
2024-02-07 18:27:20 -08:00 |
|
afik.cohen
|
d0edb7e83c
|
Add dev to allowed hosts
|
2024-02-07 18:16:39 -08:00 |
|
afik.cohen
|
6e2944cc85
|
Try zip deployment
|
2024-02-06 20:00:32 -08:00 |
|
Saurabh Misra
|
63d3b73fec
|
Fix Error responses with aiservice
|
2024-02-06 19:45:01 -08:00 |
|
afik.cohen
|
ed70bba518
|
Reorganize all siervice code into the aiservice package
|
2024-02-06 19:22:03 -08:00 |
|
renaud
|
c0f4d30c55
|
Clean up django code surgery utilities
|
2024-02-04 18:58:49 -08:00 |
|
renaud
|
7852560483
|
Generalizing parse tree editing to any named statement (function, class).
|
2024-02-02 11:23:03 -08:00 |
|
afik.cohen
|
75c223d522
|
Fix testgen and optimizer response schemas
|
2024-02-01 20:50:08 -08:00 |
|
afik.cohen
|
78093d7acf
|
Merge remote-tracking branch 'origin/aiservice-fixes' into aiservice-fixes
|
2024-02-01 19:55:34 -08:00 |
|
afik.cohen
|
7e9415beb1
|
Bump openai version and use OPENAI_API_TYPE as the env var to decide between azure and openai
|
2024-02-01 19:55:29 -08:00 |
|
afik.cohen
|
a42d5a1d3d
|
Merge remote-tracking branch 'origin/main' into aiservice-fixes
|
2024-02-01 19:54:04 -08:00 |
|
Saurabh Misra
|
31d66e78cc
|
Merge branch 'main' into aiservice-fixes
|
2024-02-01 19:35:54 -08:00 |
|
Saurabh Misra
|
e3bd9cfcf3
|
Merge remote-tracking branch 'origin/aiservice-fixes' into aiservice-fixes
# Conflicts:
# django/aiservice/optimizer/optimizer.py
|
2024-02-01 19:34:03 -08:00 |
|
Saurabh Misra
|
ea8199fc52
|
Fix Optimizer Error Response Schema
|
2024-02-01 19:31:48 -08:00 |
|
afik.cohen
|
be13067ba4
|
Add more posthog logging for openai usages
|
2024-02-01 19:31:21 -08:00 |
|
Saurabh Misra
|
d5b717d229
|
fix
|
2024-02-01 18:34:01 -08:00 |
|
Saurabh Misra
|
d4db8b4442
|
will break everything
|
2024-02-01 18:32:56 -08:00 |
|
Saurabh Misra
|
378c5822d6
|
Remove unnecessary admin portal and middleware from django server
|
2024-02-01 18:26:44 -08:00 |
|
afik.cohen
|
e385cba5ce
|
Hardcode posthog api key for aiservice
|
2024-02-01 18:01:51 -08:00 |
|
Afik
|
9a2c879aea
|
Merge pull request #206 from codeflash-ai/dependabot/pip/django/aiservice/uvicorn-tw-0.27.0
Update uvicorn requirement from ^0.25.0 to ^0.27.0 in /django/aiservice
|
2024-01-31 12:04:47 -08:00 |
|
dependabot[bot]
|
4da3166553
|
Update black requirement from ^23.3.0 to ^24.1.1 in /django/aiservice
Updates the requirements on [black](https://github.com/psf/black) to permit the latest version.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.3.0...24.1.1)
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-01-31 19:38:41 +00:00 |
|
dependabot[bot]
|
2a001a652b
|
Update uvicorn requirement from ^0.25.0 to ^0.27.0 in /django/aiservice
Updates the requirements on [uvicorn](https://github.com/encode/uvicorn) to permit the latest version.
- [Release notes](https://github.com/encode/uvicorn/releases)
- [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/uvicorn/compare/0.25.0...0.27.0.post1)
---
updated-dependencies:
- dependency-name: uvicorn
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-01-31 19:38:00 +00:00 |
|
renaud
|
96cf7c78ca
|
Made the prompt agnostic to the chosen testing library
|
2024-01-30 18:19:48 -08:00 |
|
renaud
|
e54b8db118
|
Edited prompt to forbid mocks or stubs during test generation
|
2024-01-30 12:26:32 -08:00 |
|
Saurabh Misra
|
c7eda167d5
|
Test generator should not mock things
|
2024-01-30 12:24:27 -08:00 |
|
Saurabh Misra
|
fba6246512
|
Merge branch 'main' into optimize-all-validation
|
2024-01-26 17:03:34 -08:00 |
|
renaud
|
0c203ae237
|
Move test_edit_generated_test to django/aiservice/injectperf_tests
|
2024-01-26 16:47:33 -08:00 |
|
afik.cohen
|
8286afd088
|
Merge remote-tracking branch 'origin/main' into optimize-all-validation
|
2024-01-26 16:36:03 -08:00 |
|
renaud
|
1b2c59d657
|
Remove the definition of the function to optimize from the generated test file, replacing it with a statement.
CodeFlash / Optimize new code in this PR (pull_request) Waiting to run
end-to-end-test / bubble-sort-optimization (pull_request) Waiting to run
unit-tests / unit-tests (3.10.13) (pull_request) Waiting to run
unit-tests / unit-tests (3.11.6) (pull_request) Waiting to run
unit-tests / unit-tests (3.12.1) (pull_request) Waiting to run
unit-tests / unit-tests (3.9.18) (pull_request) Waiting to run
|
2024-01-26 05:52:22 -08:00 |
|
Saurabh Misra
|
8d290b0f08
|
Merge remote-tracking branch 'origin/optimize-all-validation' into optimize-all-validation
|
2024-01-25 16:50:56 -08:00 |
|
Saurabh Misra
|
4df7e25561
|
Remove unnecessary django middlewares
|
2024-01-25 16:50:50 -08:00 |
|
afik.cohen
|
0f0e287a98
|
Add support for changing aiservice to azure vs openai via USE_AZURE_OPENAI_SERVICE env var, and add some printing to aiservice if it's not running in prod
|
2024-01-25 16:40:56 -08:00 |
|
Saurabh Misra
|
3443b4906b
|
update the test-key format
|
2024-01-22 16:26:32 -08:00 |
|
afik.cohen
|
44a2eee85d
|
Update usages of aimodels and use gpt-4-0613 azure deployment for optimizer
|
2024-01-19 11:42:27 -08:00 |
|
afik.cohen
|
4f5b14f320
|
Revert "Revert "Change openai usages to AzureOpenAI service and bump to v1.8.0 which fixes debugging under python3.12""
This reverts commit eff6be9b7b.
|
2024-01-19 11:28:56 -08:00 |
|
RD
|
38ad1f19e4
|
Merge pull request #107 from codeflash-ai/CF-59
Clean up generated test file (CF-59)
|
2024-01-17 06:17:34 -08:00 |
|
renaud
|
0f2857485d
|
Remove the definition of the function to optimize from the generated test file, replacing it with an import.
|
2024-01-17 06:04:12 -08:00 |
|
Saurabh Misra
|
320ad2a470
|
Minor fix
|
2024-01-16 20:44:50 -08:00 |
|
Saurabh Misra
|
a3cd498f00
|
Remove all logging calls that could leak customer info
|
2024-01-16 20:42:41 -08:00 |
|
Saurabh Misra
|
bc706060e0
|
Remove all possible customer info from aiservice
|
2024-01-16 20:39:23 -08:00 |
|
Saurabh Misra
|
f05db78477
|
Remove Python 3.8 hacks. Also fix all the tests.
|
2024-01-13 22:18:18 -08:00 |
|
afik.cohen
|
7761039323
|
Use aget instead of get
|
2024-01-12 20:07:00 -08:00 |
|
afik.cohen
|
70d630c012
|
Use env var for posthog api key
|
2024-01-12 20:04:05 -08:00 |
|
afik.cohen
|
08bfae235f
|
Add analytics to testgen endpoint
|
2024-01-12 19:44:44 -08:00 |
|
afik.cohen
|
d5b62a28b9
|
Implement Posthog and userid for apikey for aiservice, pass userid down to endpoints, add analytics to /optimize endpoint
|
2024-01-12 19:27:38 -08:00 |
|
afik.cohen
|
23d715d8ca
|
Add some print statements to testgen
|
2024-01-12 16:28:41 -08:00 |
|
afik.cohen
|
e24a918f64
|
Del unused run tmp file from aiservice
|
2024-01-12 13:58:48 -08:00 |
|
Saurabh Misra
|
0226561190
|
Move the definition of the run_tmp_dir away from server side and into client side.
|
2024-01-11 20:36:05 -08:00 |
|
afik.cohen
|
91e65f3734
|
Fix bug merging generated tests instead of instrumented tests
|
2024-01-11 19:23:09 -08:00 |
|
afik.cohen
|
d858872ae1
|
Merge endpoints
|
2024-01-11 10:50:47 -08:00 |
|
afik.cohen
|
d2ed3f9e42
|
Close CF-46 Move the generated test instrumentation to backend as new endpoint /injectperf
|
2024-01-09 19:55:46 -08:00 |
|
Saurabh Misra
|
6e7514602a
|
Remove the ast parse check for test gen
|
2024-01-04 22:28:54 -08:00 |
|
afik.cohen
|
0e036d8ef0
|
Add deploy script and update shebang
|
2024-01-03 19:08:58 -08:00 |
|
afik.cohen
|
656fbcdf48
|
Remove init from django folder
|
2024-01-02 17:25:12 -08:00 |
|
afik.cohen
|
7cd4ebbb16
|
Move aiservice to django/aiservice
|
2024-01-02 16:55:24 -08:00 |
|
afik.cohen
|
be0aa544e8
|
Move codeflash python code base to cli/
|
2023-12-29 18:37:49 -08:00 |
|