chore(repo): make the release gate reproducible and clean product URLs
PyJHora absence is now partial, tests write research manifests to tmp, the registry allows experimental_variant, and product links point at the Gitea repo. Early logs move to docs/history. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -25,24 +25,32 @@ def test_registry_is_backend_evidence_pool_not_flat_user_skill_list() -> None:
|
||||
"composite_adjudicator",
|
||||
"workflow_or_engineering",
|
||||
"alias_entry",
|
||||
"experimental_variant",
|
||||
}
|
||||
allowed_roles = {"primary", "secondary", "context", "audit_only", "alias"}
|
||||
allowed_roles = {"primary", "secondary", "context", "audit_only", "alias", "comparison_only"}
|
||||
allowed_visibility = {"ordinary_topic_router", "expert_audit", "hidden"}
|
||||
allowed_prediction = {
|
||||
"case_validated_partial",
|
||||
"support_only",
|
||||
"not_claimed",
|
||||
"not_applicable",
|
||||
"blocked",
|
||||
}
|
||||
allowed_rule = {"verified", "partial", "not_applicable", "blocked"}
|
||||
allowed_calculation = {"verified", "partial", "not_applicable", "experimental"}
|
||||
|
||||
for tech_id, tech in techniques.items():
|
||||
assert tech["entry_type"] in allowed_entry_types, tech_id
|
||||
assert tech["evidence_role"] in allowed_roles, tech_id
|
||||
assert tech["user_visibility"] in allowed_visibility, tech_id
|
||||
assert tech["verification_level"]["calculation"] in {"verified", "partial", "not_applicable"}, tech_id
|
||||
assert tech["verification_level"]["rule"] in {"verified", "partial", "not_applicable"}, tech_id
|
||||
assert tech["verification_level"]["calculation"] in allowed_calculation, tech_id
|
||||
assert tech["verification_level"]["rule"] in allowed_rule, tech_id
|
||||
assert tech["verification_level"]["prediction"] in allowed_prediction, tech_id
|
||||
assert tech["conclusion_policy"], tech_id
|
||||
if tech["entry_type"] == "experimental_variant":
|
||||
assert tech["verification_level"]["prediction"] == "blocked", tech_id
|
||||
assert tech["verification_level"]["rule"] == "blocked", tech_id
|
||||
assert tech["user_visibility"] == "expert_audit", tech_id
|
||||
|
||||
assert techniques["case_validator"]["evidence_role"] == "audit_only"
|
||||
assert techniques["thematic_report_orchestrator"]["entry_type"] == "workflow_or_engineering"
|
||||
@@ -59,6 +67,8 @@ def test_evidence_pool_summary_routes_few_primary_items_and_many_support_items()
|
||||
assert summary["evidence_role_counts"]["primary"] >= 8
|
||||
assert summary["evidence_role_counts"]["secondary"] > summary["evidence_role_counts"]["primary"]
|
||||
assert summary["evidence_role_counts"]["audit_only"] >= 3
|
||||
assert summary["comparison_only_entries"] == ["rangacharya_jaimini_variant"]
|
||||
assert summary["conclusion_policy"]["comparison_only_entries_cannot_affect_astrological_conclusions"] is True
|
||||
assert summary["prediction_verification_counts"]["not_claimed"] > 0
|
||||
assert summary["conclusion_policy"]["primary_chain_required"] is True
|
||||
assert summary["conclusion_policy"]["all_89_entries_must_not_be_flattened_into_conclusions"] is True
|
||||
|
||||
Reference in New Issue
Block a user