Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Estimate Scenario sizes without materializing unloaded datasets

Aperta
#2,735 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
ai, data

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
4.5k
Fork
896
Merge medio
3g 8h
PR unite (30g)
191

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/PyRIT

Tutte le issue di microsoft/PyRIT

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.