Repository: PolicyEngine/policyengine-core (language: python)

Issue:
Rename `sim_macro_cache.py` to `simulation_macro_cache.py`
Very, very minor, but it would better fit our own best practices


Discussion / hints:

Fix patch:
diff --git a/changelog_entry.yaml b/changelog_entry.yaml
index e69de29b..2b8cdbeb 100644
--- a/changelog_entry.yaml
+++ b/changelog_entry.yaml
@@ -0,0 +1,4 @@
+- bump: patch
+  changes:
+    changed:
+      - Renamed sim_macro_cache.py to simulation_macro_cache.py
diff --git a/policyengine_core/simulations/simulation.py b/policyengine_core/simulations/simulation.py
index 08dfdb3d..9b3ec3f8 100644
--- a/policyengine_core/simulations/simulation.py
+++ b/policyengine_core/simulations/simulation.py
@@ -34,7 +34,9 @@
 from policyengine_core.variables import Variable, QuantityType
 from policyengine_core.reforms.reform import Reform
 from policyengine_core.parameters import get_parameter
-from policyengine_core.simulations.sim_macro_cache import SimulationMacroCache
+from policyengine_core.simulations.simulation_macro_cache import (
+    SimulationMacroCache,
+)
 
 
 class Simulation:
diff --git a/policyengine_core/simulations/sim_macro_cache.py b/policyengine_core/simulations/simulation_macro_cache.py
similarity index 100%
rename from policyengine_core/simulations/sim_macro_cache.py
rename to policyengine_core/simulations/simulation_macro_cache.py


Test patch:
diff --git a/tests/core/test_simulations.py b/tests/core/test_simulations.py
index 087275bb..9a9c5f63 100644
--- a/tests/core/test_simulations.py
+++ b/tests/core/test_simulations.py
@@ -1,6 +1,8 @@
 from policyengine_core.country_template.situation_examples import single
 from policyengine_core.simulations import SimulationBuilder
-from policyengine_core.simulations.sim_macro_cache import SimulationMacroCache
+from policyengine_core.simulations.simulation_macro_cache import (
+    SimulationMacroCache,
+)
 import importlib.metadata
 import numpy as np
 from pathlib import Path