Refactor couplings tests and benchmark

Aperta
#184 3 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
25/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
testing

Direzione di ricerca

Read tests/eko/test_couplings.py, linked in the issue, and compare the _QED and _mix tests across orders. Refactor the repeated test code so the same changes do not need to be duplicated; done when the tests still cover those cases and pass. The issue has had no recent comment activity, so check whether the work is still relevant before starting.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

benchmarks QED refactor

@niclaurenti there is a huge copy-pasting of tests in https://github.com/NNPDF/eko/blob/tempdir/tests/eko/test_couplings.py

Essentially, all the _QED and _mix ones are the same code, but for order. Please, take the time to refactor it, because it only makes it harder to maintain (I had to repeat the same changes over and over every time that something changes in couplings).

Originally posted by @AleCandido in https://github.com/NNPDF/eko/issues/172#issuecomment-1359847061

Lingua principale
Python
Stelle
13
Fork
9
Merge medio
6g 16h
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NNPDF/eko

Tutte le issue di NNPDF/eko

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.