Department of Vibe Code Assessment

Report Card

Student: hemanth/piragiTerm: March 22, 2026
Grade
0
Pristine

Grades by Subject

Subject
Grade
Score
Issues
Security
A
100
Dependencies
A
100
Documentation
A
100
Test Coverage
A
100
Code Structure
F
58
8
Error Handling
A
100
Share on X

Teacher's Comments

Well, hemanth/piragi, you aced the safety nets and tests like a pro but decided structure was optional—there’s a 759-line behemoth in core.py that’s probably single-handedly inflating your file count. I’m all for digging deep, but those 7-level nesting cliffs in app.py and demo_app.py aren’t scenic; they’re just hard to follow. Next time, try breaking things up before your code turns into a novel.

Error Handling:Nailed it, zero errors—someone actually showed up prepared.
Code Structure:Oof. Eight issues and more nesting than a conspiracy forum—cut it down.
Test Coverage:Full marks, you did the homework and then some.
Security:Locked down tight; no complaints here.
Dependencies:Clean as a whistle—no extra baggage.
Documentation:Finally, words on paper that match the code. Good job.

Areas for Improvement

(8)
high·src/piragi/core.py

Large file (759 lines) — this is a real problem

759 LOC, threshold is 400
src/piragi/core.py is 759 lines long. Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/piragi/reranker.py

Deep nesting detected (6 levels) — getting hard to follow

Max nesting depth: 6
src/piragi/reranker.py has 6 levels of nesting. Use early returns, extract helper functions, or restructure conditionals to flatten the code.
medium·src/piragi/semantic_chunking.py

Large file (609 lines) — should probably split this

609 LOC, threshold is 400
src/piragi/semantic_chunking.py is 609 lines long. Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·ui/app.py

Deep nesting detected (7 levels) — getting hard to follow

Max nesting depth: 7
ui/app.py has 7 levels of nesting. Use early returns, extract helper functions, or restructure conditionals to flatten the code.
medium·ui/demo_app.py

Deep nesting detected (7 levels) — getting hard to follow

Max nesting depth: 7
ui/demo_app.py has 7 levels of nesting. Use early returns, extract helper functions, or restructure conditionals to flatten the code.
low·src/piragi/async_updater.py

Deep nesting detected (5 levels) — common in real code

Max nesting depth: 5
src/piragi/async_updater.py has 5 levels of nesting. Use early returns, extract helper functions, or restructure conditionals to flatten the code.
low·src/piragi/loader.py

Large file (423 lines) — barely over threshold

423 LOC, threshold is 400
src/piragi/loader.py is 423 lines long. Break it into smaller, focused modules. Each file should have one clear responsibility.
low·src/piragi/loader.py

Deep nesting detected (5 levels) — common in real code

Max nesting depth: 5
src/piragi/loader.py has 5 levels of nesting. Use early returns, extract helper functions, or restructure conditionals to flatten the code.