Skip to content

docs: back the speed claim with the fitted rate model, not a single example - #1113

Merged
squid-protocol merged 1 commit into
mainfrom
docs/speed-proof-raw-output
Aug 7, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
docs/speed-proof-raw-output

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Follows up on the work just done in gitgalaxy-raw-output (PRs #6-9 there): a two-regime
scan-speed model fit directly from its 599-repo v2.4.6 batch, plus a self-updating
LOC-vs-time chart. This PR brings that evidence into gitgalaxy's own README per
docs/how_to_maintain_the_readme.md's rules (every superlative needs a number + link;
proof before benchmarks).

  • "What Pain Point Does This Solve?" speed bullet: replaced "a handful of 20M+ LOC
    outliers take a few minutes instead" (no number, no link) with the actual fit --
    time(s) ≈ 3.36e-05 × LOC^0.969 above ~4,258 LOC (R²=0.88, 599 repos), flat ~0.11s below
    it -- linking to Proof for the chart and derivation.
  • "Proof, Not Just Claims" item 3: added a short paragraph + the embedded chart, pulled
    from gitgalaxy-raw-output's self-updating speed_charts/latest/loc_vs_time.png path, so
    it never needs manual re-embedding as new versions land there.
  • Logged in docs/readme_evidence_roadmap.md's Shipped table per the readme-maintenance
    skill's process (step 5: log what unlocked/shipped in the same PR).

Kept the existing Kubernetes single-example sentence (still a real, concrete number) --
this adds the aggregate model alongside it rather than replacing a good example with an
abstraction.

Test plan

  • Verified the embedded image URL resolves (HTTP 200) against
    gitgalaxy-raw-output's merged main before embedding
  • Cross-checked the cited numbers (0.11s, 4,258 LOC, 3.36e-05, 0.969, R²=0.88)
    directly against that repo's live speed_charts/latest/rate_model.txt
  • Self-check against how_to_maintain_the_readme.md's five rules: numbers+links present,
    no bare superlatives, no new emoji, section order unchanged (edits are within existing
    sections, Proof still precedes Benchmarks)

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

…xample

Replaces "a handful of 20M+ LOC outliers take a few minutes instead" with the
actual fitted two-regime model from gitgalaxy-raw-output's 599-repo batch:
flat ~0.11s below ~4,258 LOC (fixed overhead dominates), then
time(s) ~= 3.36e-05 * LOC^0.969 above it (R^2=0.88, near-linear rather than
degrading on large inputs). Both the knee and the exponent are derived from
the batch data (compute_rate_model() in that repo), not eyeballed.

Embeds the LOC-vs-time chart in "Proof, Not Just Claims" item 3, pulled from
gitgalaxy-raw-output's self-updating speed_charts/latest/ path so it never
goes stale here -- no manual re-embedding needed on future releases.

Logged in docs/readme_evidence_roadmap.md's Shipped table per the
readme-maintenance process.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@squid-protocol
squid-protocol force-pushed the docs/speed-proof-raw-output branch from 632e1fb to 5610287 Compare August 7, 2026 00:17
@squid-protocol
squid-protocol merged commit d120d44 into main Aug 7, 2026
28 checks passed
@squid-protocol
squid-protocol deleted the docs/speed-proof-raw-output branch August 7, 2026 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant