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: $0.4500 (3 commits)
  • 👤 Human dev: ~$200 (2.0h @ $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.4.tar.gz (55.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.4-py3-none-any.whl (56.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: regres-0.1.4.tar.gz
  • Upload date:
  • Size: 55.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.4.tar.gz
Algorithm Hash digest
SHA256 b69c7ddf0180fb4a131978cba33b9b4e2da9c5829c41bdecc853102827495ee8
MD5 eccc43a3dbc4192fb954cb55a0976d1d
BLAKE2b-256 2e09e17210af7e98c2e1aab30e25ee7c96070c22c5bdd9e11a8387bf008fe639

See more details on using hashes here.

File details

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

File metadata

  • Download URL: regres-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 56.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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d2949ad1948d4059c53b1aaa7e7af856c573579936be1e9e8c907d91fa2b11a0
MD5 5f62f10b1ab91b7482358098cda2237d
BLAKE2b-256 8cdc48f09a9b65c45d0b90f2938a630258fd95ba44d0344af54f12ac9e5ff6b7

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