Skip to content

A critical bug was found #2

@aixiaodewugege

Description

@aixiaodewugege
    kline_path = plots.plot_kline(state=state, info=info, save_dir=save_dir,) # lack mode=mode
    params.update({
        "kline_path": kline_path
    })

A critical bug was found in main.py: when running the agent in validation mode, the author did set Kline plotting in valid mode. As a result, the LLM is exposed to future price movements during validation, which leads to data leakage and invalid evaluation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions