Skip to content

Sample work · Code & Bugs

Tech Debt Audit: a register by impact over effort, documented with reduction

A demo codebase with an overly long function, deep nesting, many parameters, copied blocks, and open tags. The register sorts by impact over effort; after reducing the top items, the number decreases measurably.

Sample work (demo), not a client job. Built as a trial task with invented example data; the check figures below come from the automatic test run and are not polished.

What was built

  • Six types measured with ast, not estimated
  • Register prioritized by what yields the most and costs the least
  • After-version with fewer items
  • Codebase invented

codebasis-vorher.py – download preview codebasis-nachher.py – download preview

This is the half version. You get the complete product after payment – or adapted to your business as a commissioned job.

Request it for my business

Fixed price before I start; nothing happens without your yes.

How it was checked

Automatic test run on 2026-11-15, taken from the log (test data invented, figures measured):

  • Demo codebase: 10 debt items in 6 types as a register by impact over effort, 0 after reduction
  • Clean code with no findings
  • 9 checks

Limits

What this sample does not cover, so nobody expects more:

  • Measures the form of the code, not the correctness
  • Limit values are guidelines; impact and effort are estimates, not hours
  • Refactoring only occurs when tests are in place and the client approves the refactoring