eurekacrew / agents /publishing.py
gaur3009's picture
Create publishing.py
1b7462b verified
raw
history blame contribute delete
215 Bytes
def save_report(hypothesis, result):
text = f"## Hypothesis\n{hypothesis}\n\n## Simulation Result\n{result}\n\n"
with open("output/reports.md", "a") as f:
f.write(text)
return "output/reports.md"