diff --git a/CHANGELOG.md b/CHANGELOG.md index a56ede0..c320732 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.16.1] - 2023-10-23 + +### Fixed +* Accidental singleton cacher objects in stage decorators causing all DAG-mode + reproduction artifacts to always show as the artifacts from the first record. + + + + ## [0.16.0] - 2023-10-16 ### Added diff --git a/curifactory/__init__.py b/curifactory/__init__.py index 6a6e5af..215d097 100644 --- a/curifactory/__init__.py +++ b/curifactory/__init__.py @@ -33,4 +33,4 @@ stage, ) -__version__ = "0.16.0" +__version__ = "0.16.1" diff --git a/test/test_experiment.py b/test/test_experiment.py index b91ffa4..f019558 100644 --- a/test/test_experiment.py +++ b/test/test_experiment.py @@ -504,7 +504,10 @@ def test_macos_params_completer(mocker): # noqa: F811 def test_single_run_many_records_are_distinct(configured_test_manager): """Running an experiment that returns multiple records with different data should - indeed have different data in their respective states.""" + indeed have different data in their respective states. + + This is to test that stage decorator cachers aren't singleton instances. + """ run_experiment( "simple_cache", ["simple_cache"], @@ -523,7 +526,10 @@ def test_double_run_many_records_are_distinct( configured_test_manager, configured_test_manager2 ): """Running an experiment (twice) that returns multiple records with different data should - indeed have different data in their respective states.""" + indeed have different data in their respective states. + + This is to test that stage decorator cachers aren't singleton instances. + """ run_experiment( "simple_cache", ["simple_cache"], @@ -556,7 +562,10 @@ def test_double_run_many_records_are_distinct( def test_single_run_many_records_are_distinct_agg(configured_test_manager): """Running an experiment that returns multiple records with different data should - indeed have different data in their respective states.""" + indeed have different data in their respective states. + + This is to test that stage decorator cachers aren't singleton instances. + """ run_experiment( "simple_cache", ["simple_cache"], @@ -575,7 +584,10 @@ def test_double_run_many_records_are_distinct_agg( configured_test_manager, configured_test_manager2 ): """Running an experiment (twice) that returns multiple records with different data should - indeed have different data in their respective states.""" + indeed have different data in their respective states. + + This is to test that stage decorator cachers aren't singleton instances. + """ run_experiment( "simple_cache", ["simple_cache"],