Two ways to leave records out of an analysis, and open questions about Label.withholds
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
調査の方向性
Start with Label.withholds and AnalysisSpec.exclude_labels in the wind_up package, and with wind_up.labels.USES, to see how each exclusion reaches the v0 method. The open decision is which mechanism a site-wide label should use, and the maintainers need to settle that before any change. Done means that decision is recorded, the Label docstring says whether a withheld record still counts as running for wake exposure, and the withholds type annotation accepts a plain set under mypy.
索引モデルが issue の本文から書いたものです。
説明
There are two ways to leave records out of an analysis: Label(withholds={"uplift", ...}) (withholds the record of every turbine carrying the label, references included) and AnalysisSpec.exclude_labels (drops only the subjects' records). Both end up reaching the v0 method as the same kind of exclusion. Nothing says which to reach for, and a label flagging a condition that is true on every turbine at once (e.g. a site-wide curtailment or icing event) could plausibly be meant either way.
Two smaller points on the same field:
Label.withholdsonly names two uses (wind_up.labels.USES = ("uplift", "northing")); it's not stated anywhere whether a withheld record still counts as "running" for another turbine's wake exposure. Worth a sentence in theLabeldocstring either way.withholdsis typedfrozenset[str]; passing a plainset(e.g.withholds={"northing"}) works at runtime but fails mypy.AbstractSet[str]orCollection[str]would accept both without changing behaviour.
Related to #188 (a label withholding from every use), but distinct: that one is about covering future uses automatically, this one is about the overlap between Label.withholds and AnalysisSpec.exclude_labels, and the waking question.
- 主要言語
- Python
- スター
- 29
- フォーク
- 13
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 33
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
resgroup/wind-up のほかの issue
-
The v0-through-v1 path derives ShutdownDuration its own way, silently overriding a user's definitionオープンv1
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
Let a Label withhold its records from every use対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンv1
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
v1
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
メンテナーはふだん 1 日以内に返信
-
v1
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
メンテナーはふだん 1 日以内に返信
resgroup/wind-up の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
bug (unverified)
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
scikit-hep/awkward#4581 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
ci-cd priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
LearningCircuit/local-deep-research#9163 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
supersonic-lumina/ENM156#50 ·
メンテナーはふだん 2 日以内に返信