Repository navigation
DOOM scorer: SRC_EXT covers Fortran, Crystal, F#, COBOL and the other port languages (Part of #6097) - #6705
Conversation
…, ZScript, Ruby (Part of #6097) Check 1 only walks SRC_EXT files, so a port in a language missing from it scored coverage vacuously. A test derives the class from the manifest and the engine registry. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #6705 @ d624528: 4 failed check(s) == shard 1 (1669449 LOC) (failure) -- real == shard 2 (1666363 LOC) (failure) -- real == shard 3 (1667394 LOC) (failure) -- real == shard 4 (1666524 LOC) (failure) -- real |
…6708) Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]>
#6710) * Re-bless DOOM-rosetta goldens for the wider SRC_EXT (Part of #6097) first_party_src grows (and doomf77/doo-cr gain one data-only exclusion) in 10 ports; dartdoom and doom-scheme gain per-file hashes for files check 1 now sees. No missed_src or other column moved. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Re-bless dartdoom and doom-scheme DOOM-rosetta goldens after main's Scheme/Dart changes (Part of #6097) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]>
…prose (follow-up to #6097) (#7147) * DOOM study: rescan at 6c7c6c1, one scan for every table, refresh the prose (follow-up to #6097) Rescanned all 44 licensed ports at main 6c7c6c1 (42/44 PERFECT; callgraph passes everywhere after #7019) and regenerated the sfs subway table on the same scans, so no table mixes scan dates any more. Prose: drop the defect and "not done" text that #6700/#6703/#6705/#6749 fixed, state the sqldoom/cssdoom #5876 ruling, explain the median-0 complexity of the JVM/Rust ports (method size, measured), fix the dist range and date line. study_report.py: the scorecard's last column was "functions now" but counts only ctags-language files (doom-fx read 1, dartdoom 0); relabel it and say so. Co-Authored-By: Claude Opus 5.5 <[email protected]> * DOOM study: read wiring similarity against its floor; cross-subsystem wiring (follow-up to #6097) Co-Authored-By: Claude Opus 5.5 <[email protected]> * DOOM study: subway table reads cross wiring over a shuffled null; negative controls study_report.py shows sfs's cross_wiring, its shuffled-placement null and the gap when subway.csv has them (sfs PR #21), sorted by the gap; old CSVs keep the old table. Prose: raw wiring flatters (doomf77 0.91 is +0.05 over null); doom-scheme and gore keep cross wiring +0.51/+0.50 over null like chocolate-doom; JVM/C#/Fortran ports and reimplementations show none. Negative controls (WinQuake, Quake II, Lua at the same engine) give the null levels; graph-shape distance does not separate them. Co-Authored-By: Claude Opus 5.5 <[email protected]> * DOOM study: restructure as findings first, tables as appendices; twin cross-check, controls, blind placement Findings lead (twins 93% precise vs source text at 6c7c6c1; textscreen shared sideways; Scheme/Go wiring above chance and blind placement kappa 0.50/0.31/0.26; names kept, bodies rewritten; extraction accuracy), then what this does not show, then Appendices A-G (the generated tables, unchanged) and a new hand-quoted Appendix H (twin cross-check, descent, unrelated programs). Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
Part of #6097. Checklist: done [c:901b4871]
doom_scorer.SRC_EXT(what check 1 walks) lacked Fortran, Crystal, F#, COBOL, so those ports' coverage check saw zero first-party files. Added.f/.f77/.f90/.f95/.f03/.f08/.for,.cr,.fs/.fsi/.fsx,.cbl/.cob/.cpy/.cobol, and the same-mechanism members found by the sweep: Dart.dart, Scheme.scm/.ss/.rkt, ZScript.zs, Ruby.rb. New testtest_src_ext_covers_every_code_language_the_ports_usederives the class fromtests/doom_rosetta/manifest.csvlanguages x the engine'sLANGUAGE_DEFINITIONSextensions, so a future port language fails it until added. README blind-spot line updated.Class / Sibling gaps
Class: every code language named in the DOOM manifest must have an extension in
SRC_EXT. Handled: c, cpp, objective-c, rust, python, javascript, kotlin, assembly (already); fortran, crystal, fsharp, cobol, dart, scheme, zscript, ruby (this PR). Deliberately exempt (in the test, with reasons): sql, jcl, makefile, m4, css, json, yaml, markdown, plaintext.Sibling gaps: (1) SQL (
.sql/.ddl, db2_sql/sqlite) and JCL (.jcl) are code languages indistribution.CODE_LANGUAGESbut excluded from check 1: needs a data-vs-source policy for SQL. (2) Newly visible files get noEXPECT(wrong_language) row orGUESS_LANG/ctags mapping; a language-fit check for them is a different mechanism. (3) Variant extensions of already-covered languages (.tsx,.jsx,.cjs,.kts,.cshtml) are still absent.Cross-repo: none. Engine untouched, so no golden bless / ratchets; this is a scorer-only change. Gates:
pr_gates --fast7/7 pass;tests/tools/test_doom_speedrun.py50 pass; tree-wide guards pass.--ratchetsnot run (no engine/data input changed). Effect on live DOOM scores will show at the next speedrun scan (not run here).🤖 Generated with Claude Code