Skip to content

Allow programmatic access to RAPS results for use in the simulation server

Hines, Jesse requested to merge programmatic-access into main

A few changes to make it possible to use RAPS in the simulation server.

  • Allow disabling the layout_manager entirely
    • Also modify it to only call the rich table update when re-render the console table instead of every tick which makes a moderate performance improvement
  • Refactor Dockerfile for better build caching and add pyarrow to the requirements explicitly
  • Make read_data take a pandas df instead of parquet filepath so we can pass it data from the database directly
  • Update tick to return the simulation state and update run_simulation to be a generator that yields each tick result
  • Also remove the .gitmodules file, the submodules had already been removed but they hadn't been removed from .gitmodules
Edited by Hines, Jesse

Merge request reports