MCPcopy Create free account
hub / github.com/PABannier/sam3.cpp / parse_box

Function parse_box

tests/dump_phase6_reference.py:101–105  ·  view source on GitHub ↗
(field: str)

Source from the content-addressed store, hash-verified

99
100
101def parse_box(field: str) -> List[float]:
102 if not field:
103 return []
104 x0, y0, x1, y1 = field.split(":")
105 return [float(x0), float(y0), float(x1), float(y1)]
106
107
108def load_cases(path: str) -> List[PromptCase]:

Callers 1

load_casesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected