Skip to content

Test core scripts #432

@dfulu

Description

@dfulu

Currently our tests do not cover some of the core functionality of this library. We care if these scripts break but we don't currently test for it

We should test

  • The backtest scripts
  • The save checkpoint to huggingface script
    • Though the main method used in this script is tested already
  • Also the main train() function which is wrapped in the run.py script
    • Previously I had thought that the wandb logger might block testing the train() function, but I think it should work by setting the offline=True in the wandb logger

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestocf-internalAn issue to be addressed internally by Open Climate Fix and not suitable for external contributorson-hold

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions