Skip to content

Commit

Permalink
Updated CHANGELOG.md and test_run_example.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rickecon committed Sep 16, 2024
1 parent 80bc551 commit 321c04a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
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.13.0] - 2024-09-15 12:00:00
## [0.13.0] - 2024-09-16 12:00:00

### Added

Expand All @@ -28,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Increases `RC_SS` steady-state resource constraint tolerance from 1e-9 to 1e-8 because two `test_run_SS()` tests were failing in `test_SS.py` with resource constraints errors just bigger than 1e-9 (-2.29575914e-09 for [Baseline, small open] and -2.29575914e-09 for [Reform, small open]).
- Increases `RC_TPI` transition path resource constraint tolerance from 1e-5 to 1e-4 in because one `test_run_TPI_full_run()` test was failing in `test_TPI.py` with a resource constraint error just bigger than 1e-5 (1.4459913381864586e-05 for `[Baseline, M=3 non-zero Kg]`).
- However, there is another "local only" test that is failing in `test_run_TPI()` in `test_TPI.py` that has a much bigger resource constraint error. The specification is `[Baseline, small open]` with a maximum absolute resource constraint error of 0.07786113397046332. This error is big enough that it needs to be addressed.
- Updated two directory path references that were out of date in `test_run_example.py`.

## [0.12.0] - 2024-08-20 12:00:00

Expand Down
7 changes: 5 additions & 2 deletions tests/test_run_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_run_ogcore_example(f=call_run_ogcore_example):
cur_path = os.path.split(os.path.abspath(__file__))[0]
path = Path(cur_path)
roe_output_dir = os.path.join(
path.parent, "run_examples", "OUTPUT_BASELINE"
path.parent, "run_examples", "OG-Core-Example", "OUTPUT_BASELINE"
)
shutil.rmtree(roe_output_dir)

Expand All @@ -66,7 +66,10 @@ def test_run_ogcore_example_output(f=call_run_ogcore_example):
)
# read in output from this run
test_df = pd.read_csv(
os.path.join(path.parent, "run_examples", "ogcore_example_output.csv")
os.path.join(
path.parent, "run_examples", "OG-Core-Example",
"ogcore_example_output.csv"
)
)
# Delete directory created by run_ogcore_example.py
roe_output_dir = os.path.join(
Expand Down

0 comments on commit 321c04a

Please sign in to comment.