Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenRaiser/PaperFlow
/ safe_div
Function
safe_div
experiments/benchmark/evaluate_benchmark_predictions.py:32–33 ·
view source on GitHub ↗
(num: float, den: float)
Source
from the content-addressed store, hash-verified
30
31
32
def
safe_div(num: float, den: float) -> float:
33
return
num / den
if
den > 0
else
0.0
34
35
36
def
mean(values: list[float]) -> float:
Callers
1
evaluate_episode
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected