SignalToNoiseEstimatorMedian/MeanIterative: absolute "- 1" intensity offset in histogram binning and max_element comparator bug
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
- 48/100
Línea de trabajo
Read SignalToNoiseEstimatorMedian.h and SignalToNoiseEstimatorMeanIterative.h, then inspect the related fix in PR #10504 and its comments. Run the existing estimator tests and add hand-computed S/N cases for spectra with maxInt <= 1. Update reference values and the CHANGELOG; done when both offsets and the comparator are corrected and the acceptance criteria pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Operating System and Hardware
all
OpenMS Version
develop (after PR #10504)
Installation Method
Other
Bug Description
Follow-up to #10504 (SignalToNoiseEstimatorMedian out-of-bounds histogram access fix), as agreed in the PR comments between @jpfeuffer and @okohlbacher. These items were deliberately left out of that PR because they change binning for existing data.
1. Absolute - 1 offset in histogram binning (SignalToNoiseEstimatorMedian.h)
The bin index is computed as (peak.getIntensity() - 1) / bin_size. The - 1 looks like an older workaround to keep the maximum peak out of bin 100. After #10504 the bin index is clamped to 99, so the workaround is redundant. The offset is also absolute rather than relative to bin_size. This degrades the percentile (median) estimate when maxInt is around 1 or less.
To do:
- Remove the offset, or make it relative to
bin_size. - Evaluate the effect on existing data and tests. Binning, and so S/N values, will change, so update reference values and the CHANGELOG accordingly.
2. Same pattern in SignalToNoiseEstimatorMeanIterative.h
SignalToNoiseEstimatorMeanIterative.h has the same - 1 offset pattern.
3. max_element comparator bug in SignalToNoiseEstimatorMeanIterative.h
SignalToNoiseEstimatorMeanIterative.h has the same max_element comparator bug as the one fixed in the Median estimator. Check and fix it.
Acceptance criteria
- The binning offset is no longer absolute in both estimators.
- The
max_elementcomparator is correct in MeanIterative. - Unit tests with hand-computed S/N cover small-intensity spectra (maxInt <= 1).
- Behavior changes are noted in the CHANGELOG.
- Lenguaje dominante
- C++
- Estrellas
- 623
- Forks
- 441
- Merge medio
- 19 h 18 min
- PR fusionados (30 d)
- 271
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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 OpenMS/OpenMS
-
MSstatsFile: Condition written unquoted, so conditions containing commas produce malformed MSstats CSVPosiblemente ocupada @niharikavuchintala la tomó hace 3 días. Abiertonew contributor
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
OpenMS/OpenMS#10512 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
[FEATUREFINDER] Biosaur2Algorithm::centroidProfileSpectra_: dead drift-time guard would drop every FAIMS CVQuizá libre de nuevo @kavyansh-1 la tomó hace 34 días y no hay ningún pull request abierto. Abiertodefect
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
OpenMS/OpenMS#10005 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
pepXML reader throws on enzyme synonyms with uppercase letters (e.g. `Glu-C`) because ProteaseDB indexes synonyms only as writtenPosiblemente ocupada @timosachsenberg la tomó hace 1 día. Abiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 30/100
Los mantenedores suelen responder en 1 día
-
PepXMLFile::store writes an empty `expect` score for X! Tandem hits read from pepXML, so the file cannot be read backPosiblemente ocupada @timosachsenberg la tomó hace 1 día. Abiertobug
Dificultad 3/5 Medio día Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
Los mantenedores suelen responder en 1 día
Todos los issues de OpenMS/OpenMS
Issues similares
-
[Cleanup] Include the public header in work_split.cppPosiblemente ocupada @blozano-tt la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
tenstorrent/tt-metal#60850 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
beehive-lab/TornadoVM#1248 ·
Los mantenedores suelen responder en 1 día
-
core: RAC_LLM_OPTIONS_DEFAULT.min_p disagrees with the IDL's annotated defaultPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug core p3
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
RunanywhereAI/runanywhere-sdks#1083 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
tesseract-ocr/tesseract#4653 ·
Los mantenedores suelen responder en 1 día
-
area: docs eco: cpp good first issue help wanted lane: free-agent roadmap size: XS type: docs
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
arminazimi/evergreen#475 ·
Los mantenedores suelen responder en 1 día