jtoy / replicantlife

replicantlife is a framework for generative agents that can be used in a simulation engine or standalone. Agents are powered with metacognition modules that allow that to learn and adjust their strategy over time.
https://replicantlife.com
27 stars 7 forks source link

updated recorder.py #35

Open chiefeu opened 5 months ago

chiefeu commented 5 months ago
  1. Created a new step class: MatrixInitStep. This will be used to define the simulationStarted variable of the Level class to true.

  2. Added a hidden element each condition (level.simulationStarted and level.simulationComplete which means the simulation started and the simulation finished respectively) in Sidebar.tsx that can be detected using Selenium webdriver.

  3. We updated the recorder.py code to detect the corresponding elements to start and stop recording.