Implementation of Inheritance Hierarchy Visualization#132
Implementation of Inheritance Hierarchy Visualization#132codegen-sh[bot] wants to merge 114 commits intodevelopfrom
Conversation
# Motivation The **Codegen on OSS** package provides a pipeline that: - **Collects repository URLs** from different sources (e.g., CSV files or GitHub searches). - **Parses repositories** using the codegen tool. - **Profiles performance** and logs metrics for each parsing run. - **Logs errors** to help pinpoint parsing failures or performance bottlenecks. <!-- Why is this change necessary? --> # Content <!-- Please include a summary of the change --> see [codegen-on-oss/README.md](https://github.com/codegen-sh/codegen-sdk/blob/acfe3dc07b65670af33b977fa1e7bc8627fd714e/codegen-on-oss/README.md) # Testing <!-- How was the change tested? --> `uv run modal run modal_run.py` No unit tests yet 😿 # Please check the following before marking your PR as ready for review - [ ] I have added tests for my changes - [x] I have updated the documentation or added new documentation as needed
Original commit by Tawsif Kamal: Revert "Revert "Adding Schema for Tool Outputs"" (codegen-sh#894) Reverts codegen-sh#892 --------- Co-authored-by: Rushil Patel <rpatel@codegen.com> Co-authored-by: rushilpatel0 <171610820+rushilpatel0@users.noreply.github.com>
Original commit by Ellen Agarwal: fix: Workaround for relace not adding newlines (codegen-sh#907)
Reviewer's GuideThis PR delivers a full-featured inheritance hierarchy visualizer by introducing a new visualization module, extending existing utilities and APIs, integrating it into the visualization manager, updating documentation, and covering everything with tests. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
I see a check failed - I'm on it! 🫡 |
|
✅ Fixed the failing mypy check in PR #132 with this commit. The issue was related to type errors in the
The PR should now pass the mypy checks. 💻 View my work • React 👍 or 👎 |
Overview
This PR implements enhanced inheritance hierarchy visualization features for the Codegen repository as part of issue ZAM-423.
Features Implemented
Enhanced Inheritance Hierarchy Visualization
Interactive Features
Filtering Options
Improved Visual Representation
Multiple Inheritance Handling
Implementation Details
inheritance_viz.pywith utilities for inheritance visualizationvisualization_manager.pywith methods for inheritance visualizationClassclass with methods for inheritance analysisTesting
Added comprehensive tests in
tests/test_inheritance_visualization.pyto verify the functionality of the new features.Documentation
Updated the documentation in
docs/building-with-codegen/codebase-visualization.mdxwith examples of how to use the new inheritance visualization features.💻 View my work • About Codegen
Summary by Sourcery
Implement enhanced inheritance hierarchy visualization with detailed relationships, interactive filtering, and highlighting features.
New Features:
Enhancements:
Documentation:
Tests:
Chores: