The emperor_dilemma example is currently broken and cannot be run due to two issues:
-
Relative imports in app.py, model.py, and agents.py are incompatible with
how Solara loads example modules.
-
SpaceRenderer.setup_agents() no longer exists in the current Mesa API.
Both issues prevent the example from running at all.