Skip to content

Says MapTest's graphs regenerate from the Map - #683

Merged
johnnyt merged 1 commit into
mainfrom
sb-pgsm-maptest-moduledoc
Sep 30, 2026
Merged

johnnyt merged 1 commit into
mainfrom
sb-pgsm-maptest-moduledoc

Conversation

@johnnyt

@johnnyt johnnyt commented Sep 30, 2026

Copy link
Copy Markdown
Member

What

StatifierBlocks.MapTest's moduledoc said the graph for the two teaching documents is what the reference host's map answered before it moved into the package. That no longer holds for the library loan: its graph fixture was regenerated from the package's own StatifierBlocks.Map when a timed wait gained the clock mark, and differs from the reference host's by that one mark.

The moduledoc now says the teaching documents' graphs are the ones checked in under test/fixtures/map/, that they began as the reference host's answer and are regenerated from the package's StatifierBlocks.Map when what it answers changes, and names the one difference (the clock mark on the library loan's loan period), pointing at StatifierBlocks.MapFixtures.

Test prose only: no lib/ change, no assertion change, no changelog fragment (changelog.d/README.md excludes tests).

Gate

Full mix quality green on the exact tree committed (3,954 of 3,954 tests, 95.3% coverage, dialyzer and credo clean, ADR cites unmoved).

Review

In-turn review: re-read the diff against the bead's acceptance ("The moduledoc says the graphs are regenerated from StatifierBlocks.Map and names the difference"). Checked each claim against main by anchor at 8346ba7: StatifierBlocks.MapFixtures' moduledoc ("the library loan's graph was regenerated when a timed wait gained the clock mark, and differs from the reference host's by that one mark on its loan period"); MapFixtures.host_graph!/1 reads test/fixtures/map/{key}.graph.json, which the test "each teaching document's graph is the reference host's" holds equal to graph(key); the history of test/fixtures/map/ shows the library loan's graph gaining the one "mark": "clock" line on its Wait 21d node and the patron registration's graph unchanged since it was added. The new text claims only what the test asserts and what the fixtures' history shows. No record text changed. Left as is: the describe block's name and the test's name still say "the reference host's graph"; the comment above that test already names the clock-mark difference, and renaming a test is outside this bead's acceptance.

MapTest's moduledoc said the two teaching documents' graphs are what
the reference host's map answered before it moved into the package.
The library loan's graph has since been regenerated from the package's
own StatifierBlocks.Map when a timed wait gained the clock mark, so it
differs from the host's by that one mark. The moduledoc now says the
graphs began as the host's answer, are regenerated from the package's
Map when what it answers changes, and names the one difference, as
MapFixtures' moduledoc already does.

Test prose only; no changelog fragment (changelog.d/README.md excludes
tests).

Gate: full mix quality green on this exact staged tree (3,954 of 3,954
tests, 95.3% coverage, dialyzer and credo clean).

Refs: sb-pgsm
@johnnyt
johnnyt force-pushed the sb-pgsm-maptest-moduledoc branch from bfe3e4e to 114c51c Compare September 30, 2026 11:27
@johnnyt
johnnyt merged commit 5d3b072 into main Sep 30, 2026
2 checks passed
@johnnyt
johnnyt deleted the sb-pgsm-maptest-moduledoc branch September 30, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant