Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

3.6 KB
Raw Blame
{"result":{"targets":{"django/db/models/query.py":{"dependents_count":12,"hotspot_score":0.9964,"is_hotspot":true,"co_change_partners":[{"file_path":"tests/queries/tests.py","weight":0.8024,"last_co_change":"2026-05-11","relationship_type":"co_change","direction":"b_to_a","evidence_kind":"historical","provenance":"git_history","has_structural_link":false,"has_import_link":false,"support":5,"conf_ab":0.085,"conf_ba":0.333},{"file_path":"django/db/models/sql/query.py","weight":0.5127,"last_co_change":"2026-06-10","relationship_type":"co_change","direction":"b_to_a","evidence_kind":"historical","provenance":"git_history","has_structural_link":true,"has_import_link":true,"structural_relationship_types":["imports"],"support":6,"conf_ab":0.102,"conf_ba":0.162},{"file_path":"django/db/models/sql/compiler.py","weight":0.4635,"last_co_change":"2026-06-10","relationship_type":"co_change","direction":"b_to_a","evidence_kind":"historical","provenance":"git_history","has_structural_link":false,"has_import_link":false,"support":7,"conf_ab":0.119,"conf_ba":0.212},{"file_path":"docs/internals/deprecation.txt","weight":0.4385,"last_co_change":"2026-06-18","relationship_type":"co_change","direction":"b_to_a","evidence_kind":"historical","provenance":"git_history","has_structural_link":false,"has_import_link":false,"support":3,"conf_ab":0.051,"conf_ba":0.073},{"file_path":"tests/queries/test_qs_combinators.py","weight":0.4262,"last_co_change":"2026-02-06","relationship_type":"co_change","direction":"b_to_a","evidence_kind":"historical","provenance":"git_history","has_structural_link":false,"has_import_link":false,"support":2,"conf_ab":0.034,"conf_ba":0.2}],"co_change_partners_total":25,"co_change_partners_emitted":5,"co_change_partners_truncated":true,"co_change_partners_reduced_reason":"construction_cap","co_change_partners_omitted":20,"primary_owner":"Author One","owner_pct":0.066,"owner_line_pct":null,"recent_owner":"author_two","recent_owner_pct":0.2857,"bus_factor":72,"contributor_count":172,"trend":"stable","test_gap":false,"security_signals":[],"commit_count_capped":true,"risk_summary":"django/db/models/query.py — hotspot score 100% (stable), 12 direct dependents, churn-heavy, fix-heavy, 25 co-change partners, primary owner Author One (7% of commits) (history truncated — actual count may be higher)","health_score":2,"top_biomarkers":[{"biomarker_type":"change_entropy","severity":"critical","impact":1.27},{"biomarker_type":"ownership_risk","severity":"critical","impact":1.17},{"biomarker_type":"co_change_scatter","severity":"high","impact":0.91}]}},"_meta":{"contract_version":2,"index_age_days":0,"indexed_commit":"e78991410b78","live_head":"e78991410b78","index_behind":false,"index_scope":{"version":1,"projection":"compact","run_mode":"standard","content_provenance":"template","git_tier":"full","status":"upgrading","fingerprint":"99c42a358f89","full":"get_overview()","degraded_analyses":["Graph build can take several minutes on a first run. Safe to Ctrl-C — re-run 'repowise init --resume' to continue where it stopped."]},"embedder":"mock","embedder_degraded":false,"semantic_search":false,"omitted":{"refs":["repowise#63d56ff4867f"],"tokens":1849,"restore":"`repowise expand <ref>`, or get_symbol(\"repowise#<ref>\", query=...)"},"state":{"truncated":true},"response_budget":{"limit_chars":24000,"tier":"default","serialized_chars":3715},"completeness":{"capped":true,"shown":5,"total":25,"reason":"construction_cap"},"floor":["co_change_partners_total","dependents_count"],"replaced_tokens":2000,"tokens_saved":1087,"timing_ms":445.36},"omission_marker":"[repowise#63d56ff4867f: 301 lines omitted (~1849 tokens); restore: repowise expand 63d56ff4867f]"}}