question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JOSS Review: Benchmarks

See original GitHub issue

Points 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

Who? @torressa @Halvaros

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:20 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
torressacommented, Jul 9, 2020

Working on the restructuring and path fixing thing… Big commit dropping soon

1reaction
torressacommented, Jul 8, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found