PEtab-dev / PEtab-dev/libpetab-python

Wrong plot_goodness_of_fit if different order of rows in measurement_df and simulation_df

Offen
#247 1 Kommentar 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug visualization
Vorherrschende Sprache
Python
Sterne
18
Forks
9
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Currently there is no check in plot_goodness_of_fit that rows in measurement_df and simulation_df correspond to each other. And if they do not it messes up the plot.

For example, for the Isensee model from the benchmark collection

Wrong plot:
residuals_vs_simu

Correct plot:
residuals_vs_simu

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Start by locating plot_goodness_of_fit and inspect how measurement_df and simulation_df rows are paired. Reproduce the Isensee benchmark example with differently ordered rows, then verify that the function detects or handles the mismatch so the resulting plot remains correct.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
data-visualization
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.