Updated yaml dependeny and gitignore file to ignore pycache
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 14m59s

This commit is contained in:
Samuel Bargallo 2025-11-10 16:17:44 +00:00
parent dc86ef4bd7
commit b87106f8f3
4 changed files with 9 additions and 5 deletions

3
.gitignore vendored
View File

@ -3,4 +3,5 @@ uv.lock
.idea/ .idea/
.pytest_cache/ .pytest_cache/
.ruff_cache/ .ruff_cache/
simulation_output/ simulation_output/
__pycache__/

View File

@ -19,7 +19,7 @@
"grid_width": 50, "grid_width": 50,
"grid_height": 50, "grid_height": 50,
"cell_size": 20, "cell_size": 20,
"initial_cells": 50, "initial_cells": 500,
"initial_food": 500, "initial_food": 500,
"food_spawning": true, "food_spawning": true,
"random_seed": 0, "random_seed": 0,
@ -31,12 +31,12 @@
"max_rotational_velocity": 3.0, "max_rotational_velocity": 3.0,
"entity_types": { "entity_types": {
"default_cell": { "default_cell": {
"reproduction_energy": 1700, "reproduction_energy": 1400,
"starting_energy": 1000, "starting_energy": 500,
"interaction_radius": 50, "interaction_radius": 50,
"drag_coefficient": 0.02, "drag_coefficient": 0.02,
"energy_cost_base": 1.5, "energy_cost_base": 1.5,
"neural_network_complexity_cost": 0.08, "neural_network_complexity_cost": 0.05,
"movement_cost": 0.25, "movement_cost": 0.25,
"food_energy_value": 140, "food_energy_value": 140,
"max_visual_width": 10, "max_visual_width": 10,

View File

@ -13,6 +13,7 @@ dependencies = [
"pygame>=2.6.1", "pygame>=2.6.1",
"pygame-gui>=0.6.14", "pygame-gui>=0.6.14",
"pytest>=8.3.5", "pytest>=8.3.5",
"pyyaml>=6.0.2",
"tqdm>=4.67.1", "tqdm>=4.67.1",
] ]

2
uv.lock generated
View File

@ -147,6 +147,7 @@ dependencies = [
{ name = "pygame" }, { name = "pygame" },
{ name = "pygame-gui" }, { name = "pygame-gui" },
{ name = "pytest" }, { name = "pytest" },
{ name = "pyyaml" },
{ name = "tqdm" }, { name = "tqdm" },
] ]
@ -168,6 +169,7 @@ requires-dist = [
{ name = "pygame", specifier = ">=2.6.1" }, { name = "pygame", specifier = ">=2.6.1" },
{ name = "pygame-gui", specifier = ">=0.6.14" }, { name = "pygame-gui", specifier = ">=0.6.14" },
{ name = "pytest", specifier = ">=8.3.5" }, { name = "pytest", specifier = ">=8.3.5" },
{ name = "pyyaml", specifier = ">=6.0.2" },
{ name = "tqdm", specifier = ">=4.67.1" }, { name = "tqdm", specifier = ">=4.67.1" },
] ]