Skip to content

Add pull request and issue templates#6

Merged
romanlutz merged 1 commit intomainfrom
romanlutz/pr_and_issue_templates
Jan 14, 2024
Merged

Add pull request and issue templates#6
romanlutz merged 1 commit intomainfrom
romanlutz/pr_and_issue_templates

Conversation

@romanlutz
Copy link
Copy Markdown
Contributor

Adding PR and issue templates to prompt for essential information.

To enable better bug reports I've also added show_versions which collects the relevant system and package versions. This is loosely based on the ones we created for Fairlearn a while ago, but with relevant adjustments and modifications.

@github-actions
Copy link
Copy Markdown

Test Results

69 tests   69 ✅  12s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 4a21dfd.

@romanlutz romanlutz merged commit 2d8fab6 into main Jan 14, 2024
@romanlutz romanlutz deleted the romanlutz/pr_and_issue_templates branch January 14, 2024 15:23
adrian-gavrila pushed a commit to adrian-gavrila/PyRIT that referenced this pull request Apr 24, 2026
Bundled response to the remaining reviewer comments on the Attack History
filter-Combobox migration.

microsoft#2/microsoft#3  memory: switch `attack_class` and `targeted_harm_categories`
       deprecations in `MemoryInterface.get_attack_results` to the
       project-standard `print_deprecation_message(removed_in="0.15.0")`
       helper; drop the now-unused `import warnings`. No direct successor
       exists for `targeted_harm_categories`; point users at
       `labels={"harm_category": [...]}` (labels supports OR-within-key).

microsoft#4     memory/backend: make attack-class matching case-insensitive to
       match converter-class matching. Removed the explicit
       `case_sensitive=True` override (default is False in every backend);
       flipped the regression test to assert lower/upper/mixed casing all
       match. Service + route docs updated.

microsoft#5     frontend: refactor `AttackHistory.fetchAttacks` request-params
       builder from a stack of seven conditional object spreads into a
       precomputed, explicitly-guarded `params` object for readability.

microsoft#6     frontend: rename `attackClasses` field, `attackClassOptions` prop,
       `attack-class-filter` testid (and all mirrors) to `attackType*` so
       they track the server-side `attack_types` query param.

microsoft#7     backend: rewrite FastAPI `Query` descriptions for `attack_types`,
       `converter_types`, and `label` to spell out "May be specified
       multiple times" semantics with concrete `?key=v1&key=v2` examples.

microsoft#8     backend: widen `attack_types` / `converter_types` annotations from
       `Optional[list[str]]` to `Optional[Sequence[str]]` (matches the
       already-`Sequence`-typed inner label values).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants