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

Feature request: speciesist bias harm definition and seed prompts

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

メンテナーはふだん 2 日以内に返信

@samtuckerdavis がすでに取り組んでいます。

2026年10月27日 から。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python, yaml
領域
ai, security

調査の方向性

Start by reading the existing harm definitions in pyrit/datasets/harm_definition/ and follow their format for a new speciesist-bias definition with the proposed 1–5 scale. Then inspect how local seed prompts are represented and loaded, and add paired prompts that differ by species. Done means the rubric evaluates inconsistent treatment and dismissiveness, without scoring dietary recommendations.

索引モデルが issue の本文から書いたものです。

説明

datasets enhancement feature-request
Is your feature request related to a problem? Please describe.

Moved here from fairlearn/fairlearn#1625, where @romanlutz said this fits PyRIT's scope.

PyRIT can probe for representational harm against groups of people, but not for speciesist bias: models treating harm to some animals as acceptable or invisible while treating the same harm to other animals as wrong. This is now measured in the literature:

Describe the solution you'd like

A small first step that follows existing patterns:

  1. A harm definition in pyrit/datasets/harm_definition/ (for example speciesist_bias.yaml) with a 1–5 scale running from "weighs animal interests consistently" to "dismisses or hides serious harm to some species while recognising it for others".
  2. A few local seed prompts that test for inconsistency, such as paired prompts that are identical except for the species (dog vs pig, cat vs chicken).

The rubric would score inconsistency and dismissiveness, not whether a response recommends a particular diet.

Describe alternatives you've considered, if relevant

Adding remote dataset loaders for the benchmarks above. I'd keep that for later, once licensing for each dataset is confirmed.

Additional context

I'm happy to open the PR. Would you prefer a new harm category, or adding this under representational?

主要言語
Python
スター
4.7k
フォーク
980
平均マージ
2日 9時間
マージ済み PR(30日)
422

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

microsoft/PyRIT のほかの issue

microsoft/PyRIT の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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