https://forge.softwareheritage.org/source/swh-scheduler.git
Revision f33f74346f33ae50c4f6f6a1dbb302a0ef105e16 authored by Valentin Lorentz on 20 April 2021, 09:46:53 UTC, committed by Valentin Lorentz on 20 April 2021, 11:01:33 UTC
We no longer need to deal with ratios, so let's count the objects
directly instead.

Plus, the existing tests did not check tasks with None priority
(because they did not have access to it when ratios were given
by the backend), so they do now.
1 parent f4e6292
History
Tip revision: f33f74346f33ae50c4f6f6a1dbb302a0ef105e16 authored by Valentin Lorentz on 20 April 2021, 09:46:53 UTC
Simplify priority computation in tests + improve exhaustivity
Tip revision: f33f743
File Mode Size
data
docs
sql
swh
.gitignore -rw-r--r-- 129 bytes
.pre-commit-config.yaml -rw-r--r-- 1.0 KB
AUTHORS -rw-r--r-- 112 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.3 KB
CONTRIBUTORS -rw-r--r-- 14 bytes
LICENSE -rw-r--r-- 34.3 KB
LICENSE.Celery -rw-r--r-- 2.6 KB
MANIFEST.in -rw-r--r-- 154 bytes
Makefile -rw-r--r-- 163 bytes
README.md -rw-r--r-- 292 bytes
conftest.py -rw-r--r-- 620 bytes
mypy.ini -rw-r--r-- 750 bytes
pyproject.toml -rw-r--r-- 237 bytes
pytest.ini -rw-r--r-- 33 bytes
requirements-journal.txt -rw-r--r-- 12 bytes
requirements-simulator.txt -rw-r--r-- 21 bytes
requirements-swh.txt -rw-r--r-- 47 bytes
requirements-test.txt -rw-r--r-- 65 bytes
requirements.txt -rw-r--r-- 403 bytes
setup.cfg -rw-r--r-- 247 bytes
setup.py -rwxr-xr-x 2.5 KB
tox.ini -rw-r--r-- 673 bytes

README.md

back to top