Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenRaiser/PaperFlow
/ best
Function
best
experiments/human_eval/draw_interest_drift_paperflow_style.py:97–98 ·
view source on GitHub ↗
(values: dict[str, float], direction: str)
Source
from the content-addressed store, hash-verified
95
96
97
def
best(values: dict[str, float], direction: str) -> str:
98
return
min(values, key=values.get)
if
direction ==
"down"
else
max(values, key=values.get)
99
100
101
def
fmt(value: float) -> str:
Callers
2
draw_png
Function · 0.85
write_svg
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected