MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / assertion_applies_to_real_model

Function assertion_applies_to_real_model

eval/run_real_model.py:502–506  ·  view source on GitHub ↗
(assertion)

Source from the content-addressed store, hash-verified

500
501
502def assertion_applies_to_real_model(assertion):
503 if assertion.get("deterministic_only"):
504 return False
505 phase = assertion.get("phase", "both")
506 return phase in ("both", "well-behaved-only", "real-model", "real-model-only")
507
508
509def failed_assertion(assertion, error, error_type="assertion", **extra):

Callers 1

evaluate_assertionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected