Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Test suite does not compare fully global output

Abierto
#356 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
jupyter-notebook
Área
testing

Línea de trabajo

Start by finding the test suite code that selects the last file matching an output regex and the baseline generation and comparison entry points. Check how those paths handle the numbered output blocks shown in the issue, then determine where they can be stitched together before baseline generation or comparison. Done means the suite compares the fully global output for the final day rather than only the last block.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Given this block in MOM_input.yaml:

    TARGET_IO_PES:
        description: |
            When AUTO_MASKTABLE is enabled, target number of IO PEs. If the given target
            number of IO PEs is not achievable, the target number of IO PEs is set to the
            nearest smaller number of PEs that is achievable.
        datatype: integer
        value:
            $OCN_GRID in ["tx2_3v2", "tx2_3v3"] and $TEST: = - ( - $NTASKS_OCN // 256)
            $OCN_GRID == "tx2_0v1" and $TEST: = - ( - $NTASKS_OCN // 256)
            $OCN_GRID == "tx0.25v1": = - ( - $NTASKS_OCN // 128)

output is being split across multiple files. For example, in an SMS.TL319_t233.G1850ABIOMARBL_JRA.derecho_intel this value is set to TARGET_IO_PES = 4 so each stream is broken into four pieces:

SMS.TL319_t233.G1850ABIOMARBL_JRA.derecho_intel.GC.20261023_214521_07xxt2.mom6.h.bgc.z.0001-01-05.nc.0000
SMS.TL319_t233.G1850ABIOMARBL_JRA.derecho_intel.GC.20261023_214521_07xxt2.mom6.h.bgc.z.0001-01-05.nc.0001
SMS.TL319_t233.G1850ABIOMARBL_JRA.derecho_intel.GC.20261023_214521_07xxt2.mom6.h.bgc.z.0001-01-05.nc.0002
SMS.TL319_t233.G1850ABIOMARBL_JRA.derecho_intel.GC.20261023_214521_07xxt2.mom6.h.bgc.z.0001-01-05.nc.0003

The test suite finds a list of files matching a regex, and then picks the last file to use in baseline comparisons. This is supposed to correspond to output from the final day of the test, but instead matches the final block of the final day:

$ cd <BASELINE_ROOT>
$ ls SMS.TL319_t233.G1850ABIOMARBL_JRA.derecho_intel/mom6.*
SMS.TL319_t233.G1850ABIOMARBL_JRA.derecho_intel/mom6.h.bgc.z.0001-01-05.nc.0003
SMS.TL319_t233.G1850ABIOMARBL_JRA.derecho_intel/mom6.h.native.0001-01-05.nc.0003
SMS.TL319_t233.G1850ABIOMARBL_JRA.derecho_intel/mom6.h.ocean_geometry.nc
SMS.TL319_t233.G1850ABIOMARBL_JRA.derecho_intel/mom6.h.rho2.0001-01-05.nc.0003
SMS.TL319_t233.G1850ABIOMARBL_JRA.derecho_intel/mom6.h.sfc.0001-01-05.nc.0003
SMS.TL319_t233.G1850ABIOMARBL_JRA.derecho_intel/mom6.h.static.nc.0003
SMS.TL319_t233.G1850ABIOMARBL_JRA.derecho_intel/mom6.h.z.0001-01-05.nc.0003
SMS.TL319_t233.G1850ABIOMARBL_JRA.derecho_intel/mom6.ic.0001-01-01.nc

Given CIME limitations, I think we need to stitch the blocks back together before the test suite generates or compares baselines

Lenguaje dominante
Jupyter Notebook
Estrellas
6
Forks
25
Merge medio
12 d 2 h
PR fusionados (30 d)
1

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ESCOMP/MOM_interface

Todos los issues de ESCOMP/MOM_interface

Issues similares

Más issues de Testing & QA

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.