(left: Dict[str, float], right: Dict[str, float])
| 275 | |
| 276 | |
| 277 | def scaled_similarity(left: Dict[str, float], right: Dict[str, float]) -> float: |
| 278 | return clamp(cosine(left, right) * 4.0) |
| 279 | |
| 280 | |
| 281 | def jaccard(left: set[str], right: set[str]) -> float: |
no test coverage detected