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: $4.5000 (30 commits)
  • 👤 Human dev: ~$713 (7.1h @ $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.30.tar.gz (92.9 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.30-py3-none-any.whl (81.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: regres-0.1.30.tar.gz
  • Upload date:
  • Size: 92.9 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.30.tar.gz
Algorithm Hash digest
SHA256 50c0493644133cab0cb51e6c85f7db8f29189cce315a2a54d1e07e3444fa2cff
MD5 4b4a71a6349e2e10182ac0f4626e8bd4
BLAKE2b-256 23d5e56ad3e98da21ed9bab0121462f8e188c33a60b0c1103c795b140dab2ebb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: regres-0.1.30-py3-none-any.whl
  • Upload date:
  • Size: 81.3 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.30-py3-none-any.whl
Algorithm Hash digest
SHA256 74b180204691e791628b778aac6892695c940db6363a4c3453262657615346a6
MD5 de29801314ca48cc14be495f62036079
BLAKE2b-256 47583fe4a64992f963fbb54e12d595f5f0970414d004f96d30864da8c6cdd995

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