Estimate Scenario sizes without materializing unloaded datasets
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 4.5k
- Fork
- 896
- Merge trung bình
- 3 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 200
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/PyRIT
-
BUG HarmBench loader drops ContextString, so contextual behaviors are sent without their context Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Tất cả issue của microsoft/PyRIT
Issue tương tự
-
bug priority:low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
CyberAgent/psd2svg#436 ·
-
area/install-update comp/cli comp/desktop P3 sweeper:risk-compatibility type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
NousResearch/hermes-agent#122386 · 1 bình luận ·
-
ai-generated
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
vllm-project/production-stack#1105 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100