FEAT GUI: Configure a scenario from selected dataset examples
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- frontend
Línea de trabajo
Start with the Datasets table, frontend\src\components\Scenarios\ScenarioDetail.tsx, its extracted form/estimate/launch boundaries, shared parameter controls, and scenariosApi; also review item 12-14 prerequisites and coordinate with #2653. Trace how selected IDs and existing scenario progress/history are handled before defining the flow. Done means mocked component/routing tests cover exact selections, validation, preview/estimate/confirmation, cancellation state, and duplicate-launch prevention without privileged datasets.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is your feature request related to a problem? Please describe.
Selecting several dataset examples should lead to a configurable scenario, not concatenate unrelated prompts into chat or immediately call a target. Users need to see the exact selection and execution configuration before launching.
Work item 15 of 17 in #2744. Technical prerequisites: the table/selection IDs plus items 12-14. Keep not ready yet until promoted.
Describe the solution you'd like
Add explicit multi-select to the explorer and a Configure scenario action. Preserve selected IDs across pages, make selected-versus-visible counts clear, and allow reviewing/removing/clearing the selection. Do not turn a page selection into an implicit select-all-matching query.
For one example the existing chat import actions remain available. For multiple examples, use the scenario path rather than concatenation or a queue of chat drafts.
Open a Scanner configuration flow using existing reusable form/estimate/launch pieces. Prefill exactly the selected examples, prompt sending, no additional converters, and a compatible configured scorer default. Allow target and scorer selection and collect missing required objectives explicitly. Show setup guidance when no compatible scorer or target is configured.
Preview the selected population and effective configuration before explicit launch confirmation. On launch, reuse the normal scenario queue/progress/history. Preserve explorer state when cancelling or returning. No new persistent named dataset or generated scenario source file is created by opening the form.
Acceptance criteria:
- Selections survive pagination and can be reviewed/cleared without selecting hidden unrequested examples.
- Configure scenario performs no target call and uses exact IDs, not a reconstructed dataset filter.
- Default settings mean prompt sending only, no extra converters, and an explicit compatible scorer.
- Missing objectives, invalid/stale selections, incompatible presets, and empty configuration have clear validation.
- Preview, estimate, confirmation, and launch agree on the selected examples; duplicate launch is prevented.
- Cancel/Back/navigation preserve the user's browse state, and success goes to existing scenario progress/history.
- Component/routing tests cover the flow using mocked APIs and no privileged datasets.
Describe alternatives you've considered, if relevant
Do not build another launch page with duplicated state, add batch chat behavior, or launch directly from a selection checkbox. Advanced technique/converter controls are item 16; this item should deliver the useful default flow first.
Additional context
Start with the Datasets table, frontend\src\components\Scenarios\ScenarioDetail.tsx and its extracted form/estimate/launch boundaries, shared parameter controls, and scenariosApi. Coordinate with #2653 instead of growing a second monolithic configuration component. Follow frontend style/test instructions.
- Lenguaje dominante
- Python
- Estrellas
- 4.5k
- Forks
- 896
- Merge medio
- 3 d 8 h
- PR fusionados (30 d)
- 191
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/PyRIT
-
BUG HarmBench loader drops ContextString, so contextual behaviors are sent without their context Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Todos los issues de microsoft/PyRIT
Issues similares
-
agent-ready documentation needs-triage
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
-
documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
-
Add https://search.jeremyh.xyz/ Abiertoinstance instance add
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
searxng/searx-instances#939 · 1 comentario ·
-
area-deployment area-integrations triage:bot-seen
Dificultad 2/5 Medio día Aptitud para principiantes 86/100