MCPcopy Create free account
hub / github.com/BeingBeyond/BeTTER / build_fail_expression

Function build_fail_expression

src/task/specs/compat.py:117–121  ·  view source on GitHub ↗
(resolved: ResolvedVariationSpec)

Source from the content-addressed store, hash-verified

115
116
117def build_fail_expression(resolved: ResolvedVariationSpec) -> dict[str, object]:
118 return {
119 "op": "or",
120 "conditions": [_predicate_dict(predicate) for predicate in resolved.fail_predicates],
121 }
122
123
124def build_logic_graph(task_name: str, resolved: ResolvedVariationSpec) -> dict[str, object]:

Callers

nothing calls this directly

Calls 1

_predicate_dictFunction · 0.85

Tested by

no test coverage detected