[essreduce] `BifrostSimulationWorkflow` fails with its defaults on ESS's own simulated file
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with to_disk_choppers in ess/reduce/nexus/workflow.py and trace how it passes chopper fields to DiskChopper.from_nexus. Check the logged rotation_speed and delay values in the simulated file and the scalar-variable requirement reported by scippneutron. Done means the workflow handles constant logged values or reports a clear error naming the field and the suggested step.
索引モデルが issue の本文から書いたものです。
説明
from ess.bifrost import BifrostSimulationWorkflow, data
from ess.spectroscopy.types import (Filename, LookupTableRelativeErrorThreshold,
NormalizedIncidentEnergyDetector, SampleRun)
wf = BifrostSimulationWorkflow()
wf[Filename[SampleRun]] = data.simulated_elastic_incoherent_with_phonon()
wf[LookupTableRelativeErrorThreshold] = {k: float('inf') for k in
['detector', 'monitor', 'normalization_monitor', 'elastic_monitor']}
wf.compute(NormalizedIncidentEnergyDetector[SampleRun])
# DimensionError: Chopper field 'rotation_speed' must be a scalar variable, got a 1d variable.
With wavelength_from='analytical' now the default, the workflow builds DiskChoppers. to_disk_choppers (ess/reduce/nexus/workflow.py) passes each chopper's fields to DiskChopper.from_nexus unchanged, and that refuses logged values (scipp/scippneutron#731). Files that log rotation_speed/delay once per setting, as this one does, therefore fail. Without the threshold the workflow first stops on the missing LookupTableRelativeErrorThreshold (#186).
Suggestion: reduce a constant log to its value in to_disk_choppers, or refuse with a message that names the field and the step to add.
Checked on scipp 26.11.0, scippneutron 26.10.0, essreduce 26.11.1, essspectroscopy 26.11.3.
- 主要言語
- Python
- スター
- 3
- フォーク
- 6
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 35
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
scipp/ess のほかの issue
-
essreduce
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
メンテナーはふだん 1 日以内に返信
-
[ESSSPECTROSCOPY] The containers don't record the vertical axis used for the sample-table rotationオープンessspectroscopy
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
essspectroscopy
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
essspectroscopy
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
[essreduce] A chopper with no `beam_position` is silently placed at 0°対応中かも @TTsangSC が 2 日前に担当しました。 オープンessreduce
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
scipp/ess#923 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
Test: to_hijri() accepts datetime.datetime and uses only the date part対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンgood first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
omarelshamy25x/shamy-hijri#63 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
polish
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
521xueweihan/HelloGitHub#4729 ·
-
[Bug]: Score parser reads parts of scientific notation as valid scores対応中かも @AshutoshSingh840 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
UKGovernmentBEIS/control-arena#992 ·
メンテナーはふだん 3 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
mvalentsev/awesome-free-ai-coding#70 ·
メンテナーはふだん 1 日以内に返信