HF RL Explorer

idle seconds() raises TypeError when no jobs are scheduled

idle seconds() raises TypeError when no jobs are scheduled: a task in Repo2RLEnv R2E-Gym / SWEGEN (Harbor dataset). When calling schedule.idle seconds() with no jobs scheduled (either before adding any jobs, or after canceling all jobs), a TypeError is raised instead of returning None .

The task

When calling `schedule.idle_seconds()` with no jobs scheduled (either before adding any jobs, or after canceling all jobs), a `TypeError` is raised instead of returning `None`.

Part of FineEnvs/repo2rlenv-r2e-gym.