CLI reports.h5: wrong repeated-task values and parameter names for multi-parameter scans
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 50/100
Línea de trabajo
Start in vcell-cli/src/main/java/org/vcell/cli/run/results/NonSpatialResultsConverter.java around lines 144-150, where the repeated-task names and values are built, then compare with getScanBounds() and getConstantArraySpec(name) in vcell-core's MathOverrides.java to see how jobs are numbered. Done means each constant's values are listed in the same sorted order as the HDF5 dimensions, and names, values and dimensions agree for a scan of two or more parameters. No existing test covers a two-parameter scan, so a new one is needed.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
For a simulation with two or more scanned constants, the CLI writes wrong repeated-task metadata into the BioSimulators reports.h5. The data itself is laid out correctly. Single-parameter scans are unaffected.
Two defects
1. Wrong values in sedmlRepeatedTaskValues. NonSpatialResultsConverter.java:150 fills each constant's value list with getActualExpression(name, new ScanIndex(i)). ScanIndex is a job index, not a position within that constant's own values. MathOverrides numbers jobs row-major over the sorted constant names, first one outermost (MathOverrides.java:186), so job i only lines up with value i when one constant is scanned.
Example: scanning Ka = [0.5, 5] and kOn = [10, 20, 30] gives jobs 0 and 1 at coordinates (0,0) and (0,1). Ka is reported as [0.5, 0.5] instead of [0.5, 5].
2. Parameter names in hash order. sedmlRepeatedTaskParameterNames comes from getScannedConstantNames() (line 144), which reads from a HashMap (MathOverrides.java:47). The scan bounds, and therefore the HDF5 dimensions and data, use sorted order (getScanBounds()). When the two orders differ, names, value lists and dimensions refer to different parameters.
Fix
Take each constant's own values, getConstantArraySpec(name).getConstants(), and list constants in sorted order. The new data system (org.vcell.data, on the UnifiedDataModel branch) does this in SedmlReportDatasets.scanDimensions, with a test against MathOverrides' job numbering. No test archive scans two parameters, so neither system is exercised on this end to end.
- Lenguaje dominante
- Java
- Estrellas
- 140
- Forks
- 35
- Merge medio
- 22 h 6 min
- PR fusionados (30 d)
- 14
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de virtualcell/vcell
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
virtualcell/vcell#2193 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Accessibility Requirement Java-based User Interface
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
virtualcell/vcell#2138 ·
Los mantenedores suelen responder en 1 día
-
Accessibility Requirement Java-based
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
virtualcell/vcell#2137 ·
Los mantenedores suelen responder en 1 día
-
Accessibility Requirement User Interface
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
virtualcell/vcell#2135 ·
Los mantenedores suelen responder en 1 día
-
Accessibility Requirement Java-based User Interface
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
virtualcell/vcell#2134 ·
Los mantenedores suelen responder en 1 día
Todos los issues de virtualcell/vcell
Issues similares
-
bug build failed
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
objectionary/eo#9852 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
finsim-core good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Require-Capability osgi.ee still says JavaSE 1.8 but classes are compiled for Java 11Posiblemente ocupada @arturobernalg la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
eclipse-ee4j/angus-mail#232 ·
Los mantenedores suelen responder en 3 días
-
bug status: needs triage
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
LawnchairLauncher/lawnchair#7511 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
ahmedmmordi/store-app#11 ·