1kastner / conflowgen

A generator for synthetic container flows at maritime container terminals with a focus on yard operations
MIT License
11 stars 7 forks source link

Add option to fix or freely choose random seeds #191

Closed 1kastner closed 1 year ago

1kastner commented 1 year ago

This solves the first half of https://github.com/1kastner/conflowgen/issues/9.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 97.89% and project coverage change: +0.04% :tada:

Comparison is base (a7d44f6) 94.56% compared to head (18eb43d) 94.60%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #191 +/- ## ========================================== + Coverage 94.56% 94.60% +0.04% ========================================== Files 118 120 +2 Lines 4674 4730 +56 ========================================== + Hits 4420 4475 +55 - Misses 254 255 +1 ``` | [Files Changed](https://app.codecov.io/gh/1kastner/conflowgen/pull/191?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=1kastner) | Coverage Δ | | |---|---|---| | [.../database\_connection/sqlite\_database\_connection.py](https://app.codecov.io/gh/1kastner/conflowgen/pull/191?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=1kastner#diff-Y29uZmxvd2dlbi9kYXRhYmFzZV9jb25uZWN0aW9uL3NxbGl0ZV9kYXRhYmFzZV9jb25uZWN0aW9uLnB5) | `86.04% <83.33%> (+0.16%)` | :arrow_up: | | [...ation/repositories/random\_seed\_store\_repository.py](https://app.codecov.io/gh/1kastner/conflowgen/pull/191?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=1kastner#diff-Y29uZmxvd2dlbi9hcHBsaWNhdGlvbi9yZXBvc2l0b3JpZXMvcmFuZG9tX3NlZWRfc3RvcmVfcmVwb3NpdG9yeS5weQ==) | `97.72% <97.72%> (ø)` | | | [conflowgen/api/database\_chooser.py](https://app.codecov.io/gh/1kastner/conflowgen/pull/191?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=1kastner#diff-Y29uZmxvd2dlbi9hcGkvZGF0YWJhc2VfY2hvb3Nlci5weQ==) | `94.28% <100.00%> (+0.16%)` | :arrow_up: | | [conflowgen/application/models/random\_seed\_store.py](https://app.codecov.io/gh/1kastner/conflowgen/pull/191?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=1kastner#diff-Y29uZmxvd2dlbi9hcHBsaWNhdGlvbi9tb2RlbHMvcmFuZG9tX3NlZWRfc3RvcmUucHk=) | `100.00% <100.00%> (ø)` | | | [...average\_container\_dwell\_time\_calculator\_service.py](https://app.codecov.io/gh/1kastner/conflowgen/pull/191?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=1kastner#diff-Y29uZmxvd2dlbi9hcHBsaWNhdGlvbi9zZXJ2aWNlcy9hdmVyYWdlX2NvbnRhaW5lcl9kd2VsbF90aW1lX2NhbGN1bGF0b3Jfc2VydmljZS5weQ==) | `100.00% <100.00%> (ø)` | | | [conflowgen/database\_connection/create\_tables.py](https://app.codecov.io/gh/1kastner/conflowgen/pull/191?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=1kastner#diff-Y29uZmxvd2dlbi9kYXRhYmFzZV9jb25uZWN0aW9uL2NyZWF0ZV90YWJsZXMucHk=) | `100.00% <100.00%> (ø)` | | | [...owgen/domain\_models/factories/container\_factory.py](https://app.codecov.io/gh/1kastner/conflowgen/pull/191?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=1kastner#diff-Y29uZmxvd2dlbi9kb21haW5fbW9kZWxzL2ZhY3Rvcmllcy9jb250YWluZXJfZmFjdG9yeS5weQ==) | `98.73% <100.00%> (-0.02%)` | :arrow_down: | | [...generator/abstract\_truck\_for\_containers\_manager.py](https://app.codecov.io/gh/1kastner/conflowgen/pull/191?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=1kastner#diff-Y29uZmxvd2dlbi9mbG93X2dlbmVyYXRvci9hYnN0cmFjdF90cnVja19mb3JfY29udGFpbmVyc19tYW5hZ2VyLnB5) | `97.43% <100.00%> (+0.03%)` | :arrow_up: | | [...space\_for\_containers\_delivered\_by\_truck\_service.py](https://app.codecov.io/gh/1kastner/conflowgen/pull/191?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=1kastner#diff-Y29uZmxvd2dlbi9mbG93X2dlbmVyYXRvci9hbGxvY2F0ZV9zcGFjZV9mb3JfY29udGFpbmVyc19kZWxpdmVyZWRfYnlfdHJ1Y2tfc2VydmljZS5weQ==) | `91.57% <100.00%> (+0.08%)` | :arrow_up: | | [...nerator/assign\_destination\_to\_container\_service.py](https://app.codecov.io/gh/1kastner/conflowgen/pull/191?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=1kastner#diff-Y29uZmxvd2dlbi9mbG93X2dlbmVyYXRvci9hc3NpZ25fZGVzdGluYXRpb25fdG9fY29udGFpbmVyX3NlcnZpY2UucHk=) | `100.00% <100.00%> (ø)` | | | ... and [4 more](https://app.codecov.io/gh/1kastner/conflowgen/pull/191?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=1kastner) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.