MCPcopy Create free account
hub / github.com/Luce-Org/lucebox-hub / parse_ar

Function parse_ar

server/scripts/profile.py:109–112  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

107
108
109def parse_ar(text: str) -> dict:
110 if m := RE_AR.search(text):
111 return {"ar_tokens": int(m.group(1)), "ar_s": float(m.group(2)), "ar_tok_s": float(m.group(3))}
112 return {}
113
114
115# --------------------------------------------------------------------------------------

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected