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: $1.9500 (13 commits)
  • 👤 Human dev: ~$333 (3.3h @ $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.12.tar.gz (72.4 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.12-py3-none-any.whl (63.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: regres-0.1.12.tar.gz
  • Upload date:
  • Size: 72.4 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.12.tar.gz
Algorithm Hash digest
SHA256 c186f7f1ebc6b814715a332e497ab8e1795114fbc49b50ec08d1dcb8bb574acf
MD5 eb12520f162a6a5182718c8370bab00b
BLAKE2b-256 fca4ed04dfdc14c0ae04749683126169d0f1924e2a2ddf1e204e6eedb8e16a7b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: regres-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 63.5 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 a7d0a42a7a72c1dab9f8730f9355c15e610dd3a89f35e0005b8bcf5c3f076785
MD5 8012787a223db5100b9910e4dfdb00fc
BLAKE2b-256 4cda33821a813e626483276889e24617e0d2cb0df962017287dc919a327c4767

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