Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor update #76

Merged
merged 2 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ When publishing works based on UXsim, please cite:
- Toru Seo. [Macroscopic Traffic Flow Simulation: Fundamental Mathematical Theory and Python Implementation](https://toruseo.github.io/misc/MacroTrafficSim_English_summary.pdf). Corona Publishing Co., Ltd., 2023.
- Toru Seo. [UXsim: An open source macroscopic and mesoscopic traffic simulator in Python-a technical overview](http://dx.doi.org/10.48550/arXiv.2309.17114). arXiv preprint arXiv: 2309.17114, 2023

Works using UXsim is summarized on the [Github Wiki page](https://github.com/toruseo/UXsim/wiki). Please feel free to edit.

## Contributing and Discussion

Contributions are welcome!
Expand Down
6 changes: 3 additions & 3 deletions tests/test_verification_taxi.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def equal_tolerance(val, check, rel_tol=0.1, abs_tol=0.0):
q^* = 0.8
"""

@pytest.mark.flaky(reruns=5)
@pytest.mark.flaky(reruns=10)
def test_taxi_small_scale():
W = World(
name="",
Expand Down Expand Up @@ -84,7 +84,7 @@ def test_taxi_small_scale():
assert equal_tolerance(Handler.travel_times[4], 600, rel_tol=0.3)
assert equal_tolerance(Handler.travel_times[5], 600, rel_tol=0.3)

@pytest.mark.flaky(reruns=5)
@pytest.mark.flaky(reruns=10)
def test_taxi_small_scale_mixed_mode():
# World definition
W = World(
Expand Down Expand Up @@ -155,7 +155,7 @@ def test_taxi_small_scale_mixed_mode():
assert equal_tolerance(Handler.travel_times[4], 600, rel_tol=0.3)
assert equal_tolerance(Handler.travel_times[5], 600, rel_tol=0.3)

@pytest.mark.flaky(reruns=5)
@pytest.mark.flaky(reruns=10)
def test_taxi_large_scale_mixed_mode_noncongested():

# World definition
Expand Down