Commit graph

195 commits

Author SHA1 Message Date
afik.cohen
6238014ecd Reformat after eslint fix 2023-12-04 17:56:44 -08:00
afik.cohen
d99a45d922 Reformat 2023-12-04 17:54:33 -08:00
afik.cohen
acb9df85a1 Add runconfig 2023-12-04 17:43:54 -08:00
afik.cohen
5f7ffd189c Move .env file to codeflash/.env 2023-12-04 16:57:35 -08:00
afik.cohen
63b6efaa87 Rename API key to AI_KEY because it's the OpenAI key. And the API_KEY is now the CF API key. 2023-12-04 16:51:20 -08:00
afik.cohen
f34c115906 Merge remote-tracking branch 'origin/main' into python-client-app-auth 2023-12-04 16:15:42 -08:00
afik.cohen
dcdf322176 Linters: Install prettier and fix up eslint configs 2023-12-04 16:08:51 -08:00
afik.cohen
c9beb3c34e Update runconfigs 2023-12-04 16:07:07 -08:00
afik.cohen
85149dd972 Merge branch 'main' into github_app 2023-12-03 19:43:04 -08:00
afik.cohen
b564565a01 Don't need these inspections 2023-12-03 16:51:38 -08:00
afik.cohen
2ed9b91191 Extract TestType parameter 2023-12-03 16:51:38 -08:00
afik.cohen
303fe06f50 Don't need these inspections 2023-12-03 16:49:51 -08:00
afik.cohen
09617e10b8 Extract TestType parameter 2023-12-03 16:49:51 -08:00
Saurabh Misra
74c817c370
Refactor codeflash main function more (#37)
Co-authored-by: afik.cohen <aphexsa@gmail.com>
Co-authored-by: Afik <2283165+aphexcx@users.noreply.github.com>
2023-12-03 16:47:16 -08:00
Saurabh Misra
14dd6ea2cd
Webapp Authentication and API Key Token generation (#36)
Co-authored-by: afik.cohen <aphexsa@gmail.com>
2023-12-03 15:25:53 -08:00
afik.cohen
c16a5e1662 Merge remote-tracking branch 'origin/main' into cli_login 2023-11-28 20:06:26 -08:00
afik.cohen
71bdbba911 Create PR from diffcontents if we can't suggest all of the hunks for this PR, because some of them are invalid (out of scope for this PR) - instead, let's make a new branch, commit the changes, and make a new PR from that branch onto the PR's branch 2023-11-28 19:19:20 -08:00
afik.cohen
83babdcead Working suggest-pr-changes endpoint; fix key signature issues for gh webhook scret caused by express.json() being mounted BEFORE the github middleware 2023-11-28 13:42:35 -08:00
afik.cohen
febda74cb2 Implement suggest-pr-changes call in python client and endpoint in express server. Still need to implement passing in JWT. 2023-11-27 16:06:56 -08:00
Saurabh Misra
af2f30a4f7
Initial Next js website (#28)
Co-authored-by: afik.cohen <aphexsa@gmail.com>
2023-11-26 16:37:06 -08:00
Saurabh Misra
2c762981a3 First working version of SignIn 2023-11-21 21:22:46 -08:00
afik.cohen
200316c56f Minor 2023-11-21 16:00:56 -08:00
afik.cohen
59bedd17cc Fix run configs 2023-11-21 11:22:00 -08:00
Saurabh Misra
5d095174eb run config 2023-11-20 21:17:05 -08:00
afik.cohen
7b67ec0248 Merge remote-tracking branch 'origin/main' into afik/main_refactor 2023-11-16 15:38:22 -08:00
Saurabh Misra
0e0403525e merge main 2023-11-16 15:27:02 -08:00
Saurabh Misra
17640374c7 Merge remote-tracking branch 'origin/main' into afik/dependencies-fix-jedi
# Conflicts:
#	.idea/misc.xml
2023-11-16 15:26:42 -08:00
afik.cohen
e0db936639 Refactor main function into Optimizer class 2023-11-16 15:18:05 -08:00
Saurabh Misra
95e68bc80a Make the ignore-dirs work 2023-11-16 14:21:25 -08:00
afik.cohen
d53c9b1809 This should actually use the definition 2023-11-15 21:43:28 -08:00
afik.cohen
390b11046f Include tests in a class if it exists for a pytest test 2023-11-15 21:16:11 -08:00
afik.cohen
db15e24a2c Add tests to check for dependencies for functions named the same in multiple classes 2023-11-15 18:05:27 -08:00
afik.cohen
977c4f6b79 Merge branch 'dev' into saurabh/pytest-support-fix 2023-11-14 12:51:51 -08:00
afik.cohen
257e50b2a1 Store api keys in either env variable or in ~/.codeflash/env.yml 2023-11-13 19:53:36 -08:00
Saurabh Misra
8a49e2d7b8 Make a few testing fixes.
Create a test file that works for pytest sqlite3 instrumentation
2023-11-11 16:15:04 -08:00
Saurabh Misra
93dbd6e989 Fix some regressions and make the --optimize_all and --function cmd arg work 2023-11-09 15:21:02 -08:00
afik.cohen
22c378c3a3 Make function discovery use a new dataclass FunctionsToOptimize. 2023-11-06 18:08:49 -08:00
afik.cohen
21c4bf40c1 aider: Added /Users/afik_cohen/repos/tacit/codeflash/.github/workflows/publish-to-pypi.yml 2023-11-01 22:06:48 -07:00
afik.cohen
19b85d1de6 Add Dependent Function Replacer via ast 2023-11-01 20:33:41 -07:00
afik.cohen
833427a350 Add cached bubble sort run config 2023-10-31 15:08:47 -07:00
afik.cohen
4895896c6a Add type hints 2023-10-31 14:35:35 -07:00
afik.cohen
d206d215f8 Raise TestGenerationFailedException when test generation fails 2023-10-31 11:33:36 -07:00
afik.cohen
9e3c87eb3f Add more ide settings 2023-10-31 11:24:00 -07:00
afik.cohen
666915d1fc Commit ide settings 2023-10-30 18:22:39 -07:00
afik.cohen
c9ed4cd1b6 Init poetry env 2023-10-19 20:01:34 -07:00