Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Test suite does not compare fully global output

オープン
#356 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
jupyter-notebook
領域
testing

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Jupyter Notebook
スター
6
フォーク
25
平均マージ
12日 2時間
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ESCOMP/MOM_interface のほかの issue

ESCOMP/MOM_interface の issue をすべて見る

似ている issue

Testing & QA の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。