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: $2.4000 (16 commits)
  • 👤 Human dev: ~$369 (3.7h @ $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.15.tar.gz (74.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.15-py3-none-any.whl (65.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: regres-0.1.15.tar.gz
  • Upload date:
  • Size: 74.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.15.tar.gz
Algorithm Hash digest
SHA256 ed32144e67722796de9ec2adeb75f009ef736efa79678533e4557a81443f357a
MD5 b381f15309b0b889c0f445f0f1d10ff0
BLAKE2b-256 e7c7f3e9cbeb14c382d00765d09163063ed7e1a8b13f2bc78fc2a6f92f69e1aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: regres-0.1.15-py3-none-any.whl
  • Upload date:
  • Size: 65.8 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.15-py3-none-any.whl
Algorithm Hash digest
SHA256 0ddf081bc5121272c1f8048538220c38927cec2d34659184a947162f31581ec3
MD5 ad88577ff7393ca9cea66ecd7c369532
BLAKE2b-256 e7fd32c064a5d9366429b4ba991a5c670e58bb45a402ebf52df3b62da2f2cb5c

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