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

KeyError: 'numerator' #30

Closed kursad-k closed 5 months ago

kursad-k commented 6 months ago

Hi

I am getting an error when I run the engine.py under WSL

you can view replay at http://localhost:3000/?sim_id=70c95c5a-5ebd-438b-964d-3345b04d2c1e
Error pushing to Redis queue. Retrying... (1/3)
Error pushing to Redis queue. Retrying... (2/3)
Error pushing to Redis queue. Retrying... (3/3)
Traceback (most recent call last):
  File "/opt/replicantlife/engine.py", line 99, in <module>
    main()
  File "/opt/replicantlife/engine.py", line 48, in main
    matrix = Matrix(config)
  File "/opt/replicantlife/src/matrix.py", line 78, in __init__
    self.parse_scenario_file(self.scenario_file)
  File "/opt/replicantlife/src/matrix.py", line 178, in parse_scenario_file
    self.performance_metrics[self.performance_evals["numerator"]] = 0
KeyError: 'numerator'
jtoy commented 5 months ago

@kursad-k fixed now