Repository navigation
docs/media: animations of what the engine reads (4-language function tour + call-graph zoom-out), rendered from real engine output - #8036
Merged
Conversation
…n C/Python/Java/COBOL, call-graph zoom-out) + generators Rendered from real engine output: scripts/media/function_explainer.py scans the file, takes the function's DB row, locates every counted keyword-rule match on the engine's comment-free code stream and refuses to render if a highlight count differs from the engine's; scripts/media/callgraph_explainer.py animates the scan's graph output (calls_out_to + imports) from one function to the whole codebase. README gets the C explainer under the headline table. zlib sources attributed (zlib license); the other examples are ours. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY
…nds; galaxy styling for the call graph Function explainer: the record panel now has three non-overlapping bands (legend rows at 19/28 px, size & comments, fingerprint). Call graph: deep-navy sky, glowing per-file clusters in cool tones, glowing cyan calls / violet cross-file calls / pink imports, amber traced path, larger legend and status text. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY
…reen, calls red, imports yellow) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY
…nts, DOOM ports, copy-finding, COBOL->Java ladder) - galaxy: gzeof's shape (#13 of the population lattice, 54,522 functions) and the 200-shape lattice, with GitGalaxy's real week-to-week shape moves - agents-same-job: agent-habits Java chess by Sonnet / Haiku / Codex, call graphs + shape mix, with the WILD caveat - doom-ports: DOOM's DNA wiring kept per port vs shuffled baseline (docs/wiki/museum-of-code/doom-dna/data.json) - copyfinding: OpenSSL -> BoringSSL C++ by structure, ranks recomputed with the LAY scorer; leads with the general 44% (572 copies), the study's 94% labelled as the CVE subset - proof-ladder: COUSR01C at L5 from the published evidence report, levels never called proven docs/media/README.md documents each with sources and caption caveats. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY
…ime) replaces galaxy; clearer file green; agents files labelled and contained - lattice: single-column Yes/No fingerprint; a real growth-tree chain (#14 -> #1 -> #2 -> #5 -> #12 -> #13 -> #26), each step one family with its real function count and level; then the whole 200-shape family. Refuses non-one-family steps. - call graph + agents: files in a distinct green (34,197,94) vs blue functions - agents: file circles computed from final dot positions (always contain their dots), separated in screen space, every file labelled (the 1-function files are real shell scripts: build.sh, engine) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY
…ttice ends with real-size unlabelled dots, alternate parentage and a closing title - scripts/media/_brand.py: plain 'GitGalaxy' bottom-right on every frame; every generator's title card removed - lattice: after the chain, dots are unlabelled and sized by functions sharing the shape; light grey dotted lines show the 219 alternate-parent links (148 of 200 shapes), the chain's own alternates highlighted; closing title '6.9 million functions · 571 repositories · 56 languages · 14 shape families' (counts from the population DB) - attribution lines shortened so they never run into the corner mark Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY
…ne 'half (49.7%) fall into the 200 shapes drawn'; purple shapes; subtle grey alternate parents Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY
…lap), every circle the same purple and transparency at the end Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY
…final results; the chain fades into the plain lattice (no history); legend shows only what is on screen Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY
…tion' on every frame Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY
…up sea of repos/files/functions, 50 misses, then a renamed match) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY
…-ladder film in CICS to Java; call-graph film in Graph validation Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY
squid-protocol
marked this pull request as ready for review
November 8, 2026 00:03
Contributor
|
No description provided. |
Contributor
|
No description provided. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this does
Shows people what the engine does. Adds animations under
docs/media/, each rendered from real engine output, with the generators beside them.What the engine reads in one function (
scripts/media/function_explainer.py):Shows: the function in a terminal, the detected language, then each keyword family highlighted and flowing into the function record with its count. Then a size/comment pass, and the yes/no keyword fingerprint with the archetype.
Grounded in the engine:
Examples:
gzeof_has_generator_bannerstoreHostCheckedMAIN-PARAFXTSQ.cblFrom one function to the whole call graph (
scripts/media/callgraph_explainer.py):calls_out_toplus imports) for zlib. It starts ongzread()and its calls, follows the second hop, zooms togzread.c, then to the whole codebase.#includelinks in a second colour.README: the C explainer under the headline table, linking the tour and the call graph.
docs/media/README.mdhas provenance and exact regenerate commands.Design notes:
Added: five more explainers (all from real data)
latticeagents-same-jobdoom-portsdocs/wiki/museum-of-code/doom-dna/data.jsoncopyfindingv3_utl.c→ BoringSSL C++ by structure: 4 → 18 → 19 of 27 found first; leads with the general 11% → 44% over 572 current copies, the LAY study's 94% labelled as its CVE subsetscripts/media/copyfinding_data.py)proof-ladder37b095760) + det-mutation ledgersEvery number was spot-checked against its source;
docs/media/README.mddocuments each with caption caveats.Found along the way
The Python branch rule counts the
.match(method call as amatchstatement: #8034.Checks
pr_gates --fast: 9/9 pass.audit_check: all clear (ruff, format, mypy, dead-key, doc-refs).Class / Sibling gaps
none: every member handled (docs-only plus two standalone generator scripts; no engine code changed).
🤖 Generated with Claude Code
https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY