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

Function _write_clean_user

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

Source from the content-addressed store, hash-verified

63
64
65def _write_clean_user(input_dir: Path, description="alpha agent benchmark methods"):
66 (input_dir / "users.json").write_text(
67 json.dumps(
68 {
69 "users": [
70 {
71 "user_id": "user_role1",
72 "role_name": "role1",
73 "description": description,
74 "seed_directions": {"alpha-agent": 0.8},
75 }
76 ]
77 }
78 ),
79 encoding="utf-8",
80 )
81
82
83def test_scinup_strict_refuses_full_episode_papers_directly(tmp_path):

Calls

no outgoing calls

Tested by

no test coverage detected