(left: Dict[str, float], right: Dict[str, float])
| 320 | |
| 321 | |
| 322 | def scaled_similarity(left: Dict[str, float], right: Dict[str, float]) -> float: |
| 323 | return clamp(cosine(left, right) * 4.0) |
| 324 | |
| 325 | |
| 326 | def load_roles(roles_file: Path) -> Dict[str, Dict[str, Any]]: |
no test coverage detected