Benchmarks can be sensitive to different resolutions

Open
#38 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python

Research direction

Start by reviewing how the benchmark tools currently record dependency resolutions and compare the outputs across tools. Define the configuration format for approved differences and make the script flag unapproved differences; done means benchmark inputs can be checked for materially different resolutions.

Written by the indexing model from the issue text.

Description

There are more than one valid resolution to the dependencies being used, and as seen in #37, resolvers can choose different solutions. To minimize incorrectness in the benchmarks, the resolutions should ideally be identical in the end, e.g., so resolve benchmarks capture how long it takes to get to the same solution, and so install benchmarks are for the same set of files.

It'd be good to write a small script that compares the resolutions across the tools and flags differences. Differences should probably require approval in a configuration file to "allow". I think some small differences are okay, but if the tools have significantly different resolutions they can affect benchmarks in a way that's misleading.

Dominant language
Makefile
Stars
50
Forks
15
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lincolnloop/python-package-manager-shootout

All issues in lincolnloop/python-package-manager-shootout

Similar issues

More Performance issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.