CB-WP-0044: the page says which rules it plays
Some checks failed
ci / check (push) Failing after 4s
Some checks failed
ci / check (push) Failing after 4s
Reported as "I did a session and noted no changes" — correct, and the fault was ours twice. make ground passes no --variant, so the session was baseline, and CB-WP-0043 deliberately leaves the baseline layout untouched because a variant that redraws the baseline invalidates every prior look at it. But the deeper defect is that nothing said so. The page named the round, the step, the Lead, the scoring mode and the viewer, and never which rules it was playing — GroundView did not even carry the variant. There was no way from the screen to tell baseline from H1 from H2. A session that cannot say which rules it is playing cannot report a rules change; the player did the right thing and the instrument had nothing to tell them. Now: variant on GroundView, `rules <id>` in the page header beside the scoring mode, `rules <id>` in the inspector because a replay that cannot say which rules produced it is the same defect in the other tool, and make ground VARIANT=h2 so the capability is reachable. Both coverage probes caught the new field independently — the render crate's and cb-play's — the second time in two passes that they have turned an addition into a legibility requirement instead of letting it be silent state. Verified by fetching the served page rather than by reading the code: make ground VARIANT=h2 prints "rules: h2" and the page carries "rules h2-scoped-problem-stress" with the scope labels; the baseline says "rules ground-darvo-r0" and keeps its row. Still open: nothing explains what a scope DOES, and the trial log header does not record the variant either — the same defect one artifact along. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
471de44632
commit
25b18bddf7
9 changed files with 271 additions and 2 deletions
8
Makefile
8
Makefile
|
|
@ -31,6 +31,10 @@ TOOLS := $(REPO)/tools
|
|||
# reads the age from there (falling back to mtime).
|
||||
TRIAL_NAME := $(shell date +%Y-%m-%d-%H%M)$(if $(SLUG),-$(SLUG),)
|
||||
PLAYERS ?= 3
|
||||
# CB-WP-0044: which rules package to play. The page names it too --
|
||||
# a session that could not say which variant it was is what produced
|
||||
# the report "I did a session and noted no changes".
|
||||
VARIANT ?= ground-darvo-r0
|
||||
PORT ?= 0
|
||||
|
||||
# Every cargo recipe runs at the repo root; the shell does not persist cd.
|
||||
|
|
@ -68,11 +72,13 @@ help:
|
|||
## type in the notes panel is bound to the position you typed it at.
|
||||
## `make ground PLAYERS=2 SLUG=darvo-confusion`
|
||||
## Read the notes back afterwards with `make trials`.
|
||||
## play a session (VARIANT=ground-darvo-r0|h1|h2)
|
||||
ground:
|
||||
@echo " rules: $(VARIANT)"
|
||||
@mkdir -p $(REPO)/trials
|
||||
@echo " trial: trials/$(TRIAL_NAME).md (notes) + .yaml (the game)"
|
||||
$(IN_REPO) $(CARGO) run -q -p cb-play -- \
|
||||
--players $(PLAYERS) --serve $(PORT) \
|
||||
--players $(PLAYERS) --serve $(PORT) --variant $(VARIANT) \
|
||||
--record trials/$(TRIAL_NAME).yaml \
|
||||
--trial trials/$(TRIAL_NAME).md $(ARGS)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue