JOSS Review: Benchmarks
See original GitHub issuePoints related to benchmarks from: https://github.com/openjournals/joss-reviews/issues/2408#issuecomment-651542971
- Running the benchmarks requires pandas and matplotlib, but pandas and matplotlib are not listed as dependencies (or at least not on the main page)
- Running pytest benchmarks/ failed many of the tests on my Windows computer? The examples worked and the tests passed.
Points related to benchmarks from: https://github.com/openjournals/joss-reviews/issues/2408#issuecomment-655272567
Structure
In examples/ folder, you typically print the best value and best route. Please also ASSERT them. I can run them, but I don’t know if the solution is correct or not.
BTW, why is the separation between tests and examples. Why not add these examples to test and assert them.
Import Errors in tests/benchmarks/
Out of the box, all tests in benchmarks/ fail. All errors, except the one in test_ortools, are the same:
- with open(path + instance_name) as fp: E FileNotFoundError: [Errno 2] No such file or directory: ‘…/examples/benchmarks/data/P-n16-k8.vrp’ …\examples\benchmarks\cvrp_augerat.py:53: FileNotFoundError
- test_ortools error is
from ortools.data import (
E ModuleNotFoundError: No module named 'ortools'
- In test_toy.py, remove “from pytest import raises” --not used. same for test_greedy
- In cvrp_augeratpy, remove “from vrpy.main import VehicleRoutingProblem” --not used
- In benchmarks folder, some files have a main() function, some files don’t. Why?
Cordeau
- Running mdvrp_cordeau.py fails with raise KeyError(“Node %s missing from initial solution.” % v) KeyError: 'Node 52 missing from initial
Issue Analytics
- State:
- Created 3 years ago
- Comments:20 (6 by maintainers)
Top Results From Across the Web
About the Journal of Open Source Software
JOSS reviews are public and non-anonymous while in progress and post-review, as they take place via GitHub issues in a public repository. Publication...
Read more >Reviewing for JOSS - Journal of Open Source Software
A JOSS review involves checking submissions against a checklist of essential software features and details in the submitted paper. This should be objective,...
Read more >Journal of Open Source Software (JOSS): design and first ...
This article describes the motivation, design, and progress of the Journal of Open Source Software (JOSS). JOSS is a free and open-access journal...
Read more >(PDF) Journal of Open Source Software (JOSS) - ResearchGate
JOSS publishes articles that encapsulate scholarship contained in the software itself, and its rigorous peer review targets the software ...
Read more >JOSS Review - smart_grids / public / gboml - GitLab (Uliege)
Part of https://github.com/openjournals/joss-reviews/issues/4158 I ... and another repository benchmarking optimisation modelling tools).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Working on the restructuring and path fixing thing… Big commit dropping soon
That split makes more sense! Moving the test files there also makes sense.
benchmarks/ |_data/ |_run/ <- scripts for reproducing results (writing table and running different instances) |_tests/ <- Put
tests/benchmarks/here |_cvrp_augerat.py |_cvrptw_solomon.py