Skip to content

Consiliency/codegraph-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeGraph Analysis

ML-powered analysis workflows and data pipelines for CodeGraph/USA.

Features

  • Workflow Orchestration: Celery-based distributed task processing
  • ML Integration: LangChain and LlamaIndex for intelligent code analysis
  • Data Pipelines: Scalable data processing with Pandas and NumPy
  • REST API: FastAPI-based service for triggering analyses
  • CLI Tools: Rich command-line interface for operations

Requirements

  • Python 3.11+
  • Poetry for dependency management
  • Redis for task queue
  • Docker (optional)

Installation

poetry install

Development

# Start API server
poetry run uvicorn codegraph_analysis.main:app --reload

# Run tests
poetry run pytest

# Format code
poetry run black src tests
poetry run ruff src tests

CLI Usage

poetry run python -m codegraph_analysis.cli analyze /path/to/repo

Testing

poetry run pytest
poetry run pytest --cov  # with coverage

License

Apache License 2.0

About

CodeGraph/USA - analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published