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

Function save_feedback_logs

experiments/simulation/simulate_feedback.py:115–119  ·  view source on GitHub ↗

Save feedback logs to JSON file

(logs: list, output_path: str)

Source from the content-addressed store, hash-verified

113
114
115def save_feedback_logs(logs: list, output_path: str):
116 """Save feedback logs to JSON file"""
117 with open(output_path, 'w') as f:
118 json.dump(logs, f, indent=2, ensure_ascii=False)
119 print(f"Saved {len(logs)} feedback logs to {output_path}")
120
121
122def simulate_and_save(user_id: str = "test_user_001", days: int = 7):

Callers 1

simulate_and_saveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected