(score: float)
| 450 | |
| 451 | |
| 452 | def label_for_score(score: float) -> str: |
| 453 | if score >= LABEL_THRESHOLDS["high_relevant"]: |
| 454 | return "high_relevant" |
| 455 | if score >= LABEL_THRESHOLDS["maybe_interested"]: |
| 456 | return "maybe_interested" |
| 457 | return "edge_relevant" |
| 458 | |
| 459 | |
| 460 | def score_row( |