Commit graph

1326 commits

Author SHA1 Message Date
Saurabh Misra
91eef8337e Fix helper class code replacement
refactor code
2024-07-09 16:32:23 -07:00
Saurabh Misra
644ee6ba39 Preexisting functions use the right parent 2024-07-08 20:29:16 -07:00
Saurabh Misra
6b3e2618e8 Merge pull request #815 from codeflash-ai/fix-helper-function-replacement
Fix multi file diffs
2024-07-07 23:56:36 -07:00
Saurabh Misra
5894dc47f5 Make topological sort test case more permissive wrt the optimization % 2024-07-07 15:11:21 -07:00
Saurabh Misra
ec97c39616 Add a test case for the code context 2024-07-07 15:01:52 -07:00
Saurabh Misra
c6ea9cc209 Don't add import statements when helper functions are already in the code context 2024-07-07 14:40:02 -07:00
Saurabh Misra
d28396b52d Fix the actual bug 2024-07-06 15:26:13 -07:00
Saurabh Misra
0b63da2e2a Remove the Source dataclass 2024-07-06 12:45:11 -07:00
RD
dd1e7dd399 Fixing terminology, adding an example for function, class and module naming terminology. 2024-07-05 21:06:30 -07:00
Saurabh Misra
78bf917aa1 Introduce a new dataclass FunctionSource to allow for more attributes and prevent future bugs 2024-07-05 19:58:33 -07:00
Afik
04873359b5 Merge pull request #814 from codeflash-ai/fix-helper-code-wrong-diffs
fix PR time catastrophic failure
2024-07-03 19:12:07 -07:00
Saurabh Misra
1c7c782529 fix PR time catastrophic failure 2024-07-03 18:46:31 -07:00
Saurabh Misra
008df000f9 Merge pull request #809 from codeflash-ai/saurabh/bugfixes-1
fix runtime crash
2024-07-01 17:32:59 -07:00
Saurabh Misra
d0ff81a345 Merge remote-tracking branch 'origin/saurabh/bugfixes-1' into saurabh/bugfixes-1 2024-07-01 15:43:48 -07:00
Saurabh Misra
025ee09b61 change to debug logging 2024-07-01 15:43:41 -07:00
Saurabh Misra
18ea02822f Merge branch 'main' into saurabh/bugfixes-1 2024-07-01 15:13:31 -07:00
Saurabh Misra
5c6c693395 Remove deadcode
Fix a runtime crash over dagster.
fix some types
2024-07-01 15:12:41 -07:00
Afik
dbeae353a2 Merge pull request #805 from codeflash-ai/dependabot/pip/cli/returns-gte-0.22-and-lt-0.24
Update returns requirement from ^0.22.0 to >=0.22,<0.24 in /cli
2024-07-01 12:01:03 -07:00
Afik
b1cd6d4d21 Relax returns dep requirement 2024-07-01 12:00:54 -07:00
dependabot[bot]
153a7f5b6e Update returns requirement from ^0.22.0 to >=0.22,<0.24 in /cli
---
updated-dependencies:
- dependency-name: returns
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 18:58:40 +00:00
Afik
62512e2837 Merge pull request #806 from codeflash-ai/dependabot/pip/cli/ruff-gte-0.5.0-and-lt-0.6.0
Update ruff requirement from >=0.3.5,<0.5.0 to >=0.5.0,<0.6.0 in /cli
2024-07-01 11:57:32 -07:00
Afik
0dff50b23c Merge branch 'main' into dependabot/pip/cli/ruff-gte-0.5.0-and-lt-0.6.0 2024-07-01 11:57:27 -07:00
dependabot[bot]
00850619bf Update ruff-lsp requirement from ^0.0.53 to >=0.0.53,<0.0.55 in /cli
Updates the requirements on [ruff-lsp](https://github.com/astral-sh/ruff-lsp) to permit the latest version.
- [Release notes](https://github.com/astral-sh/ruff-lsp/releases)
- [Commits](https://github.com/astral-sh/ruff-lsp/compare/v0.0.53...v0.0.54)

---
updated-dependencies:
- dependency-name: ruff-lsp
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 13:51:26 +00:00
dependabot[bot]
91be6d9801 Update ruff requirement from >=0.3.5,<0.5.0 to >=0.5.0,<0.6.0 in /cli
Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.3.5...0.5.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 13:49:35 +00:00
Saurabh Misra
cd676ad647 Merge pull request #790 from codeflash-ai/update-gh-action-versions
Update github action versions as these are going to be deprecated soon
2024-06-28 14:13:34 -07:00
Saurabh Misra
ca6b0a4b79 Merge branch 'main' into update-gh-action-versions 2024-06-28 14:05:38 -07:00
Saurabh Misra
ed35728a35 Update github action versions as these are going to be deprecated soon 2024-06-28 14:04:42 -07:00
Saurabh Misra
6f2e715aed Merge pull request #789 from codeflash-ai/release/v0.6.11
Release v0.6.11
2024-06-28 13:53:01 -07:00
Saurabh Misra
313b4a1daa v0.6.11 2024-06-28 13:35:22 -07:00
ihitamandal
787735c197 Merge pull request #787 from codeflash-ai/sqlalchemy-tests
Add SQLAlchemy Code
2024-06-27 19:56:36 -04:00
ihitamandal
732149eb75 Merge remote-tracking branch 'origin/main' into sqlalchemy-tests 2024-06-27 15:41:17 -07:00
ihitamandal
35b88d0d2b Move all sqlalchemy code 2024-06-27 15:37:14 -07:00
Afik
0ffda189f5 Merge pull request #781 from codeflash-ai/afik/posthog_fix_init
Initialize telemetry before cli init and init actions too CF-349
2024-06-27 14:31:38 -07:00
Afik
cacd760a27 Merge branch 'main' into afik/posthog_fix_init 2024-06-26 18:24:44 -07:00
afik.cohen
6128cc8afc Try to read toml if it exists to determine disable telemetry setting 2024-06-26 18:22:54 -07:00
ihitamandal
5d5fe8a9f2 Merge remote-tracking branch 'origin/main' into sqlalchemy-tests 2024-06-26 16:54:48 -07:00
ihitamandal
e4d1392578 Merge pull request #784 from codeflash-ai/remove-friction
Add speedup as a comment to each candidate file in process_optimization_features
2024-06-26 19:47:58 -04:00
ihitamandal
2955c33ff0 Add speedup as a comment to each candidate file 2024-06-26 16:35:43 -07:00
afik.cohen
6d891329f7 Require github app to be installed for --file runs CF-350 2024-06-26 11:50:14 -07:00
Afik
958c8e29c0 Merge branch 'main' into afik/posthog_fix_init 2024-06-26 11:38:38 -07:00
afik.cohen
04ef2a5810 Initialize telemetry before cli init and init actions too CF-349 2024-06-26 11:37:22 -07:00
Saurabh Misra
6149cf4fb3 Merge pull request #780 from codeflash-ai/debug-timing-logging
Add timing logging for future visibility during debugging [CF-319]
2024-06-26 11:35:59 -07:00
Saurabh Misra
fee2ac2f6b revert ruff config 2024-06-26 11:30:22 -07:00
Saurabh Misra
498fb45aee Removing ruff complaining about logging having f-strings. Its unnecessary 2024-06-25 20:04:35 -07:00
Saurabh Misra
99c25a7fd0 Add timing logging for future visibility during debugging 2024-06-25 20:00:02 -07:00
ihitamandal
8c225dd350 Merge remote-tracking branch 'origin/main' into sqlalchemy-tests 2024-06-24 15:55:37 -07:00
Afik
246d7a72ec Merge pull request #778 from codeflash-ai/decorator_test
Decorator Helper Test
2024-06-24 14:46:38 -07:00
Afik
0b36688218 Merge branch 'main' into decorator_test 2024-06-24 14:41:28 -07:00
RD
e429cf0378 Adding test for future decorator helper fix 2024-06-24 14:15:54 -07:00
RD
812c3ce720 Adding test for future decorator helper fix 2024-06-24 13:53:05 -07:00