Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/rounds/round-5d.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ failure once and lets only a difference past the margin decide.

- Each arm's verdict is printed with one line per radar axis: better, held,
worse or unsettled.
- An axis is worse where a row is worse and none better, better the other
way round, and held where every row is held. Where rows went both ways, it
takes the sign of its size on the radar (13d.8).
- A trade-off, such as better tests at a higher cost, stays visible instead of
folding into "supported" or "refuted".

Expand Down
15 changes: 13 additions & 2 deletions tests/efficacy/archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,7 @@ def figures(root, seed):
trials = report.load(root)
report.exclude_reached(trials, report.reaches(root))
table = report.collect(trials)
results = report.contrasts(table, seed, report.crossed_labels(trials),
report.margins_of(trials))
results = report.round_contrasts(trials, table, seed)
withdrawn = report.withdrawals(trials)
report.withdraw(withdrawn, table, results)
return {"table": table, "results": results, "withdrawn": withdrawn,
Expand Down Expand Up @@ -530,6 +529,18 @@ def self_test():
checks.append(("a reading changed in the archive fails the verify",
landed and verify(root, into, seed) != []))

# A round-5d root is verified by round 5d's rules, so reliability's
# interval is Newcombe's there as it is in the report.
later = os.path.join(scratch, "round-5d")
for name in ("hand-1", "short-1", "hand-2", "short-2"):
dump_json(os.path.join(scoring_area(later), "scores", name + ".json"),
{"name": name, "install": {"value": True},
"boot": {"value": {"factory": True, "index_status": 302}}})
method = figures(later, seed)["results"]["reliability"]["short-hand"][
"interval"]["method"]
checks.append(("a round-5d root is verified by round 5d's rules",
method.startswith("Newcombe")))

checks.append(("an unarchived round has a stamp problem",
stamp_problem(root) is not None))
stamp(root, into)
Expand Down
Loading
Loading