Every row says what it does, not what it is

The descriptions were written for someone who already knew the answer. A user
reading "Airtime budget: duty cycle = 100 / (factor + 1) %" or "Per-hop
path-hash size; larger resists collisions, adds overhead" has to ask, which is
the opposite of what a description is for.

So both registries now answer the reader's actual question -- what does this do
to me -- in as few words as it takes. "Wider is faster, narrower reaches
further" instead of naming the unit twice. "Caps how much of the air we use;
0 = no cap" instead of the formula. "How loud this radio transmits."

Labels went with them where the name was ours to choose: Sweep floor and Sweep
ceiling are Lowest power and Highest power, Opening frame is Map fit, Silence
alarm is Alert after, Basemap source is Map tiles. The radio's own names stay --
someone matching Spreading factor against their phone app should find the words
they came for. History kept is just History.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jean-Pierre MartineauandClaude Opus 5 committed 2026-09-05 15:51:15 -04:00
1 parent fe4780e070
commit 03f8e1496f
3 files changed
+56 -54

No files matched your search

+6 -6
View File
@@ -158,8 +158,8 @@ def test_the_file_reads_the_way_the_page_does(tmp_path: Path) -> None:
prefs = Preferences(tmp_path / "preferences.yaml")
prefs.set("history_days", 30)
text = prefs.as_yaml()
assert "# --- History kept ---" in text
assert "# Days of overheard history kept" in text
assert "# --- History ---" in text
assert "# Older ones are deleted; 0 keeps everything" in text
assert "# default: 365 days" in text
# A group with nothing changed in it earns no heading.
assert "# --- Display ---" not in text
@@ -298,9 +298,9 @@ def test_a_staged_change_shows_its_arrow_and_the_save_action() -> None:
def test_a_long_value_is_capped_so_the_descriptions_keep_their_lane() -> None:
"""The basemap URL is shortened in the lane rather than eating the prose column."""
_, rows = _rows(Preferences())
basemap = next(row for row in rows if "Basemap source" in row)
basemap = next(row for row in rows if "Map tiles" in row)
assert "https://tiles.openf…" in basemap
assert "TileJSON" in basemap # its description still made it onto the row
assert "Where map images" in basemap # its description still made it onto the row
def _table_lines(prefs: Preferences, width: int) -> list[str]:
@@ -345,8 +345,8 @@ def test_the_printed_table_names_every_value_and_its_default() -> None:
body = "\n".join(_table_lines(prefs, 160))
assert "https://tiles.openfreemap.org/planet" in body # never capped here
assert "30 days" in body and "365 days" in body # value beside its default
assert "── History kept ──" in body
assert "Days of overheard history kept" in body # the description lane, at this width
assert "── History ──" in body
assert "Older ones are deleted" in body # the description lane, at this width
def test_the_printed_table_never_elides_a_key() -> None: