sharktide/shield / decision /scoring.py
sharktide's picture
download
raw
254 Bytes
from __future__ import annotations
def decision_from_score(risk_score: int) -> str:
if risk_score >= 70:
return "block"
if risk_score >= 50:
return "review"
if risk_score >= 25:
return "challenge"
return "allow"

Xet Storage Details

Size:
254 Bytes
·
Xet hash:
80a0b54e1dcdbcf4a6be01c182bdac7e457b6aefbfb9cf3204fe0b37a5e4573d

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