Skip to main content

Regression/import diagnostics helpers with TOON reports

Project description

regres

Narzędzia do analizy regresji, refaktoryzacji i duplikatów kodu.

Installation

pip install -e .

Usage

Główny CLI regres obsługuje następujące komendy:

  • regres — analiza regresji plików (historia, zmiany)
  • regres refactor — analiza kodu przy refaktoryzacji (duplikaty, zależności, symbole)
  • regres defscan — skaner duplikatów definicji klas, funkcji i modeli
  • regres doctor — orchestrator analizy i generator akcji naprawczych
  • regres import-error-toon-report — raport błędów importów TS w formacie Toon

Examples

# Analiza regresji pliku
regres regres --file path/to/file.py

# Analiza kodu przy refaktoryzacji
regres refactor find encoder
regres refactor symbols encoder
regres refactor duplicates

# Skan duplikatów definicji
regres defscan
regres defscan --kind class --min-count 2

# Orchestrator analizy i generator akcji naprawczych
regres doctor --all
regres doctor --import-log .regres/import-error-toon-report.raw.log --out-md .regres/doctor-report.md

# Raport błędów importów TS
regres import-error-toon-report

Documentation

AI Cost Tracking

PyPI Version Python License AI Cost Human Time Model

  • 🤖 LLM usage: $5.1000 (34 commits)
  • 👤 Human dev: ~$736 (7.4h @ $100/h, 30min dedup)

Generated on 2026-04-28 using openrouter/qwen/qwen3-coder-next


License

Licensed under Apache-2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

regres-0.1.35.tar.gz (99.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

regres-0.1.35-py3-none-any.whl (87.6 kB view details)

Uploaded Python 3

File details

Details for the file regres-0.1.35.tar.gz.

File metadata

  • Download URL: regres-0.1.35.tar.gz
  • Upload date:
  • Size: 99.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for regres-0.1.35.tar.gz
Algorithm Hash digest
SHA256 a735622d5f3273227c3a4876c584f5b8e9748d166cb6f6c5c047d18b12aa6e2f
MD5 4239c794c5806390f66950ce8c8a995b
BLAKE2b-256 75ca469615dfe76de58c491a9f231219e9dd4cf1fe1588b6503acdce6b8ea428

See more details on using hashes here.

File details

Details for the file regres-0.1.35-py3-none-any.whl.

File metadata

  • Download URL: regres-0.1.35-py3-none-any.whl
  • Upload date:
  • Size: 87.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for regres-0.1.35-py3-none-any.whl
Algorithm Hash digest
SHA256 0f6cd542c724999fa2c0a470bf2d260138185bfa513936b959c31d099c2dd467
MD5 91797995babb52e01d1d02975efc25ef
BLAKE2b-256 f6817aa2f0e06485573d9f53f8ecf563dc2ab170f8ca592e388a4123897079a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page