HEL-892: add pinned H3 saved-state reference conversion
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -337,8 +337,12 @@ def test_fixed_sources_and_original_profile_cohorts_remain_identical():
|
||||
assert verify(REPO / "docs/hel-892/grid-reference")["sources_verified"]
|
||||
old = json.loads((REPO / "docs/hel-892/scail-load-evidence/library.json").read_bytes())
|
||||
profiles = tuple(old["profiles"])
|
||||
assert len(profiles) == 24 and tuple(audit.REFERENCE_PROFILES[:-1]) == profiles
|
||||
current = audit.audit_library(REPO, baseline_profiles=profiles)
|
||||
assert (
|
||||
len(profiles) == 24
|
||||
and tuple(p for p in audit.REFERENCE_PROFILES if p not in (GRID_PROFILE, audit.H3_PROFILE))
|
||||
== profiles
|
||||
)
|
||||
current = audit.audit_library(REPO, (*profiles, GRID_PROFILE), baseline_profiles=profiles)
|
||||
for before, after in zip(old["cases"], current["cases"]):
|
||||
assert before["source_path"] == after["source_path"]
|
||||
assert before["attempts"] == after["attempts"][:24]
|
||||
|
||||
Reference in New Issue
Block a user