README and ARCHITECTURE corrections: wrong branch name, wrong score path, tests claimed that do not exist #16
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Four factual errors in the long-form docs. (
MEMORY.md/TODO.mddrift istracked separately in #3; this issue covers
README.mdandARCHITECTURE.mdonly, so the two can land independently.)1.
README.md:15names a branch that does not exist> The C reference implementation lives on the
masterandmodern-rogue> branches
There is no
masterbranch. The C reference is onc-master. Anyonefollowing the README to find the reference sources fails outright.
2.
ARCHITECTURE.md§5.7 (line 1587) has the wrong score-file pathSays
~/.rogue_scores. The code uses~/.rogue.scores(
cmd/rogue/main.go:103), which is also whatREADME.mdcorrectly documents.3.
ARCHITECTURE.md§10 describes tests that were never written§10 (lines 1719-1736) is written as settled fact, but two of its items do not
exist:
chars + room/passage metadata) to text fixtures" —
game/testdata/holdsonly
item_tables.golden,c_seedcompat.patch, and a README. There are nolevel fixtures. Determinism is guarded by
TestNewLevelDeterministicinstead, which is a weaker property (self-consistency, not a locked golden).
swing/rollAttacksagainst hand-computed cases,str_plus/add_damtable spot checks" — nostr_plus/add_damspotcheck exists.
4.
ARCHITECTURE.md§9's dropped-functionality table is incomplete§9 (lines 1706-1717) lists 8 correctly-dropped platform/security items, but
two more C functions were dropped without being recorded:
init.c badcheck()— the MASTER-only probability sanity check with itsinteractive "[hit RETURN]" prompt. Its intent is now covered by
TestProbabilitiesSumTo100(better, but undocumented as a substitution).options.c get_num()— replaced inline bygetStr+cAtoiatwizard.go:38-43. The Go version is actually more correct than C's(C's
get_numcastsvoid*toshort*and writes 2 bytes into anint o_goldval), which is worth recording rather than losing.Definition of done
README.mdsaysc-master.~/.rogue.scores.explicitly-future work — clearly marked as not-yet-implemented, not as
description of the current suite. Do not write the tests here; if they
are worth having, say so on this issue and I will file them separately.
badcheckandget_num, each with the reason and whatreplaced it.
make checkgreen;make fmtrun so the markdown is prettier-clean.(closes #N).Implementation requirements
Makefile,.golangci.yml,or any config. If a non-
.mdchange seems necessary, stop and report.git branch -rbeforeediting — do not just transcribe this issue. In particular, confirm the
testdata/contents and grep for astr_plustest yourself.make fmtand include the result in the same commit (prettier,4-space tabs,
proseWrap: always).leave/tstp).Whichever lands second must rebase and keep both sets of rows — do not
clobber the other's additions.
Review path
Docs-only, so this skips adversarial review and merges on a green
make check.