repowiserepowise
Sign in
imkalyan/patter
OverviewDocsArchitectureKnowledge GraphFilesCode HealthRefactoring

People & History

CommitsContributorsDecisions
ChatPro
Stats
repowiserepowise
ExplorePricingDocs
Sign inIndex repoIndex your repo free
repowiseimkalyan/patter
PA
PA

imkalyan / patter

pythonmain8ffd41c95.9K linessynced 1mo ago

Code health

5.9out of 10Fair

This codebase scores 5.9 out of 10 on defect risk, which we rate fair. The files you change most are the weak spot: 72 of 510 files are git hotspots, and they average 2.2.

Full health report →
Score validation20/201.83× baselineOf the 20 lowest-health files, 20 were bug-fixed in the last 6 months — 1.83× the 55% baselineDead code56exportsUnused exports that nothing in the graph reaches
Lines of code
95.9K
Files
510
Symbols
4,428
Modules
52
Languages
9

Recent activity

All commits →

Commits

No commits indexed yet.

Decisions

  • Accept kwargs only when signature declares them or accepts kwargs; default to safe no-context when introspection failsproposed
  • Cache signature-accepted kwargs per provider type for hot-path performanceproposed
  • Detect minimal custom provider stream signature and avoid passing extra kwargsproposed
  • Preserve legacy call-context behavior for providers that only accept call_idproposed
  • Thread per-call-context kwargs into provider.stream only if signature allowsproposed
  • Pluggable LLM provider with backward-compatible defaultproposed

Needs attention

92 open
  • medium severity. ProposedAccept kwargs only when signature declares them or accepts **kwargs; default to safe no-context when introspection failsAuto-proposed decision awaiting review
  • medium severity. ProposedCache signature-accepted kwargs per provider type for hot-path performanceAuto-proposed decision awaiting review
  • medium severity. ProposedDetect minimal custom provider stream signature and avoid passing extra kwargsAuto-proposed decision awaiting review
  • medium severity. ProposedPreserve legacy call-context behavior for providers that only accept call_idAuto-proposed decision awaiting review
  • medium severity. ProposedThread per-call-context kwargs into provider.stream only if signature allowsAuto-proposed decision awaiting review

Where the risk concentrates

All 72 hotspots →

Ranked by prior bug fixes and change frequency, mined from full git history rather than from the code alone.

FileChurnPrior fixesMaintainersCommits 90d
stream_handler.pylibraries/python/getpatter99.8th8416
stream-handler.tslibraries/typescript/src99.7th5520
client.pylibraries/python/getpatter99.5th7419
server.pylibraries/python/getpatter99.4th5514
server.tslibraries/typescript/src99.2th5416

Composition

Open the graph →
python 35%typescript 34%markdown 25%json 3%yaml 2%Other 1%

Explore this codebase

  • Docs0 pages across 52 modules→
  • ChatAsk this codebase a question and get an answer with its sources→
  • Files510 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 158 entry points→
  • Code healthPer-file scores, 2,337 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→