get_level_as_timeseries not creating correct time series for seasonal levels
まだ誰も着手していません。
評価
調査の方向性
まず get_level_as_timeseries を見つけ、issue にある季節レベルの例を再現します。1 Apr と 15 Apr の前後で、要求された時間範囲がどのように処理されるかに注目してください。生成された値をレポートに示された期待される補間と比較し、その後、季節レベルを対象とする回帰テストを追加または更新して、結果の時系列が正しい日付を使用していることを確認します。
索引モデルが issue の本文から書いたものです。
説明
I have a script that was computing incorrect values and traced the issue back to get_level_as_timeseries not creating correct time series for seasonal levels.
For example, given this seasonal level, it creates this time series. As you can see, the 15 Apr value is getting applied on 1 Apr rather than being interpolated to the time window provided.
Seasonal level
Date Time Storage
31-Dec-24 24:00 16,160.00
1-Apr-25 5:00 16,160.00
15-Apr-25 5:00 20,226.00
15-Oct-25 5:00 20,226.00
1-Nov-25 5:00 16,160.00
30-Dec-25 24:00 16,160.00
31-Dec-25 24:00 16,160.00
Resulting Time Series
Date Time Storage
4/1/2026 08:00:00+00:00 16160
4/1/2026 08:30:00+00:00 16160
4/1/2026 09:00:00+00:00 16160
4/1/2026 09:30:00+00:00 16160
4/1/2026 10:00:00+00:00 16160
4/1/2026 10:30:00+00:00 17176.5
4/1/2026 11:00:00+00:00 18193
4/1/2026 11:30:00+00:00 19209.5
4/1/2026 12:00:00+00:00 20226
- 主要言語
- Python
- スター
- 16
- フォーク
- 11
- 平均マージ
- 7時間 35分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
HydrologicEngineeringCenter/cwms-python のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
HydrologicEngineeringCenter/cwms-python#299 · コメント 1 件 ·
-
cwms/projects/projects.py::get_project uses the wrong API version for retrieval対応中かも @krowvin が 61 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
HydrologicEngineeringCenter/cwms-python の issue をすべて見る
似ている issue
-
[Bug]: graphify query loads every language extractor just for _file_stem (about 34 ms per call)対応中かも @rohit-jsfreaky が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Graphify-Labs/graphify#5160 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Variable declared without a value suppresses ${VAR:-default} expansion対応中かも @Omarinho12345 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
theskumar/python-dotenv#750 ·
メンテナーはふだん 12 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
Operations on a list[T] | None var throw when the value is None対応中かも @masenf が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
reflex-dev/reflex#7826 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
UKGovernmentBEIS/control-arena#947 ·
メンテナーはふだん 1 日以内に返信