Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Estimate Scenario sizes without materializing unloaded datasets

オープン
#2,735 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
ai, data

調査の方向性

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 の本文から書いたものです。

説明

feature-request
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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/PyRIT のほかの issue

microsoft/PyRIT の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。