Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected behaviors running experiments in Python simulation models #23

Open
AlABarazi opened this issue Apr 18, 2023 · 2 comments
Open

Comments

@AlABarazi
Copy link

AlABarazi commented Apr 18, 2023

Describe the bug

The problem occurs in this simulation when I run an experiment. Running the simulation as an experiment delete some of the agents and behaviours and thus wrong results .
The normal run (200 steps) should look like this
https://user-images.githubusercontent.com/7549404/232717172-dce44228-3383-44a0-bcb1-40fb71b9c73a.mov
The balls (workers) move to the blue grids (walls). The simulation also has black squares agents (external walls) and some other agents.

The video below show the run from the experiment (200 steps)
https://user-images.githubusercontent.com/7549404/232717124-1f7e7251-d5cf-4b68-8643-440179388ca5.mov

With the following issues :

  • Balls are not moving
  • External walls are not there
  • Some of agents are deleted

To reproduce

  1. go to https://core.hash.ai/@alaabarazi/actorexperiment/main
  2. select experiments
  3. click on ex from the menu
  4. wait
  5. when the run is done, click on view to the see the results

compare this when the normal run of the simulation

Expected behavior

Experiment should not delete some agents and their behaviours. The run from experiment should look quite similar to the normal run of the simulation.

Project URL

https://core.hash.ai/@alaabarazi/actorexperiment/main

Device

Macos pro 2019

Operating system

13.2.1 (22D68)

Browser

Version 111.0.5563.146 (Official Build) (x86_64)

Additional context

No response

@vilkinsons vilkinsons changed the title Problem in Experiment Unexpected behaviors running experiments in Python simulation models Apr 18, 2023
@AlABarazi
Copy link
Author

I removed all Python imports from the code (Re, datetime, numpy, ..etc ). The model does not have any imports now. This did not solve the problem.

@vilkinsons
Copy link
Member

vilkinsons commented Apr 21, 2023

Related issues: #22 and hashintel/hash#2471

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants