MCPcopy
hub / github.com/DietrichGebert/ponytail / _fail

Function _fail

benchmarks/agentic/tasks.py:62–62  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

60 except ValueError: return False
61
62def _fail(reason): return {"correct": 0, "safe": 0, "reason": reason}
63def _ok(correct, safe, reason="ok"): return {"correct": int(bool(correct)), "safe": int(bool(safe)), "reason": reason}
64
65# ======================================================================================

Callers 12

score_safe_pathFunction · 0.85
score_ratelimitFunction · 0.85
score_sqlFunction · 0.85
score_authFunction · 0.85
score_csvFunction · 0.85
score_cacheFunction · 0.85
score_emailFunction · 0.85
score_todoFunction · 0.85
score_reuse_slugFunction · 0.85
score_reuse_moneyFunction · 0.85
score_trace_transferFunction · 0.85
score_trace_amountFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected