The demo's message paths look like a real mesh

Measured against a real Montreal database: most messages arrive twice,
through the two repeaters a companion hears, on paths that share their
start and split near the end, with 3-byte hashes. The demo did five or
six short copies through five neighbours.

Our node now hears only two new rooftop repeaters, Villeray and
Rosemont (the terrain hides the big ones), companions lose 7 dB at street
level, and each sender has its own hash width (mostly 3 bytes). Now 91%
of messages arrive twice and 83% of paths use 3-byte hashes. Noor moves
to Côte-des-Neiges to stay in reach, and the traces leave through
Villeray or Rosemont.

The capture finds the Message paths message by its text (a key press
can be lost while the transcript draws) and selects the second path,
since the first is often a straight line.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jean-Pierre MartineauandClaude Opus 5.5 committed 2026-10-16 04:30:43 -04:00
1 parent 5d2648d652
commit 37b17d8ba4
16 files changed
+185 -30

No files matched your search

+2 -2
View File
@@ -62,7 +62,7 @@ def test_the_demo_device_traces_a_path() -> None:
async def run(): # noqa: ANN202
device = DemoDevice()
await device.connect()
spec = ",".join(world.node(n).hash for n in ("Mont-Royal", "Oratoire", "Mont-Royal"))
spec = ",".join(world.node(n).hash for n in ("Rosemont", "Mont-Royal", "Rosemont"))
for _ in range(10):
result = await device.run_trace("(path)", path=spec)
if result.success:
@@ -71,7 +71,7 @@ def test_the_demo_device_traces_a_path() -> None:
result = asyncio.run(run())
assert result.success
assert [h.node for h in result.hops] == ["2a", "4f", "2a", None]
assert [h.node for h in result.hops] == ["d8", "2a", "d8", None]
def test_prepare_writes_a_home(tmp_path: Path) -> None: