MCPcopy Create free account
hub / github.com/FlyingFeather/DEA-SQL / rebuild_condition_val

Function rebuild_condition_val

evaluation/test-suite-sql-eval/evaluation.py:798–808  ·  view source on GitHub ↗
(condition)

Source from the content-addressed store, hash-verified

796
797
798def rebuild_condition_val(condition):
799 if condition is None or not DISABLE_VALUE:
800 return condition
801
802 res = []
803 for idx, it in enumerate(condition):
804 if idx % 2 == 0:
805 res.append(rebuild_cond_unit_val(it))
806 else:
807 res.append(it)
808 return res
809
810
811def rebuild_sql_val(sql):

Callers 1

rebuild_sql_valFunction · 0.70

Calls 1

rebuild_cond_unit_valFunction · 0.70

Tested by

no test coverage detected