| Conditions | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | """ |
||
| 27 | @classmethod |
||
| 28 | def weights_of_pairs( |
||
| 29 | cls, hits1: Collection[AbstractHit], hits2: Collection[AbstractHit] |
||
| 30 | ) -> Dict[Pair, Tuple[float, float]]: |
||
| 31 | """ |
||
| 32 | Calculates the sum of |
||
| 33 | """ |
||
| 34 | union = {h.to_pair for h in hits1}.union({h.to_pair for h in hits2}) |
||
| 35 | return {p: (cls._score(hits1, p), cls._score(hits2, p)) for p in union} |
||
| 36 | |||
| 43 |