Release v0.34.0 — Series-4 parity, and most of Blastware's report from the event file alone #59

Merged
serversdown merged 245 commits from dev into main 2026-11-04 18:19:24 -05:00
2 changed files with 13 additions and 4 deletions
Showing only changes of commit 51e7dddcb3 - Show all commits

No files matched your search

+12 -3
View File
@@ -373,7 +373,10 @@ def test_whole_captured_sessions_parse_with_no_bad_checksums():
bad = [f for f in frames if not f.checksum_valid]
assert not bad, f"{path.name}: {len(bad)} bad checksums"
total += len(frames)
assert total == 251, f"expected 251 response frames across the corpus, got {total}"
# A floor, not an exact count: the corpus is a gitignored folder that grows
# (2026-11-02, the full copy from the BW VM: 287 responses, 241 reads, every
# one passing the same rule). Fewer than first verified means a lost file.
assert total >= 251, f"expected at least 251 response frames across the corpus, got {total}"
@pytest.mark.skipif(
@@ -410,7 +413,10 @@ def test_builder_reproduces_every_captured_read_frame():
)
checked += 1
i = j + 1
assert checked == 218, f"expected 218 read frames, checked {checked}"
# A floor, not an exact count: the corpus is a gitignored folder that grows
# (2026-11-02, the full copy from the BW VM: 287 responses, 241 reads, every
# one passing the same rule). Fewer than first verified means a lost file.
assert checked >= 218, f"expected at least 218 read frames, checked {checked}"
# ── the data section (writes) ─────────────────────────────────────────────────
@@ -523,4 +529,7 @@ def test_builder_reproduces_every_captured_request_frame_including_writes():
)
checked += 1
i = j + 1
assert checked == 251, f"expected 251 request frames, checked {checked}"
# A floor, not an exact count: the corpus is a gitignored folder that grows
# (2026-11-02, the full copy from the BW VM: 287 responses, 241 reads, every
# one passing the same rule). Fewer than first verified means a lost file.
assert checked >= 251, f"expected at least 251 request frames, checked {checked}"
+1 -1
View File
@@ -98,7 +98,7 @@ def test_an_unknown_opcode_is_refused_and_nothing_is_written(sub):
assert t.written == []
@pytest.mark.parametrize("sub", [0xEE, 0x7E, 0xA8])
@pytest.mark.parametrize("sub", [0xEE, 0x71, 0xA8]) # 0x71 (setup write) stays above the ceiling until phase 5
def test_a_permit_beyond_the_ceiling_is_refused_at_the_wire(sub):
p, t = proto([])
with pytest.raises(OpcodeRefused):