jarrodwatts / jev-trader
Code health
This codebase scores 6.7 out of 10 for code health, which we rate fair. It also scores maintainability 7.5 and static performance 9.9 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 6 of 46 files are git hotspots, and they average 4.3 — which is where the fixes pay off most.
Do next
1 suggested
1 thing worth doing in the week to Sep 17, the last indexed commit.
Worth planning
Tidy the code shape this week's commits left: 8 findings in 4 files
3 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
web/src/components/FlowChart/FlowChart.tsx(3 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 8
- files
- 4
- commits
- 3
Medium effort
Improve what Repowise can see
Add a test coverage report
Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.
- line coverage
- Unknown, no report
Small effort
- Lines of code
- 2.4K
Recent activity
All commitsCommits
- b587759ePost-only limit orders every block: earn the spread instead of paying it1mo ago
- ae2c91e0CLAUDE.md: record the core demo message and non-negotiables1mo ago
- 645a641fSide hysteresis: flip only when the other side's probability clears FLIP_THRESHOLD1mo ago
- 5c4a128aModel state: drop position and last decision so Jev judges the market only1mo ago
- 8f99b814Decide every 10 blocks on a 100-block horizon; feed Jev taker prints and multi-level depth1mo ago
- ca9fe4adChart: one-shot ripple, riser, cell pop and word pop on each new trade1mo ago
Everything we found
110 open
Every detector's open count by area, each with its worst example. An inventory, not a to-do list: the actions above are the part worth doing.
- worst item is critical severity. Code health59Untested hotspot · src/market.ts11 findings · 7.5 deducted
- worst item is low severity. Refactoring8smoothPath+0.8 health, S effort · web/src/components/FlowChart/smooth.ts
- worst item is medium severity. Decisions9web/src/components/FlowChart/FlowChart.tsx3 awaiting review · 6 hotspots ungoverned
- worst item is medium severity. Ownership34src/trader.ts100% single-owner concentration, 8 commits in 90d
Composition
Open the graph- typescript97%
- dockerfile3%
Explore this codebase
- Docs55 pages across 4 modules
- ChatAsk this codebase a question and get an answer with its sources.
- Files46 files with per-file docs, health and history
- ArchitectureDependency graph, layers, and 14 entry points
- Code healthPer-file scores, 59 open findings, coverage and refactoring targets
- Knowledge graphEntities, communities, and the paths between them
- Change couplingFiles that keep changing together, mined from commit history
- CommitsChange-risk ranked history with agent provenance
- ContributorsBus factor, per-file maintainers, and the human/agent split
- StatsSize class, origin, lifetime churn, rhythm and records
- CostsWhat indexing this snapshot cost, by model and by run.