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

Function selected_gain

experiments/benchmark/evaluate_simulation_metrics.py:62–63  ·  view source on GitHub ↗
(row: Dict[str, Any])

Source from the content-addressed store, hash-verified

60
61
62def selected_gain(row: Dict[str, Any]) -> float:
63 return 1.0 if row.get("selected") else 0.0
64
65
66def is_low_relevance(row: Dict[str, Any]) -> bool:

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected