Skip to content

Commit 35b426f

Browse files
committed
Update docstrings
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
1 parent 697cafe commit 35b426f

1,314 files changed

Lines changed: 540719 additions & 985 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.pypirc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[testpypi]
2+
username = __token__
3+
password = pypi-AgENdGVzdC5weXBpLm9yZwIkZTc4MDc4ZDgtZjE3Yy00MzBkLThlNzgtMWM5OTYyYmQ4MmJlAAIqWzMsImQ0ODAwOGM2LTk5NzEtNGNkMS1iODRjLTE1ZmI5MzUzMTVmMCJdAAAGIGwt_2ZTCD_lxDBM2qgoO_JYk0yzX1xsIfIbbn4Dq6VX

CHANGELOG.md

Lines changed: 205 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,205 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [v1.1.0] - 2025-08-21
9+
10+
### Fixed
11+
- Fixed README.md logo display on PyPI by updating image URLs to use raw GitHub URLs and maintaining theme-based auto-switching with proper fallback
12+
13+
## [v1.0.6] - 2025-07-23
14+
15+
### Added
16+
- Added `argument_expr` field to JCallSite model for capturing actual parameter expressions in method calls
17+
- Added Star History section to README.md for tracking project popularity
18+
19+
### Changed
20+
- Updated codeanalyzer jar to version 2.3.5 with support for call argument expressions and fully qualified parameter types
21+
- Modified codeanalyzer.py to preserve fully qualified parameter types in method signatures instead of simplifying them
22+
- Updated method signature format to use fully qualified type names (e.g., `java.lang.String` instead of `String`)
23+
- Updated test fixtures with new analysis.json data reflecting the signature format changes
24+
25+
### Fixed
26+
- Fixed method signature handling to maintain fully qualified parameter types for better type resolution
27+
- Updated test cases to use fully qualified method signatures for improved accuracy
28+
29+
## [v1.0.5] - 2025-06-24
30+
31+
### Fixed
32+
- Fixed issue #135
33+
- Analysis level compatibility checking for analysis.json with passed analysis level
34+
35+
### Changed
36+
- Updated treesitter analysis to use global declarations of parser and language
37+
38+
## [v1.0.4] - 2025-06-11
39+
40+
### Added
41+
- Added missing callable fields field validator
42+
43+
### Changed
44+
- Updated test fixture setup to use codeanalyzer jar from cldk/analysis/java/codeanalyzer/jar instead of test resources directory
45+
- Updated analysis.json fixtures (daytrader8 and plantsbywebsphere)
46+
47+
### Removed
48+
- Removed dangling codeanalyzer jars from test resources
49+
- Removed obsolete analysis.json fixture
50+
51+
## [v1.0.3] - 2025-06-01
52+
53+
### Added
54+
- Added code start line attribute to JCallable (corresponding to added attribute in the java code analyzer model)
55+
56+
## [v1.0.2] - 2025-05-24
57+
58+
### Added
59+
- Added test case and fixture for source analysis
60+
- Added missing attributes in compilation unit model
61+
62+
### Fixed
63+
- Fixed handling of `source_code` option in Java codeanalyzer
64+
- Updated core.py to match python analysis signature
65+
66+
## [v1.0.1] - 2025-05-07
67+
68+
### Changed
69+
- Updated treesitter analysis to use global declarations of parser and language
70+
71+
## [v1.0.0] - 2025-04-29
72+
73+
### Added
74+
- First stable release
75+
- Updated contributing guidelines
76+
77+
### Changed
78+
- Updated README.md
79+
- Updated codeanalyzer jar
80+
- Updated java version in release automation
81+
82+
## [v0.5.1] - 2025-03-13
83+
84+
### Changed
85+
- Updated Java model to comply with codeanalyzer v2.3.1
86+
- Updated codeanalyzer jar to the latest from codeanalyzer-java
87+
- Updated get_all_docstrings to return dict
88+
89+
## [v0.5.0] - 2025-02-21
90+
91+
### Added
92+
- Added release automation github actions
93+
- Added Java 11 support in github actions
94+
- Added release_config.json
95+
- Added Comment parsing APIs at file, class, method, and docstring level
96+
- Added support for parsing callable parameters and their location information
97+
- Added Dev container instructions with Python, Java, C, and Rust support
98+
- Added C/C++ analysis support
99+
- Added CRUD operations support for Java JPA applications
100+
101+
### Changed
102+
- Consolidated analysis_level enums in __init__.py
103+
- Updated codeanalyzer jar to the latest version
104+
- Changed coverage minimum to 70%
105+
- Updated documentation with mkdocs
106+
- Updated badges and logos in README
107+
- Added Discord community support
108+
109+
### Removed
110+
- Removed CodeQL dependency and refactored treesitter
111+
- Removed ABCs from analysis
112+
- Removed logic to find LLVM in linux OSes (only appears in Darwin)
113+
- Removed redundant is_entry_point fields from JCallable and JType
114+
- Removed unused parameters and code cleanup
115+
116+
### Fixed
117+
- Fixed various test cases and compatibility issues
118+
- Fixed treesitter superclass identification issues
119+
- Fixed entry point detection code
120+
- Fixed recursive error issues
121+
122+
## [v0.4.0] - 2024-11-13
123+
124+
### Fixed
125+
- Fixed issue 67 - symbol table is none
126+
127+
### Changed
128+
- Updated poetry build rules to include codeanalyzer-*.jar
129+
- Added test case to verify jar file exists
130+
131+
## [v0.3.0] - 2024-11-12
132+
133+
### Added
134+
- Support for reading slim JSON from codeanalyzer v1.1.0
135+
- Added more test tools (pylint, flake8, black, pspec, coverage)
136+
- Added test coverage reporting
137+
138+
### Changed
139+
- Updated README.md to include the arXiv paper
140+
- Removed obsolete test cases for unsupported languages
141+
142+
## [v0.2.0] - 2024-10-11
143+
144+
### Added
145+
- Added GitHub Action to publish manual releases
146+
- Added PyPi badge to README.md
147+
148+
## [v0.1.4] - 2024-10-21
149+
150+
### Fixed
151+
- Fixed codeanalyzer.jar not being a PosixPath
152+
153+
## [v0.1.3] - 2024-10-21
154+
155+
### Fixed
156+
- Fixed calling the correct codeanalyzer jar on version 0.1.3
157+
- Removed auto-download of codeanalyzer jar
158+
159+
## [v0.1.2] - 2024-10-17
160+
161+
### Fixed
162+
- Fixed tree-sitter bug
163+
- Defined self.captures explicitly
164+
165+
## [0.1.0-dev] - 2024-10-07
166+
167+
### Added
168+
- Initial development version
169+
- Set version to über json support
170+
- Support for slim JSONs from codeanalyzer
171+
- IBM Copyright added to all source files
172+
- Added code parsing support
173+
- Added support for symbol table call graph
174+
- Added notebook examples for code summarization and test generation
175+
- Basic CLDK framework implementation
176+
177+
### Changed
178+
- Updated dependencies in pyproject.toml
179+
- Added metadata for PyPi distribution
180+
- Updated README with installation instructions
181+
182+
### Fixed
183+
- Fixed caller method implementation
184+
- Fixed incremental analysis support
185+
- Fixed download jar issues
186+
187+
---
188+
189+
## Release Links
190+
191+
- [v1.0.5]: https://github.com/codellm-devkit/python-sdk/releases/tag/v1.0.5
192+
- [v1.0.4]: https://github.com/codellm-devkit/python-sdk/releases/tag/v1.0.4
193+
- [v1.0.3]: https://github.com/codellm-devkit/python-sdk/releases/tag/v1.0.3
194+
- [v1.0.2]: https://github.com/codellm-devkit/python-sdk/releases/tag/v1.0.2
195+
- [v1.0.1]: https://github.com/codellm-devkit/python-sdk/releases/tag/v1.0.1
196+
- [v1.0.0]: https://github.com/codellm-devkit/python-sdk/releases/tag/v1.0.0
197+
- [v0.5.1]: https://github.com/codellm-devkit/python-sdk/releases/tag/v0.5.1
198+
- [v0.5.0]: https://github.com/codellm-devkit/python-sdk/releases/tag/v0.5.0
199+
- [v0.4.0]: https://github.com/codellm-devkit/python-sdk/releases/tag/v0.4.0
200+
- [v0.3.0]: https://github.com/codellm-devkit/python-sdk/releases/tag/v0.3.0
201+
- [v0.2.0]: https://github.com/codellm-devkit/python-sdk/releases/tag/v0.2.0
202+
- [v0.1.4]: https://github.com/codellm-devkit/python-sdk/releases/tag/v0.1.4
203+
- [v0.1.3]: https://github.com/codellm-devkit/python-sdk/releases/tag/v0.1.3
204+
- [v0.1.2]: https://github.com/codellm-devkit/python-sdk/releases/tag/v0.1.2
205+
- [0.1.0-dev]: https://github.com/codellm-devkit/python-sdk/releases/tag/0.1.0-dev

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -251,13 +251,3 @@ We invite contributors of all levels of experience! We would love to see you get
251251
1. Krishna, Rahul, Rangeet Pan, Raju Pavuluri, Srikanth Tamilselvam, Maja Vukovic, and Saurabh Sinha. "[Codellm-Devkit: A Framework for Contextualizing Code LLMs with Program Analysis Insights.](https://arxiv.org/pdf/2410.13007)" arXiv preprint arXiv:2410.13007 (2024).
252252
2. Pan, Rangeet, Myeongsoo Kim, Rahul Krishna, Raju Pavuluri, and Saurabh Sinha. "[Multi-language Unit Test Generation using LLMs.](https://arxiv.org/abs/2409.03093)" arXiv preprint arXiv:2409.03093 (2024).
253253
3. Pan, Rangeet, Rahul Krishna, Raju Pavuluri, Saurabh Sinha, and Maja Vukovic., "[Simplify your Code LLM solutions using CodeLLM Dev Kit (CLDK).](https://www.linkedin.com/pulse/simplify-your-code-llm-solutions-using-codellm-dev-kit-rangeet-pan-vnnpe/?trackingId=kZ3U6d8GSDCs8S1oApXZgg%3D%3D)", Blog.
254-
255-
## Star History
256-
257-
<a href="https://www.star-history.com/#codellm-devkit/python-sdk&Timeline">
258-
<picture>
259-
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=codellm-devkit/python-sdk&type=Timeline&theme=dark" />
260-
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=codellm-devkit/python-sdk&type=Timeline" />
261-
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=codellm-devkit/python-sdk&type=Timeline" />
262-
</picture>
263-
</a>

0 commit comments

Comments
 (0)