Estimate Scenario sizes without materializing unloaded datasets
まだ誰も着手していません。
評価
調査の方向性
Start by tracing Scenario's read_only_dataset_resolution() and how DatasetConfiguration metadata, CentralMemory, and provider population metadata are used for sizing. Verify that default and configured estimates remain read-only, use caps and available metadata without materializing missing datasets, and preserve the existing estimate schema.
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
On a fresh backend, Scenario default estimates use read_only_dataset_resolution() to prevent estimation from fetching and persisting datasets. If a named default dataset is not already present in CentralMemory, resolution raises DatasetConstraintError, so the catalog reports unavailable population counts and estimates until another operation loads the dataset.
This was identified while reviewing #2730. The timeout and concurrency hardening in that pull request should remain side-effect free and does not address dataset sizing semantics.
Describe the solution you'd like
Allow default and configured Scenario sizing to use DatasetConfiguration metadata, including max_dataset_size and configured caps, together with provider population metadata or count APIs. Capped defaults should usually produce a planned size without fetching and materializing every seed.
The estimate path should remain read-only: it must not fetch and persist missing datasets as a side effect.
Describe alternatives you've considered, if relevant
- Auto-fetching missing datasets during estimation would make more estimates available, but violates read-only preview behavior and can introduce expensive persistence side effects.
- Continuing to require datasets to be preloaded preserves current behavior but leaves fresh-backend catalog estimates unavailable.
Additional context
This aligns with the approved standalone Scenario GUI follow-up plan's dataset-cap semantics and provenance work. The implementation should preserve the existing estimate schema until the structured run-size and dataset-provenance follow-ups intentionally evolve it.
- 主要言語
- Python
- スター
- 4.5k
- フォーク
- 896
- 平均マージ
- 3日 5時間
- マージ済み PR(30日)
- 200
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/PyRIT のほかの issue
-
BUG HarmBench loader drops ContextString, so contextual behaviors are sent without their context オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
microsoft/PyRIT の issue をすべて見る
似ている issue
-
bug priority:low
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
CyberAgent/psd2svg#436 ·
-
area/install-update comp/cli comp/desktop P3 sweeper:risk-compatibility type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
NousResearch/hermes-agent#122386 · コメント 1 件 ·
-
ai-generated
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vllm-project/production-stack#1105 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100