Spaces:
No application file
No application file
Download src/core/risk_engine.py from abello/OSINT: direct link, hf CLI and curl.
- Browser
- Download file 189 Bytes
-
https://huggingface.co/spaces/abello/OSINT/resolve/main/src/core/risk_engine.py
- Command line
-
hf download hf://spaces/abello/OSINT/src/core/risk_engine.py
-
curl -L -o risk_engine.py https://huggingface.co/spaces/abello/OSINT/resolve/main/src/core/risk_engine.py
189 Bytes
| def assess_risk(correlated): | |
| evidence_count = len(correlated.get("evidence", [])) | |
| return { | |
| "score": min(100, evidence_count * 10), | |
| "details": correlated | |
| } | |