MCPcopy
hub / github.com/aiming-lab/AutoResearchClaw / main

Function main

experiments/arc_bench/scripts/_inject_p_requirements.py:212–226  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

210
211
212def main() -> int:
213 n_added = 0
214 for n in range(1, 11):
215 tid = f"P{n:02d}"
216 p = ROOT / f"{tid}.yaml"
217 if not p.is_file():
218 print(f" skip {tid}: file missing")
219 continue
220 if inject_into(p):
221 print(f" + {tid}: requirements block added")
222 n_added += 1
223 else:
224 print(f" {tid}: already has requirements (skipped)")
225 print(f"\n done — {n_added}/10 manifests updated")
226 return 0
227
228
229if __name__ == "__main__":

Callers 1

Calls 1

inject_intoFunction · 0.85

Tested by

no test coverage detected