(left: set[str], right: set[str])
| 295 | |
| 296 | |
| 297 | def jaccard(left: set[str], right: set[str]) -> float: |
| 298 | if not left or not right: |
| 299 | return 0.0 |
| 300 | return len(left & right) / len(left | right) |
| 301 | |
| 302 | |
| 303 | def load_roles(roles_file: Path) -> Dict[str, Dict[str, Any]]: |
no outgoing calls
no test coverage detected