Long-form inputs: tables as bounds, coefficients, constants and rhs; relation group-by
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
調査の方向性
Read the conformance suite and linopy/csr.py:318 to understand from_grouper and how the store scatters repeated source rows onto the Grid. Then trace how bounds, coefficients, constants, and right-hand sides are converted into the current stores. Done when long-table inputs support broadcast missing keys, default= for unlisted cells, and relation group-by sums on both backends under the conformance suite.
索引モデルが issue の本文から書いたものです。
説明
[!NOTE]
The following content was generated by AI.
Child of #1019 (step 5), after the conformance suite. Independent of the store protocol.
Problem
Inputs are N-dimensional arrays. A relation with several rows per source key (link port → bus) needs an incidence matrix and @. PyPSA moves to a long-form data model (datarecord).
Proposal
- Accept bounds, coefficients, constants and right-hand sides as a long table: key columns plus one value column. A missing key column broadcasts over that dim; cells not listed take
default=. - Group-by sums over relation tables go through
from_grouper(linopy/csr.py:318) with repeated source rows, a scatter onto theGridthe store already does. - Inputs are converted to the current stores; no dependency on datarecord, narwhals or DuckDB types. Covered on both backends by the conformance suite.
Measurements and the deferred table-based key set are in #1019.
- 主要言語
- Python
- スター
- 262
- フォーク
- 89
- 平均マージ
- 2日 5時間
- マージ済み PR(30日)
- 36
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PyPSA/linopy のほかの issue
-
Constant LinearExpression * multi-term LinearExpression raises TypeError (mirrored product works)オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug solver interface
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
Drop the per-nonzero cell array from `Store.terms()` to cut transient memory in the dense LP exportオープンperformance refactor v1
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
メンテナーはふだん 1 日以内に返信
-
Meta: separate dense and sparse stores from the expression and constraint frontend対応中かも @Rishabhkanhaiya が 18 日前に担当しました。 オープンdiscussion refactor sparse
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
PyPSA/linopy#1019 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
The changelog workflow excludes otelbot but not dependabot, so every Dependabot pull request fails the changelog check対応中かも @ocelotl が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
open-telemetry/opentelemetry-python#5825 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
cuga-project/cuga-agent#1020 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
microsoft/playwright#43640 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
stac-utils/stac-fastapi-elasticsearch-opensearch#965 ·
メンテナーはふだん 2 日以内に返信
-
from-review-extraction library privacy python severity:suggested
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
LearningCircuit/local-deep-research#7951 ·
メンテナーはふだん 2 日以内に返信