MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / label_for_score

Function label_for_score

experiments/baselines/nl_profile/runner.py:359–364  ·  view source on GitHub ↗
(score: float)

Source from the content-addressed store, hash-verified

357
358
359def label_for_score(score: float) -> str:
360 if score >= LABEL_THRESHOLDS["high_relevant"]:
361 return "high_relevant"
362 if score >= LABEL_THRESHOLDS["maybe_interested"]:
363 return "maybe_interested"
364 return "edge_relevant"
365
366
367def score_row(row: Dict[str, Any], idf: Dict[str, float], state: UserNaturalProfileState) -> Dict[str, Any]:

Callers 1

score_rowFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected