linvest21's picture
download
raw
711 Bytes
from __future__ import annotations
RISK_TIERS = {
"internal_dev": {"require_human_approval": False, "allow_mock_providers": True},
"internal_analyst": {"require_human_approval": False, "require_prompt_replay": True},
"regulated_internal": {"require_human_approval": True, "require_compliance_approval": True},
"external_facing": {
"require_human_approval": True,
"require_compliance_approval": True,
"require_product_owner_approval": True,
"mandatory_prompt_replay_pass_rate": 1.0,
},
}
def get_risk_policy(tier: str) -> dict[str, object]:
if tier not in RISK_TIERS:
raise ValueError(f"unknown risk tier: {tier}")
return RISK_TIERS[tier]

Xet Storage Details

Size:
711 Bytes
·
Xet hash:
7bf5f7964547c5864f0b3d7d97ea8ebe8ade4ea30469171bca165f5f58fc0e91

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.