15r10nk/pysource-minimize

minimize python source code to find bugs more easily

58
/ 100
Established

Implements delta-debugging to iteratively remove statements, expressions, and literals while preserving a user-defined property (via CLI `--track` flag or custom checker function). Supports both single files and multi-file minimization through a Python API, executing arbitrary test commands to verify whether each reduction maintains the target bug or behavior. The tool generates syntactically valid code during reduction and handles edge cases where overly permissive checks may find unintended solutions.

49 stars and 8,507 monthly downloads. Available on PyPI.

Maintenance 13 / 25
Adoption 17 / 25
Maturity 25 / 25
Community 3 / 25

How are scores calculated?

Stars

49

Forks

1

Language

Python

License

MIT

Last pushed

Mar 16, 2026

Monthly downloads

8,507

Commits (30d)

0

Dependencies

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/15r10nk/pysource-minimize"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.