Inspiration

We focused on the Understandability, so new developers get to know the biggest problems in the codebase according to static analysis tools. As main-analysis tools, we use lizard, Python ast, regex, networkx.

What it does

It analyses our selected repositories (Artemis, Django, SymPy). It also produces an interactive dependency graph plus a ranked quality report for each. Every finding cites the graph evidence and the exact file and lines, and the report opens with the few problems worth fixing first instead of hundreds of warnings. Further, it answers "better or worse after AI?" by comparing commits made with AI agents against those made without, and by tracking new hotspots and changes in the import structure since 2025.

How we built it

We use a Python Pipeline to build the Import graph, find cycles and central files with networkx, measure complexity with lizard and mine the git history for more information. This is done derterministic; then a LLM explains the top findings in a more readable manner. Finally, the result is presented on a web front end. We used opencode and Claude Opus 5.5 to help us build this project.

Challenges we ran into

The dependency graphs are difficult to estimate: every repository has one huge cycle (570 files in Artemis), so "has a cycle" told us nothing and we had to rank which edges to break. Git history was difficult to parse meaningfully. The LLM also invented line numbers and numbers, so we built a fact-checker that rejects its answers until they pass.

Accomplishments that we're proud of

Two runs of the full pipeline on the same commits give byte-identical reports, with the same top-10 findings in the same order. The LLM explanations cost about half a US cent for the first run and nothing on cached re-runs, and all passed the fact-check.

What we learned

Simple signals beat clever ones, as raw commit count and past bug fixes predicted future bugs better than our weighted composite score. The LLM is most useful at the very end, explaining facts it is given, and every claim it makes needs a mechanical check. Recording every run with its commit, command and cost in an experiment log saved us several times when results seemed to change. Further, we learned how to build projects with strong agentic help.

What's next for SleepIsOverrated

A better LLM judge that labels the findings also by confidence and also checks the own architecture rules of the repository.

Built With

Share this project:

Updates

Submission history