MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _write_clean_user

Function _write_clean_user

experiments/tests/test_nl_profile_baseline.py:42–57  ·  view source on GitHub ↗
(input_dir: Path, description="alpha agent benchmark methods")

Source from the content-addressed store, hash-verified

40
41
42def _write_clean_user(input_dir: Path, description="alpha agent benchmark methods"):
43 (input_dir / "users.json").write_text(
44 json.dumps(
45 {
46 "users": [
47 {
48 "user_id": "user_role1",
49 "role_name": "role1",
50 "description": description,
51 "seed_directions": {"alpha-agent": 0.8, "benchmark-method": 0.6},
52 }
53 ]
54 }
55 ),
56 encoding="utf-8",
57 )
58
59
60def _clean_candidate(row):

Calls

no outgoing calls

Tested by

no test coverage detected