Skip to content

README.<code-extension> prose files parsed as code: linuxdoom README.asm reported as assembly with 14 functions #5466

Closed

Description

@squid-protocol

Problem

linuxdoom-1.10/README.asm is a prose note (it explains the original DOS assembly routines and quotes some) but is classified by extension as assembly, with 14 functions (_R_DrawSpan, _FixedMul, ...) counted in linuxdoom's totals. Same shape exists in zandronum and sdl-doom (docs/README.asm, currently excluded only because docs/ is ignored).

Class: prose files with a code extension

member status
README.<ext> / READ.ME.<ext> / NOTES.<ext> / CHANGES.<ext> with a code extension classified by extension
*.txt-like content in .asm, .c, .h (no code tokens) statistical auditor may refute (verify)

Acceptance

  • A file whose stem is a known prose name (README, NOTES, CHANGES, TODO, INSTALL, ...) and whose content is mostly prose is classified as plaintext/markdown, not by extension; quoted code inside it does not produce functions.
  • Fixture: linuxdoom-style README.asm -> 0 functions, language plaintext.

Part of #5457 (milestone DOOM Port Speedrun).

Evidence: /srv/storage_16tb/projects/gitgalaxy/doom-study/ — round2_findings.md, clean_check.csv, clean_check_details.json; scans in scans_r2/<port>/ at engine 585c243e9; corpus variants_r2.csv (39 ports, pinned SHAs); scorer scripts/clean_check.py.

🤖 Generated with Claude Code

Activity

  1. added
    bug
    core-engine
    priority: low
    needs:doom-corpus
    scope:core
    on Oct 18, 2026
  2. squid-protocol commented on Oct 18, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host nyx, lease renewed 2026-10-18T17:30Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:nyx label.

  3. squid-protocol commented on Oct 18, 2026

    @squid-protocol
    OwnerAuthor

    Acceptance met by #5514: README/NOTES/CHANGES/TODO/INSTALL-style stems with a code extension and a prose opening are now classified markdown/plaintext (linuxdoom README.asm -> 0 functions, coding_loc 0), with per-extension tests and a code-README negative test. Remaining prose-stem names (FAQ, HACKING) and prose in non-doc-named files are recorded as sibling gaps in the PR class table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugclaim:nyxcore-engineneeds:doom-corpuspriority: lowscope:core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions