Skip to content

Potential bug in load_pdm_socre_syn: idx not used when loading PDM reward files #7

@KyuhwanYeon

Description

@KyuhwanYeon

Hi, thanks again for releasing SimScale!

I noticed a potential bug in gtrs_agent.py when loading synthetic PDM reward files:

for idx in range(0, SYN_IDX + 1):
    file_name = f"simcale_16384_{SYN_GT}_v1.0-{SYN_IDX}"

I believe the filename should be:

for idx in range(0, SYN_IDX + 1):
    file_name = f"simcale_16384_{SYN_GT}_v1.0-{idx}"

Could you please confirm if this is intended or a small bug?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions