repowiserepowise
Sign in
nandhakishorm/laya
OverviewDocsArchitectureKnowledge GraphFilesCode HealthSecurityRefactoring

People & History

CommitsContributorsDecisions
Chat
Stats
repowiserepowise
ExplorePricingDocs
Sign in
repowisenandhakishorm/laya
LA
LA

nandhakishorm / laya

pythonmain23a175222.4K linessynced 1w ago

Code health

7.4out of 10Good

This codebase scores 7.4 out of 10 for code health, which we rate good. 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: 20 of 207 files are git hotspots, and they average 5.1 — which is where the fixes pay off most.

Full health report →
Documentation226pages15 with model-written prose, 211 built from the indexScore validation11/205.0× baselineTop-ranked files that did go on to need a bug fixDead code8exportsUnused exports that nothing in the graph reaches

Do next

1 thing worth doing in the week to Sep 24, the last indexed commit, 1 of them now.

Now

  • Critical

    Clean up what this week's commits left: 61 serious findings in 24 files

    21 commits in the last 7 days added or worsened them, and they are still open. Start with research/benchmarks/feishu_zh/audit.py, which has 2 critical.

    serious findings
    61
    critical
    9
    files
    24
    Large 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
22.4K
Files
207
Symbols
1,964
Modules
10
Languages
4

Recent activity

All commits →

Commits

  • 23a17522release: 0.3.20, recommend max_len=8192 for long documents1w ago
  • 332310f9release: 0.3.19, measured long-document table for laya-multilingual1w ago
  • 84ca7240release: 0.3.18, long-document callout for laya-multilingual1w ago
  • 53e38a59release: 0.3.17, multilingual quickstart and fine-tuning callout1w ago
  • 1a099d97release: 0.3.16, installation, quickstart and documentation first1w ago
  • 2dce3259release: 0.3.15, installation and documentation first in the README1w ago

Decisions

  • Fix broken README Router link anchorproposed · 1w ago
  • mask dotted tokens as identifiers for language scanningproposed · 1w ago
  • drop disclaimer sentences without deleting the request paragraphproposed · 1w ago
  • one definition of email_questionsproposed · 1w ago
  • fix(email): extend closings regex and improve ASCII/non-ASCII case handlingproposed · 1w ago
  • avoid rewriting tokenizer_config through HuggingFace cache symlinkproposed · 1w ago
▸

Everything we found

633 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 health419Nested complexity · laya/onnx_agent.py26 findings · 8.0 deducted→
  • worst item is medium severity. Refactoring48clean_email_body+1.4 health, S effort · laya/email.py→
  • worst item is medium severity. Doc drift1docs/hooks/lifecycle.mdLink points at #agentsystem_one-predict, which docs/hooks/lifecycle.md no longer declares.→
  • worst item is medium severity. Decisions51laya/agent.py31 awaiting review · 20 hotspots ungoverned→
  • worst item is medium severity. Ownership110research/eval/test_laya_eval.py100% single-owner concentration, 3 commits in 90d→
  • worst item is low severity. Dead code4ConfigUnreachable class (2 lines)→

Composition

Open the graph →
python 80%typescript 17%
javascript 2%dockerfile 1%

Explore this codebase

  • Docs226 pages across 10 modules→
  • ChatAsk this codebase a question and get an answer with its sources.→
  • Files207 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 7 entry points→
  • Code healthPer-file scores, 510 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.→