Enum value names: prefix-less enums, data file types, vehicle parts (1,659 values) #464

Manually merged
github merged 1 commit from github-bot/gh-464 into gh-pr/464/base 2026-11-27 06:07:54 +00:00 AGit
Owner

@⁠holdmysocks on GitHub · 2026-11-27 05:24 UTC · original
holdmysocks:claude/enum-value-names-3 → master · +1662 −1 · 2 files · 1 commits · merged 2026-11-27 06:06 UTC

Follow-up to #454, which merged before this commit was pushed.

The enum value table goes from 4,323 to 5,982 values.

  • Enums whose names share no prefix (camel case like BlockAnimals, or upper case) were searched with 1–2 words from the token list of known names and 3 words from the top 120.
    • A control on 6,350 random hashes gave 9 hits, all word salad, against 1,095 real hits.
    • I read through all of the real hits and dropped 14 that looked like salad, so a few chance names may remain.
  • Data file types (…_FILE) were built from a data-file vocabulary: about 100 names, such as HANDLING_FILE, CARCOLS_FILE and AUDIO_GAMEDATA.
  • Vehicle part ids (VEH_) were built from part words with side and number suffixes: 127 names, such as VEH_WHEELHUB_LM1, VEH_WEAPON_2C and VEH_MOD_COLLISION_3, against about 2 expected by chance.
  • The extractor's name dictionary (keyed by lowercase hashes) was rehashed case-sensitively in each enum's spelling: 150 names.
  • Two hashes with two competing names each were left out. Every kept name matches case-sensitive joaat.
  • The test checks HANDLING_FILE and that the table has more than 5,500 values.
  • Still unknown in partly named enums: mostly PCF_ (about 1,060), EVENT_ (about 620) and INPUT_ (about 600).
**@⁠holdmysocks** on GitHub · 2026-11-27 05:24 UTC · [original](https://github.com/holdmysocks/SixNG/pull/464) `holdmysocks:claude/enum-value-names-3` → `master` · +1662 −1 · 2 files · 1 commits · merged 2026-11-27 06:06 UTC Follow-up to #454, which merged before this commit was pushed. The enum value table goes from 4,323 to 5,982 values. - **Enums whose names share no prefix** (camel case like BlockAnimals, or upper case) were searched with 1–2 words from the token list of known names and 3 words from the top 120. - A control on 6,350 random hashes gave 9 hits, all word salad, against 1,095 real hits. - I read through all of the real hits and dropped 14 that looked like salad, so a few chance names may remain. - **Data file types** (…_FILE) were built from a data-file vocabulary: about 100 names, such as HANDLING_FILE, CARCOLS_FILE and AUDIO_GAMEDATA. - **Vehicle part ids** (VEH_) were built from part words with side and number suffixes: 127 names, such as VEH_WHEELHUB_LM1, VEH_WEAPON_2C and VEH_MOD_COLLISION_3, against about 2 expected by chance. - **The extractor's name dictionary** (keyed by lowercase hashes) was rehashed case-sensitively in each enum's spelling: 150 names. - Two hashes with two competing names each were left out. Every kept name matches case-sensitive joaat. - The test checks HANDLING_FILE and that the table has more than 5,500 values. - Still unknown in partly named enums: mostly PCF_ (about 1,060), EVENT_ (about 620) and INPUT_ (about 600).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 05:28:20 +00:00
github-bot changed target branch from master to gh-pr/464/base 2026-11-27 06:07:52 +00:00
github manually merged commit 9584929e80 into gh-pr/464/base 2026-11-27 06:07:54 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.