t46 / fukuro-researcher

Apache License 2.0
0 stars 0 forks source link

notes, exp, plot になにも書き込まれない問題を解消する #9

Open t46 opened 1 month ago

t46 commented 1 month ago

notes.txt には launch_scientist.py で run 0 の結果を書き込んでるっぽい

    notes = osp.join(folder_name, "notes.txt")
    with open(notes, "w") as f:
        f.write(f"# Title: {idea['Title']}\n")
        f.write(f"# Experiment description: {idea['Experiment']}\n")
        f.write(f"## Run 0: Baseline\n")
        f.write(f"Results: {baseline_results}\n")
        f.write(f"Description: Baseline results.\n")
t46 commented 1 month ago

notes.txt は plot の情報を書くっぽい

    next_prompt = """
Please modify `notes.txt` with a description of what each plot shows along with the filename of the figure. Please do so in-depth.

Somebody else will be using `notes.txt` to write a report on this in the future.
"""
    coder.run(next_prompt)
t46 commented 1 month ago

ベース実装を与えてないのに aider の edit_format が diff になってるからかもしれない

     coder = Coder.create(
        main_model=coder_model,
        fnames=visible_file_names,
        io=io,
        stream=False,
        use_git=False,
        edit_format="diff",
    )
    return coder

→ 違った