duyminh1998 / pycmo

Command Modern Operations Learning Environment
Other
49 stars 23 forks source link

Simplify demo creation #23

Closed duyminh1998 closed 10 months ago

duyminh1998 commented 10 months ago

We should

simplify the code needed to create demos

Because

we currently have three demos and they share a lot of repeated code

Complexity

Easy to medium. We just need to move all the repeated code into a module like run_loop. We are basically simplifying the process of creating a training loop. Currently this is only used for demos but in the future this is useful for actually training agents.

Definition of Done

We have a module that can be called to set up and run demos