chapi
chapi copied to clipboard
CHAPI (Common Hierarchical Abstract Parser and Information Converter) streamlines code analysis by converting diverse language source code into a unified abstract model, simplifying cross-language dev...
can't get method body content, Is it possible to complete this feature?
None of return types are captured as per my experiments from chapi. I tried to do a experiment using tree sitter using this logic ``` def __get_return_type(self, tree) -> Optional[str]:...
For code: ``` def process_codebase_summary(self, unoplat_codebase: UnoplatCodebase, codebase_summary: DspyUnoplatCodebaseSummary): objective_embedding = self.embedding_generator.generate_embeddings_for_single_text( codebase_summary.codebase_objective ) # type: ignore implementation_embedding = self.embedding_generator.generate_embeddings_for_single_text( codebase_summary.codebase_summary ) # type: ignore codebase_node_dict = [ { "qualified_name":...
Bug: Python- Class variables and Global Variables in Procedural Files are captured in every function
For example: ``` class UserService: # Class variables USER_NOT_FOUND = "User not found" def create_user(self, db: Session, user: UserCreate) -> User: hashed_password = get_password_hash(user.password) db_user = User( username=user.username, email=user.email, hashed_password=hashed_password...