{
  "meta": {
    "source_file": "site/data/raw_comments.json",
    "count": 74,
    "is_fixture": false,
    "codebook_version": "draft-0.2"
  },
  "data": [
    {
      "id": 4378693606,
      "body": "#rationale/maintainer-and-reviewer-burden\n#rationale/social-and-ethical",
      "quote": "* **Acknowledge the widespread use of Generative AI tools** (LLMs) and promote transparency and responsible use that ensures better software outputs that support sound open source development practices.\n* **Ensure equitable balance of effort in peer review** \u2014 authors are responsible for human review of AI-generated content before submission; our volunteer reviewers are not responsible for identifying and/or correcting machine-generated errors or issues.\n* **Protect volunteer reviewers** from being the first line of review for generated code.\n* Give reviewers and editors the information they need to make informed decisions about what they choose to review.\n* **Support and promote packages that follow sustainable software practices** that enable future discovery and uphold the foundational principles of scientific open source.\n* Raise awareness of the broader challenges Generative AI presents to the scientific open source community.\n* Promote transparency and privacy in user data",
      "quote_source": "paragraph",
      "diff_hunk": "",
      "tags": [
        {
          "raw": "#rationale/maintainer-and-reviewer-burden",
          "namespace": "rationale",
          "value": "maintainer-and-reviewer-burden",
          "dimension": "stated_rationale",
          "dimension_label": "Stated rationale",
          "kind": "value",
          "value_label": "Maintainer and reviewer burden",
          "display": "Stated rationale: Maintainer and reviewer burden",
          "filter_key": "stated_rationale:maintainer-and-reviewer-burden"
        },
        {
          "raw": "#rationale/social-and-ethical",
          "namespace": "rationale",
          "value": "social-and-ethical",
          "dimension": "stated_rationale",
          "dimension_label": "Stated rationale",
          "kind": "value",
          "value_label": "Social and ethical (trust, transparency, community norms)",
          "display": "Stated rationale: Social and ethical (trust, transparency, community norms)",
          "filter_key": "stated_rationale:social-and-ethical"
        }
      ],
      "tag_strings": [
        "#rationale/maintainer-and-reviewer-burden",
        "#rationale/social-and-ethical"
      ],
      "displays": [
        "Stated rationale: Maintainer and reviewer burden",
        "Stated rationale: Social and ethical (trust, transparency, community norms)"
      ],
      "filter_keys": [
        "stated_rationale:maintainer-and-reviewer-burden",
        "stated_rationale:social-and-ethical"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stated_rationale": [
          {
            "value": "maintainer-and-reviewer-burden",
            "filter_key": "stated_rationale:maintainer-and-reviewer-burden",
            "display": "Stated rationale: Maintainer and reviewer burden"
          },
          {
            "value": "social-and-ethical",
            "filter_key": "stated_rationale:social-and-ethical",
            "display": "Stated rationale: Social and ethical (trust, transparency, community norms)"
          }
        ]
      },
      "path": "projects/pyopensci/generative-ai-policy.md",
      "project": "pyopensci",
      "start_line": 9,
      "line": 9,
      "side": "RIGHT",
      "user": "shaunagm",
      "pr_number": 1,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/1#discussion_r4378693606",
      "commit_id": "ab1114bd037b866a8df2d33c2c56d9b4c8b41ba1",
      "created_at": "2026-10-26T14:52:40Z",
      "updated_at": "2026-10-26T14:52:40Z"
    },
    {
      "id": 4378707992,
      "body": "#MadeUpTag",
      "quote": "## Communication in review issues",
      "quote_source": "paragraph",
      "diff_hunk": "",
      "tags": [],
      "tag_strings": [],
      "displays": [],
      "filter_keys": [],
      "parse_warnings": [
        "#MadeUpTag looks like a tag but needs #namespace/value (e.g. #disclosure/required). See codebook/COMMENTING.md"
      ],
      "needs_tag_review": true,
      "codes": {},
      "path": "projects/pyopensci/generative-ai-policy.md",
      "project": "pyopensci",
      "start_line": 35,
      "line": 35,
      "side": "RIGHT",
      "user": "shaunagm",
      "pr_number": 1,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/1#discussion_r4378707992",
      "commit_id": "ab1114bd037b866a8df2d33c2c56d9b4c8b41ba1",
      "created_at": "2026-10-26T14:53:58Z",
      "updated_at": "2026-10-26T14:53:58Z"
    },
    {
      "id": 4378846166,
      "body": "#AnotherMadeUpTag",
      "quote": "* We prefer that all communication in our software review issues are written by a human. We embrace the use of LLMs for translation and grammar correction. We prefer honest interactions over ones that prioritize perfect language and grammar. Use as little aid from an LLM as possible.\n* We will block accounts that spam our repositories or burden our volunteers with repeated, automated comments that aren't directly related to and in support of productive conversations in a review.\n\n## Package development and design approach",
      "quote_source": "paragraph",
      "diff_hunk": "",
      "tags": [],
      "tag_strings": [],
      "displays": [],
      "filter_keys": [],
      "parse_warnings": [
        "#AnotherMadeUpTag looks like a tag but needs #namespace/value (e.g. #disclosure/required). See codebook/COMMENTING.md"
      ],
      "needs_tag_review": true,
      "codes": {},
      "path": "projects/pyopensci/generative-ai-policy.md",
      "project": "pyopensci",
      "start_line": 39,
      "line": 39,
      "side": "RIGHT",
      "user": "shaunagm",
      "pr_number": 1,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/1#discussion_r4378846166",
      "commit_id": "ab1114bd037b866a8df2d33c2c56d9b4c8b41ba1",
      "created_at": "2026-10-26T15:06:11Z",
      "updated_at": "2026-10-26T15:06:11Z"
    },
    {
      "id": 4378893594,
      "body": "#YetAnotherMadeUpTag",
      "quote": "* **Development History Timeline:** Projects should have at least **3-6 months of public development history**, with evidence of releases, public issues, and pull requests that reflect **iterative, thoughtful development** rather than rapid and recent code generation.\n* If the human effort put into the package is less than the effort required to review it, please don't submit the package.\n* Software should be developed openly, rather than developed in private and then moved to a public repository with an OSI-approved license to meet minimal open source requirements.\n* **Development History Approach:** We encourage thoughtful development history and patterns, including tightly scoped commits with clear commit messages that follow iterative development best practices, rather than large commits that address multiple issues in a package and affect large volumes of files throughout the package. These workflows signal careful design and development, and changes to a codebase that could be reviewed by a human.\n* Projects with very short, rapid development timelines (weeks to a few months) will face higher scrutiny by our review teams than those that have a significant development history (more than 6 months)\n* **Package Scope & Design:** We value packages with a thoughtful, well-scoped design. When submitting, we will ask you to describe the key design decisions behind your package \u2014 the tradeoffs you considered and why you built it the way you did.\n* We place greater value on packages that have been adopted or used by a wide user base, since this demonstrates that the package has design and performance characteristics that meet multiple use cases.\n* Be sure to situate your package within the broader Python ecosystem: identify related tools, explain how your package differs from them, and explain how it complements, extends, or builds upon them.\n* We particularly value **work that builds upon or extends existing tools rather than reinventing solutions** where quality alternatives already exist.",
      "quote_source": "paragraph",
      "diff_hunk": "",
      "tags": [],
      "tag_strings": [],
      "displays": [],
      "filter_keys": [],
      "parse_warnings": [
        "#YetAnotherMadeUpTag looks like a tag but needs #namespace/value (e.g. #disclosure/required). See codebook/COMMENTING.md"
      ],
      "needs_tag_review": true,
      "codes": {},
      "path": "projects/pyopensci/generative-ai-policy.md",
      "project": "pyopensci",
      "start_line": 47,
      "line": 47,
      "side": "RIGHT",
      "user": "shaunagm",
      "pr_number": 1,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/1#discussion_r4378893594",
      "commit_id": "ab1114bd037b866a8df2d33c2c56d9b4c8b41ba1",
      "created_at": "2026-10-26T15:10:28Z",
      "updated_at": "2026-10-26T15:10:28Z"
    },
    {
      "id": 4378923899,
      "body": "#HowManyMadeUpTagsDoINeed",
      "quote": "* **Development History Timeline:** Projects should have at least **3-6 months of public development history**, with evidence of releases, public issues, and pull requests that reflect **iterative, thoughtful development** rather than rapid and recent code generation.\n* If the human effort put into the package is less than the effort required to review it, please don't submit the package.\n* Software should be developed openly, rather than developed in private and then moved to a public repository with an OSI-approved license to meet minimal open source requirements.\n* **Development History Approach:** We encourage thoughtful development history and patterns, including tightly scoped commits with clear commit messages that follow iterative development best practices, rather than large commits that address multiple issues in a package and affect large volumes of files throughout the package. These workflows signal careful design and development, and changes to a codebase that could be reviewed by a human.\n* Projects with very short, rapid development timelines (weeks to a few months) will face higher scrutiny by our review teams than those that have a significant development history (more than 6 months)\n* **Package Scope & Design:** We value packages with a thoughtful, well-scoped design. When submitting, we will ask you to describe the key design decisions behind your package \u2014 the tradeoffs you considered and why you built it the way you did.\n* We place greater value on packages that have been adopted or used by a wide user base, since this demonstrates that the package has design and performance characteristics that meet multiple use cases.\n* Be sure to situate your package within the broader Python ecosystem: identify related tools, explain how your package differs from them, and explain how it complements, extends, or builds upon them.\n* We particularly value **work that builds upon or extends existing tools rather than reinventing solutions** where quality alternatives already exist.",
      "quote_source": "paragraph",
      "diff_hunk": "",
      "tags": [],
      "tag_strings": [],
      "displays": [],
      "filter_keys": [],
      "parse_warnings": [
        "#HowManyMadeUpTagsDoINeed looks like a tag but needs #namespace/value (e.g. #disclosure/required). See codebook/COMMENTING.md"
      ],
      "needs_tag_review": true,
      "codes": {},
      "path": "projects/pyopensci/generative-ai-policy.md",
      "project": "pyopensci",
      "start_line": 45,
      "line": 45,
      "side": "RIGHT",
      "user": "shaunagm",
      "pr_number": 1,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/1#discussion_r4378923899",
      "commit_id": "ab1114bd037b866a8df2d33c2c56d9b4c8b41ba1",
      "created_at": "2026-10-26T15:13:06Z",
      "updated_at": "2026-10-26T15:13:06Z"
    },
    {
      "id": 4379064088,
      "body": "#OneMoreMadeUpTag",
      "quote": "* **Development History Timeline:** Projects should have at least **3-6 months of public development history**, with evidence of releases, public issues, and pull requests that reflect **iterative, thoughtful development** rather than rapid and recent code generation.\n* If the human effort put into the package is less than the effort required to review it, please don't submit the package.\n* Software should be developed openly, rather than developed in private and then moved to a public repository with an OSI-approved license to meet minimal open source requirements.\n* **Development History Approach:** We encourage thoughtful development history and patterns, including tightly scoped commits with clear commit messages that follow iterative development best practices, rather than large commits that address multiple issues in a package and affect large volumes of files throughout the package. These workflows signal careful design and development, and changes to a codebase that could be reviewed by a human.\n* Projects with very short, rapid development timelines (weeks to a few months) will face higher scrutiny by our review teams than those that have a significant development history (more than 6 months)\n* **Package Scope & Design:** We value packages with a thoughtful, well-scoped design. When submitting, we will ask you to describe the key design decisions behind your package \u2014 the tradeoffs you considered and why you built it the way you did.\n* We place greater value on packages that have been adopted or used by a wide user base, since this demonstrates that the package has design and performance characteristics that meet multiple use cases.\n* Be sure to situate your package within the broader Python ecosystem: identify related tools, explain how your package differs from them, and explain how it complements, extends, or builds upon them.\n* We particularly value **work that builds upon or extends existing tools rather than reinventing solutions** where quality alternatives already exist.",
      "quote_source": "paragraph",
      "diff_hunk": "",
      "tags": [],
      "tag_strings": [],
      "displays": [],
      "filter_keys": [],
      "parse_warnings": [
        "#OneMoreMadeUpTag looks like a tag but needs #namespace/value (e.g. #disclosure/required). See codebook/COMMENTING.md"
      ],
      "needs_tag_review": true,
      "codes": {},
      "path": "projects/pyopensci/generative-ai-policy.md",
      "project": "pyopensci",
      "start_line": 49,
      "line": 49,
      "side": "RIGHT",
      "user": "shaunagm",
      "pr_number": 1,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/1#discussion_r4379064088",
      "commit_id": "e5c7cdc9f9a41b4cda5160e6318ed4047a7ac04a",
      "created_at": "2026-10-26T15:25:09Z",
      "updated_at": "2026-10-26T15:25:09Z"
    },
    {
      "id": 4484278119,
      "body": "#stance/permissive-with-conditions\n\nI'm using this because they allow it but you are still responsible for knowing what is happening\n\n#human-responsibility/yes\n#guidance/evaluation",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you\nsubmit, stay in the conversation after you open a pull request, and don't let an AI\nagent open one on its own.**\n\n## Scope\n\n\"AI\" herein refers to generative AI tools like large language models (LLMs)\nthat can generate, edit, and review software code, create and manipulate\nimages, or generate human-like communication.\n\nThis policy applies to contributions from the wider community. Automated\nprocesses operated by the earthaccess maintainer team (for example, dependency\nupdates and other repository automations) run under separate maintainer\noversight and are not governed by the requirements below.\n\n## Responsibility\n\nYou are responsible for any code you submit to earthaccess's repositories, regardless",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you\n+submit, stay in the conversation after you open a pull request, and don't let an AI\n+agent open one on its own.**\n+\n+## Scope\n+\n+\"AI\" herein refers to generative AI tools like large language models (LLMs)\n+that can generate, edit, and review software code, create and manipulate\n+images, or generate human-like communication.\n+\n+This policy applies to contributions from the wider community. Automated\n+processes operated by the earthaccess maintainer team (for example, dependency\n+updates and other repository automations) run under separate maintainer\n+oversight and are not governed by the requirements below.\n+\n+## Responsibility\n+\n+You are responsible for any code you submit to earthaccess's repositories, regardless",
      "tags": [
        {
          "raw": "#stance/permissive-with-conditions",
          "namespace": "stance",
          "value": "permissive-with-conditions",
          "dimension": "stance",
          "dimension_label": "Stance",
          "kind": "value",
          "value_label": "Permissive with conditions",
          "display": "Stance: Permissive with conditions",
          "filter_key": "stance:permissive-with-conditions"
        },
        {
          "raw": "#human-responsibility/yes",
          "namespace": "human-responsibility",
          "value": "yes",
          "dimension": "human_responsibility",
          "dimension_label": "Human responsibility",
          "kind": "value",
          "value_label": "Yes \u2014 contributor is responsible for submitted work",
          "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work",
          "filter_key": "human_responsibility:yes"
        },
        {
          "raw": "#guidance/evaluation",
          "namespace": "guidance",
          "value": "evaluation",
          "dimension": "guidance_type",
          "dimension_label": "Guidance type",
          "kind": "value",
          "value_label": "Evaluation (understand, test, and explain output)",
          "display": "Guidance type: Evaluation (understand, test, and explain output)",
          "filter_key": "guidance_type:evaluation"
        }
      ],
      "tag_strings": [
        "#stance/permissive-with-conditions",
        "#human-responsibility/yes",
        "#guidance/evaluation"
      ],
      "displays": [
        "Stance: Permissive with conditions",
        "Human responsibility: Yes \u2014 contributor is responsible for submitted work",
        "Guidance type: Evaluation (understand, test, and explain output)"
      ],
      "filter_keys": [
        "stance:permissive-with-conditions",
        "human_responsibility:yes",
        "guidance_type:evaluation"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stance": [
          {
            "value": "permissive-with-conditions",
            "filter_key": "stance:permissive-with-conditions",
            "display": "Stance: Permissive with conditions"
          }
        ],
        "human_responsibility": [
          {
            "value": "yes",
            "filter_key": "human_responsibility:yes",
            "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
          }
        ],
        "guidance_type": [
          {
            "value": "evaluation",
            "filter_key": "guidance_type:evaluation",
            "display": "Guidance type: Evaluation (understand, test, and explain output)"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 28,
      "line": 28,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4484278119",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-05T18:19:21Z",
      "updated_at": "2026-11-11T23:05:33Z"
    },
    {
      "id": 4484764292,
      "body": "#disclosure/required\n#human-responsibility/yes",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you",
      "tags": [
        {
          "raw": "#disclosure/required",
          "namespace": "disclosure",
          "value": "required",
          "dimension": "disclosure",
          "dimension_label": "Disclosure",
          "kind": "value",
          "value_label": "Required",
          "display": "Disclosure: Required",
          "filter_key": "disclosure:required"
        },
        {
          "raw": "#human-responsibility/yes",
          "namespace": "human-responsibility",
          "value": "yes",
          "dimension": "human_responsibility",
          "dimension_label": "Human responsibility",
          "kind": "value",
          "value_label": "Yes \u2014 contributor is responsible for submitted work",
          "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work",
          "filter_key": "human_responsibility:yes"
        }
      ],
      "tag_strings": [
        "#disclosure/required",
        "#human-responsibility/yes"
      ],
      "displays": [
        "Disclosure: Required",
        "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
      ],
      "filter_keys": [
        "disclosure:required",
        "human_responsibility:yes"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "disclosure": [
          {
            "value": "required",
            "filter_key": "disclosure:required",
            "display": "Disclosure: Required"
          }
        ],
        "human_responsibility": [
          {
            "value": "yes",
            "filter_key": "human_responsibility:yes",
            "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 11,
      "line": 11,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4484764292",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-05T19:03:47Z",
      "updated_at": "2026-11-05T19:07:08Z"
    },
    {
      "id": 4484782189,
      "body": "#stance/permissive-with-conditions",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read",
      "tags": [
        {
          "raw": "#stance/permissive-with-conditions",
          "namespace": "stance",
          "value": "permissive-with-conditions",
          "dimension": "stance",
          "dimension_label": "Stance",
          "kind": "value",
          "value_label": "Permissive with conditions",
          "display": "Stance: Permissive with conditions",
          "filter_key": "stance:permissive-with-conditions"
        }
      ],
      "tag_strings": [
        "#stance/permissive-with-conditions"
      ],
      "displays": [
        "Stance: Permissive with conditions"
      ],
      "filter_keys": [
        "stance:permissive-with-conditions"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stance": [
          {
            "value": "permissive-with-conditions",
            "filter_key": "stance:permissive-with-conditions",
            "display": "Stance: Permissive with conditions"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 8,
      "line": 8,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4484782189",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-05T19:05:18Z",
      "updated_at": "2026-11-05T19:05:18Z"
    },
    {
      "id": 4484793235,
      "body": "#guidance/learning\n#rationale/social-and-ethical\n\npicked these tags for learning and community",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.",
      "tags": [
        {
          "raw": "#guidance/learning",
          "namespace": "guidance",
          "value": "learning",
          "dimension": "guidance_type",
          "dimension_label": "Guidance type",
          "kind": "value",
          "value_label": "Learning (supports building skills or understanding)",
          "display": "Guidance type: Learning (supports building skills or understanding)",
          "filter_key": "guidance_type:learning"
        },
        {
          "raw": "#rationale/social-and-ethical",
          "namespace": "rationale",
          "value": "social-and-ethical",
          "dimension": "stated_rationale",
          "dimension_label": "Stated rationale",
          "kind": "value",
          "value_label": "Social and ethical (trust, transparency, community norms)",
          "display": "Stated rationale: Social and ethical (trust, transparency, community norms)",
          "filter_key": "stated_rationale:social-and-ethical"
        }
      ],
      "tag_strings": [
        "#guidance/learning",
        "#rationale/social-and-ethical"
      ],
      "displays": [
        "Guidance type: Learning (supports building skills or understanding)",
        "Stated rationale: Social and ethical (trust, transparency, community norms)"
      ],
      "filter_keys": [
        "guidance_type:learning",
        "stated_rationale:social-and-ethical"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "guidance_type": [
          {
            "value": "learning",
            "filter_key": "guidance_type:learning",
            "display": "Guidance type: Learning (supports building skills or understanding)"
          }
        ],
        "stated_rationale": [
          {
            "value": "social-and-ethical",
            "filter_key": "stated_rationale:social-and-ethical",
            "display": "Stated rationale: Social and ethical (trust, transparency, community norms)"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 6,
      "line": 6,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4484793235",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-05T19:06:15Z",
      "updated_at": "2026-11-05T19:06:15Z"
    },
    {
      "id": 4484919143,
      "body": "#scope/autonomous-agents:banned",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you\nsubmit, stay in the conversation after you open a pull request, and don't let an AI\nagent open one on its own.**",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you\n+submit, stay in the conversation after you open a pull request, and don't let an AI\n+agent open one on its own.**",
      "tags": [
        {
          "raw": "#scope/autonomous-agents:banned",
          "namespace": "scope",
          "value": "autonomous-agents",
          "qualifier": "banned",
          "dimension": "scope",
          "dimension_label": "Scope",
          "kind": "scope",
          "contribution_type": "autonomous-agents",
          "contribution_type_label": "Autonomous agents",
          "position": "banned",
          "position_label": "Banned",
          "value_label": "Autonomous agents: Banned",
          "display": "Scope: Autonomous agents \u2192 Banned",
          "filter_key": "scope:autonomous-agents:banned"
        }
      ],
      "tag_strings": [
        "#scope/autonomous-agents:banned"
      ],
      "displays": [
        "Scope: Autonomous agents \u2192 Banned"
      ],
      "filter_keys": [
        "scope:autonomous-agents:banned"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "scope": [
          {
            "contribution_type": "autonomous-agents",
            "position": "banned",
            "filter_key": "scope:autonomous-agents:banned",
            "display": "Scope: Autonomous agents \u2192 Banned"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 13,
      "line": 13,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4484919143",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-05T19:17:19Z",
      "updated_at": "2026-11-05T19:17:20Z"
    },
    {
      "id": 4544209267,
      "body": "#scope/autonomous-agents:banned",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you\nsubmit, stay in the conversation after you open a pull request, and don't let an AI\nagent open one on its own.**\n\n## Scope\n\n\"AI\" herein refers to generative AI tools like large language models (LLMs)\nthat can generate, edit, and review software code, create and manipulate\nimages, or generate human-like communication.\n\nThis policy applies to contributions from the wider community. Automated\nprocesses operated by the earthaccess maintainer team (for example, dependency\nupdates and other repository automations) run under separate maintainer\noversight and are not governed by the requirements below.\n\n## Responsibility\n\nYou are responsible for any code you submit to earthaccess's repositories, regardless\nof whether it was manually written or generated by AI. You must understand and be able\nto explain both the code you submit and the existing related code; submitting a patch\nyou cannot explain yourself is not acceptable.\nThe explanation must be yours, though you may use AI to translate or copy-edit it.\n\n### No autonomous AI agent contributions\n\nThe use of an AI agent that writes code and then submits a pull request\nautonomously is not permitted. A human must check any generated code and open\nthe pull request themselves.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you\n+submit, stay in the conversation after you open a pull request, and don't let an AI\n+agent open one on its own.**\n+\n+## Scope\n+\n+\"AI\" herein refers to generative AI tools like large language models (LLMs)\n+that can generate, edit, and review software code, create and manipulate\n+images, or generate human-like communication.\n+\n+This policy applies to contributions from the wider community. Automated\n+processes operated by the earthaccess maintainer team (for example, dependency\n+updates and other repository automations) run under separate maintainer\n+oversight and are not governed by the requirements below.\n+\n+## Responsibility\n+\n+You are responsible for any code you submit to earthaccess's repositories, regardless\n+of whether it was manually written or generated by AI. You must understand and be able\n+to explain both the code you submit and the existing related code; submitting a patch\n+you cannot explain yourself is not acceptable.\n+The explanation must be yours, though you may use AI to translate or copy-edit it.\n+\n+### No autonomous AI agent contributions\n+\n+The use of an AI agent that writes code and then submits a pull request\n+autonomously is not permitted. A human must check any generated code and open\n+the pull request themselves.",
      "tags": [
        {
          "raw": "#scope/autonomous-agents:banned",
          "namespace": "scope",
          "value": "autonomous-agents",
          "qualifier": "banned",
          "dimension": "scope",
          "dimension_label": "Scope",
          "kind": "scope",
          "contribution_type": "autonomous-agents",
          "contribution_type_label": "Autonomous agents",
          "position": "banned",
          "position_label": "Banned",
          "value_label": "Autonomous agents: Banned",
          "display": "Scope: Autonomous agents \u2192 Banned",
          "filter_key": "scope:autonomous-agents:banned"
        }
      ],
      "tag_strings": [
        "#scope/autonomous-agents:banned"
      ],
      "displays": [
        "Scope: Autonomous agents \u2192 Banned"
      ],
      "filter_keys": [
        "scope:autonomous-agents:banned"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "scope": [
          {
            "contribution_type": "autonomous-agents",
            "position": "banned",
            "filter_key": "scope:autonomous-agents:banned",
            "display": "Scope: Autonomous agents \u2192 Banned"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 34,
      "line": 38,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544209267",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:06:14Z",
      "updated_at": "2026-11-11T23:06:14Z"
    },
    {
      "id": 4544217838,
      "body": "#disclosure/required",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you\nsubmit, stay in the conversation after you open a pull request, and don't let an AI\nagent open one on its own.**\n\n## Scope\n\n\"AI\" herein refers to generative AI tools like large language models (LLMs)\nthat can generate, edit, and review software code, create and manipulate\nimages, or generate human-like communication.\n\nThis policy applies to contributions from the wider community. Automated\nprocesses operated by the earthaccess maintainer team (for example, dependency\nupdates and other repository automations) run under separate maintainer\noversight and are not governed by the requirements below.\n\n## Responsibility\n\nYou are responsible for any code you submit to earthaccess's repositories, regardless\nof whether it was manually written or generated by AI. You must understand and be able\nto explain both the code you submit and the existing related code; submitting a patch\nyou cannot explain yourself is not acceptable.\nThe explanation must be yours, though you may use AI to translate or copy-edit it.\n\n### No autonomous AI agent contributions\n\nThe use of an AI agent that writes code and then submits a pull request\nautonomously is not permitted. A human must check any generated code and open\nthe pull request themselves.\n\n## Disclosure\n\nYou must disclose whether AI was used in developing your pull request. The pull",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you\n+submit, stay in the conversation after you open a pull request, and don't let an AI\n+agent open one on its own.**\n+\n+## Scope\n+\n+\"AI\" herein refers to generative AI tools like large language models (LLMs)\n+that can generate, edit, and review software code, create and manipulate\n+images, or generate human-like communication.\n+\n+This policy applies to contributions from the wider community. Automated\n+processes operated by the earthaccess maintainer team (for example, dependency\n+updates and other repository automations) run under separate maintainer\n+oversight and are not governed by the requirements below.\n+\n+## Responsibility\n+\n+You are responsible for any code you submit to earthaccess's repositories, regardless\n+of whether it was manually written or generated by AI. You must understand and be able\n+to explain both the code you submit and the existing related code; submitting a patch\n+you cannot explain yourself is not acceptable.\n+The explanation must be yours, though you may use AI to translate or copy-edit it.\n+\n+### No autonomous AI agent contributions\n+\n+The use of an AI agent that writes code and then submits a pull request\n+autonomously is not permitted. A human must check any generated code and open\n+the pull request themselves.\n+\n+## Disclosure\n+\n+You must disclose whether AI was used in developing your pull request. The pull",
      "tags": [
        {
          "raw": "#disclosure/required",
          "namespace": "disclosure",
          "value": "required",
          "dimension": "disclosure",
          "dimension_label": "Disclosure",
          "kind": "value",
          "value_label": "Required",
          "display": "Disclosure: Required",
          "filter_key": "disclosure:required"
        }
      ],
      "tag_strings": [
        "#disclosure/required"
      ],
      "displays": [
        "Disclosure: Required"
      ],
      "filter_keys": [
        "disclosure:required"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "disclosure": [
          {
            "value": "required",
            "filter_key": "disclosure:required",
            "display": "Disclosure: Required"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 42,
      "line": 42,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544217838",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:07:02Z",
      "updated_at": "2026-11-11T23:07:02Z"
    },
    {
      "id": 4544226034,
      "body": "#rationale/social-and-ethical",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you\nsubmit, stay in the conversation after you open a pull request, and don't let an AI\nagent open one on its own.**\n\n## Scope\n\n\"AI\" herein refers to generative AI tools like large language models (LLMs)\nthat can generate, edit, and review software code, create and manipulate\nimages, or generate human-like communication.\n\nThis policy applies to contributions from the wider community. Automated\nprocesses operated by the earthaccess maintainer team (for example, dependency\nupdates and other repository automations) run under separate maintainer\noversight and are not governed by the requirements below.\n\n## Responsibility\n\nYou are responsible for any code you submit to earthaccess's repositories, regardless\nof whether it was manually written or generated by AI. You must understand and be able\nto explain both the code you submit and the existing related code; submitting a patch\nyou cannot explain yourself is not acceptable.\nThe explanation must be yours, though you may use AI to translate or copy-edit it.\n\n### No autonomous AI agent contributions\n\nThe use of an AI agent that writes code and then submits a pull request\nautonomously is not permitted. A human must check any generated code and open\nthe pull request themselves.\n\n## Disclosure\n\nYou must disclose whether AI was used in developing your pull request. The pull\nrequest template includes a disclosure checkbox; complete it for every pull request,\nincluding those where no AI tools were used. If AI was used, document which tool(s)\nand version(s), how they were used, and what code or text is AI generated. We will\nask you to complete the disclosure before review.\n\nDisclosure helps reviewers give your contribution appropriate attention, and keeps\nreview transparent.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you\n+submit, stay in the conversation after you open a pull request, and don't let an AI\n+agent open one on its own.**\n+\n+## Scope\n+\n+\"AI\" herein refers to generative AI tools like large language models (LLMs)\n+that can generate, edit, and review software code, create and manipulate\n+images, or generate human-like communication.\n+\n+This policy applies to contributions from the wider community. Automated\n+processes operated by the earthaccess maintainer team (for example, dependency\n+updates and other repository automations) run under separate maintainer\n+oversight and are not governed by the requirements below.\n+\n+## Responsibility\n+\n+You are responsible for any code you submit to earthaccess's repositories, regardless\n+of whether it was manually written or generated by AI. You must understand and be able\n+to explain both the code you submit and the existing related code; submitting a patch\n+you cannot explain yourself is not acceptable.\n+The explanation must be yours, though you may use AI to translate or copy-edit it.\n+\n+### No autonomous AI agent contributions\n+\n+The use of an AI agent that writes code and then submits a pull request\n+autonomously is not permitted. A human must check any generated code and open\n+the pull request themselves.\n+\n+## Disclosure\n+\n+You must disclose whether AI was used in developing your pull request. The pull\n+request template includes a disclosure checkbox; complete it for every pull request,\n+including those where no AI tools were used. If AI was used, document which tool(s)\n+and version(s), how they were used, and what code or text is AI generated. We will\n+ask you to complete the disclosure before review.\n+\n+Disclosure helps reviewers give your contribution appropriate attention, and keeps\n+review transparent.",
      "tags": [
        {
          "raw": "#rationale/social-and-ethical",
          "namespace": "rationale",
          "value": "social-and-ethical",
          "dimension": "stated_rationale",
          "dimension_label": "Stated rationale",
          "kind": "value",
          "value_label": "Social and ethical (trust, transparency, community norms)",
          "display": "Stated rationale: Social and ethical (trust, transparency, community norms)",
          "filter_key": "stated_rationale:social-and-ethical"
        }
      ],
      "tag_strings": [
        "#rationale/social-and-ethical"
      ],
      "displays": [
        "Stated rationale: Social and ethical (trust, transparency, community norms)"
      ],
      "filter_keys": [
        "stated_rationale:social-and-ethical"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stated_rationale": [
          {
            "value": "social-and-ethical",
            "filter_key": "stated_rationale:social-and-ethical",
            "display": "Stated rationale: Social and ethical (trust, transparency, community norms)"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 48,
      "line": 49,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544226034",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:07:54Z",
      "updated_at": "2026-11-11T23:07:54Z"
    },
    {
      "id": 4544243719,
      "body": "#rationale/licensing-and-copyright",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you\nsubmit, stay in the conversation after you open a pull request, and don't let an AI\nagent open one on its own.**\n\n## Scope\n\n\"AI\" herein refers to generative AI tools like large language models (LLMs)\nthat can generate, edit, and review software code, create and manipulate\nimages, or generate human-like communication.\n\nThis policy applies to contributions from the wider community. Automated\nprocesses operated by the earthaccess maintainer team (for example, dependency\nupdates and other repository automations) run under separate maintainer\noversight and are not governed by the requirements below.\n\n## Responsibility\n\nYou are responsible for any code you submit to earthaccess's repositories, regardless\nof whether it was manually written or generated by AI. You must understand and be able\nto explain both the code you submit and the existing related code; submitting a patch\nyou cannot explain yourself is not acceptable.\nThe explanation must be yours, though you may use AI to translate or copy-edit it.\n\n### No autonomous AI agent contributions\n\nThe use of an AI agent that writes code and then submits a pull request\nautonomously is not permitted. A human must check any generated code and open\nthe pull request themselves.\n\n## Disclosure\n\nYou must disclose whether AI was used in developing your pull request. The pull\nrequest template includes a disclosure checkbox; complete it for every pull request,\nincluding those where no AI tools were used. If AI was used, document which tool(s)\nand version(s), how they were used, and what code or text is AI generated. We will\nask you to complete the disclosure before review.\n\nDisclosure helps reviewers give your contribution appropriate attention, and keeps\nreview transparent.\n\n## Engagement\n\nOur [code of conduct](code-of-conduct.md) guarantees you a respectful review whatever\nyou submit. Depth of engagement (mentoring, design discussion, patient iteration) is\nreciprocal, and we will politely decline it when a pull request's author doesn't\nrespond to questions about their change. Failing CI, missing tests, and asking for help are never reasons\nto close a pull request; an unanswered \"can you explain this change?\" is.\n\n## Copyright\n\nAll code in earthaccess is released under the MIT license.\nContributors to earthaccess license their code under the same license when it is\nincluded into earthaccess's version control repository. That means contributors must\nown the copyright of any code submitted to earthaccess or must include the\nMIT-compatible open source license(s) associated with the submitted code",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you\n+submit, stay in the conversation after you open a pull request, and don't let an AI\n+agent open one on its own.**\n+\n+## Scope\n+\n+\"AI\" herein refers to generative AI tools like large language models (LLMs)\n+that can generate, edit, and review software code, create and manipulate\n+images, or generate human-like communication.\n+\n+This policy applies to contributions from the wider community. Automated\n+processes operated by the earthaccess maintainer team (for example, dependency\n+updates and other repository automations) run under separate maintainer\n+oversight and are not governed by the requirements below.\n+\n+## Responsibility\n+\n+You are responsible for any code you submit to earthaccess's repositories, regardless\n+of whether it was manually written or generated by AI. You must understand and be able\n+to explain both the code you submit and the existing related code; submitting a patch\n+you cannot explain yourself is not acceptable.\n+The explanation must be yours, though you may use AI to translate or copy-edit it.\n+\n+### No autonomous AI agent contributions\n+\n+The use of an AI agent that writes code and then submits a pull request\n+autonomously is not permitted. A human must check any generated code and open\n+the pull request themselves.\n+\n+## Disclosure\n+\n+You must disclose whether AI was used in developing your pull request. The pull\n+request template includes a disclosure checkbox; complete it for every pull request,\n+including those where no AI tools were used. If AI was used, document which tool(s)\n+and version(s), how they were used, and what code or text is AI generated. We will\n+ask you to complete the disclosure before review.\n+\n+Disclosure helps reviewers give your contribution appropriate attention, and keeps\n+review transparent.\n+\n+## Engagement\n+\n+Our [code of conduct](code-of-conduct.md) guarantees you a respectful review whatever\n+you submit. Depth of engagement (mentoring, design discussion, patient iteration) is\n+reciprocal, and we will politely decline it when a pull request's author doesn't\n+respond to questions about their change. Failing CI, missing tests, and asking for help are never reasons\n+to close a pull request; an unanswered \"can you explain this change?\" is.\n+\n+## Copyright\n+\n+All code in earthaccess is released under the MIT license.\n+Contributors to earthaccess license their code under the same license when it is\n+included into earthaccess's version control repository. That means contributors must\n+own the copyright of any code submitted to earthaccess or must include the\n+MIT-compatible open source license(s) associated with the submitted code",
      "tags": [
        {
          "raw": "#rationale/licensing-and-copyright",
          "namespace": "rationale",
          "value": "licensing-and-copyright",
          "dimension": "stated_rationale",
          "dimension_label": "Stated rationale",
          "kind": "value",
          "value_label": "Licensing and copyright",
          "display": "Stated rationale: Licensing and copyright",
          "filter_key": "stated_rationale:licensing-and-copyright"
        }
      ],
      "tag_strings": [
        "#rationale/licensing-and-copyright"
      ],
      "displays": [
        "Stated rationale: Licensing and copyright"
      ],
      "filter_keys": [
        "stated_rationale:licensing-and-copyright"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stated_rationale": [
          {
            "value": "licensing-and-copyright",
            "filter_key": "stated_rationale:licensing-and-copyright",
            "display": "Stated rationale: Licensing and copyright"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 63,
      "line": 65,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544243719",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:10:15Z",
      "updated_at": "2026-11-11T23:10:15Z"
    },
    {
      "id": 4544247661,
      "body": "#enforcement/pr-closed",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you\nsubmit, stay in the conversation after you open a pull request, and don't let an AI\nagent open one on its own.**\n\n## Scope\n\n\"AI\" herein refers to generative AI tools like large language models (LLMs)\nthat can generate, edit, and review software code, create and manipulate\nimages, or generate human-like communication.\n\nThis policy applies to contributions from the wider community. Automated\nprocesses operated by the earthaccess maintainer team (for example, dependency\nupdates and other repository automations) run under separate maintainer\noversight and are not governed by the requirements below.\n\n## Responsibility\n\nYou are responsible for any code you submit to earthaccess's repositories, regardless\nof whether it was manually written or generated by AI. You must understand and be able\nto explain both the code you submit and the existing related code; submitting a patch\nyou cannot explain yourself is not acceptable.\nThe explanation must be yours, though you may use AI to translate or copy-edit it.\n\n### No autonomous AI agent contributions\n\nThe use of an AI agent that writes code and then submits a pull request\nautonomously is not permitted. A human must check any generated code and open\nthe pull request themselves.\n\n## Disclosure\n\nYou must disclose whether AI was used in developing your pull request. The pull\nrequest template includes a disclosure checkbox; complete it for every pull request,\nincluding those where no AI tools were used. If AI was used, document which tool(s)\nand version(s), how they were used, and what code or text is AI generated. We will\nask you to complete the disclosure before review.\n\nDisclosure helps reviewers give your contribution appropriate attention, and keeps\nreview transparent.\n\n## Engagement\n\nOur [code of conduct](code-of-conduct.md) guarantees you a respectful review whatever\nyou submit. Depth of engagement (mentoring, design discussion, patient iteration) is\nreciprocal, and we will politely decline it when a pull request's author doesn't\nrespond to questions about their change. Failing CI, missing tests, and asking for help are never reasons\nto close a pull request; an unanswered \"can you explain this change?\" is.\n\n## Copyright\n\nAll code in earthaccess is released under the MIT license.\nContributors to earthaccess license their code under the same license when it is\nincluded into earthaccess's version control repository. That means contributors must\nown the copyright of any code submitted to earthaccess or must include the\nMIT-compatible open source license(s) associated with the submitted code\nin the patch. Code generated by AI may infringe on copyright and it is the\nsubmitter's responsibility to not infringe. We reserve the right to reject any pull\nrequests, AI generated or not, where the copyright is in question.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you\n+submit, stay in the conversation after you open a pull request, and don't let an AI\n+agent open one on its own.**\n+\n+## Scope\n+\n+\"AI\" herein refers to generative AI tools like large language models (LLMs)\n+that can generate, edit, and review software code, create and manipulate\n+images, or generate human-like communication.\n+\n+This policy applies to contributions from the wider community. Automated\n+processes operated by the earthaccess maintainer team (for example, dependency\n+updates and other repository automations) run under separate maintainer\n+oversight and are not governed by the requirements below.\n+\n+## Responsibility\n+\n+You are responsible for any code you submit to earthaccess's repositories, regardless\n+of whether it was manually written or generated by AI. You must understand and be able\n+to explain both the code you submit and the existing related code; submitting a patch\n+you cannot explain yourself is not acceptable.\n+The explanation must be yours, though you may use AI to translate or copy-edit it.\n+\n+### No autonomous AI agent contributions\n+\n+The use of an AI agent that writes code and then submits a pull request\n+autonomously is not permitted. A human must check any generated code and open\n+the pull request themselves.\n+\n+## Disclosure\n+\n+You must disclose whether AI was used in developing your pull request. The pull\n+request template includes a disclosure checkbox; complete it for every pull request,\n+including those where no AI tools were used. If AI was used, document which tool(s)\n+and version(s), how they were used, and what code or text is AI generated. We will\n+ask you to complete the disclosure before review.\n+\n+Disclosure helps reviewers give your contribution appropriate attention, and keeps\n+review transparent.\n+\n+## Engagement\n+\n+Our [code of conduct](code-of-conduct.md) guarantees you a respectful review whatever\n+you submit. Depth of engagement (mentoring, design discussion, patient iteration) is\n+reciprocal, and we will politely decline it when a pull request's author doesn't\n+respond to questions about their change. Failing CI, missing tests, and asking for help are never reasons\n+to close a pull request; an unanswered \"can you explain this change?\" is.\n+\n+## Copyright\n+\n+All code in earthaccess is released under the MIT license.\n+Contributors to earthaccess license their code under the same license when it is\n+included into earthaccess's version control repository. That means contributors must\n+own the copyright of any code submitted to earthaccess or must include the\n+MIT-compatible open source license(s) associated with the submitted code\n+in the patch. Code generated by AI may infringe on copyright and it is the\n+submitter's responsibility to not infringe. We reserve the right to reject any pull\n+requests, AI generated or not, where the copyright is in question.",
      "tags": [
        {
          "raw": "#enforcement/pr-closed",
          "namespace": "enforcement",
          "value": "pr-closed",
          "dimension": "enforcement",
          "dimension_label": "Enforcement",
          "kind": "value",
          "value_label": "PR closed",
          "display": "Enforcement: PR closed",
          "filter_key": "enforcement:pr-closed"
        }
      ],
      "tag_strings": [
        "#enforcement/pr-closed"
      ],
      "displays": [
        "Enforcement: PR closed"
      ],
      "filter_keys": [
        "enforcement:pr-closed"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "enforcement": [
          {
            "value": "pr-closed",
            "filter_key": "enforcement:pr-closed",
            "display": "Enforcement: PR closed"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 67,
      "line": 68,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544247661",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:10:46Z",
      "updated_at": "2026-11-11T23:10:46Z"
    },
    {
      "id": 4544273489,
      "body": "#rationale/social-and-ethical",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you\nsubmit, stay in the conversation after you open a pull request, and don't let an AI\nagent open one on its own.**\n\n## Scope\n\n\"AI\" herein refers to generative AI tools like large language models (LLMs)\nthat can generate, edit, and review software code, create and manipulate\nimages, or generate human-like communication.\n\nThis policy applies to contributions from the wider community. Automated\nprocesses operated by the earthaccess maintainer team (for example, dependency\nupdates and other repository automations) run under separate maintainer\noversight and are not governed by the requirements below.\n\n## Responsibility\n\nYou are responsible for any code you submit to earthaccess's repositories, regardless\nof whether it was manually written or generated by AI. You must understand and be able\nto explain both the code you submit and the existing related code; submitting a patch\nyou cannot explain yourself is not acceptable.\nThe explanation must be yours, though you may use AI to translate or copy-edit it.\n\n### No autonomous AI agent contributions\n\nThe use of an AI agent that writes code and then submits a pull request\nautonomously is not permitted. A human must check any generated code and open\nthe pull request themselves.\n\n## Disclosure\n\nYou must disclose whether AI was used in developing your pull request. The pull\nrequest template includes a disclosure checkbox; complete it for every pull request,\nincluding those where no AI tools were used. If AI was used, document which tool(s)\nand version(s), how they were used, and what code or text is AI generated. We will\nask you to complete the disclosure before review.\n\nDisclosure helps reviewers give your contribution appropriate attention, and keeps\nreview transparent.\n\n## Engagement\n\nOur [code of conduct](code-of-conduct.md) guarantees you a respectful review whatever\nyou submit. Depth of engagement (mentoring, design discussion, patient iteration) is\nreciprocal, and we will politely decline it when a pull request's author doesn't\nrespond to questions about their change. Failing CI, missing tests, and asking for help are never reasons\nto close a pull request; an unanswered \"can you explain this change?\" is.\n\n## Copyright\n\nAll code in earthaccess is released under the MIT license.\nContributors to earthaccess license their code under the same license when it is\nincluded into earthaccess's version control repository. That means contributors must\nown the copyright of any code submitted to earthaccess or must include the\nMIT-compatible open source license(s) associated with the submitted code\nin the patch. Code generated by AI may infringe on copyright and it is the\nsubmitter's responsibility to not infringe. We reserve the right to reject any pull\nrequests, AI generated or not, where the copyright is in question.\n\n## Communication\n\nWhen interacting with developers (forum, discussions,\nissues, pull requests, etc.) do not use AI to speak for you, except for\ntranslation or grammar editing. The conversation is where understanding and\nrelationships come from.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you\n+submit, stay in the conversation after you open a pull request, and don't let an AI\n+agent open one on its own.**\n+\n+## Scope\n+\n+\"AI\" herein refers to generative AI tools like large language models (LLMs)\n+that can generate, edit, and review software code, create and manipulate\n+images, or generate human-like communication.\n+\n+This policy applies to contributions from the wider community. Automated\n+processes operated by the earthaccess maintainer team (for example, dependency\n+updates and other repository automations) run under separate maintainer\n+oversight and are not governed by the requirements below.\n+\n+## Responsibility\n+\n+You are responsible for any code you submit to earthaccess's repositories, regardless\n+of whether it was manually written or generated by AI. You must understand and be able\n+to explain both the code you submit and the existing related code; submitting a patch\n+you cannot explain yourself is not acceptable.\n+The explanation must be yours, though you may use AI to translate or copy-edit it.\n+\n+### No autonomous AI agent contributions\n+\n+The use of an AI agent that writes code and then submits a pull request\n+autonomously is not permitted. A human must check any generated code and open\n+the pull request themselves.\n+\n+## Disclosure\n+\n+You must disclose whether AI was used in developing your pull request. The pull\n+request template includes a disclosure checkbox; complete it for every pull request,\n+including those where no AI tools were used. If AI was used, document which tool(s)\n+and version(s), how they were used, and what code or text is AI generated. We will\n+ask you to complete the disclosure before review.\n+\n+Disclosure helps reviewers give your contribution appropriate attention, and keeps\n+review transparent.\n+\n+## Engagement\n+\n+Our [code of conduct](code-of-conduct.md) guarantees you a respectful review whatever\n+you submit. Depth of engagement (mentoring, design discussion, patient iteration) is\n+reciprocal, and we will politely decline it when a pull request's author doesn't\n+respond to questions about their change. Failing CI, missing tests, and asking for help are never reasons\n+to close a pull request; an unanswered \"can you explain this change?\" is.\n+\n+## Copyright\n+\n+All code in earthaccess is released under the MIT license.\n+Contributors to earthaccess license their code under the same license when it is\n+included into earthaccess's version control repository. That means contributors must\n+own the copyright of any code submitted to earthaccess or must include the\n+MIT-compatible open source license(s) associated with the submitted code\n+in the patch. Code generated by AI may infringe on copyright and it is the\n+submitter's responsibility to not infringe. We reserve the right to reject any pull\n+requests, AI generated or not, where the copyright is in question.\n+\n+## Communication\n+\n+When interacting with developers (forum, discussions,\n+issues, pull requests, etc.) do not use AI to speak for you, except for\n+translation or grammar editing. The conversation is where understanding and\n+relationships come from.",
      "tags": [
        {
          "raw": "#rationale/social-and-ethical",
          "namespace": "rationale",
          "value": "social-and-ethical",
          "dimension": "stated_rationale",
          "dimension_label": "Stated rationale",
          "kind": "value",
          "value_label": "Social and ethical (trust, transparency, community norms)",
          "display": "Stated rationale: Social and ethical (trust, transparency, community norms)",
          "filter_key": "stated_rationale:social-and-ethical"
        }
      ],
      "tag_strings": [
        "#rationale/social-and-ethical"
      ],
      "displays": [
        "Stated rationale: Social and ethical (trust, transparency, community norms)"
      ],
      "filter_keys": [
        "stated_rationale:social-and-ethical"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stated_rationale": [
          {
            "value": "social-and-ethical",
            "filter_key": "stated_rationale:social-and-ethical",
            "display": "Stated rationale: Social and ethical (trust, transparency, community norms)"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 73,
      "line": 75,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544273489",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:14:09Z",
      "updated_at": "2026-11-11T23:14:10Z"
    },
    {
      "id": 4544290938,
      "body": "#disclosure/required",
      "quote": "# Pull request guide\n\n\ud83e\udd29 Our community is so excited to collaborate with you!\n\nHowever, our maintainers are mostly volunteers.\nIn order to make the best use of their limited time, we ask that you follow this guide\nwhen opening a PR.\n\nWhen you open a PR, the description field will be auto-populated with a checklist and\nhelpful reminders \u2014 including where to ask for help.\nPlease read them carefully!\n\n!!! info \"We welcome contributions at every experience level\"\n\n    If you're not comfortable writing tests, setting up a local dev environment, or\n    debugging CI failures \u2014 **we still want your contribution!** Please open your PR\n    anyway and ask for help in a comment. A maintainer or community member will do\n    their best to work with you. Bug fixes and features do need tests before they can\n    be merged, but you don't have to write them alone.\n\n\n## Checklist\n\n### Start with a draft\n\nInstead of clicking \"Create pull request\", please click the dropdown arrow to the right\nof that button and select \"Create draft pull request\".\n\nIf you forget this step, you can \"convert to draft\" towards the top of the right side\npanel.\n\n\n### Review [contributing documentation](../index.md)\n\nIf you're new to our community, please ensure you're aware of how we organize\ncontributions.\n\n\n### Be descriptive\n\n* **Title**: For example, instead of `Updated README.md`, use `Add testing details to the\n  contributor section of the README`.\n  Example: [#763](https://github.com/earthaccess-dev/earthaccess/pull/763)\n* **Body**:\n    * Populate a clear description of the change you're proposing. What did you do, and\n      **why**?\n    * Link to any issues that describe the problem being solved.\n    * Links to any issues resolved by this PR with text in the PR description, for example\n      `closes #1`.\n      See more in [GitHub docs](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue).\n\n### Disclose AI tool usage\n\nComplete the AI disclosure checkbox on every PR; confirming that no AI tools were\nused is a valid answer. If you did use generative AI tools, note which tool(s) and\nversion(s), how you used them, and which parts are AI-generated. See our\n[AI policy](../ai-policy.md) for what we ask and why.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,126 @@\n+# Pull request guide\n+\n+\ud83e\udd29 Our community is so excited to collaborate with you!\n+\n+However, our maintainers are mostly volunteers.\n+In order to make the best use of their limited time, we ask that you follow this guide\n+when opening a PR.\n+\n+When you open a PR, the description field will be auto-populated with a checklist and\n+helpful reminders \u2014 including where to ask for help.\n+Please read them carefully!\n+\n+!!! info \"We welcome contributions at every experience level\"\n+\n+    If you're not comfortable writing tests, setting up a local dev environment, or\n+    debugging CI failures \u2014 **we still want your contribution!** Please open your PR\n+    anyway and ask for help in a comment. A maintainer or community member will do\n+    their best to work with you. Bug fixes and features do need tests before they can\n+    be merged, but you don't have to write them alone.\n+\n+\n+## Checklist\n+\n+### Start with a draft\n+\n+Instead of clicking \"Create pull request\", please click the dropdown arrow to the right\n+of that button and select \"Create draft pull request\".\n+\n+If you forget this step, you can \"convert to draft\" towards the top of the right side\n+panel.\n+\n+\n+### Review [contributing documentation](../index.md)\n+\n+If you're new to our community, please ensure you're aware of how we organize\n+contributions.\n+\n+\n+### Be descriptive\n+\n+* **Title**: For example, instead of `Updated README.md`, use `Add testing details to the\n+  contributor section of the README`.\n+  Example: [#763](https://github.com/earthaccess-dev/earthaccess/pull/763)\n+* **Body**:\n+    * Populate a clear description of the change you're proposing. What did you do, and\n+      **why**?\n+    * Link to any issues that describe the problem being solved.\n+    * Links to any issues resolved by this PR with text in the PR description, for example\n+      `closes #1`.\n+      See more in [GitHub docs](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue).\n+\n+### Disclose AI tool usage\n+\n+Complete the AI disclosure checkbox on every PR; confirming that no AI tools were\n+used is a valid answer. If you did use generative AI tools, note which tool(s) and\n+version(s), how you used them, and which parts are AI-generated. See our\n+[AI policy](../ai-policy.md) for what we ask and why.",
      "tags": [
        {
          "raw": "#disclosure/required",
          "namespace": "disclosure",
          "value": "required",
          "dimension": "disclosure",
          "dimension_label": "Disclosure",
          "kind": "value",
          "value_label": "Required",
          "display": "Disclosure: Required",
          "filter_key": "disclosure:required"
        }
      ],
      "tag_strings": [
        "#disclosure/required"
      ],
      "displays": [
        "Disclosure: Required"
      ],
      "filter_keys": [
        "disclosure:required"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "disclosure": [
          {
            "value": "required",
            "filter_key": "disclosure:required",
            "display": "Disclosure: Required"
          }
        ]
      },
      "path": "projects/earthaccess/pr-guide.md",
      "project": "earthaccess",
      "start_line": 54,
      "line": 57,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544290938",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:16:36Z",
      "updated_at": "2026-11-11T23:16:36Z"
    },
    {
      "id": 4544308253,
      "body": "#disclosure/required",
      "quote": "<!--\nIMPORTANT: Please open your PR in draft mode. Only mark it \"Ready for review\" after\ncompleting the \"Ready for review\" checklist.\n\nIf you read the guide and your question isn't answered, please ping `@earthaccess-dev/maintainers` in a comment!\n--->\n\n## Description\n\n<!--\nReplace this text, including the symbols above and below it, with descriptive text about\nthe change you are proposing. Please include a reference to any issues addressed or\nresolved in that text, for example \"resolves #1\".\n-->\n\n\n---\n\n#### AI usage disclosure\n\nUsing AI tools is welcome. Per our [AI Policy](https://earthaccess.readthedocs.io/en/latest/contributor/ai-policy/),\nwe just ask that you disclose any use of generative AI tools in this contribution.\n\n- [ ] I have disclosed AI tool usage below, or confirmed that no AI tools were used\n\n<!--\nIf you used AI tools, note which tool(s) and version(s) were used, how they were used, and which\nparts of this contribution are AI-generated.\n-->",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,51 @@\n+<!--\n+IMPORTANT: Please open your PR in draft mode. Only mark it \"Ready for review\" after\n+completing the \"Ready for review\" checklist.\n+\n+If you read the guide and your question isn't answered, please ping `@earthaccess-dev/maintainers` in a comment!\n+--->\n+\n+## Description\n+\n+<!--\n+Replace this text, including the symbols above and below it, with descriptive text about\n+the change you are proposing. Please include a reference to any issues addressed or\n+resolved in that text, for example \"resolves #1\".\n+-->\n+\n+\n+---\n+\n+#### AI usage disclosure\n+\n+Using AI tools is welcome. Per our [AI Policy](https://earthaccess.readthedocs.io/en/latest/contributor/ai-policy/),\n+we just ask that you disclose any use of generative AI tools in this contribution.\n+\n+- [ ] I have disclosed AI tool usage below, or confirmed that no AI tools were used\n+\n+<!--\n+If you used AI tools, note which tool(s) and version(s) were used, how they were used, and which\n+parts of this contribution are AI-generated.\n+-->",
      "tags": [
        {
          "raw": "#disclosure/required",
          "namespace": "disclosure",
          "value": "required",
          "dimension": "disclosure",
          "dimension_label": "Disclosure",
          "kind": "value",
          "value_label": "Required",
          "display": "Disclosure: Required",
          "filter_key": "disclosure:required"
        }
      ],
      "tag_strings": [
        "#disclosure/required"
      ],
      "displays": [
        "Disclosure: Required"
      ],
      "filter_keys": [
        "disclosure:required"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "disclosure": [
          {
            "value": "required",
            "filter_key": "disclosure:required",
            "display": "Disclosure: Required"
          }
        ]
      },
      "path": "projects/earthaccess/pull_request_template.md",
      "project": "earthaccess",
      "start_line": 19,
      "line": 29,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544308253",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:19:01Z",
      "updated_at": "2026-11-11T23:19:01Z"
    },
    {
      "id": 4544405473,
      "body": "Claude Opus 5.5 suggested: #rationale/maintainer-and-reviewer-burden\nbecause of \"more enjoyable to work on, not harder\".",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and",
      "tags": [
        {
          "raw": "#rationale/maintainer-and-reviewer-burden",
          "namespace": "rationale",
          "value": "maintainer-and-reviewer-burden",
          "dimension": "stated_rationale",
          "dimension_label": "Stated rationale",
          "kind": "value",
          "value_label": "Maintainer and reviewer burden",
          "display": "Stated rationale: Maintainer and reviewer burden",
          "filter_key": "stated_rationale:maintainer-and-reviewer-burden"
        }
      ],
      "tag_strings": [
        "#rationale/maintainer-and-reviewer-burden"
      ],
      "displays": [
        "Stated rationale: Maintainer and reviewer burden"
      ],
      "filter_keys": [
        "stated_rationale:maintainer-and-reviewer-burden"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stated_rationale": [
          {
            "value": "maintainer-and-reviewer-burden",
            "filter_key": "stated_rationale:maintainer-and-reviewer-burden",
            "display": "Stated rationale: Maintainer and reviewer burden"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 3,
      "line": 4,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544405473",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:32:59Z",
      "updated_at": "2026-11-11T23:32:59Z"
    },
    {
      "id": 4544411126,
      "body": "#rationale/contributor-learning-and-skill-development",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and",
      "tags": [
        {
          "raw": "#rationale/contributor-learning-and-skill-development",
          "namespace": "rationale",
          "value": "contributor-learning-and-skill-development",
          "dimension": "stated_rationale",
          "dimension_label": "Stated rationale",
          "kind": "value",
          "value_label": "Contributor learning and skill development",
          "display": "Stated rationale: Contributor learning and skill development",
          "filter_key": "stated_rationale:contributor-learning-and-skill-development"
        }
      ],
      "tag_strings": [
        "#rationale/contributor-learning-and-skill-development"
      ],
      "displays": [
        "Stated rationale: Contributor learning and skill development"
      ],
      "filter_keys": [
        "stated_rationale:contributor-learning-and-skill-development"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stated_rationale": [
          {
            "value": "contributor-learning-and-skill-development",
            "filter_key": "stated_rationale:contributor-learning-and-skill-development",
            "display": "Stated rationale: Contributor learning and skill development"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 3,
      "line": 4,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544411126",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:33:52Z",
      "updated_at": "2026-11-11T23:33:52Z"
    },
    {
      "id": 4544416463,
      "body": "Claude Opus 5.5 suggested: #scope/contribution-types-not-defined:restricted\nbecause of \"human-like communication\"",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you\nsubmit, stay in the conversation after you open a pull request, and don't let an AI\nagent open one on its own.**\n\n## Scope\n\n\"AI\" herein refers to generative AI tools like large language models (LLMs)\nthat can generate, edit, and review software code, create and manipulate\nimages, or generate human-like communication.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you\n+submit, stay in the conversation after you open a pull request, and don't let an AI\n+agent open one on its own.**\n+\n+## Scope\n+\n+\"AI\" herein refers to generative AI tools like large language models (LLMs)\n+that can generate, edit, and review software code, create and manipulate\n+images, or generate human-like communication.",
      "tags": [
        {
          "raw": "#scope/contribution-types-not-defined:restricted",
          "namespace": "scope",
          "value": "contribution-types-not-defined",
          "qualifier": "restricted",
          "dimension": "scope",
          "dimension_label": "Scope",
          "kind": "scope",
          "contribution_type": "contribution-types-not-defined",
          "contribution_type_label": "Contribution types not defined",
          "position": "restricted",
          "position_label": "Restricted",
          "value_label": "Contribution types not defined: Restricted",
          "display": "Scope: Contribution types not defined \u2192 Restricted",
          "filter_key": "scope:contribution-types-not-defined:restricted"
        }
      ],
      "tag_strings": [
        "#scope/contribution-types-not-defined:restricted"
      ],
      "displays": [
        "Scope: Contribution types not defined \u2192 Restricted"
      ],
      "filter_keys": [
        "scope:contribution-types-not-defined:restricted"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "scope": [
          {
            "contribution_type": "contribution-types-not-defined",
            "position": "restricted",
            "filter_key": "scope:contribution-types-not-defined:restricted",
            "display": "Scope: Contribution types not defined \u2192 Restricted"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 19,
      "line": 19,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544416463",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:34:43Z",
      "updated_at": "2026-11-11T23:34:43Z"
    },
    {
      "id": 4544423210,
      "body": "Claude Opus 5.5 suggested: #scope/code:allowed\n\nI would put in #scope/code:restricted instead",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you\nsubmit, stay in the conversation after you open a pull request, and don't let an AI\nagent open one on its own.**\n\n## Scope\n\n\"AI\" herein refers to generative AI tools like large language models (LLMs)\nthat can generate, edit, and review software code, create and manipulate\nimages, or generate human-like communication.\n\nThis policy applies to contributions from the wider community. Automated\nprocesses operated by the earthaccess maintainer team (for example, dependency\nupdates and other repository automations) run under separate maintainer\noversight and are not governed by the requirements below.\n\n## Responsibility\n\nYou are responsible for any code you submit to earthaccess's repositories, regardless",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you\n+submit, stay in the conversation after you open a pull request, and don't let an AI\n+agent open one on its own.**\n+\n+## Scope\n+\n+\"AI\" herein refers to generative AI tools like large language models (LLMs)\n+that can generate, edit, and review software code, create and manipulate\n+images, or generate human-like communication.\n+\n+This policy applies to contributions from the wider community. Automated\n+processes operated by the earthaccess maintainer team (for example, dependency\n+updates and other repository automations) run under separate maintainer\n+oversight and are not governed by the requirements below.\n+\n+## Responsibility\n+\n+You are responsible for any code you submit to earthaccess's repositories, regardless",
      "tags": [
        {
          "raw": "#scope/code:allowed",
          "namespace": "scope",
          "value": "code",
          "qualifier": "allowed",
          "dimension": "scope",
          "dimension_label": "Scope",
          "kind": "scope",
          "contribution_type": "code",
          "contribution_type_label": "Code",
          "position": "allowed",
          "position_label": "Allowed",
          "value_label": "Code: Allowed",
          "display": "Scope: Code \u2192 Allowed",
          "filter_key": "scope:code:allowed"
        },
        {
          "raw": "#scope/code:restricted",
          "namespace": "scope",
          "value": "code",
          "qualifier": "restricted",
          "dimension": "scope",
          "dimension_label": "Scope",
          "kind": "scope",
          "contribution_type": "code",
          "contribution_type_label": "Code",
          "position": "restricted",
          "position_label": "Restricted",
          "value_label": "Code: Restricted",
          "display": "Scope: Code \u2192 Restricted",
          "filter_key": "scope:code:restricted"
        }
      ],
      "tag_strings": [
        "#scope/code:allowed",
        "#scope/code:restricted"
      ],
      "displays": [
        "Scope: Code \u2192 Allowed",
        "Scope: Code \u2192 Restricted"
      ],
      "filter_keys": [
        "scope:code:allowed",
        "scope:code:restricted"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "scope": [
          {
            "contribution_type": "code",
            "position": "allowed",
            "filter_key": "scope:code:allowed",
            "display": "Scope: Code \u2192 Allowed"
          },
          {
            "contribution_type": "code",
            "position": "restricted",
            "filter_key": "scope:code:restricted",
            "display": "Scope: Code \u2192 Restricted"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 28,
      "line": 28,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544423210",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:35:45Z",
      "updated_at": "2026-11-11T23:37:48Z"
    },
    {
      "id": 4544436098,
      "body": "Claude Opus 5.5 suggested: #guidance-level/some-guidance",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you\nsubmit, stay in the conversation after you open a pull request, and don't let an AI\nagent open one on its own.**\n\n## Scope\n\n\"AI\" herein refers to generative AI tools like large language models (LLMs)\nthat can generate, edit, and review software code, create and manipulate\nimages, or generate human-like communication.\n\nThis policy applies to contributions from the wider community. Automated\nprocesses operated by the earthaccess maintainer team (for example, dependency\nupdates and other repository automations) run under separate maintainer\noversight and are not governed by the requirements below.\n\n## Responsibility\n\nYou are responsible for any code you submit to earthaccess's repositories, regardless\nof whether it was manually written or generated by AI. You must understand and be able\nto explain both the code you submit and the existing related code; submitting a patch\nyou cannot explain yourself is not acceptable.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you\n+submit, stay in the conversation after you open a pull request, and don't let an AI\n+agent open one on its own.**\n+\n+## Scope\n+\n+\"AI\" herein refers to generative AI tools like large language models (LLMs)\n+that can generate, edit, and review software code, create and manipulate\n+images, or generate human-like communication.\n+\n+This policy applies to contributions from the wider community. Automated\n+processes operated by the earthaccess maintainer team (for example, dependency\n+updates and other repository automations) run under separate maintainer\n+oversight and are not governed by the requirements below.\n+\n+## Responsibility\n+\n+You are responsible for any code you submit to earthaccess's repositories, regardless\n+of whether it was manually written or generated by AI. You must understand and be able\n+to explain both the code you submit and the existing related code; submitting a patch\n+you cannot explain yourself is not acceptable.",
      "tags": [
        {
          "raw": "#guidance-level/some-guidance",
          "namespace": "guidance-level",
          "value": "some-guidance",
          "dimension": "guidance_level",
          "dimension_label": "Guidance level",
          "kind": "value",
          "value_label": "Some guidance",
          "display": "Guidance level: Some guidance",
          "filter_key": "guidance_level:some-guidance"
        }
      ],
      "tag_strings": [
        "#guidance-level/some-guidance"
      ],
      "displays": [
        "Guidance level: Some guidance"
      ],
      "filter_keys": [
        "guidance_level:some-guidance"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "guidance_level": [
          {
            "value": "some-guidance",
            "filter_key": "guidance_level:some-guidance",
            "display": "Guidance level: Some guidance"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 29,
      "line": 31,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544436098",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:37:41Z",
      "updated_at": "2026-11-11T23:37:41Z"
    },
    {
      "id": 4544441025,
      "body": "Claude Opus 5.5 suggested: #scope/issues-and-pr-descriptions:restricted\nbecause of \"\"The explanation must be yours...\"",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you\nsubmit, stay in the conversation after you open a pull request, and don't let an AI\nagent open one on its own.**\n\n## Scope\n\n\"AI\" herein refers to generative AI tools like large language models (LLMs)\nthat can generate, edit, and review software code, create and manipulate\nimages, or generate human-like communication.\n\nThis policy applies to contributions from the wider community. Automated\nprocesses operated by the earthaccess maintainer team (for example, dependency\nupdates and other repository automations) run under separate maintainer\noversight and are not governed by the requirements below.\n\n## Responsibility\n\nYou are responsible for any code you submit to earthaccess's repositories, regardless\nof whether it was manually written or generated by AI. You must understand and be able\nto explain both the code you submit and the existing related code; submitting a patch\nyou cannot explain yourself is not acceptable.\nThe explanation must be yours, though you may use AI to translate or copy-edit it.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you\n+submit, stay in the conversation after you open a pull request, and don't let an AI\n+agent open one on its own.**\n+\n+## Scope\n+\n+\"AI\" herein refers to generative AI tools like large language models (LLMs)\n+that can generate, edit, and review software code, create and manipulate\n+images, or generate human-like communication.\n+\n+This policy applies to contributions from the wider community. Automated\n+processes operated by the earthaccess maintainer team (for example, dependency\n+updates and other repository automations) run under separate maintainer\n+oversight and are not governed by the requirements below.\n+\n+## Responsibility\n+\n+You are responsible for any code you submit to earthaccess's repositories, regardless\n+of whether it was manually written or generated by AI. You must understand and be able\n+to explain both the code you submit and the existing related code; submitting a patch\n+you cannot explain yourself is not acceptable.\n+The explanation must be yours, though you may use AI to translate or copy-edit it.",
      "tags": [
        {
          "raw": "#scope/issues-and-pr-descriptions:restricted",
          "namespace": "scope",
          "value": "issues-and-pr-descriptions",
          "qualifier": "restricted",
          "dimension": "scope",
          "dimension_label": "Scope",
          "kind": "scope",
          "contribution_type": "issues-and-pr-descriptions",
          "contribution_type_label": "Issues and PR descriptions",
          "position": "restricted",
          "position_label": "Restricted",
          "value_label": "Issues and PR descriptions: Restricted",
          "display": "Scope: Issues and PR descriptions \u2192 Restricted",
          "filter_key": "scope:issues-and-pr-descriptions:restricted"
        }
      ],
      "tag_strings": [
        "#scope/issues-and-pr-descriptions:restricted"
      ],
      "displays": [
        "Scope: Issues and PR descriptions \u2192 Restricted"
      ],
      "filter_keys": [
        "scope:issues-and-pr-descriptions:restricted"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "scope": [
          {
            "contribution_type": "issues-and-pr-descriptions",
            "position": "restricted",
            "filter_key": "scope:issues-and-pr-descriptions:restricted",
            "display": "Scope: Issues and PR descriptions \u2192 Restricted"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 32,
      "line": 32,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544441025",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:38:28Z",
      "updated_at": "2026-11-11T23:38:28Z"
    },
    {
      "id": 4544445357,
      "body": "Claude Opus 5.5 suggested: #guidance/evaluation #human-responsibility/yes",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you\nsubmit, stay in the conversation after you open a pull request, and don't let an AI\nagent open one on its own.**\n\n## Scope\n\n\"AI\" herein refers to generative AI tools like large language models (LLMs)\nthat can generate, edit, and review software code, create and manipulate\nimages, or generate human-like communication.\n\nThis policy applies to contributions from the wider community. Automated\nprocesses operated by the earthaccess maintainer team (for example, dependency\nupdates and other repository automations) run under separate maintainer\noversight and are not governed by the requirements below.\n\n## Responsibility\n\nYou are responsible for any code you submit to earthaccess's repositories, regardless\nof whether it was manually written or generated by AI. You must understand and be able\nto explain both the code you submit and the existing related code; submitting a patch\nyou cannot explain yourself is not acceptable.\nThe explanation must be yours, though you may use AI to translate or copy-edit it.\n\n### No autonomous AI agent contributions\n\nThe use of an AI agent that writes code and then submits a pull request\nautonomously is not permitted. A human must check any generated code and open\nthe pull request themselves.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you\n+submit, stay in the conversation after you open a pull request, and don't let an AI\n+agent open one on its own.**\n+\n+## Scope\n+\n+\"AI\" herein refers to generative AI tools like large language models (LLMs)\n+that can generate, edit, and review software code, create and manipulate\n+images, or generate human-like communication.\n+\n+This policy applies to contributions from the wider community. Automated\n+processes operated by the earthaccess maintainer team (for example, dependency\n+updates and other repository automations) run under separate maintainer\n+oversight and are not governed by the requirements below.\n+\n+## Responsibility\n+\n+You are responsible for any code you submit to earthaccess's repositories, regardless\n+of whether it was manually written or generated by AI. You must understand and be able\n+to explain both the code you submit and the existing related code; submitting a patch\n+you cannot explain yourself is not acceptable.\n+The explanation must be yours, though you may use AI to translate or copy-edit it.\n+\n+### No autonomous AI agent contributions\n+\n+The use of an AI agent that writes code and then submits a pull request\n+autonomously is not permitted. A human must check any generated code and open\n+the pull request themselves.",
      "tags": [
        {
          "raw": "#guidance/evaluation",
          "namespace": "guidance",
          "value": "evaluation",
          "dimension": "guidance_type",
          "dimension_label": "Guidance type",
          "kind": "value",
          "value_label": "Evaluation (understand, test, and explain output)",
          "display": "Guidance type: Evaluation (understand, test, and explain output)",
          "filter_key": "guidance_type:evaluation"
        },
        {
          "raw": "#human-responsibility/yes",
          "namespace": "human-responsibility",
          "value": "yes",
          "dimension": "human_responsibility",
          "dimension_label": "Human responsibility",
          "kind": "value",
          "value_label": "Yes \u2014 contributor is responsible for submitted work",
          "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work",
          "filter_key": "human_responsibility:yes"
        }
      ],
      "tag_strings": [
        "#guidance/evaluation",
        "#human-responsibility/yes"
      ],
      "displays": [
        "Guidance type: Evaluation (understand, test, and explain output)",
        "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
      ],
      "filter_keys": [
        "guidance_type:evaluation",
        "human_responsibility:yes"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "guidance_type": [
          {
            "value": "evaluation",
            "filter_key": "guidance_type:evaluation",
            "display": "Guidance type: Evaluation (understand, test, and explain output)"
          }
        ],
        "human_responsibility": [
          {
            "value": "yes",
            "filter_key": "human_responsibility:yes",
            "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 37,
      "line": 38,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544445357",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:39:09Z",
      "updated_at": "2026-11-11T23:39:34Z"
    },
    {
      "id": 4544451937,
      "body": "Claude Opus 5.5 suggested: #enforcement/other\nbecause of \"We will ask you to complete...\"",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you\nsubmit, stay in the conversation after you open a pull request, and don't let an AI\nagent open one on its own.**\n\n## Scope\n\n\"AI\" herein refers to generative AI tools like large language models (LLMs)\nthat can generate, edit, and review software code, create and manipulate\nimages, or generate human-like communication.\n\nThis policy applies to contributions from the wider community. Automated\nprocesses operated by the earthaccess maintainer team (for example, dependency\nupdates and other repository automations) run under separate maintainer\noversight and are not governed by the requirements below.\n\n## Responsibility\n\nYou are responsible for any code you submit to earthaccess's repositories, regardless\nof whether it was manually written or generated by AI. You must understand and be able\nto explain both the code you submit and the existing related code; submitting a patch\nyou cannot explain yourself is not acceptable.\nThe explanation must be yours, though you may use AI to translate or copy-edit it.\n\n### No autonomous AI agent contributions\n\nThe use of an AI agent that writes code and then submits a pull request\nautonomously is not permitted. A human must check any generated code and open\nthe pull request themselves.\n\n## Disclosure\n\nYou must disclose whether AI was used in developing your pull request. The pull\nrequest template includes a disclosure checkbox; complete it for every pull request,\nincluding those where no AI tools were used. If AI was used, document which tool(s)\nand version(s), how they were used, and what code or text is AI generated. We will\nask you to complete the disclosure before review.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you\n+submit, stay in the conversation after you open a pull request, and don't let an AI\n+agent open one on its own.**\n+\n+## Scope\n+\n+\"AI\" herein refers to generative AI tools like large language models (LLMs)\n+that can generate, edit, and review software code, create and manipulate\n+images, or generate human-like communication.\n+\n+This policy applies to contributions from the wider community. Automated\n+processes operated by the earthaccess maintainer team (for example, dependency\n+updates and other repository automations) run under separate maintainer\n+oversight and are not governed by the requirements below.\n+\n+## Responsibility\n+\n+You are responsible for any code you submit to earthaccess's repositories, regardless\n+of whether it was manually written or generated by AI. You must understand and be able\n+to explain both the code you submit and the existing related code; submitting a patch\n+you cannot explain yourself is not acceptable.\n+The explanation must be yours, though you may use AI to translate or copy-edit it.\n+\n+### No autonomous AI agent contributions\n+\n+The use of an AI agent that writes code and then submits a pull request\n+autonomously is not permitted. A human must check any generated code and open\n+the pull request themselves.\n+\n+## Disclosure\n+\n+You must disclose whether AI was used in developing your pull request. The pull\n+request template includes a disclosure checkbox; complete it for every pull request,\n+including those where no AI tools were used. If AI was used, document which tool(s)\n+and version(s), how they were used, and what code or text is AI generated. We will\n+ask you to complete the disclosure before review.",
      "tags": [
        {
          "raw": "#enforcement/other",
          "namespace": "enforcement",
          "value": "other",
          "dimension": "enforcement",
          "dimension_label": "Enforcement",
          "kind": "value",
          "value_label": "Other",
          "display": "Enforcement: Other",
          "filter_key": "enforcement:other"
        }
      ],
      "tag_strings": [
        "#enforcement/other"
      ],
      "displays": [
        "Enforcement: Other"
      ],
      "filter_keys": [
        "enforcement:other"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "enforcement": [
          {
            "value": "other",
            "filter_key": "enforcement:other",
            "display": "Enforcement: Other"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 45,
      "line": 46,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544451937",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:40:10Z",
      "updated_at": "2026-11-11T23:40:10Z"
    },
    {
      "id": 4544457866,
      "body": "Claude Opus 5.5 suggested: #rationale/maintainer-and-reviewer-burden\nbecause \"helps reviewers give your contribution\"",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you\nsubmit, stay in the conversation after you open a pull request, and don't let an AI\nagent open one on its own.**\n\n## Scope\n\n\"AI\" herein refers to generative AI tools like large language models (LLMs)\nthat can generate, edit, and review software code, create and manipulate\nimages, or generate human-like communication.\n\nThis policy applies to contributions from the wider community. Automated\nprocesses operated by the earthaccess maintainer team (for example, dependency\nupdates and other repository automations) run under separate maintainer\noversight and are not governed by the requirements below.\n\n## Responsibility\n\nYou are responsible for any code you submit to earthaccess's repositories, regardless\nof whether it was manually written or generated by AI. You must understand and be able\nto explain both the code you submit and the existing related code; submitting a patch\nyou cannot explain yourself is not acceptable.\nThe explanation must be yours, though you may use AI to translate or copy-edit it.\n\n### No autonomous AI agent contributions\n\nThe use of an AI agent that writes code and then submits a pull request\nautonomously is not permitted. A human must check any generated code and open\nthe pull request themselves.\n\n## Disclosure\n\nYou must disclose whether AI was used in developing your pull request. The pull\nrequest template includes a disclosure checkbox; complete it for every pull request,\nincluding those where no AI tools were used. If AI was used, document which tool(s)\nand version(s), how they were used, and what code or text is AI generated. We will\nask you to complete the disclosure before review.\n\nDisclosure helps reviewers give your contribution appropriate attention, and keeps\nreview transparent.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you\n+submit, stay in the conversation after you open a pull request, and don't let an AI\n+agent open one on its own.**\n+\n+## Scope\n+\n+\"AI\" herein refers to generative AI tools like large language models (LLMs)\n+that can generate, edit, and review software code, create and manipulate\n+images, or generate human-like communication.\n+\n+This policy applies to contributions from the wider community. Automated\n+processes operated by the earthaccess maintainer team (for example, dependency\n+updates and other repository automations) run under separate maintainer\n+oversight and are not governed by the requirements below.\n+\n+## Responsibility\n+\n+You are responsible for any code you submit to earthaccess's repositories, regardless\n+of whether it was manually written or generated by AI. You must understand and be able\n+to explain both the code you submit and the existing related code; submitting a patch\n+you cannot explain yourself is not acceptable.\n+The explanation must be yours, though you may use AI to translate or copy-edit it.\n+\n+### No autonomous AI agent contributions\n+\n+The use of an AI agent that writes code and then submits a pull request\n+autonomously is not permitted. A human must check any generated code and open\n+the pull request themselves.\n+\n+## Disclosure\n+\n+You must disclose whether AI was used in developing your pull request. The pull\n+request template includes a disclosure checkbox; complete it for every pull request,\n+including those where no AI tools were used. If AI was used, document which tool(s)\n+and version(s), how they were used, and what code or text is AI generated. We will\n+ask you to complete the disclosure before review.\n+\n+Disclosure helps reviewers give your contribution appropriate attention, and keeps\n+review transparent.",
      "tags": [
        {
          "raw": "#rationale/maintainer-and-reviewer-burden",
          "namespace": "rationale",
          "value": "maintainer-and-reviewer-burden",
          "dimension": "stated_rationale",
          "dimension_label": "Stated rationale",
          "kind": "value",
          "value_label": "Maintainer and reviewer burden",
          "display": "Stated rationale: Maintainer and reviewer burden",
          "filter_key": "stated_rationale:maintainer-and-reviewer-burden"
        }
      ],
      "tag_strings": [
        "#rationale/maintainer-and-reviewer-burden"
      ],
      "displays": [
        "Stated rationale: Maintainer and reviewer burden"
      ],
      "filter_keys": [
        "stated_rationale:maintainer-and-reviewer-burden"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stated_rationale": [
          {
            "value": "maintainer-and-reviewer-burden",
            "filter_key": "stated_rationale:maintainer-and-reviewer-burden",
            "display": "Stated rationale: Maintainer and reviewer burden"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 48,
      "line": 49,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544457866",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:41:05Z",
      "updated_at": "2026-11-11T23:41:05Z"
    },
    {
      "id": 4544463722,
      "body": "Claude Opus 5.5 suggested: #enforcement/pr-closed",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you\nsubmit, stay in the conversation after you open a pull request, and don't let an AI\nagent open one on its own.**\n\n## Scope\n\n\"AI\" herein refers to generative AI tools like large language models (LLMs)\nthat can generate, edit, and review software code, create and manipulate\nimages, or generate human-like communication.\n\nThis policy applies to contributions from the wider community. Automated\nprocesses operated by the earthaccess maintainer team (for example, dependency\nupdates and other repository automations) run under separate maintainer\noversight and are not governed by the requirements below.\n\n## Responsibility\n\nYou are responsible for any code you submit to earthaccess's repositories, regardless\nof whether it was manually written or generated by AI. You must understand and be able\nto explain both the code you submit and the existing related code; submitting a patch\nyou cannot explain yourself is not acceptable.\nThe explanation must be yours, though you may use AI to translate or copy-edit it.\n\n### No autonomous AI agent contributions\n\nThe use of an AI agent that writes code and then submits a pull request\nautonomously is not permitted. A human must check any generated code and open\nthe pull request themselves.\n\n## Disclosure\n\nYou must disclose whether AI was used in developing your pull request. The pull\nrequest template includes a disclosure checkbox; complete it for every pull request,\nincluding those where no AI tools were used. If AI was used, document which tool(s)\nand version(s), how they were used, and what code or text is AI generated. We will\nask you to complete the disclosure before review.\n\nDisclosure helps reviewers give your contribution appropriate attention, and keeps\nreview transparent.\n\n## Engagement\n\nOur [code of conduct](code-of-conduct.md) guarantees you a respectful review whatever\nyou submit. Depth of engagement (mentoring, design discussion, patient iteration) is\nreciprocal, and we will politely decline it when a pull request's author doesn't\nrespond to questions about their change. Failing CI, missing tests, and asking for help are never reasons\nto close a pull request; an unanswered \"can you explain this change?\" is.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you\n+submit, stay in the conversation after you open a pull request, and don't let an AI\n+agent open one on its own.**\n+\n+## Scope\n+\n+\"AI\" herein refers to generative AI tools like large language models (LLMs)\n+that can generate, edit, and review software code, create and manipulate\n+images, or generate human-like communication.\n+\n+This policy applies to contributions from the wider community. Automated\n+processes operated by the earthaccess maintainer team (for example, dependency\n+updates and other repository automations) run under separate maintainer\n+oversight and are not governed by the requirements below.\n+\n+## Responsibility\n+\n+You are responsible for any code you submit to earthaccess's repositories, regardless\n+of whether it was manually written or generated by AI. You must understand and be able\n+to explain both the code you submit and the existing related code; submitting a patch\n+you cannot explain yourself is not acceptable.\n+The explanation must be yours, though you may use AI to translate or copy-edit it.\n+\n+### No autonomous AI agent contributions\n+\n+The use of an AI agent that writes code and then submits a pull request\n+autonomously is not permitted. A human must check any generated code and open\n+the pull request themselves.\n+\n+## Disclosure\n+\n+You must disclose whether AI was used in developing your pull request. The pull\n+request template includes a disclosure checkbox; complete it for every pull request,\n+including those where no AI tools were used. If AI was used, document which tool(s)\n+and version(s), how they were used, and what code or text is AI generated. We will\n+ask you to complete the disclosure before review.\n+\n+Disclosure helps reviewers give your contribution appropriate attention, and keeps\n+review transparent.\n+\n+## Engagement\n+\n+Our [code of conduct](code-of-conduct.md) guarantees you a respectful review whatever\n+you submit. Depth of engagement (mentoring, design discussion, patient iteration) is\n+reciprocal, and we will politely decline it when a pull request's author doesn't\n+respond to questions about their change. Failing CI, missing tests, and asking for help are never reasons\n+to close a pull request; an unanswered \"can you explain this change?\" is.",
      "tags": [
        {
          "raw": "#enforcement/pr-closed",
          "namespace": "enforcement",
          "value": "pr-closed",
          "dimension": "enforcement",
          "dimension_label": "Enforcement",
          "kind": "value",
          "value_label": "PR closed",
          "display": "Enforcement: PR closed",
          "filter_key": "enforcement:pr-closed"
        }
      ],
      "tag_strings": [
        "#enforcement/pr-closed"
      ],
      "displays": [
        "Enforcement: PR closed"
      ],
      "filter_keys": [
        "enforcement:pr-closed"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "enforcement": [
          {
            "value": "pr-closed",
            "filter_key": "enforcement:pr-closed",
            "display": "Enforcement: PR closed"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 57,
      "line": 57,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544463722",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:41:58Z",
      "updated_at": "2026-11-11T23:41:58Z"
    },
    {
      "id": 4544467571,
      "body": "Claude Opus 5.5 suggested: #human-responsibility/yes\nbecause of \"it is the submitter's responsibility...\"",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you\nsubmit, stay in the conversation after you open a pull request, and don't let an AI\nagent open one on its own.**\n\n## Scope\n\n\"AI\" herein refers to generative AI tools like large language models (LLMs)\nthat can generate, edit, and review software code, create and manipulate\nimages, or generate human-like communication.\n\nThis policy applies to contributions from the wider community. Automated\nprocesses operated by the earthaccess maintainer team (for example, dependency\nupdates and other repository automations) run under separate maintainer\noversight and are not governed by the requirements below.\n\n## Responsibility\n\nYou are responsible for any code you submit to earthaccess's repositories, regardless\nof whether it was manually written or generated by AI. You must understand and be able\nto explain both the code you submit and the existing related code; submitting a patch\nyou cannot explain yourself is not acceptable.\nThe explanation must be yours, though you may use AI to translate or copy-edit it.\n\n### No autonomous AI agent contributions\n\nThe use of an AI agent that writes code and then submits a pull request\nautonomously is not permitted. A human must check any generated code and open\nthe pull request themselves.\n\n## Disclosure\n\nYou must disclose whether AI was used in developing your pull request. The pull\nrequest template includes a disclosure checkbox; complete it for every pull request,\nincluding those where no AI tools were used. If AI was used, document which tool(s)\nand version(s), how they were used, and what code or text is AI generated. We will\nask you to complete the disclosure before review.\n\nDisclosure helps reviewers give your contribution appropriate attention, and keeps\nreview transparent.\n\n## Engagement\n\nOur [code of conduct](code-of-conduct.md) guarantees you a respectful review whatever\nyou submit. Depth of engagement (mentoring, design discussion, patient iteration) is\nreciprocal, and we will politely decline it when a pull request's author doesn't\nrespond to questions about their change. Failing CI, missing tests, and asking for help are never reasons\nto close a pull request; an unanswered \"can you explain this change?\" is.\n\n## Copyright\n\nAll code in earthaccess is released under the MIT license.\nContributors to earthaccess license their code under the same license when it is\nincluded into earthaccess's version control repository. That means contributors must\nown the copyright of any code submitted to earthaccess or must include the\nMIT-compatible open source license(s) associated with the submitted code\nin the patch. Code generated by AI may infringe on copyright and it is the\nsubmitter's responsibility to not infringe. We reserve the right to reject any pull",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you\n+submit, stay in the conversation after you open a pull request, and don't let an AI\n+agent open one on its own.**\n+\n+## Scope\n+\n+\"AI\" herein refers to generative AI tools like large language models (LLMs)\n+that can generate, edit, and review software code, create and manipulate\n+images, or generate human-like communication.\n+\n+This policy applies to contributions from the wider community. Automated\n+processes operated by the earthaccess maintainer team (for example, dependency\n+updates and other repository automations) run under separate maintainer\n+oversight and are not governed by the requirements below.\n+\n+## Responsibility\n+\n+You are responsible for any code you submit to earthaccess's repositories, regardless\n+of whether it was manually written or generated by AI. You must understand and be able\n+to explain both the code you submit and the existing related code; submitting a patch\n+you cannot explain yourself is not acceptable.\n+The explanation must be yours, though you may use AI to translate or copy-edit it.\n+\n+### No autonomous AI agent contributions\n+\n+The use of an AI agent that writes code and then submits a pull request\n+autonomously is not permitted. A human must check any generated code and open\n+the pull request themselves.\n+\n+## Disclosure\n+\n+You must disclose whether AI was used in developing your pull request. The pull\n+request template includes a disclosure checkbox; complete it for every pull request,\n+including those where no AI tools were used. If AI was used, document which tool(s)\n+and version(s), how they were used, and what code or text is AI generated. We will\n+ask you to complete the disclosure before review.\n+\n+Disclosure helps reviewers give your contribution appropriate attention, and keeps\n+review transparent.\n+\n+## Engagement\n+\n+Our [code of conduct](code-of-conduct.md) guarantees you a respectful review whatever\n+you submit. Depth of engagement (mentoring, design discussion, patient iteration) is\n+reciprocal, and we will politely decline it when a pull request's author doesn't\n+respond to questions about their change. Failing CI, missing tests, and asking for help are never reasons\n+to close a pull request; an unanswered \"can you explain this change?\" is.\n+\n+## Copyright\n+\n+All code in earthaccess is released under the MIT license.\n+Contributors to earthaccess license their code under the same license when it is\n+included into earthaccess's version control repository. That means contributors must\n+own the copyright of any code submitted to earthaccess or must include the\n+MIT-compatible open source license(s) associated with the submitted code\n+in the patch. Code generated by AI may infringe on copyright and it is the\n+submitter's responsibility to not infringe. We reserve the right to reject any pull",
      "tags": [
        {
          "raw": "#human-responsibility/yes",
          "namespace": "human-responsibility",
          "value": "yes",
          "dimension": "human_responsibility",
          "dimension_label": "Human responsibility",
          "kind": "value",
          "value_label": "Yes \u2014 contributor is responsible for submitted work",
          "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work",
          "filter_key": "human_responsibility:yes"
        }
      ],
      "tag_strings": [
        "#human-responsibility/yes"
      ],
      "displays": [
        "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
      ],
      "filter_keys": [
        "human_responsibility:yes"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "human_responsibility": [
          {
            "value": "yes",
            "filter_key": "human_responsibility:yes",
            "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 66,
      "line": 67,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544467571",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:42:34Z",
      "updated_at": "2026-11-11T23:42:34Z"
    },
    {
      "id": 4544500109,
      "body": "Claude Opus 5.5 suggested: #scope/issues-and-pr-descriptions:restricted\nbecause \"do not use AI to speak for you\"",
      "quote": "# AI Policy\n\nWe have this policy so that AI tools make earthaccess more enjoyable to work on,\nnot harder. Making a contribution/PR is also a learning opportunity and\nintroduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\nbut we continue to ask for the learning and community as well.\n\nAI assistance is welcome, and so is needing help; submitting code you haven't read\nis not.\n\n**In short: disclose your AI use, understand and be able to explain anything you\nsubmit, stay in the conversation after you open a pull request, and don't let an AI\nagent open one on its own.**\n\n## Scope\n\n\"AI\" herein refers to generative AI tools like large language models (LLMs)\nthat can generate, edit, and review software code, create and manipulate\nimages, or generate human-like communication.\n\nThis policy applies to contributions from the wider community. Automated\nprocesses operated by the earthaccess maintainer team (for example, dependency\nupdates and other repository automations) run under separate maintainer\noversight and are not governed by the requirements below.\n\n## Responsibility\n\nYou are responsible for any code you submit to earthaccess's repositories, regardless\nof whether it was manually written or generated by AI. You must understand and be able\nto explain both the code you submit and the existing related code; submitting a patch\nyou cannot explain yourself is not acceptable.\nThe explanation must be yours, though you may use AI to translate or copy-edit it.\n\n### No autonomous AI agent contributions\n\nThe use of an AI agent that writes code and then submits a pull request\nautonomously is not permitted. A human must check any generated code and open\nthe pull request themselves.\n\n## Disclosure\n\nYou must disclose whether AI was used in developing your pull request. The pull\nrequest template includes a disclosure checkbox; complete it for every pull request,\nincluding those where no AI tools were used. If AI was used, document which tool(s)\nand version(s), how they were used, and what code or text is AI generated. We will\nask you to complete the disclosure before review.\n\nDisclosure helps reviewers give your contribution appropriate attention, and keeps\nreview transparent.\n\n## Engagement\n\nOur [code of conduct](code-of-conduct.md) guarantees you a respectful review whatever\nyou submit. Depth of engagement (mentoring, design discussion, patient iteration) is\nreciprocal, and we will politely decline it when a pull request's author doesn't\nrespond to questions about their change. Failing CI, missing tests, and asking for help are never reasons\nto close a pull request; an unanswered \"can you explain this change?\" is.\n\n## Copyright\n\nAll code in earthaccess is released under the MIT license.\nContributors to earthaccess license their code under the same license when it is\nincluded into earthaccess's version control repository. That means contributors must\nown the copyright of any code submitted to earthaccess or must include the\nMIT-compatible open source license(s) associated with the submitted code\nin the patch. Code generated by AI may infringe on copyright and it is the\nsubmitter's responsibility to not infringe. We reserve the right to reject any pull\nrequests, AI generated or not, where the copyright is in question.\n\n## Communication\n\nWhen interacting with developers (forum, discussions,\nissues, pull requests, etc.) do not use AI to speak for you, except for\ntranslation or grammar editing. The conversation is where understanding and",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,81 @@\n+# AI Policy\n+\n+We have this policy so that AI tools make earthaccess more enjoyable to work on,\n+not harder. Making a contribution/PR is also a learning opportunity and\n+introduces you to the people who maintain earthaccess. AI can deliver the contribution alone,\n+but we continue to ask for the learning and community as well.\n+\n+AI assistance is welcome, and so is needing help; submitting code you haven't read\n+is not.\n+\n+**In short: disclose your AI use, understand and be able to explain anything you\n+submit, stay in the conversation after you open a pull request, and don't let an AI\n+agent open one on its own.**\n+\n+## Scope\n+\n+\"AI\" herein refers to generative AI tools like large language models (LLMs)\n+that can generate, edit, and review software code, create and manipulate\n+images, or generate human-like communication.\n+\n+This policy applies to contributions from the wider community. Automated\n+processes operated by the earthaccess maintainer team (for example, dependency\n+updates and other repository automations) run under separate maintainer\n+oversight and are not governed by the requirements below.\n+\n+## Responsibility\n+\n+You are responsible for any code you submit to earthaccess's repositories, regardless\n+of whether it was manually written or generated by AI. You must understand and be able\n+to explain both the code you submit and the existing related code; submitting a patch\n+you cannot explain yourself is not acceptable.\n+The explanation must be yours, though you may use AI to translate or copy-edit it.\n+\n+### No autonomous AI agent contributions\n+\n+The use of an AI agent that writes code and then submits a pull request\n+autonomously is not permitted. A human must check any generated code and open\n+the pull request themselves.\n+\n+## Disclosure\n+\n+You must disclose whether AI was used in developing your pull request. The pull\n+request template includes a disclosure checkbox; complete it for every pull request,\n+including those where no AI tools were used. If AI was used, document which tool(s)\n+and version(s), how they were used, and what code or text is AI generated. We will\n+ask you to complete the disclosure before review.\n+\n+Disclosure helps reviewers give your contribution appropriate attention, and keeps\n+review transparent.\n+\n+## Engagement\n+\n+Our [code of conduct](code-of-conduct.md) guarantees you a respectful review whatever\n+you submit. Depth of engagement (mentoring, design discussion, patient iteration) is\n+reciprocal, and we will politely decline it when a pull request's author doesn't\n+respond to questions about their change. Failing CI, missing tests, and asking for help are never reasons\n+to close a pull request; an unanswered \"can you explain this change?\" is.\n+\n+## Copyright\n+\n+All code in earthaccess is released under the MIT license.\n+Contributors to earthaccess license their code under the same license when it is\n+included into earthaccess's version control repository. That means contributors must\n+own the copyright of any code submitted to earthaccess or must include the\n+MIT-compatible open source license(s) associated with the submitted code\n+in the patch. Code generated by AI may infringe on copyright and it is the\n+submitter's responsibility to not infringe. We reserve the right to reject any pull\n+requests, AI generated or not, where the copyright is in question.\n+\n+## Communication\n+\n+When interacting with developers (forum, discussions,\n+issues, pull requests, etc.) do not use AI to speak for you, except for\n+translation or grammar editing. The conversation is where understanding and",
      "tags": [
        {
          "raw": "#scope/issues-and-pr-descriptions:restricted",
          "namespace": "scope",
          "value": "issues-and-pr-descriptions",
          "qualifier": "restricted",
          "dimension": "scope",
          "dimension_label": "Scope",
          "kind": "scope",
          "contribution_type": "issues-and-pr-descriptions",
          "contribution_type_label": "Issues and PR descriptions",
          "position": "restricted",
          "position_label": "Restricted",
          "value_label": "Issues and PR descriptions: Restricted",
          "display": "Scope: Issues and PR descriptions \u2192 Restricted",
          "filter_key": "scope:issues-and-pr-descriptions:restricted"
        }
      ],
      "tag_strings": [
        "#scope/issues-and-pr-descriptions:restricted"
      ],
      "displays": [
        "Scope: Issues and PR descriptions \u2192 Restricted"
      ],
      "filter_keys": [
        "scope:issues-and-pr-descriptions:restricted"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "scope": [
          {
            "contribution_type": "issues-and-pr-descriptions",
            "position": "restricted",
            "filter_key": "scope:issues-and-pr-descriptions:restricted",
            "display": "Scope: Issues and PR descriptions \u2192 Restricted"
          }
        ]
      },
      "path": "projects/earthaccess/ai-policy.md",
      "project": "earthaccess",
      "start_line": 72,
      "line": 74,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544500109",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:47:22Z",
      "updated_at": "2026-11-11T23:47:22Z"
    },
    {
      "id": 4544509438,
      "body": "Claude Opus 5.5 suggested: #stance/permissive-with-conditions\nbecause \"Using AI tools is welcome...\"",
      "quote": "<!--\nIMPORTANT: Please open your PR in draft mode. Only mark it \"Ready for review\" after\ncompleting the \"Ready for review\" checklist.\n\nIf you read the guide and your question isn't answered, please ping `@earthaccess-dev/maintainers` in a comment!\n--->\n\n## Description\n\n<!--\nReplace this text, including the symbols above and below it, with descriptive text about\nthe change you are proposing. Please include a reference to any issues addressed or\nresolved in that text, for example \"resolves #1\".\n-->\n\n\n---\n\n#### AI usage disclosure\n\nUsing AI tools is welcome. Per our [AI Policy](https://earthaccess.readthedocs.io/en/latest/contributor/ai-policy/),\nwe just ask that you disclose any use of generative AI tools in this contribution.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,51 @@\n+<!--\n+IMPORTANT: Please open your PR in draft mode. Only mark it \"Ready for review\" after\n+completing the \"Ready for review\" checklist.\n+\n+If you read the guide and your question isn't answered, please ping `@earthaccess-dev/maintainers` in a comment!\n+--->\n+\n+## Description\n+\n+<!--\n+Replace this text, including the symbols above and below it, with descriptive text about\n+the change you are proposing. Please include a reference to any issues addressed or\n+resolved in that text, for example \"resolves #1\".\n+-->\n+\n+\n+---\n+\n+#### AI usage disclosure\n+\n+Using AI tools is welcome. Per our [AI Policy](https://earthaccess.readthedocs.io/en/latest/contributor/ai-policy/),\n+we just ask that you disclose any use of generative AI tools in this contribution.",
      "tags": [
        {
          "raw": "#stance/permissive-with-conditions",
          "namespace": "stance",
          "value": "permissive-with-conditions",
          "dimension": "stance",
          "dimension_label": "Stance",
          "kind": "value",
          "value_label": "Permissive with conditions",
          "display": "Stance: Permissive with conditions",
          "filter_key": "stance:permissive-with-conditions"
        }
      ],
      "tag_strings": [
        "#stance/permissive-with-conditions"
      ],
      "displays": [
        "Stance: Permissive with conditions"
      ],
      "filter_keys": [
        "stance:permissive-with-conditions"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stance": [
          {
            "value": "permissive-with-conditions",
            "filter_key": "stance:permissive-with-conditions",
            "display": "Stance: Permissive with conditions"
          }
        ]
      },
      "path": "projects/earthaccess/pull_request_template.md",
      "project": "earthaccess",
      "start_line": 21,
      "line": 22,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544509438",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:48:43Z",
      "updated_at": "2026-11-11T23:48:43Z"
    },
    {
      "id": 4544538903,
      "body": "#stance-implicit/maintainers-use-ai-tools",
      "quote": "---\ntitle: 'earthaccess: A Python Library for Simplified Discovery and Access of NASA Earth Science Data'\ntags:\n  - Python\n  - Earth science\n  - remote sensing\n  - data access\n  - cloud computing\n  - NASA\n  - open science\nauthors:\n  - given-names: \"Andrew P.\"\n    surname: \"Barrett\"\n    orcid: \"https://orcid.org/0000-0003-4394-5445\"\n    affiliation: \"1\"\n  - given-names: \"Chris\"\n    surname: \"Battisto\"\n    orcid: \"https://orcid.org/0000-0002-9608-3634\"\n    affiliation: \"2\"\n  - given-names: \"James\"\n    surname: \"Bourbeau\"\n    orcid: \"https://orcid.org/0000-0003-2164-7789\"\n    affiliation: \"3\"\n  - given-names: \"Ian\"\n    surname: \"Carroll\"\n    orcid: \"https://orcid.org/0000-0002-3616-810X\"\n    affiliation: \"4, 14\"\n  - given-names: \"Chuck\"\n    surname: \"Daniels\"\n    affiliation: \"5\"\n  - given-names: \"Matt\"\n    surname: \"Fisher\"\n    orcid: \"https://orcid.org/0000-0003-3260-5445\"\n    affiliation: \"6\"\n  - given-names: \"Daniel E.\"\n    surname: \"Kaufman\"\n    orcid: \"https://orcid.org/0000-0002-1487-7298\"\n    affiliation: \"7, 8\"\n  - given-names: \"Joseph H.\"\n    surname: \"Kennedy\"\n    orcid: \"https://orcid.org/0000-0002-9348-693X\"\n    affiliation: \"9\"\n  - given-names: \"Luis\"\n    surname: \"Lopez\"\n    orcid: \"https://orcid.org/0000-0003-4896-3263\"\n    affiliation: \"1\"\n  - given-names: \"Julia S.\"\n    surname: \"Lowndes\"\n    orcid: \"https://orcid.org/0000-0003-1682-3872\"\n    affiliation: \"10\"\n  - given-names: \"Jessica\"\n    surname: \"Scheick\"\n    orcid: \"https://orcid.org/0000-0002-3421-4459\"\n    affiliation: \"11, 12\"\n  - given-names: \"Amy\"\n    surname: \"Steiker\"\n    orcid: \"https://orcid.org/0000-0002-3039-0260\"\n    affiliation: \"1\"\n  - given-names: \"Sherwin\"\n    surname: \"Varghese\"\n    orcid: \"https://orcid.org/0009-0005-7030-213X\"\n    affiliation: \"13\"\naffiliations:\n - name: \"National Snow and Ice Data Center (NSIDC), Cooperative Institute for Research in Environmental Sciences (CIRES), University of Colorado Boulder, Boulder, CO, USA\"\n   index: 1\n   ror: 00bxr0z07\n - name: \"NASA Goddard Space Flight Center, Goddard Earth Sciences Data and Information Services Center (GES DISC), Greenbelt, MD, USA\"\n   index: 2\n   ror: 0171mag52\n - name: \"Coiled Computing, Inc.\"\n   index: 3\n - name: \"Ocean Ecology Lab, NASA Goddard Space Flight Center, Greenbelt, MD, USA\"\n   index: 4\n   ror: 0171mag52\n - name: \"Development Seed\"\n   index: 5\n - name: \"Schmidt Center for Data Science and Environment (DSE), University of California Berkeley\"\n   index: 6\n   ror: \"01an7q238\"\n - name: \"NASA Langley Research Center, Atmospheric Science Data Center (ASDC), Hampton, VA, USA\"\n   index: 7\n   ror: 0399mhs52\n - name: \"Booz Allen Hamilton, Inc., McLean, VA, USA\"\n   index: 8\n   ror: 051rcp357\n - name: \"Alaska Satellite Facility, Geophysical Institute, University of Alaska Fairbanks, Fairbanks, AK, USA\"\n   index: 9\n   ror: 01j7nq853\n - name: \"Openscapes and National Center for Ecological Analysis and Synthesis (NCEAS), University of California Santa Barbara, Santa Barbara, CA, USA\"\n   index: 10\n   ror: 02t274463\n - name: \"University of New Hampshire, Durham, NH, USA\"\n   index: 11\n   ror: 01rmh9n78\n - name: \"eScience Institute, University of Washington, Seattle, WA, USA\"\n   index: 12\n   ror: 00cvxb145\n - name: \"Independent Contributor\"\n   index: 13\n - name: \"GESTAR II, University of Maryland Baltimore County, Baltimore, MD, USA\"\n   index: 14\n   ror: 02qskvh78\ndate: 30 October 2026\nbibliography: paper.bib\n---\n\n# Summary\n\n`earthaccess` is an open-source Python library that simplifies discovery,\nauthentication, and access of NASA Earth science data. NASA's Earth Science Data and Information System (ESDIS) Project\ndistributes over 100 petabytes of data across 11\nDistributed Active Archive Centers (DAACs) [@nasa_earthdata; @nasa_esds_data_metrics], encompassing satellite\nimagery, climate records, atmospheric measurements, and other geospatial datasets\ncritical to Earth science research. Accessing these data programmatically has\nhistorically required researchers to navigate multiple authentication systems,\nunderstand provider-specific APIs and protocols, and write substantial boilerplate code\n-- challenges that particularly deter researchers without deep software engineering\nexperience.\n\n`earthaccess` provides a unified, high-level Python interface that simplifies this workflow\nto just a few lines of code. The library handles authentication with NASA's Earthdata\nLogin (EDL) service [@nasa_edl], queries to NASA's Common Metadata Repository (CMR)\n[@nasa_cmr] for data discovery, and data retrieval through a single interface\ncovering both HTTPS download and direct Amazon Web Services (AWS) S3 access. `earthaccess` also supports streaming data directly into\nanalysis-ready formats using `fsspec` [@fsspec] and constructing virtual Zarr stores\nfrom archival formats (e.g., HDF5 and NetCDF4) using DMR++ metadata [@dmrpp] (powered by\n`VirtualiZarr` [@virtualizarr] and `kerchunk` [@kerchunk]), enabling drastic\nimprovements in access performance.\n\n\n# Statement of need\n\nNASA's Earth science data archive is one of the largest and most diverse collections of\nEarth observation data in the world, used by over 14 million researchers, educators,\nand decision-makers globally [@nasa_esds_data_metrics]. However, the complexity of the\nunderlying data infrastructure presents a significant barrier to scientific\nproductivity. A typical data access workflow requires a researcher to: (1) search the\nCMR API to discover relevant datasets and products; (2) parse the returned metadata to\nidentify specific granules and extract the appropriate access URLs; (3) authenticate\nwith NASA Earthdata Login while maintaining authenticated sessions that handle\ncross-domain redirects; (4) obtain and periodically renew temporary AWS S3 credentials\nwhen computing in the same AWS region as the data; and (5) retrieve the data by\ndownloading it over HTTPS, streaming it\ndirectly from S3, or passing the information into a third-party package for\ncustomization services. Researchers must know enough about the technical implementation\nof multiple unique APIs to perform these steps accurately, each of which introduces\nopportunities for error. DAAC-specific configurations and NASA's migration of data to\nthe Earthdata Cloud compound the challenge.\n\nNASA's Earthdata Cloud introduced a novel source of complexity for most researchers, who\nmust now choose between two access paradigms: downloading data over the public internet, and direct S3 access from within the same AWS region (`us-west-2`), which offers higher throughput and avoids data egress costs. Both paradigms use HTTP; they differ in how requests are routed and billed, and both may even occur within a single analysis workflow. During\nworkshops organized by NASA Openscapes [@nasa_openscapes; @lowndes2019], the need for\nsimpler tools became evident. Meanwhile, developers supporting these communities were writing the same access code across many applications and repairing each copy whenever CMR changed.\n\n`earthaccess` is a community project that was created to\naddress this gap: it provides a uniform interface for access to NASA Earthdata regardless of data\nstorage location and handles authentication, credentials, and token management behind the\nscenes, enabling researchers to focus more on scientific interpretation and discovery.\n\nThe target audience spans Earth system science and its applications, including atmospheric scientists, oceanographers, ecologists, land surface modelers, remote sensing researchers, weather forecasters, disaster response practitioners, civic decision-makers, educators, and application developers. The library is designed to be\napproachable for those new to Python -- with a three-step workflow of `login()`,\n`search_data()`, and `download()` -- while offering sufficient depth for advanced users\nwho need direct S3 access, streaming file handles, or virtual dataset construction for\nlarge-scale analysis.\n\n\n# State of the field\n\nThe scholarly contribution of `earthaccess` is the _integration_ of search,\nauthentication, and access into a coherent abstraction that masks the heterogeneity of\nNASA Earthdata's infrastructure. No existing tool provides this end-to-end workflow across the full breadth of NASA Earthdata. Rather than reinventing query or filesystem libraries,\n`earthaccess` composes and extends existing open-source tools (`python-cmr` [@python_cmr] for search, `fsspec` [@fsspec] and `s3fs` [@s3fs] for file I/O, and `VirtualiZarr` [@virtualizarr] and `kerchunk` [@kerchunk] for virtual datasets), and contributes the\nNASA-specific domain knowledge (DAAC configurations, credential endpoints,\nauthentication flows, and the mapping between HTTPS and direct-S3 access links) that\nbinds them into a usable data access layer.\n\nSeveral tools exist for accessing NASA Earth science data, each addressing only part of\nthe workflow, or addressing the full workflow for only a subset of NASA's data holdings:\n\n- **python-cmr** [@python_cmr] handles the search step (step 1 of the workflow in the [Statement of need](#statement-of-need)) by providing a Python wrapper\n  around the CMR API for dataset and granule queries. `earthaccess` builds on\n  `python-cmr`, extending it with a built-in registry of NASA's DAACs (mapping each DAAC to its CMR provider IDs and S3 credential endpoints), cloud-hosting filters,\n  and rich result objects that simplify working with metadata (step 2). However, `python-cmr` does\n  not handle authentication, data download, or cloud access (steps 3\u20135) -- key areas where we observed workshop participants facing workflow difficulties.\n\n- **asf_search** [@asf_search] sits between `python-cmr` and `earthaccess` in scope: it focuses\n  on search and discovery but also handles authentication and access (workflow steps\n  1\u20135). It emerged around the same time as `earthaccess`, from similar access\n  challenges. Unlike `earthaccess`, which is mission- and domain-agnostic, `asf_search`\n  is tailored to synthetic aperture radar (SAR) data, adding domain-specific tooling and\n  functionality.\n\n- **icepyx** [@icepyx] provides a mission-specific solution to the general problem\n  solved by `earthaccess`: search, discovery, authentication, and access to ICESat-2\n  [@icesat2] data products. Established about a year before `earthaccess`, it handles\n  workflow steps 1, 2, and 5 on its own and now leverages `earthaccess` to\n  authenticate when users perform an action that requires logging\n  in.\n\n- **earthdatalogin** [@earthdatalogin_r] provides similar authentication and access\n  functionality (steps 3\u20135) for the R programming ecosystem. The two projects share a\n  common motivation and serve as complementary tools for their respective language\n  communities.\n\n\n# Software design\n\n`earthaccess` is organized into four core components, each encapsulating a distinct\nstage of the data access workflow:\n\n- **Authentication**: Manages the lifecycle of NASA Earthdata Login credentials,\n  supporting environment variables, `.netrc` files, and interactive prompts. Once\n  authenticated, the library creates HTTP sessions that safely handle NASA's\n  cross-domain redirects, and it retrieves and renews temporary AWS S3 credentials for\n  direct S3 access.\n\n- **Search**: Adds DAAC-aware search and access (resolving DAAC names to CMR provider IDs), cloud-hosting\n  detection, and deep-paging support. Query results (powered by `python-cmr`) are wrapped in rich objects that\n  preserve the full metadata response while exposing convenient accessors for data links,\n  spatial footprints, and formatted citations.\n\n- **Access**: Presents a single interface over both access mechanisms -- HTTPS and\n  direct S3 reads -- so that the same user code works from a local workstation or from\n  within AWS, with the mechanism selectable by the user. Files can be opened as\n  `fsspec`-compatible file-like objects for streaming into libraries such as `xarray`\n  [@xarray], or downloaded to disk with parallel, fault-tolerant transfers. Because\n  `earthaccess` returns ordinary Python file-like objects and makes no assumptions about\n  the underlying file format, it interoperates directly with the wider scientific Python\n  ecosystem -- including the PyData and Pangeo tool stacks -- rather than requiring\n  format- or mission-specific readers.\n\n- **Virtual datasets**: Leverages NASA's DMR++ sidecar metadata files [@dmrpp] to\n  construct virtual Zarr stores via `VirtualiZarr` [@virtualizarr] or `kerchunk`\n  [@kerchunk], enabling lazy, chunk-level access to archival HDF5/NetCDF4 data without\n  downloading or reformatting files. For example, a researcher can extract a single\n  variable across thousands of files by reading only the relevant byte ranges from\n  NASA's cloud storage, with minimal local resource usage. These features are available\n  as optional dependencies to keep the core library lightweight.\n\nSeveral deliberate design decisions shape the library:\n\n**Build on existing libraries.** `earthaccess` composes the existing open-source tools described in the [State of the field](#state-of-the-field) rather than reimplementing their\nfunctionality. The library's unique contribution is the NASA-specific integration layer\nthat binds these tools together. For example, retrieving NASA's TEMPO Level-3 ozone\nproduct [@tempo_o3tot_l3] directly from the Earthdata Cloud with `boto3` [@boto3], `requests`,\nand `s3fs` requires about two dozen lines of code (excluding imports) to set up\nEarthdata Login authentication, request and periodically refresh temporary S3\ncredentials, and serially transfer each granule. The equivalent `earthaccess` workflow\nis about four lines (`login()`, `search_data()`, `open()`, and passing the result to\n`xarray`) and additionally handles CMR-based discovery. Because that integration also\nleverages `fsspec` for byte-range access, streaming a single variable across 28 granules\nand computing a summary statistic completed in roughly 45 seconds end-to-end,\ncompared with roughly 78 seconds to download all 6.7 GB of those granules serially beforehand (medians\nof three runs on the NASA-Openscapes `us-west-2` JupyterHub). Constructing or reading\nvirtual data stores over the same files with `VirtualiZarr` [@virtualizarr], which\nuses precomputed chunk locations (e.g., from DMR++, kerchunk, or icechunk metadata) instead of reading each file's internal HDF5 metadata, can reduce access time further. The same\npattern applies to other products with large numbers of granules, such as ICESat-2 ATL06 land-ice height\ndata [@atl06], and is most pronounced where an analysis touches only a small portion of\neach file.\n\n**Contribute upstream.** When community discussions surface features\nthat belong in a dependency, the project contributes that work upstream rather than\nabsorbing it. Advanced CMR query capabilities were developed in `python-cmr` rather than\nduplicated in `earthaccess`, and aspects of DMR++ parsing and multi-file virtual dataset\nfunctionality were migrated to `VirtualiZarr` where they could benefit the wider\ncommunity. This upstream-first discipline prevents scope creep, reduces maintenance\nburden, and strengthens the broader ecosystem that `earthaccess` depends on.\n\n**Infrastructure-agnostic access.** The same user code works whether the computation runs\nin the cloud or on a local workstation, without requiring code changes; users who want\ndirect S3 access can request that optimization explicitly. This reflects the reality that researchers\nare at varying stages of cloud adoption.\n\n**Flat and functional top-level API.** All primary operations are exposed as module-level\nfunctions (e.g., `earthaccess.login()`, `earthaccess.search_data()`,\n`earthaccess.download()`), minimizing conceptual overhead for new users while keeping\nthe underlying object-oriented classes accessible for advanced use cases.\n\n\n# Research impact statement\n\n`earthaccess` has established itself as foundational infrastructure for NASA Earth\nscience data access. Concrete evidence of its impact includes:\n\n**Peer-reviewed publications.** `earthaccess` has been used in published research,\nincluding studies on multi-sensor drought observations in forested environments\n[@andreadis2024] and tidal bore detection using SWOT satellite data [@arildsen2025].\nSeveral other research studies and geospatial technology publications utilize libraries\ndependent on `earthaccess` [e.g., @Scheick2025; @Xiahou2026; @Widlansky2025].\n\n**Community adoption.** The library is a dependency of over 270 public GitHub repositories\n(as of 28 October 2026), spanning data analysis workflows, Jupyter Notebook tutorials, and\ndownstream libraries. It is distributed through both PyPI and conda-forge and\ninstalled and used in cloud-hosted Jupyter environments provided by NASA and partner\norganizations. As one example of downstream adoption, `icepack` -- a finite element\nlibrary for ice sheet and glacier modeling [@shapero2021] -- replaced its hand-written\nNSIDC DAAC data-fetching routines with `earthaccess` calls, eliminating hard-coded URLs\nand custom authentication logic. Across NASA data access tutorials, `earthaccess` typically replaces tens of lines of setup code in each tutorial with a few function calls, increasing user accessibility and reducing the\noverhead to \"get started\" working with NASA data.\n\n**Multi-institutional development.** Contributors span NASA's Distributed Active Archive\nCenters (DAACs) (including ASDC, ASF, GES DISC, LP DAAC, NSIDC DAAC, OB.DAAC, ORNL\nDAAC, and PO.DAAC) as well as other federal and academic institutions (USGS, NOAA,\nUniversity of New Hampshire, University of Maryland, UC Berkeley), private industry (Coiled,\nDevelopment Seed), and independent open-source contributors. This breadth reflects both\nthe library's relevance across domains and the health of its contributor community.\n\n**Integration with the NASA ecosystem.** `earthaccess` is featured in the official NASA\nEarthdata tools catalog (<https://www.earthdata.nasa.gov/data/tools/earthaccess>) and in\nNASA Earthdata tutorials. It has been presented at multiple large professional\nmeetings -- including several American Geophysical Union (AGU) Annual Meetings and Earth\nSystem Information Partnership (ESIP) meetings -- and was the subject of a NASA ESDS\nTech Spotlight presentation (see <https://earthaccess.readthedocs.io> homepage for links\nto recent slides and recordings). The documentation includes executable code\nexamples demonstrating workflows with ICESat-2, EMIT, TEMPO, SMAP, and other missions,\nproviding reproducible entry points for researchers.\n\n\n# AI usage disclosure\n\nThe `earthaccess` project has adopted a contributor AI policy\n(<https://earthaccess.readthedocs.io/en/latest/contributor/ai-policy/>) that requires\ndisclosure of AI assistance, holds contributors responsible for understanding and being\nable to explain any code they submit, and prohibits fully autonomous AI-generated pull\nrequests. The version of `earthaccess` described here was developed with minimal generative AI assistance: i.e., only a few contributions, made before the policy was adopted, used GitHub Copilot for code-review suggestions, changelog text, and CI configuration. Subsequent development may use AI tools under the terms of that policy.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,353 @@\n+---\n+title: 'earthaccess: A Python Library for Simplified Discovery and Access of NASA Earth Science Data'\n+tags:\n+  - Python\n+  - Earth science\n+  - remote sensing\n+  - data access\n+  - cloud computing\n+  - NASA\n+  - open science\n+authors:\n+  - given-names: \"Andrew P.\"\n+    surname: \"Barrett\"\n+    orcid: \"https://orcid.org/0000-0003-4394-5445\"\n+    affiliation: \"1\"\n+  - given-names: \"Chris\"\n+    surname: \"Battisto\"\n+    orcid: \"https://orcid.org/0000-0002-9608-3634\"\n+    affiliation: \"2\"\n+  - given-names: \"James\"\n+    surname: \"Bourbeau\"\n+    orcid: \"https://orcid.org/0000-0003-2164-7789\"\n+    affiliation: \"3\"\n+  - given-names: \"Ian\"\n+    surname: \"Carroll\"\n+    orcid: \"https://orcid.org/0000-0002-3616-810X\"\n+    affiliation: \"4, 14\"\n+  - given-names: \"Chuck\"\n+    surname: \"Daniels\"\n+    affiliation: \"5\"\n+  - given-names: \"Matt\"\n+    surname: \"Fisher\"\n+    orcid: \"https://orcid.org/0000-0003-3260-5445\"\n+    affiliation: \"6\"\n+  - given-names: \"Daniel E.\"\n+    surname: \"Kaufman\"\n+    orcid: \"https://orcid.org/0000-0002-1487-7298\"\n+    affiliation: \"7, 8\"\n+  - given-names: \"Joseph H.\"\n+    surname: \"Kennedy\"\n+    orcid: \"https://orcid.org/0000-0002-9348-693X\"\n+    affiliation: \"9\"\n+  - given-names: \"Luis\"\n+    surname: \"Lopez\"\n+    orcid: \"https://orcid.org/0000-0003-4896-3263\"\n+    affiliation: \"1\"\n+  - given-names: \"Julia S.\"\n+    surname: \"Lowndes\"\n+    orcid: \"https://orcid.org/0000-0003-1682-3872\"\n+    affiliation: \"10\"\n+  - given-names: \"Jessica\"\n+    surname: \"Scheick\"\n+    orcid: \"https://orcid.org/0000-0002-3421-4459\"\n+    affiliation: \"11, 12\"\n+  - given-names: \"Amy\"\n+    surname: \"Steiker\"\n+    orcid: \"https://orcid.org/0000-0002-3039-0260\"\n+    affiliation: \"1\"\n+  - given-names: \"Sherwin\"\n+    surname: \"Varghese\"\n+    orcid: \"https://orcid.org/0009-0005-7030-213X\"\n+    affiliation: \"13\"\n+affiliations:\n+ - name: \"National Snow and Ice Data Center (NSIDC), Cooperative Institute for Research in Environmental Sciences (CIRES), University of Colorado Boulder, Boulder, CO, USA\"\n+   index: 1\n+   ror: 00bxr0z07\n+ - name: \"NASA Goddard Space Flight Center, Goddard Earth Sciences Data and Information Services Center (GES DISC), Greenbelt, MD, USA\"\n+   index: 2\n+   ror: 0171mag52\n+ - name: \"Coiled Computing, Inc.\"\n+   index: 3\n+ - name: \"Ocean Ecology Lab, NASA Goddard Space Flight Center, Greenbelt, MD, USA\"\n+   index: 4\n+   ror: 0171mag52\n+ - name: \"Development Seed\"\n+   index: 5\n+ - name: \"Schmidt Center for Data Science and Environment (DSE), University of California Berkeley\"\n+   index: 6\n+   ror: \"01an7q238\"\n+ - name: \"NASA Langley Research Center, Atmospheric Science Data Center (ASDC), Hampton, VA, USA\"\n+   index: 7\n+   ror: 0399mhs52\n+ - name: \"Booz Allen Hamilton, Inc., McLean, VA, USA\"\n+   index: 8\n+   ror: 051rcp357\n+ - name: \"Alaska Satellite Facility, Geophysical Institute, University of Alaska Fairbanks, Fairbanks, AK, USA\"\n+   index: 9\n+   ror: 01j7nq853\n+ - name: \"Openscapes and National Center for Ecological Analysis and Synthesis (NCEAS), University of California Santa Barbara, Santa Barbara, CA, USA\"\n+   index: 10\n+   ror: 02t274463\n+ - name: \"University of New Hampshire, Durham, NH, USA\"\n+   index: 11\n+   ror: 01rmh9n78\n+ - name: \"eScience Institute, University of Washington, Seattle, WA, USA\"\n+   index: 12\n+   ror: 00cvxb145\n+ - name: \"Independent Contributor\"\n+   index: 13\n+ - name: \"GESTAR II, University of Maryland Baltimore County, Baltimore, MD, USA\"\n+   index: 14\n+   ror: 02qskvh78\n+date: 30 October 2026\n+bibliography: paper.bib\n+---\n+\n+# Summary\n+\n+`earthaccess` is an open-source Python library that simplifies discovery,\n+authentication, and access of NASA Earth science data. NASA's Earth Science Data and Information System (ESDIS) Project\n+distributes over 100 petabytes of data across 11\n+Distributed Active Archive Centers (DAACs) [@nasa_earthdata; @nasa_esds_data_metrics], encompassing satellite\n+imagery, climate records, atmospheric measurements, and other geospatial datasets\n+critical to Earth science research. Accessing these data programmatically has\n+historically required researchers to navigate multiple authentication systems,\n+understand provider-specific APIs and protocols, and write substantial boilerplate code\n+-- challenges that particularly deter researchers without deep software engineering\n+experience.\n+\n+`earthaccess` provides a unified, high-level Python interface that simplifies this workflow\n+to just a few lines of code. The library handles authentication with NASA's Earthdata\n+Login (EDL) service [@nasa_edl], queries to NASA's Common Metadata Repository (CMR)\n+[@nasa_cmr] for data discovery, and data retrieval through a single interface\n+covering both HTTPS download and direct Amazon Web Services (AWS) S3 access. `earthaccess` also supports streaming data directly into\n+analysis-ready formats using `fsspec` [@fsspec] and constructing virtual Zarr stores\n+from archival formats (e.g., HDF5 and NetCDF4) using DMR++ metadata [@dmrpp] (powered by\n+`VirtualiZarr` [@virtualizarr] and `kerchunk` [@kerchunk]), enabling drastic\n+improvements in access performance.\n+\n+\n+# Statement of need\n+\n+NASA's Earth science data archive is one of the largest and most diverse collections of\n+Earth observation data in the world, used by over 14 million researchers, educators,\n+and decision-makers globally [@nasa_esds_data_metrics]. However, the complexity of the\n+underlying data infrastructure presents a significant barrier to scientific\n+productivity. A typical data access workflow requires a researcher to: (1) search the\n+CMR API to discover relevant datasets and products; (2) parse the returned metadata to\n+identify specific granules and extract the appropriate access URLs; (3) authenticate\n+with NASA Earthdata Login while maintaining authenticated sessions that handle\n+cross-domain redirects; (4) obtain and periodically renew temporary AWS S3 credentials\n+when computing in the same AWS region as the data; and (5) retrieve the data by\n+downloading it over HTTPS, streaming it\n+directly from S3, or passing the information into a third-party package for\n+customization services. Researchers must know enough about the technical implementation\n+of multiple unique APIs to perform these steps accurately, each of which introduces\n+opportunities for error. DAAC-specific configurations and NASA's migration of data to\n+the Earthdata Cloud compound the challenge.\n+\n+NASA's Earthdata Cloud introduced a novel source of complexity for most researchers, who\n+must now choose between two access paradigms: downloading data over the public internet, and direct S3 access from within the same AWS region (`us-west-2`), which offers higher throughput and avoids data egress costs. Both paradigms use HTTP; they differ in how requests are routed and billed, and both may even occur within a single analysis workflow. During\n+workshops organized by NASA Openscapes [@nasa_openscapes; @lowndes2019], the need for\n+simpler tools became evident. Meanwhile, developers supporting these communities were writing the same access code across many applications and repairing each copy whenever CMR changed.\n+\n+`earthaccess` is a community project that was created to\n+address this gap: it provides a uniform interface for access to NASA Earthdata regardless of data\n+storage location and handles authentication, credentials, and token management behind the\n+scenes, enabling researchers to focus more on scientific interpretation and discovery.\n+\n+The target audience spans Earth system science and its applications, including atmospheric scientists, oceanographers, ecologists, land surface modelers, remote sensing researchers, weather forecasters, disaster response practitioners, civic decision-makers, educators, and application developers. The library is designed to be\n+approachable for those new to Python -- with a three-step workflow of `login()`,\n+`search_data()`, and `download()` -- while offering sufficient depth for advanced users\n+who need direct S3 access, streaming file handles, or virtual dataset construction for\n+large-scale analysis.\n+\n+\n+# State of the field\n+\n+The scholarly contribution of `earthaccess` is the _integration_ of search,\n+authentication, and access into a coherent abstraction that masks the heterogeneity of\n+NASA Earthdata's infrastructure. No existing tool provides this end-to-end workflow across the full breadth of NASA Earthdata. Rather than reinventing query or filesystem libraries,\n+`earthaccess` composes and extends existing open-source tools (`python-cmr` [@python_cmr] for search, `fsspec` [@fsspec] and `s3fs` [@s3fs] for file I/O, and `VirtualiZarr` [@virtualizarr] and `kerchunk` [@kerchunk] for virtual datasets), and contributes the\n+NASA-specific domain knowledge (DAAC configurations, credential endpoints,\n+authentication flows, and the mapping between HTTPS and direct-S3 access links) that\n+binds them into a usable data access layer.\n+\n+Several tools exist for accessing NASA Earth science data, each addressing only part of\n+the workflow, or addressing the full workflow for only a subset of NASA's data holdings:\n+\n+- **python-cmr** [@python_cmr] handles the search step (step 1 of the workflow in the [Statement of need](#statement-of-need)) by providing a Python wrapper\n+  around the CMR API for dataset and granule queries. `earthaccess` builds on\n+  `python-cmr`, extending it with a built-in registry of NASA's DAACs (mapping each DAAC to its CMR provider IDs and S3 credential endpoints), cloud-hosting filters,\n+  and rich result objects that simplify working with metadata (step 2). However, `python-cmr` does\n+  not handle authentication, data download, or cloud access (steps 3\u20135) -- key areas where we observed workshop participants facing workflow difficulties.\n+\n+- **asf_search** [@asf_search] sits between `python-cmr` and `earthaccess` in scope: it focuses\n+  on search and discovery but also handles authentication and access (workflow steps\n+  1\u20135). It emerged around the same time as `earthaccess`, from similar access\n+  challenges. Unlike `earthaccess`, which is mission- and domain-agnostic, `asf_search`\n+  is tailored to synthetic aperture radar (SAR) data, adding domain-specific tooling and\n+  functionality.\n+\n+- **icepyx** [@icepyx] provides a mission-specific solution to the general problem\n+  solved by `earthaccess`: search, discovery, authentication, and access to ICESat-2\n+  [@icesat2] data products. Established about a year before `earthaccess`, it handles\n+  workflow steps 1, 2, and 5 on its own and now leverages `earthaccess` to\n+  authenticate when users perform an action that requires logging\n+  in.\n+\n+- **earthdatalogin** [@earthdatalogin_r] provides similar authentication and access\n+  functionality (steps 3\u20135) for the R programming ecosystem. The two projects share a\n+  common motivation and serve as complementary tools for their respective language\n+  communities.\n+\n+\n+# Software design\n+\n+`earthaccess` is organized into four core components, each encapsulating a distinct\n+stage of the data access workflow:\n+\n+- **Authentication**: Manages the lifecycle of NASA Earthdata Login credentials,\n+  supporting environment variables, `.netrc` files, and interactive prompts. Once\n+  authenticated, the library creates HTTP sessions that safely handle NASA's\n+  cross-domain redirects, and it retrieves and renews temporary AWS S3 credentials for\n+  direct S3 access.\n+\n+- **Search**: Adds DAAC-aware search and access (resolving DAAC names to CMR provider IDs), cloud-hosting\n+  detection, and deep-paging support. Query results (powered by `python-cmr`) are wrapped in rich objects that\n+  preserve the full metadata response while exposing convenient accessors for data links,\n+  spatial footprints, and formatted citations.\n+\n+- **Access**: Presents a single interface over both access mechanisms -- HTTPS and\n+  direct S3 reads -- so that the same user code works from a local workstation or from\n+  within AWS, with the mechanism selectable by the user. Files can be opened as\n+  `fsspec`-compatible file-like objects for streaming into libraries such as `xarray`\n+  [@xarray], or downloaded to disk with parallel, fault-tolerant transfers. Because\n+  `earthaccess` returns ordinary Python file-like objects and makes no assumptions about\n+  the underlying file format, it interoperates directly with the wider scientific Python\n+  ecosystem -- including the PyData and Pangeo tool stacks -- rather than requiring\n+  format- or mission-specific readers.\n+\n+- **Virtual datasets**: Leverages NASA's DMR++ sidecar metadata files [@dmrpp] to\n+  construct virtual Zarr stores via `VirtualiZarr` [@virtualizarr] or `kerchunk`\n+  [@kerchunk], enabling lazy, chunk-level access to archival HDF5/NetCDF4 data without\n+  downloading or reformatting files. For example, a researcher can extract a single\n+  variable across thousands of files by reading only the relevant byte ranges from\n+  NASA's cloud storage, with minimal local resource usage. These features are available\n+  as optional dependencies to keep the core library lightweight.\n+\n+Several deliberate design decisions shape the library:\n+\n+**Build on existing libraries.** `earthaccess` composes the existing open-source tools described in the [State of the field](#state-of-the-field) rather than reimplementing their\n+functionality. The library's unique contribution is the NASA-specific integration layer\n+that binds these tools together. For example, retrieving NASA's TEMPO Level-3 ozone\n+product [@tempo_o3tot_l3] directly from the Earthdata Cloud with `boto3` [@boto3], `requests`,\n+and `s3fs` requires about two dozen lines of code (excluding imports) to set up\n+Earthdata Login authentication, request and periodically refresh temporary S3\n+credentials, and serially transfer each granule. The equivalent `earthaccess` workflow\n+is about four lines (`login()`, `search_data()`, `open()`, and passing the result to\n+`xarray`) and additionally handles CMR-based discovery. Because that integration also\n+leverages `fsspec` for byte-range access, streaming a single variable across 28 granules\n+and computing a summary statistic completed in roughly 45 seconds end-to-end,\n+compared with roughly 78 seconds to download all 6.7 GB of those granules serially beforehand (medians\n+of three runs on the NASA-Openscapes `us-west-2` JupyterHub). Constructing or reading\n+virtual data stores over the same files with `VirtualiZarr` [@virtualizarr], which\n+uses precomputed chunk locations (e.g., from DMR++, kerchunk, or icechunk metadata) instead of reading each file's internal HDF5 metadata, can reduce access time further. The same\n+pattern applies to other products with large numbers of granules, such as ICESat-2 ATL06 land-ice height\n+data [@atl06], and is most pronounced where an analysis touches only a small portion of\n+each file.\n+\n+**Contribute upstream.** When community discussions surface features\n+that belong in a dependency, the project contributes that work upstream rather than\n+absorbing it. Advanced CMR query capabilities were developed in `python-cmr` rather than\n+duplicated in `earthaccess`, and aspects of DMR++ parsing and multi-file virtual dataset\n+functionality were migrated to `VirtualiZarr` where they could benefit the wider\n+community. This upstream-first discipline prevents scope creep, reduces maintenance\n+burden, and strengthens the broader ecosystem that `earthaccess` depends on.\n+\n+**Infrastructure-agnostic access.** The same user code works whether the computation runs\n+in the cloud or on a local workstation, without requiring code changes; users who want\n+direct S3 access can request that optimization explicitly. This reflects the reality that researchers\n+are at varying stages of cloud adoption.\n+\n+**Flat and functional top-level API.** All primary operations are exposed as module-level\n+functions (e.g., `earthaccess.login()`, `earthaccess.search_data()`,\n+`earthaccess.download()`), minimizing conceptual overhead for new users while keeping\n+the underlying object-oriented classes accessible for advanced use cases.\n+\n+\n+# Research impact statement\n+\n+`earthaccess` has established itself as foundational infrastructure for NASA Earth\n+science data access. Concrete evidence of its impact includes:\n+\n+**Peer-reviewed publications.** `earthaccess` has been used in published research,\n+including studies on multi-sensor drought observations in forested environments\n+[@andreadis2024] and tidal bore detection using SWOT satellite data [@arildsen2025].\n+Several other research studies and geospatial technology publications utilize libraries\n+dependent on `earthaccess` [e.g., @Scheick2025; @Xiahou2026; @Widlansky2025].\n+\n+**Community adoption.** The library is a dependency of over 270 public GitHub repositories\n+(as of 28 October 2026), spanning data analysis workflows, Jupyter Notebook tutorials, and\n+downstream libraries. It is distributed through both PyPI and conda-forge and\n+installed and used in cloud-hosted Jupyter environments provided by NASA and partner\n+organizations. As one example of downstream adoption, `icepack` -- a finite element\n+library for ice sheet and glacier modeling [@shapero2021] -- replaced its hand-written\n+NSIDC DAAC data-fetching routines with `earthaccess` calls, eliminating hard-coded URLs\n+and custom authentication logic. Across NASA data access tutorials, `earthaccess` typically replaces tens of lines of setup code in each tutorial with a few function calls, increasing user accessibility and reducing the\n+overhead to \"get started\" working with NASA data.\n+\n+**Multi-institutional development.** Contributors span NASA's Distributed Active Archive\n+Centers (DAACs) (including ASDC, ASF, GES DISC, LP DAAC, NSIDC DAAC, OB.DAAC, ORNL\n+DAAC, and PO.DAAC) as well as other federal and academic institutions (USGS, NOAA,\n+University of New Hampshire, University of Maryland, UC Berkeley), private industry (Coiled,\n+Development Seed), and independent open-source contributors. This breadth reflects both\n+the library's relevance across domains and the health of its contributor community.\n+\n+**Integration with the NASA ecosystem.** `earthaccess` is featured in the official NASA\n+Earthdata tools catalog (<https://www.earthdata.nasa.gov/data/tools/earthaccess>) and in\n+NASA Earthdata tutorials. It has been presented at multiple large professional\n+meetings -- including several American Geophysical Union (AGU) Annual Meetings and Earth\n+System Information Partnership (ESIP) meetings -- and was the subject of a NASA ESDS\n+Tech Spotlight presentation (see <https://earthaccess.readthedocs.io> homepage for links\n+to recent slides and recordings). The documentation includes executable code\n+examples demonstrating workflows with ICESat-2, EMIT, TEMPO, SMAP, and other missions,\n+providing reproducible entry points for researchers.\n+\n+\n+# AI usage disclosure\n+\n+The `earthaccess` project has adopted a contributor AI policy\n+(<https://earthaccess.readthedocs.io/en/latest/contributor/ai-policy/>) that requires\n+disclosure of AI assistance, holds contributors responsible for understanding and being\n+able to explain any code they submit, and prohibits fully autonomous AI-generated pull\n+requests. The version of `earthaccess` described here was developed with minimal generative AI assistance: i.e., only a few contributions, made before the policy was adopted, used GitHub Copilot for code-review suggestions, changelog text, and CI configuration. Subsequent development may use AI tools under the terms of that policy.",
      "tags": [
        {
          "raw": "#stance-implicit/maintainers-use-ai-tools",
          "namespace": "stance-implicit",
          "value": "maintainers-use-ai-tools",
          "dimension": "stance_implicit",
          "dimension_label": "Stance (implicit)",
          "kind": "value",
          "value_label": "Maintainers use of AI tools",
          "display": "Stance (implicit): Maintainers use of AI tools",
          "filter_key": "stance_implicit:maintainers-use-ai-tools"
        }
      ],
      "tag_strings": [
        "#stance-implicit/maintainers-use-ai-tools"
      ],
      "displays": [
        "Stance (implicit): Maintainers use of AI tools"
      ],
      "filter_keys": [
        "stance_implicit:maintainers-use-ai-tools"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stance_implicit": [
          {
            "value": "maintainers-use-ai-tools",
            "filter_key": "stance_implicit:maintainers-use-ai-tools",
            "display": "Stance (implicit): Maintainers use of AI tools"
          }
        ]
      },
      "path": "projects/earthaccess/paper.md",
      "project": "earthaccess",
      "start_line": 325,
      "line": 325,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544538903",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:53:11Z",
      "updated_at": "2026-11-11T23:53:11Z"
    },
    {
      "id": 4544539841,
      "body": "#stance-implicit/maintainers-use-ai-tools",
      "quote": "---\ntitle: 'earthaccess: A Python Library for Simplified Discovery and Access of NASA Earth Science Data'\ntags:\n  - Python\n  - Earth science\n  - remote sensing\n  - data access\n  - cloud computing\n  - NASA\n  - open science\nauthors:\n  - given-names: \"Andrew P.\"\n    surname: \"Barrett\"\n    orcid: \"https://orcid.org/0000-0003-4394-5445\"\n    affiliation: \"1\"\n  - given-names: \"Chris\"\n    surname: \"Battisto\"\n    orcid: \"https://orcid.org/0000-0002-9608-3634\"\n    affiliation: \"2\"\n  - given-names: \"James\"\n    surname: \"Bourbeau\"\n    orcid: \"https://orcid.org/0000-0003-2164-7789\"\n    affiliation: \"3\"\n  - given-names: \"Ian\"\n    surname: \"Carroll\"\n    orcid: \"https://orcid.org/0000-0002-3616-810X\"\n    affiliation: \"4, 14\"\n  - given-names: \"Chuck\"\n    surname: \"Daniels\"\n    affiliation: \"5\"\n  - given-names: \"Matt\"\n    surname: \"Fisher\"\n    orcid: \"https://orcid.org/0000-0003-3260-5445\"\n    affiliation: \"6\"\n  - given-names: \"Daniel E.\"\n    surname: \"Kaufman\"\n    orcid: \"https://orcid.org/0000-0002-1487-7298\"\n    affiliation: \"7, 8\"\n  - given-names: \"Joseph H.\"\n    surname: \"Kennedy\"\n    orcid: \"https://orcid.org/0000-0002-9348-693X\"\n    affiliation: \"9\"\n  - given-names: \"Luis\"\n    surname: \"Lopez\"\n    orcid: \"https://orcid.org/0000-0003-4896-3263\"\n    affiliation: \"1\"\n  - given-names: \"Julia S.\"\n    surname: \"Lowndes\"\n    orcid: \"https://orcid.org/0000-0003-1682-3872\"\n    affiliation: \"10\"\n  - given-names: \"Jessica\"\n    surname: \"Scheick\"\n    orcid: \"https://orcid.org/0000-0002-3421-4459\"\n    affiliation: \"11, 12\"\n  - given-names: \"Amy\"\n    surname: \"Steiker\"\n    orcid: \"https://orcid.org/0000-0002-3039-0260\"\n    affiliation: \"1\"\n  - given-names: \"Sherwin\"\n    surname: \"Varghese\"\n    orcid: \"https://orcid.org/0009-0005-7030-213X\"\n    affiliation: \"13\"\naffiliations:\n - name: \"National Snow and Ice Data Center (NSIDC), Cooperative Institute for Research in Environmental Sciences (CIRES), University of Colorado Boulder, Boulder, CO, USA\"\n   index: 1\n   ror: 00bxr0z07\n - name: \"NASA Goddard Space Flight Center, Goddard Earth Sciences Data and Information Services Center (GES DISC), Greenbelt, MD, USA\"\n   index: 2\n   ror: 0171mag52\n - name: \"Coiled Computing, Inc.\"\n   index: 3\n - name: \"Ocean Ecology Lab, NASA Goddard Space Flight Center, Greenbelt, MD, USA\"\n   index: 4\n   ror: 0171mag52\n - name: \"Development Seed\"\n   index: 5\n - name: \"Schmidt Center for Data Science and Environment (DSE), University of California Berkeley\"\n   index: 6\n   ror: \"01an7q238\"\n - name: \"NASA Langley Research Center, Atmospheric Science Data Center (ASDC), Hampton, VA, USA\"\n   index: 7\n   ror: 0399mhs52\n - name: \"Booz Allen Hamilton, Inc., McLean, VA, USA\"\n   index: 8\n   ror: 051rcp357\n - name: \"Alaska Satellite Facility, Geophysical Institute, University of Alaska Fairbanks, Fairbanks, AK, USA\"\n   index: 9\n   ror: 01j7nq853\n - name: \"Openscapes and National Center for Ecological Analysis and Synthesis (NCEAS), University of California Santa Barbara, Santa Barbara, CA, USA\"\n   index: 10\n   ror: 02t274463\n - name: \"University of New Hampshire, Durham, NH, USA\"\n   index: 11\n   ror: 01rmh9n78\n - name: \"eScience Institute, University of Washington, Seattle, WA, USA\"\n   index: 12\n   ror: 00cvxb145\n - name: \"Independent Contributor\"\n   index: 13\n - name: \"GESTAR II, University of Maryland Baltimore County, Baltimore, MD, USA\"\n   index: 14\n   ror: 02qskvh78\ndate: 30 October 2026\nbibliography: paper.bib\n---\n\n# Summary\n\n`earthaccess` is an open-source Python library that simplifies discovery,\nauthentication, and access of NASA Earth science data. NASA's Earth Science Data and Information System (ESDIS) Project\ndistributes over 100 petabytes of data across 11\nDistributed Active Archive Centers (DAACs) [@nasa_earthdata; @nasa_esds_data_metrics], encompassing satellite\nimagery, climate records, atmospheric measurements, and other geospatial datasets\ncritical to Earth science research. Accessing these data programmatically has\nhistorically required researchers to navigate multiple authentication systems,\nunderstand provider-specific APIs and protocols, and write substantial boilerplate code\n-- challenges that particularly deter researchers without deep software engineering\nexperience.\n\n`earthaccess` provides a unified, high-level Python interface that simplifies this workflow\nto just a few lines of code. The library handles authentication with NASA's Earthdata\nLogin (EDL) service [@nasa_edl], queries to NASA's Common Metadata Repository (CMR)\n[@nasa_cmr] for data discovery, and data retrieval through a single interface\ncovering both HTTPS download and direct Amazon Web Services (AWS) S3 access. `earthaccess` also supports streaming data directly into\nanalysis-ready formats using `fsspec` [@fsspec] and constructing virtual Zarr stores\nfrom archival formats (e.g., HDF5 and NetCDF4) using DMR++ metadata [@dmrpp] (powered by\n`VirtualiZarr` [@virtualizarr] and `kerchunk` [@kerchunk]), enabling drastic\nimprovements in access performance.\n\n\n# Statement of need\n\nNASA's Earth science data archive is one of the largest and most diverse collections of\nEarth observation data in the world, used by over 14 million researchers, educators,\nand decision-makers globally [@nasa_esds_data_metrics]. However, the complexity of the\nunderlying data infrastructure presents a significant barrier to scientific\nproductivity. A typical data access workflow requires a researcher to: (1) search the\nCMR API to discover relevant datasets and products; (2) parse the returned metadata to\nidentify specific granules and extract the appropriate access URLs; (3) authenticate\nwith NASA Earthdata Login while maintaining authenticated sessions that handle\ncross-domain redirects; (4) obtain and periodically renew temporary AWS S3 credentials\nwhen computing in the same AWS region as the data; and (5) retrieve the data by\ndownloading it over HTTPS, streaming it\ndirectly from S3, or passing the information into a third-party package for\ncustomization services. Researchers must know enough about the technical implementation\nof multiple unique APIs to perform these steps accurately, each of which introduces\nopportunities for error. DAAC-specific configurations and NASA's migration of data to\nthe Earthdata Cloud compound the challenge.\n\nNASA's Earthdata Cloud introduced a novel source of complexity for most researchers, who\nmust now choose between two access paradigms: downloading data over the public internet, and direct S3 access from within the same AWS region (`us-west-2`), which offers higher throughput and avoids data egress costs. Both paradigms use HTTP; they differ in how requests are routed and billed, and both may even occur within a single analysis workflow. During\nworkshops organized by NASA Openscapes [@nasa_openscapes; @lowndes2019], the need for\nsimpler tools became evident. Meanwhile, developers supporting these communities were writing the same access code across many applications and repairing each copy whenever CMR changed.\n\n`earthaccess` is a community project that was created to\naddress this gap: it provides a uniform interface for access to NASA Earthdata regardless of data\nstorage location and handles authentication, credentials, and token management behind the\nscenes, enabling researchers to focus more on scientific interpretation and discovery.\n\nThe target audience spans Earth system science and its applications, including atmospheric scientists, oceanographers, ecologists, land surface modelers, remote sensing researchers, weather forecasters, disaster response practitioners, civic decision-makers, educators, and application developers. The library is designed to be\napproachable for those new to Python -- with a three-step workflow of `login()`,\n`search_data()`, and `download()` -- while offering sufficient depth for advanced users\nwho need direct S3 access, streaming file handles, or virtual dataset construction for\nlarge-scale analysis.\n\n\n# State of the field\n\nThe scholarly contribution of `earthaccess` is the _integration_ of search,\nauthentication, and access into a coherent abstraction that masks the heterogeneity of\nNASA Earthdata's infrastructure. No existing tool provides this end-to-end workflow across the full breadth of NASA Earthdata. Rather than reinventing query or filesystem libraries,\n`earthaccess` composes and extends existing open-source tools (`python-cmr` [@python_cmr] for search, `fsspec` [@fsspec] and `s3fs` [@s3fs] for file I/O, and `VirtualiZarr` [@virtualizarr] and `kerchunk` [@kerchunk] for virtual datasets), and contributes the\nNASA-specific domain knowledge (DAAC configurations, credential endpoints,\nauthentication flows, and the mapping between HTTPS and direct-S3 access links) that\nbinds them into a usable data access layer.\n\nSeveral tools exist for accessing NASA Earth science data, each addressing only part of\nthe workflow, or addressing the full workflow for only a subset of NASA's data holdings:\n\n- **python-cmr** [@python_cmr] handles the search step (step 1 of the workflow in the [Statement of need](#statement-of-need)) by providing a Python wrapper\n  around the CMR API for dataset and granule queries. `earthaccess` builds on\n  `python-cmr`, extending it with a built-in registry of NASA's DAACs (mapping each DAAC to its CMR provider IDs and S3 credential endpoints), cloud-hosting filters,\n  and rich result objects that simplify working with metadata (step 2). However, `python-cmr` does\n  not handle authentication, data download, or cloud access (steps 3\u20135) -- key areas where we observed workshop participants facing workflow difficulties.\n\n- **asf_search** [@asf_search] sits between `python-cmr` and `earthaccess` in scope: it focuses\n  on search and discovery but also handles authentication and access (workflow steps\n  1\u20135). It emerged around the same time as `earthaccess`, from similar access\n  challenges. Unlike `earthaccess`, which is mission- and domain-agnostic, `asf_search`\n  is tailored to synthetic aperture radar (SAR) data, adding domain-specific tooling and\n  functionality.\n\n- **icepyx** [@icepyx] provides a mission-specific solution to the general problem\n  solved by `earthaccess`: search, discovery, authentication, and access to ICESat-2\n  [@icesat2] data products. Established about a year before `earthaccess`, it handles\n  workflow steps 1, 2, and 5 on its own and now leverages `earthaccess` to\n  authenticate when users perform an action that requires logging\n  in.\n\n- **earthdatalogin** [@earthdatalogin_r] provides similar authentication and access\n  functionality (steps 3\u20135) for the R programming ecosystem. The two projects share a\n  common motivation and serve as complementary tools for their respective language\n  communities.\n\n\n# Software design\n\n`earthaccess` is organized into four core components, each encapsulating a distinct\nstage of the data access workflow:\n\n- **Authentication**: Manages the lifecycle of NASA Earthdata Login credentials,\n  supporting environment variables, `.netrc` files, and interactive prompts. Once\n  authenticated, the library creates HTTP sessions that safely handle NASA's\n  cross-domain redirects, and it retrieves and renews temporary AWS S3 credentials for\n  direct S3 access.\n\n- **Search**: Adds DAAC-aware search and access (resolving DAAC names to CMR provider IDs), cloud-hosting\n  detection, and deep-paging support. Query results (powered by `python-cmr`) are wrapped in rich objects that\n  preserve the full metadata response while exposing convenient accessors for data links,\n  spatial footprints, and formatted citations.\n\n- **Access**: Presents a single interface over both access mechanisms -- HTTPS and\n  direct S3 reads -- so that the same user code works from a local workstation or from\n  within AWS, with the mechanism selectable by the user. Files can be opened as\n  `fsspec`-compatible file-like objects for streaming into libraries such as `xarray`\n  [@xarray], or downloaded to disk with parallel, fault-tolerant transfers. Because\n  `earthaccess` returns ordinary Python file-like objects and makes no assumptions about\n  the underlying file format, it interoperates directly with the wider scientific Python\n  ecosystem -- including the PyData and Pangeo tool stacks -- rather than requiring\n  format- or mission-specific readers.\n\n- **Virtual datasets**: Leverages NASA's DMR++ sidecar metadata files [@dmrpp] to\n  construct virtual Zarr stores via `VirtualiZarr` [@virtualizarr] or `kerchunk`\n  [@kerchunk], enabling lazy, chunk-level access to archival HDF5/NetCDF4 data without\n  downloading or reformatting files. For example, a researcher can extract a single\n  variable across thousands of files by reading only the relevant byte ranges from\n  NASA's cloud storage, with minimal local resource usage. These features are available\n  as optional dependencies to keep the core library lightweight.\n\nSeveral deliberate design decisions shape the library:\n\n**Build on existing libraries.** `earthaccess` composes the existing open-source tools described in the [State of the field](#state-of-the-field) rather than reimplementing their\nfunctionality. The library's unique contribution is the NASA-specific integration layer\nthat binds these tools together. For example, retrieving NASA's TEMPO Level-3 ozone\nproduct [@tempo_o3tot_l3] directly from the Earthdata Cloud with `boto3` [@boto3], `requests`,\nand `s3fs` requires about two dozen lines of code (excluding imports) to set up\nEarthdata Login authentication, request and periodically refresh temporary S3\ncredentials, and serially transfer each granule. The equivalent `earthaccess` workflow\nis about four lines (`login()`, `search_data()`, `open()`, and passing the result to\n`xarray`) and additionally handles CMR-based discovery. Because that integration also\nleverages `fsspec` for byte-range access, streaming a single variable across 28 granules\nand computing a summary statistic completed in roughly 45 seconds end-to-end,\ncompared with roughly 78 seconds to download all 6.7 GB of those granules serially beforehand (medians\nof three runs on the NASA-Openscapes `us-west-2` JupyterHub). Constructing or reading\nvirtual data stores over the same files with `VirtualiZarr` [@virtualizarr], which\nuses precomputed chunk locations (e.g., from DMR++, kerchunk, or icechunk metadata) instead of reading each file's internal HDF5 metadata, can reduce access time further. The same\npattern applies to other products with large numbers of granules, such as ICESat-2 ATL06 land-ice height\ndata [@atl06], and is most pronounced where an analysis touches only a small portion of\neach file.\n\n**Contribute upstream.** When community discussions surface features\nthat belong in a dependency, the project contributes that work upstream rather than\nabsorbing it. Advanced CMR query capabilities were developed in `python-cmr` rather than\nduplicated in `earthaccess`, and aspects of DMR++ parsing and multi-file virtual dataset\nfunctionality were migrated to `VirtualiZarr` where they could benefit the wider\ncommunity. This upstream-first discipline prevents scope creep, reduces maintenance\nburden, and strengthens the broader ecosystem that `earthaccess` depends on.\n\n**Infrastructure-agnostic access.** The same user code works whether the computation runs\nin the cloud or on a local workstation, without requiring code changes; users who want\ndirect S3 access can request that optimization explicitly. This reflects the reality that researchers\nare at varying stages of cloud adoption.\n\n**Flat and functional top-level API.** All primary operations are exposed as module-level\nfunctions (e.g., `earthaccess.login()`, `earthaccess.search_data()`,\n`earthaccess.download()`), minimizing conceptual overhead for new users while keeping\nthe underlying object-oriented classes accessible for advanced use cases.\n\n\n# Research impact statement\n\n`earthaccess` has established itself as foundational infrastructure for NASA Earth\nscience data access. Concrete evidence of its impact includes:\n\n**Peer-reviewed publications.** `earthaccess` has been used in published research,\nincluding studies on multi-sensor drought observations in forested environments\n[@andreadis2024] and tidal bore detection using SWOT satellite data [@arildsen2025].\nSeveral other research studies and geospatial technology publications utilize libraries\ndependent on `earthaccess` [e.g., @Scheick2025; @Xiahou2026; @Widlansky2025].\n\n**Community adoption.** The library is a dependency of over 270 public GitHub repositories\n(as of 28 October 2026), spanning data analysis workflows, Jupyter Notebook tutorials, and\ndownstream libraries. It is distributed through both PyPI and conda-forge and\ninstalled and used in cloud-hosted Jupyter environments provided by NASA and partner\norganizations. As one example of downstream adoption, `icepack` -- a finite element\nlibrary for ice sheet and glacier modeling [@shapero2021] -- replaced its hand-written\nNSIDC DAAC data-fetching routines with `earthaccess` calls, eliminating hard-coded URLs\nand custom authentication logic. Across NASA data access tutorials, `earthaccess` typically replaces tens of lines of setup code in each tutorial with a few function calls, increasing user accessibility and reducing the\noverhead to \"get started\" working with NASA data.\n\n**Multi-institutional development.** Contributors span NASA's Distributed Active Archive\nCenters (DAACs) (including ASDC, ASF, GES DISC, LP DAAC, NSIDC DAAC, OB.DAAC, ORNL\nDAAC, and PO.DAAC) as well as other federal and academic institutions (USGS, NOAA,\nUniversity of New Hampshire, University of Maryland, UC Berkeley), private industry (Coiled,\nDevelopment Seed), and independent open-source contributors. This breadth reflects both\nthe library's relevance across domains and the health of its contributor community.\n\n**Integration with the NASA ecosystem.** `earthaccess` is featured in the official NASA\nEarthdata tools catalog (<https://www.earthdata.nasa.gov/data/tools/earthaccess>) and in\nNASA Earthdata tutorials. It has been presented at multiple large professional\nmeetings -- including several American Geophysical Union (AGU) Annual Meetings and Earth\nSystem Information Partnership (ESIP) meetings -- and was the subject of a NASA ESDS\nTech Spotlight presentation (see <https://earthaccess.readthedocs.io> homepage for links\nto recent slides and recordings). The documentation includes executable code\nexamples demonstrating workflows with ICESat-2, EMIT, TEMPO, SMAP, and other missions,\nproviding reproducible entry points for researchers.\n\n\n# AI usage disclosure\n\nThe `earthaccess` project has adopted a contributor AI policy\n(<https://earthaccess.readthedocs.io/en/latest/contributor/ai-policy/>) that requires\ndisclosure of AI assistance, holds contributors responsible for understanding and being\nable to explain any code they submit, and prohibits fully autonomous AI-generated pull\nrequests. The version of `earthaccess` described here was developed with minimal generative AI assistance: i.e., only a few contributions, made before the policy was adopted, used GitHub Copilot for code-review suggestions, changelog text, and CI configuration. Subsequent development may use AI tools under the terms of that policy.\n\nPreparation of this manuscript was assisted by Claude (Sonnet 4.6, Opus 4.6, Opus 5, and Opus 5.5;",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,353 @@\n+---\n+title: 'earthaccess: A Python Library for Simplified Discovery and Access of NASA Earth Science Data'\n+tags:\n+  - Python\n+  - Earth science\n+  - remote sensing\n+  - data access\n+  - cloud computing\n+  - NASA\n+  - open science\n+authors:\n+  - given-names: \"Andrew P.\"\n+    surname: \"Barrett\"\n+    orcid: \"https://orcid.org/0000-0003-4394-5445\"\n+    affiliation: \"1\"\n+  - given-names: \"Chris\"\n+    surname: \"Battisto\"\n+    orcid: \"https://orcid.org/0000-0002-9608-3634\"\n+    affiliation: \"2\"\n+  - given-names: \"James\"\n+    surname: \"Bourbeau\"\n+    orcid: \"https://orcid.org/0000-0003-2164-7789\"\n+    affiliation: \"3\"\n+  - given-names: \"Ian\"\n+    surname: \"Carroll\"\n+    orcid: \"https://orcid.org/0000-0002-3616-810X\"\n+    affiliation: \"4, 14\"\n+  - given-names: \"Chuck\"\n+    surname: \"Daniels\"\n+    affiliation: \"5\"\n+  - given-names: \"Matt\"\n+    surname: \"Fisher\"\n+    orcid: \"https://orcid.org/0000-0003-3260-5445\"\n+    affiliation: \"6\"\n+  - given-names: \"Daniel E.\"\n+    surname: \"Kaufman\"\n+    orcid: \"https://orcid.org/0000-0002-1487-7298\"\n+    affiliation: \"7, 8\"\n+  - given-names: \"Joseph H.\"\n+    surname: \"Kennedy\"\n+    orcid: \"https://orcid.org/0000-0002-9348-693X\"\n+    affiliation: \"9\"\n+  - given-names: \"Luis\"\n+    surname: \"Lopez\"\n+    orcid: \"https://orcid.org/0000-0003-4896-3263\"\n+    affiliation: \"1\"\n+  - given-names: \"Julia S.\"\n+    surname: \"Lowndes\"\n+    orcid: \"https://orcid.org/0000-0003-1682-3872\"\n+    affiliation: \"10\"\n+  - given-names: \"Jessica\"\n+    surname: \"Scheick\"\n+    orcid: \"https://orcid.org/0000-0002-3421-4459\"\n+    affiliation: \"11, 12\"\n+  - given-names: \"Amy\"\n+    surname: \"Steiker\"\n+    orcid: \"https://orcid.org/0000-0002-3039-0260\"\n+    affiliation: \"1\"\n+  - given-names: \"Sherwin\"\n+    surname: \"Varghese\"\n+    orcid: \"https://orcid.org/0009-0005-7030-213X\"\n+    affiliation: \"13\"\n+affiliations:\n+ - name: \"National Snow and Ice Data Center (NSIDC), Cooperative Institute for Research in Environmental Sciences (CIRES), University of Colorado Boulder, Boulder, CO, USA\"\n+   index: 1\n+   ror: 00bxr0z07\n+ - name: \"NASA Goddard Space Flight Center, Goddard Earth Sciences Data and Information Services Center (GES DISC), Greenbelt, MD, USA\"\n+   index: 2\n+   ror: 0171mag52\n+ - name: \"Coiled Computing, Inc.\"\n+   index: 3\n+ - name: \"Ocean Ecology Lab, NASA Goddard Space Flight Center, Greenbelt, MD, USA\"\n+   index: 4\n+   ror: 0171mag52\n+ - name: \"Development Seed\"\n+   index: 5\n+ - name: \"Schmidt Center for Data Science and Environment (DSE), University of California Berkeley\"\n+   index: 6\n+   ror: \"01an7q238\"\n+ - name: \"NASA Langley Research Center, Atmospheric Science Data Center (ASDC), Hampton, VA, USA\"\n+   index: 7\n+   ror: 0399mhs52\n+ - name: \"Booz Allen Hamilton, Inc., McLean, VA, USA\"\n+   index: 8\n+   ror: 051rcp357\n+ - name: \"Alaska Satellite Facility, Geophysical Institute, University of Alaska Fairbanks, Fairbanks, AK, USA\"\n+   index: 9\n+   ror: 01j7nq853\n+ - name: \"Openscapes and National Center for Ecological Analysis and Synthesis (NCEAS), University of California Santa Barbara, Santa Barbara, CA, USA\"\n+   index: 10\n+   ror: 02t274463\n+ - name: \"University of New Hampshire, Durham, NH, USA\"\n+   index: 11\n+   ror: 01rmh9n78\n+ - name: \"eScience Institute, University of Washington, Seattle, WA, USA\"\n+   index: 12\n+   ror: 00cvxb145\n+ - name: \"Independent Contributor\"\n+   index: 13\n+ - name: \"GESTAR II, University of Maryland Baltimore County, Baltimore, MD, USA\"\n+   index: 14\n+   ror: 02qskvh78\n+date: 30 October 2026\n+bibliography: paper.bib\n+---\n+\n+# Summary\n+\n+`earthaccess` is an open-source Python library that simplifies discovery,\n+authentication, and access of NASA Earth science data. NASA's Earth Science Data and Information System (ESDIS) Project\n+distributes over 100 petabytes of data across 11\n+Distributed Active Archive Centers (DAACs) [@nasa_earthdata; @nasa_esds_data_metrics], encompassing satellite\n+imagery, climate records, atmospheric measurements, and other geospatial datasets\n+critical to Earth science research. Accessing these data programmatically has\n+historically required researchers to navigate multiple authentication systems,\n+understand provider-specific APIs and protocols, and write substantial boilerplate code\n+-- challenges that particularly deter researchers without deep software engineering\n+experience.\n+\n+`earthaccess` provides a unified, high-level Python interface that simplifies this workflow\n+to just a few lines of code. The library handles authentication with NASA's Earthdata\n+Login (EDL) service [@nasa_edl], queries to NASA's Common Metadata Repository (CMR)\n+[@nasa_cmr] for data discovery, and data retrieval through a single interface\n+covering both HTTPS download and direct Amazon Web Services (AWS) S3 access. `earthaccess` also supports streaming data directly into\n+analysis-ready formats using `fsspec` [@fsspec] and constructing virtual Zarr stores\n+from archival formats (e.g., HDF5 and NetCDF4) using DMR++ metadata [@dmrpp] (powered by\n+`VirtualiZarr` [@virtualizarr] and `kerchunk` [@kerchunk]), enabling drastic\n+improvements in access performance.\n+\n+\n+# Statement of need\n+\n+NASA's Earth science data archive is one of the largest and most diverse collections of\n+Earth observation data in the world, used by over 14 million researchers, educators,\n+and decision-makers globally [@nasa_esds_data_metrics]. However, the complexity of the\n+underlying data infrastructure presents a significant barrier to scientific\n+productivity. A typical data access workflow requires a researcher to: (1) search the\n+CMR API to discover relevant datasets and products; (2) parse the returned metadata to\n+identify specific granules and extract the appropriate access URLs; (3) authenticate\n+with NASA Earthdata Login while maintaining authenticated sessions that handle\n+cross-domain redirects; (4) obtain and periodically renew temporary AWS S3 credentials\n+when computing in the same AWS region as the data; and (5) retrieve the data by\n+downloading it over HTTPS, streaming it\n+directly from S3, or passing the information into a third-party package for\n+customization services. Researchers must know enough about the technical implementation\n+of multiple unique APIs to perform these steps accurately, each of which introduces\n+opportunities for error. DAAC-specific configurations and NASA's migration of data to\n+the Earthdata Cloud compound the challenge.\n+\n+NASA's Earthdata Cloud introduced a novel source of complexity for most researchers, who\n+must now choose between two access paradigms: downloading data over the public internet, and direct S3 access from within the same AWS region (`us-west-2`), which offers higher throughput and avoids data egress costs. Both paradigms use HTTP; they differ in how requests are routed and billed, and both may even occur within a single analysis workflow. During\n+workshops organized by NASA Openscapes [@nasa_openscapes; @lowndes2019], the need for\n+simpler tools became evident. Meanwhile, developers supporting these communities were writing the same access code across many applications and repairing each copy whenever CMR changed.\n+\n+`earthaccess` is a community project that was created to\n+address this gap: it provides a uniform interface for access to NASA Earthdata regardless of data\n+storage location and handles authentication, credentials, and token management behind the\n+scenes, enabling researchers to focus more on scientific interpretation and discovery.\n+\n+The target audience spans Earth system science and its applications, including atmospheric scientists, oceanographers, ecologists, land surface modelers, remote sensing researchers, weather forecasters, disaster response practitioners, civic decision-makers, educators, and application developers. The library is designed to be\n+approachable for those new to Python -- with a three-step workflow of `login()`,\n+`search_data()`, and `download()` -- while offering sufficient depth for advanced users\n+who need direct S3 access, streaming file handles, or virtual dataset construction for\n+large-scale analysis.\n+\n+\n+# State of the field\n+\n+The scholarly contribution of `earthaccess` is the _integration_ of search,\n+authentication, and access into a coherent abstraction that masks the heterogeneity of\n+NASA Earthdata's infrastructure. No existing tool provides this end-to-end workflow across the full breadth of NASA Earthdata. Rather than reinventing query or filesystem libraries,\n+`earthaccess` composes and extends existing open-source tools (`python-cmr` [@python_cmr] for search, `fsspec` [@fsspec] and `s3fs` [@s3fs] for file I/O, and `VirtualiZarr` [@virtualizarr] and `kerchunk` [@kerchunk] for virtual datasets), and contributes the\n+NASA-specific domain knowledge (DAAC configurations, credential endpoints,\n+authentication flows, and the mapping between HTTPS and direct-S3 access links) that\n+binds them into a usable data access layer.\n+\n+Several tools exist for accessing NASA Earth science data, each addressing only part of\n+the workflow, or addressing the full workflow for only a subset of NASA's data holdings:\n+\n+- **python-cmr** [@python_cmr] handles the search step (step 1 of the workflow in the [Statement of need](#statement-of-need)) by providing a Python wrapper\n+  around the CMR API for dataset and granule queries. `earthaccess` builds on\n+  `python-cmr`, extending it with a built-in registry of NASA's DAACs (mapping each DAAC to its CMR provider IDs and S3 credential endpoints), cloud-hosting filters,\n+  and rich result objects that simplify working with metadata (step 2). However, `python-cmr` does\n+  not handle authentication, data download, or cloud access (steps 3\u20135) -- key areas where we observed workshop participants facing workflow difficulties.\n+\n+- **asf_search** [@asf_search] sits between `python-cmr` and `earthaccess` in scope: it focuses\n+  on search and discovery but also handles authentication and access (workflow steps\n+  1\u20135). It emerged around the same time as `earthaccess`, from similar access\n+  challenges. Unlike `earthaccess`, which is mission- and domain-agnostic, `asf_search`\n+  is tailored to synthetic aperture radar (SAR) data, adding domain-specific tooling and\n+  functionality.\n+\n+- **icepyx** [@icepyx] provides a mission-specific solution to the general problem\n+  solved by `earthaccess`: search, discovery, authentication, and access to ICESat-2\n+  [@icesat2] data products. Established about a year before `earthaccess`, it handles\n+  workflow steps 1, 2, and 5 on its own and now leverages `earthaccess` to\n+  authenticate when users perform an action that requires logging\n+  in.\n+\n+- **earthdatalogin** [@earthdatalogin_r] provides similar authentication and access\n+  functionality (steps 3\u20135) for the R programming ecosystem. The two projects share a\n+  common motivation and serve as complementary tools for their respective language\n+  communities.\n+\n+\n+# Software design\n+\n+`earthaccess` is organized into four core components, each encapsulating a distinct\n+stage of the data access workflow:\n+\n+- **Authentication**: Manages the lifecycle of NASA Earthdata Login credentials,\n+  supporting environment variables, `.netrc` files, and interactive prompts. Once\n+  authenticated, the library creates HTTP sessions that safely handle NASA's\n+  cross-domain redirects, and it retrieves and renews temporary AWS S3 credentials for\n+  direct S3 access.\n+\n+- **Search**: Adds DAAC-aware search and access (resolving DAAC names to CMR provider IDs), cloud-hosting\n+  detection, and deep-paging support. Query results (powered by `python-cmr`) are wrapped in rich objects that\n+  preserve the full metadata response while exposing convenient accessors for data links,\n+  spatial footprints, and formatted citations.\n+\n+- **Access**: Presents a single interface over both access mechanisms -- HTTPS and\n+  direct S3 reads -- so that the same user code works from a local workstation or from\n+  within AWS, with the mechanism selectable by the user. Files can be opened as\n+  `fsspec`-compatible file-like objects for streaming into libraries such as `xarray`\n+  [@xarray], or downloaded to disk with parallel, fault-tolerant transfers. Because\n+  `earthaccess` returns ordinary Python file-like objects and makes no assumptions about\n+  the underlying file format, it interoperates directly with the wider scientific Python\n+  ecosystem -- including the PyData and Pangeo tool stacks -- rather than requiring\n+  format- or mission-specific readers.\n+\n+- **Virtual datasets**: Leverages NASA's DMR++ sidecar metadata files [@dmrpp] to\n+  construct virtual Zarr stores via `VirtualiZarr` [@virtualizarr] or `kerchunk`\n+  [@kerchunk], enabling lazy, chunk-level access to archival HDF5/NetCDF4 data without\n+  downloading or reformatting files. For example, a researcher can extract a single\n+  variable across thousands of files by reading only the relevant byte ranges from\n+  NASA's cloud storage, with minimal local resource usage. These features are available\n+  as optional dependencies to keep the core library lightweight.\n+\n+Several deliberate design decisions shape the library:\n+\n+**Build on existing libraries.** `earthaccess` composes the existing open-source tools described in the [State of the field](#state-of-the-field) rather than reimplementing their\n+functionality. The library's unique contribution is the NASA-specific integration layer\n+that binds these tools together. For example, retrieving NASA's TEMPO Level-3 ozone\n+product [@tempo_o3tot_l3] directly from the Earthdata Cloud with `boto3` [@boto3], `requests`,\n+and `s3fs` requires about two dozen lines of code (excluding imports) to set up\n+Earthdata Login authentication, request and periodically refresh temporary S3\n+credentials, and serially transfer each granule. The equivalent `earthaccess` workflow\n+is about four lines (`login()`, `search_data()`, `open()`, and passing the result to\n+`xarray`) and additionally handles CMR-based discovery. Because that integration also\n+leverages `fsspec` for byte-range access, streaming a single variable across 28 granules\n+and computing a summary statistic completed in roughly 45 seconds end-to-end,\n+compared with roughly 78 seconds to download all 6.7 GB of those granules serially beforehand (medians\n+of three runs on the NASA-Openscapes `us-west-2` JupyterHub). Constructing or reading\n+virtual data stores over the same files with `VirtualiZarr` [@virtualizarr], which\n+uses precomputed chunk locations (e.g., from DMR++, kerchunk, or icechunk metadata) instead of reading each file's internal HDF5 metadata, can reduce access time further. The same\n+pattern applies to other products with large numbers of granules, such as ICESat-2 ATL06 land-ice height\n+data [@atl06], and is most pronounced where an analysis touches only a small portion of\n+each file.\n+\n+**Contribute upstream.** When community discussions surface features\n+that belong in a dependency, the project contributes that work upstream rather than\n+absorbing it. Advanced CMR query capabilities were developed in `python-cmr` rather than\n+duplicated in `earthaccess`, and aspects of DMR++ parsing and multi-file virtual dataset\n+functionality were migrated to `VirtualiZarr` where they could benefit the wider\n+community. This upstream-first discipline prevents scope creep, reduces maintenance\n+burden, and strengthens the broader ecosystem that `earthaccess` depends on.\n+\n+**Infrastructure-agnostic access.** The same user code works whether the computation runs\n+in the cloud or on a local workstation, without requiring code changes; users who want\n+direct S3 access can request that optimization explicitly. This reflects the reality that researchers\n+are at varying stages of cloud adoption.\n+\n+**Flat and functional top-level API.** All primary operations are exposed as module-level\n+functions (e.g., `earthaccess.login()`, `earthaccess.search_data()`,\n+`earthaccess.download()`), minimizing conceptual overhead for new users while keeping\n+the underlying object-oriented classes accessible for advanced use cases.\n+\n+\n+# Research impact statement\n+\n+`earthaccess` has established itself as foundational infrastructure for NASA Earth\n+science data access. Concrete evidence of its impact includes:\n+\n+**Peer-reviewed publications.** `earthaccess` has been used in published research,\n+including studies on multi-sensor drought observations in forested environments\n+[@andreadis2024] and tidal bore detection using SWOT satellite data [@arildsen2025].\n+Several other research studies and geospatial technology publications utilize libraries\n+dependent on `earthaccess` [e.g., @Scheick2025; @Xiahou2026; @Widlansky2025].\n+\n+**Community adoption.** The library is a dependency of over 270 public GitHub repositories\n+(as of 28 October 2026), spanning data analysis workflows, Jupyter Notebook tutorials, and\n+downstream libraries. It is distributed through both PyPI and conda-forge and\n+installed and used in cloud-hosted Jupyter environments provided by NASA and partner\n+organizations. As one example of downstream adoption, `icepack` -- a finite element\n+library for ice sheet and glacier modeling [@shapero2021] -- replaced its hand-written\n+NSIDC DAAC data-fetching routines with `earthaccess` calls, eliminating hard-coded URLs\n+and custom authentication logic. Across NASA data access tutorials, `earthaccess` typically replaces tens of lines of setup code in each tutorial with a few function calls, increasing user accessibility and reducing the\n+overhead to \"get started\" working with NASA data.\n+\n+**Multi-institutional development.** Contributors span NASA's Distributed Active Archive\n+Centers (DAACs) (including ASDC, ASF, GES DISC, LP DAAC, NSIDC DAAC, OB.DAAC, ORNL\n+DAAC, and PO.DAAC) as well as other federal and academic institutions (USGS, NOAA,\n+University of New Hampshire, University of Maryland, UC Berkeley), private industry (Coiled,\n+Development Seed), and independent open-source contributors. This breadth reflects both\n+the library's relevance across domains and the health of its contributor community.\n+\n+**Integration with the NASA ecosystem.** `earthaccess` is featured in the official NASA\n+Earthdata tools catalog (<https://www.earthdata.nasa.gov/data/tools/earthaccess>) and in\n+NASA Earthdata tutorials. It has been presented at multiple large professional\n+meetings -- including several American Geophysical Union (AGU) Annual Meetings and Earth\n+System Information Partnership (ESIP) meetings -- and was the subject of a NASA ESDS\n+Tech Spotlight presentation (see <https://earthaccess.readthedocs.io> homepage for links\n+to recent slides and recordings). The documentation includes executable code\n+examples demonstrating workflows with ICESat-2, EMIT, TEMPO, SMAP, and other missions,\n+providing reproducible entry points for researchers.\n+\n+\n+# AI usage disclosure\n+\n+The `earthaccess` project has adopted a contributor AI policy\n+(<https://earthaccess.readthedocs.io/en/latest/contributor/ai-policy/>) that requires\n+disclosure of AI assistance, holds contributors responsible for understanding and being\n+able to explain any code they submit, and prohibits fully autonomous AI-generated pull\n+requests. The version of `earthaccess` described here was developed with minimal generative AI assistance: i.e., only a few contributions, made before the policy was adopted, used GitHub Copilot for code-review suggestions, changelog text, and CI configuration. Subsequent development may use AI tools under the terms of that policy.\n+\n+Preparation of this manuscript was assisted by Claude (Sonnet 4.6, Opus 4.6, Opus 5, and Opus 5.5;",
      "tags": [
        {
          "raw": "#stance-implicit/maintainers-use-ai-tools",
          "namespace": "stance-implicit",
          "value": "maintainers-use-ai-tools",
          "dimension": "stance_implicit",
          "dimension_label": "Stance (implicit)",
          "kind": "value",
          "value_label": "Maintainers use of AI tools",
          "display": "Stance (implicit): Maintainers use of AI tools",
          "filter_key": "stance_implicit:maintainers-use-ai-tools"
        }
      ],
      "tag_strings": [
        "#stance-implicit/maintainers-use-ai-tools"
      ],
      "displays": [
        "Stance (implicit): Maintainers use of AI tools"
      ],
      "filter_keys": [
        "stance_implicit:maintainers-use-ai-tools"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stance_implicit": [
          {
            "value": "maintainers-use-ai-tools",
            "filter_key": "stance_implicit:maintainers-use-ai-tools",
            "display": "Stance (implicit): Maintainers use of AI tools"
          }
        ]
      },
      "path": "projects/earthaccess/paper.md",
      "project": "earthaccess",
      "start_line": 327,
      "line": 327,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544539841",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:53:19Z",
      "updated_at": "2026-11-11T23:53:19Z"
    },
    {
      "id": 4544542959,
      "body": " #disclosure-in-practice/deliberate",
      "quote": "---\ntitle: 'earthaccess: A Python Library for Simplified Discovery and Access of NASA Earth Science Data'\ntags:\n  - Python\n  - Earth science\n  - remote sensing\n  - data access\n  - cloud computing\n  - NASA\n  - open science\nauthors:\n  - given-names: \"Andrew P.\"\n    surname: \"Barrett\"\n    orcid: \"https://orcid.org/0000-0003-4394-5445\"\n    affiliation: \"1\"\n  - given-names: \"Chris\"\n    surname: \"Battisto\"\n    orcid: \"https://orcid.org/0000-0002-9608-3634\"\n    affiliation: \"2\"\n  - given-names: \"James\"\n    surname: \"Bourbeau\"\n    orcid: \"https://orcid.org/0000-0003-2164-7789\"\n    affiliation: \"3\"\n  - given-names: \"Ian\"\n    surname: \"Carroll\"\n    orcid: \"https://orcid.org/0000-0002-3616-810X\"\n    affiliation: \"4, 14\"\n  - given-names: \"Chuck\"\n    surname: \"Daniels\"\n    affiliation: \"5\"\n  - given-names: \"Matt\"\n    surname: \"Fisher\"\n    orcid: \"https://orcid.org/0000-0003-3260-5445\"\n    affiliation: \"6\"\n  - given-names: \"Daniel E.\"\n    surname: \"Kaufman\"\n    orcid: \"https://orcid.org/0000-0002-1487-7298\"\n    affiliation: \"7, 8\"\n  - given-names: \"Joseph H.\"\n    surname: \"Kennedy\"\n    orcid: \"https://orcid.org/0000-0002-9348-693X\"\n    affiliation: \"9\"\n  - given-names: \"Luis\"\n    surname: \"Lopez\"\n    orcid: \"https://orcid.org/0000-0003-4896-3263\"\n    affiliation: \"1\"\n  - given-names: \"Julia S.\"\n    surname: \"Lowndes\"\n    orcid: \"https://orcid.org/0000-0003-1682-3872\"\n    affiliation: \"10\"\n  - given-names: \"Jessica\"\n    surname: \"Scheick\"\n    orcid: \"https://orcid.org/0000-0002-3421-4459\"\n    affiliation: \"11, 12\"\n  - given-names: \"Amy\"\n    surname: \"Steiker\"\n    orcid: \"https://orcid.org/0000-0002-3039-0260\"\n    affiliation: \"1\"\n  - given-names: \"Sherwin\"\n    surname: \"Varghese\"\n    orcid: \"https://orcid.org/0009-0005-7030-213X\"\n    affiliation: \"13\"\naffiliations:\n - name: \"National Snow and Ice Data Center (NSIDC), Cooperative Institute for Research in Environmental Sciences (CIRES), University of Colorado Boulder, Boulder, CO, USA\"\n   index: 1\n   ror: 00bxr0z07\n - name: \"NASA Goddard Space Flight Center, Goddard Earth Sciences Data and Information Services Center (GES DISC), Greenbelt, MD, USA\"\n   index: 2\n   ror: 0171mag52\n - name: \"Coiled Computing, Inc.\"\n   index: 3\n - name: \"Ocean Ecology Lab, NASA Goddard Space Flight Center, Greenbelt, MD, USA\"\n   index: 4\n   ror: 0171mag52\n - name: \"Development Seed\"\n   index: 5\n - name: \"Schmidt Center for Data Science and Environment (DSE), University of California Berkeley\"\n   index: 6\n   ror: \"01an7q238\"\n - name: \"NASA Langley Research Center, Atmospheric Science Data Center (ASDC), Hampton, VA, USA\"\n   index: 7\n   ror: 0399mhs52\n - name: \"Booz Allen Hamilton, Inc., McLean, VA, USA\"\n   index: 8\n   ror: 051rcp357\n - name: \"Alaska Satellite Facility, Geophysical Institute, University of Alaska Fairbanks, Fairbanks, AK, USA\"\n   index: 9\n   ror: 01j7nq853\n - name: \"Openscapes and National Center for Ecological Analysis and Synthesis (NCEAS), University of California Santa Barbara, Santa Barbara, CA, USA\"\n   index: 10\n   ror: 02t274463\n - name: \"University of New Hampshire, Durham, NH, USA\"\n   index: 11\n   ror: 01rmh9n78\n - name: \"eScience Institute, University of Washington, Seattle, WA, USA\"\n   index: 12\n   ror: 00cvxb145\n - name: \"Independent Contributor\"\n   index: 13\n - name: \"GESTAR II, University of Maryland Baltimore County, Baltimore, MD, USA\"\n   index: 14\n   ror: 02qskvh78\ndate: 30 October 2026\nbibliography: paper.bib\n---\n\n# Summary\n\n`earthaccess` is an open-source Python library that simplifies discovery,\nauthentication, and access of NASA Earth science data. NASA's Earth Science Data and Information System (ESDIS) Project\ndistributes over 100 petabytes of data across 11\nDistributed Active Archive Centers (DAACs) [@nasa_earthdata; @nasa_esds_data_metrics], encompassing satellite\nimagery, climate records, atmospheric measurements, and other geospatial datasets\ncritical to Earth science research. Accessing these data programmatically has\nhistorically required researchers to navigate multiple authentication systems,\nunderstand provider-specific APIs and protocols, and write substantial boilerplate code\n-- challenges that particularly deter researchers without deep software engineering\nexperience.\n\n`earthaccess` provides a unified, high-level Python interface that simplifies this workflow\nto just a few lines of code. The library handles authentication with NASA's Earthdata\nLogin (EDL) service [@nasa_edl], queries to NASA's Common Metadata Repository (CMR)\n[@nasa_cmr] for data discovery, and data retrieval through a single interface\ncovering both HTTPS download and direct Amazon Web Services (AWS) S3 access. `earthaccess` also supports streaming data directly into\nanalysis-ready formats using `fsspec` [@fsspec] and constructing virtual Zarr stores\nfrom archival formats (e.g., HDF5 and NetCDF4) using DMR++ metadata [@dmrpp] (powered by\n`VirtualiZarr` [@virtualizarr] and `kerchunk` [@kerchunk]), enabling drastic\nimprovements in access performance.\n\n\n# Statement of need\n\nNASA's Earth science data archive is one of the largest and most diverse collections of\nEarth observation data in the world, used by over 14 million researchers, educators,\nand decision-makers globally [@nasa_esds_data_metrics]. However, the complexity of the\nunderlying data infrastructure presents a significant barrier to scientific\nproductivity. A typical data access workflow requires a researcher to: (1) search the\nCMR API to discover relevant datasets and products; (2) parse the returned metadata to\nidentify specific granules and extract the appropriate access URLs; (3) authenticate\nwith NASA Earthdata Login while maintaining authenticated sessions that handle\ncross-domain redirects; (4) obtain and periodically renew temporary AWS S3 credentials\nwhen computing in the same AWS region as the data; and (5) retrieve the data by\ndownloading it over HTTPS, streaming it\ndirectly from S3, or passing the information into a third-party package for\ncustomization services. Researchers must know enough about the technical implementation\nof multiple unique APIs to perform these steps accurately, each of which introduces\nopportunities for error. DAAC-specific configurations and NASA's migration of data to\nthe Earthdata Cloud compound the challenge.\n\nNASA's Earthdata Cloud introduced a novel source of complexity for most researchers, who\nmust now choose between two access paradigms: downloading data over the public internet, and direct S3 access from within the same AWS region (`us-west-2`), which offers higher throughput and avoids data egress costs. Both paradigms use HTTP; they differ in how requests are routed and billed, and both may even occur within a single analysis workflow. During\nworkshops organized by NASA Openscapes [@nasa_openscapes; @lowndes2019], the need for\nsimpler tools became evident. Meanwhile, developers supporting these communities were writing the same access code across many applications and repairing each copy whenever CMR changed.\n\n`earthaccess` is a community project that was created to\naddress this gap: it provides a uniform interface for access to NASA Earthdata regardless of data\nstorage location and handles authentication, credentials, and token management behind the\nscenes, enabling researchers to focus more on scientific interpretation and discovery.\n\nThe target audience spans Earth system science and its applications, including atmospheric scientists, oceanographers, ecologists, land surface modelers, remote sensing researchers, weather forecasters, disaster response practitioners, civic decision-makers, educators, and application developers. The library is designed to be\napproachable for those new to Python -- with a three-step workflow of `login()`,\n`search_data()`, and `download()` -- while offering sufficient depth for advanced users\nwho need direct S3 access, streaming file handles, or virtual dataset construction for\nlarge-scale analysis.\n\n\n# State of the field\n\nThe scholarly contribution of `earthaccess` is the _integration_ of search,\nauthentication, and access into a coherent abstraction that masks the heterogeneity of\nNASA Earthdata's infrastructure. No existing tool provides this end-to-end workflow across the full breadth of NASA Earthdata. Rather than reinventing query or filesystem libraries,\n`earthaccess` composes and extends existing open-source tools (`python-cmr` [@python_cmr] for search, `fsspec` [@fsspec] and `s3fs` [@s3fs] for file I/O, and `VirtualiZarr` [@virtualizarr] and `kerchunk` [@kerchunk] for virtual datasets), and contributes the\nNASA-specific domain knowledge (DAAC configurations, credential endpoints,\nauthentication flows, and the mapping between HTTPS and direct-S3 access links) that\nbinds them into a usable data access layer.\n\nSeveral tools exist for accessing NASA Earth science data, each addressing only part of\nthe workflow, or addressing the full workflow for only a subset of NASA's data holdings:\n\n- **python-cmr** [@python_cmr] handles the search step (step 1 of the workflow in the [Statement of need](#statement-of-need)) by providing a Python wrapper\n  around the CMR API for dataset and granule queries. `earthaccess` builds on\n  `python-cmr`, extending it with a built-in registry of NASA's DAACs (mapping each DAAC to its CMR provider IDs and S3 credential endpoints), cloud-hosting filters,\n  and rich result objects that simplify working with metadata (step 2). However, `python-cmr` does\n  not handle authentication, data download, or cloud access (steps 3\u20135) -- key areas where we observed workshop participants facing workflow difficulties.\n\n- **asf_search** [@asf_search] sits between `python-cmr` and `earthaccess` in scope: it focuses\n  on search and discovery but also handles authentication and access (workflow steps\n  1\u20135). It emerged around the same time as `earthaccess`, from similar access\n  challenges. Unlike `earthaccess`, which is mission- and domain-agnostic, `asf_search`\n  is tailored to synthetic aperture radar (SAR) data, adding domain-specific tooling and\n  functionality.\n\n- **icepyx** [@icepyx] provides a mission-specific solution to the general problem\n  solved by `earthaccess`: search, discovery, authentication, and access to ICESat-2\n  [@icesat2] data products. Established about a year before `earthaccess`, it handles\n  workflow steps 1, 2, and 5 on its own and now leverages `earthaccess` to\n  authenticate when users perform an action that requires logging\n  in.\n\n- **earthdatalogin** [@earthdatalogin_r] provides similar authentication and access\n  functionality (steps 3\u20135) for the R programming ecosystem. The two projects share a\n  common motivation and serve as complementary tools for their respective language\n  communities.\n\n\n# Software design\n\n`earthaccess` is organized into four core components, each encapsulating a distinct\nstage of the data access workflow:\n\n- **Authentication**: Manages the lifecycle of NASA Earthdata Login credentials,\n  supporting environment variables, `.netrc` files, and interactive prompts. Once\n  authenticated, the library creates HTTP sessions that safely handle NASA's\n  cross-domain redirects, and it retrieves and renews temporary AWS S3 credentials for\n  direct S3 access.\n\n- **Search**: Adds DAAC-aware search and access (resolving DAAC names to CMR provider IDs), cloud-hosting\n  detection, and deep-paging support. Query results (powered by `python-cmr`) are wrapped in rich objects that\n  preserve the full metadata response while exposing convenient accessors for data links,\n  spatial footprints, and formatted citations.\n\n- **Access**: Presents a single interface over both access mechanisms -- HTTPS and\n  direct S3 reads -- so that the same user code works from a local workstation or from\n  within AWS, with the mechanism selectable by the user. Files can be opened as\n  `fsspec`-compatible file-like objects for streaming into libraries such as `xarray`\n  [@xarray], or downloaded to disk with parallel, fault-tolerant transfers. Because\n  `earthaccess` returns ordinary Python file-like objects and makes no assumptions about\n  the underlying file format, it interoperates directly with the wider scientific Python\n  ecosystem -- including the PyData and Pangeo tool stacks -- rather than requiring\n  format- or mission-specific readers.\n\n- **Virtual datasets**: Leverages NASA's DMR++ sidecar metadata files [@dmrpp] to\n  construct virtual Zarr stores via `VirtualiZarr` [@virtualizarr] or `kerchunk`\n  [@kerchunk], enabling lazy, chunk-level access to archival HDF5/NetCDF4 data without\n  downloading or reformatting files. For example, a researcher can extract a single\n  variable across thousands of files by reading only the relevant byte ranges from\n  NASA's cloud storage, with minimal local resource usage. These features are available\n  as optional dependencies to keep the core library lightweight.\n\nSeveral deliberate design decisions shape the library:\n\n**Build on existing libraries.** `earthaccess` composes the existing open-source tools described in the [State of the field](#state-of-the-field) rather than reimplementing their\nfunctionality. The library's unique contribution is the NASA-specific integration layer\nthat binds these tools together. For example, retrieving NASA's TEMPO Level-3 ozone\nproduct [@tempo_o3tot_l3] directly from the Earthdata Cloud with `boto3` [@boto3], `requests`,\nand `s3fs` requires about two dozen lines of code (excluding imports) to set up\nEarthdata Login authentication, request and periodically refresh temporary S3\ncredentials, and serially transfer each granule. The equivalent `earthaccess` workflow\nis about four lines (`login()`, `search_data()`, `open()`, and passing the result to\n`xarray`) and additionally handles CMR-based discovery. Because that integration also\nleverages `fsspec` for byte-range access, streaming a single variable across 28 granules\nand computing a summary statistic completed in roughly 45 seconds end-to-end,\ncompared with roughly 78 seconds to download all 6.7 GB of those granules serially beforehand (medians\nof three runs on the NASA-Openscapes `us-west-2` JupyterHub). Constructing or reading\nvirtual data stores over the same files with `VirtualiZarr` [@virtualizarr], which\nuses precomputed chunk locations (e.g., from DMR++, kerchunk, or icechunk metadata) instead of reading each file's internal HDF5 metadata, can reduce access time further. The same\npattern applies to other products with large numbers of granules, such as ICESat-2 ATL06 land-ice height\ndata [@atl06], and is most pronounced where an analysis touches only a small portion of\neach file.\n\n**Contribute upstream.** When community discussions surface features\nthat belong in a dependency, the project contributes that work upstream rather than\nabsorbing it. Advanced CMR query capabilities were developed in `python-cmr` rather than\nduplicated in `earthaccess`, and aspects of DMR++ parsing and multi-file virtual dataset\nfunctionality were migrated to `VirtualiZarr` where they could benefit the wider\ncommunity. This upstream-first discipline prevents scope creep, reduces maintenance\nburden, and strengthens the broader ecosystem that `earthaccess` depends on.\n\n**Infrastructure-agnostic access.** The same user code works whether the computation runs\nin the cloud or on a local workstation, without requiring code changes; users who want\ndirect S3 access can request that optimization explicitly. This reflects the reality that researchers\nare at varying stages of cloud adoption.\n\n**Flat and functional top-level API.** All primary operations are exposed as module-level\nfunctions (e.g., `earthaccess.login()`, `earthaccess.search_data()`,\n`earthaccess.download()`), minimizing conceptual overhead for new users while keeping\nthe underlying object-oriented classes accessible for advanced use cases.\n\n\n# Research impact statement\n\n`earthaccess` has established itself as foundational infrastructure for NASA Earth\nscience data access. Concrete evidence of its impact includes:\n\n**Peer-reviewed publications.** `earthaccess` has been used in published research,\nincluding studies on multi-sensor drought observations in forested environments\n[@andreadis2024] and tidal bore detection using SWOT satellite data [@arildsen2025].\nSeveral other research studies and geospatial technology publications utilize libraries\ndependent on `earthaccess` [e.g., @Scheick2025; @Xiahou2026; @Widlansky2025].\n\n**Community adoption.** The library is a dependency of over 270 public GitHub repositories\n(as of 28 October 2026), spanning data analysis workflows, Jupyter Notebook tutorials, and\ndownstream libraries. It is distributed through both PyPI and conda-forge and\ninstalled and used in cloud-hosted Jupyter environments provided by NASA and partner\norganizations. As one example of downstream adoption, `icepack` -- a finite element\nlibrary for ice sheet and glacier modeling [@shapero2021] -- replaced its hand-written\nNSIDC DAAC data-fetching routines with `earthaccess` calls, eliminating hard-coded URLs\nand custom authentication logic. Across NASA data access tutorials, `earthaccess` typically replaces tens of lines of setup code in each tutorial with a few function calls, increasing user accessibility and reducing the\noverhead to \"get started\" working with NASA data.\n\n**Multi-institutional development.** Contributors span NASA's Distributed Active Archive\nCenters (DAACs) (including ASDC, ASF, GES DISC, LP DAAC, NSIDC DAAC, OB.DAAC, ORNL\nDAAC, and PO.DAAC) as well as other federal and academic institutions (USGS, NOAA,\nUniversity of New Hampshire, University of Maryland, UC Berkeley), private industry (Coiled,\nDevelopment Seed), and independent open-source contributors. This breadth reflects both\nthe library's relevance across domains and the health of its contributor community.\n\n**Integration with the NASA ecosystem.** `earthaccess` is featured in the official NASA\nEarthdata tools catalog (<https://www.earthdata.nasa.gov/data/tools/earthaccess>) and in\nNASA Earthdata tutorials. It has been presented at multiple large professional\nmeetings -- including several American Geophysical Union (AGU) Annual Meetings and Earth\nSystem Information Partnership (ESIP) meetings -- and was the subject of a NASA ESDS\nTech Spotlight presentation (see <https://earthaccess.readthedocs.io> homepage for links\nto recent slides and recordings). The documentation includes executable code\nexamples demonstrating workflows with ICESat-2, EMIT, TEMPO, SMAP, and other missions,\nproviding reproducible entry points for researchers.\n\n\n# AI usage disclosure\n\nThe `earthaccess` project has adopted a contributor AI policy\n(<https://earthaccess.readthedocs.io/en/latest/contributor/ai-policy/>) that requires\ndisclosure of AI assistance, holds contributors responsible for understanding and being\nable to explain any code they submit, and prohibits fully autonomous AI-generated pull\nrequests. The version of `earthaccess` described here was developed with minimal generative AI assistance: i.e., only a few contributions, made before the policy was adopted, used GitHub Copilot for code-review suggestions, changelog text, and CI configuration. Subsequent development may use AI tools under the terms of that policy.\n\nPreparation of this manuscript was assisted by Claude (Sonnet 4.6, Opus 4.6, Opus 5, and Opus 5.5;\nAnthropic) using the repository source code,\ndocumentation, commit history, and project metadata as context. Assistance was used for\nmanuscript drafting and editorial revision. All content was reviewed, revised, and\nverified for accuracy by the authors, who bear full responsibility for the submitted\nwork.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,353 @@\n+---\n+title: 'earthaccess: A Python Library for Simplified Discovery and Access of NASA Earth Science Data'\n+tags:\n+  - Python\n+  - Earth science\n+  - remote sensing\n+  - data access\n+  - cloud computing\n+  - NASA\n+  - open science\n+authors:\n+  - given-names: \"Andrew P.\"\n+    surname: \"Barrett\"\n+    orcid: \"https://orcid.org/0000-0003-4394-5445\"\n+    affiliation: \"1\"\n+  - given-names: \"Chris\"\n+    surname: \"Battisto\"\n+    orcid: \"https://orcid.org/0000-0002-9608-3634\"\n+    affiliation: \"2\"\n+  - given-names: \"James\"\n+    surname: \"Bourbeau\"\n+    orcid: \"https://orcid.org/0000-0003-2164-7789\"\n+    affiliation: \"3\"\n+  - given-names: \"Ian\"\n+    surname: \"Carroll\"\n+    orcid: \"https://orcid.org/0000-0002-3616-810X\"\n+    affiliation: \"4, 14\"\n+  - given-names: \"Chuck\"\n+    surname: \"Daniels\"\n+    affiliation: \"5\"\n+  - given-names: \"Matt\"\n+    surname: \"Fisher\"\n+    orcid: \"https://orcid.org/0000-0003-3260-5445\"\n+    affiliation: \"6\"\n+  - given-names: \"Daniel E.\"\n+    surname: \"Kaufman\"\n+    orcid: \"https://orcid.org/0000-0002-1487-7298\"\n+    affiliation: \"7, 8\"\n+  - given-names: \"Joseph H.\"\n+    surname: \"Kennedy\"\n+    orcid: \"https://orcid.org/0000-0002-9348-693X\"\n+    affiliation: \"9\"\n+  - given-names: \"Luis\"\n+    surname: \"Lopez\"\n+    orcid: \"https://orcid.org/0000-0003-4896-3263\"\n+    affiliation: \"1\"\n+  - given-names: \"Julia S.\"\n+    surname: \"Lowndes\"\n+    orcid: \"https://orcid.org/0000-0003-1682-3872\"\n+    affiliation: \"10\"\n+  - given-names: \"Jessica\"\n+    surname: \"Scheick\"\n+    orcid: \"https://orcid.org/0000-0002-3421-4459\"\n+    affiliation: \"11, 12\"\n+  - given-names: \"Amy\"\n+    surname: \"Steiker\"\n+    orcid: \"https://orcid.org/0000-0002-3039-0260\"\n+    affiliation: \"1\"\n+  - given-names: \"Sherwin\"\n+    surname: \"Varghese\"\n+    orcid: \"https://orcid.org/0009-0005-7030-213X\"\n+    affiliation: \"13\"\n+affiliations:\n+ - name: \"National Snow and Ice Data Center (NSIDC), Cooperative Institute for Research in Environmental Sciences (CIRES), University of Colorado Boulder, Boulder, CO, USA\"\n+   index: 1\n+   ror: 00bxr0z07\n+ - name: \"NASA Goddard Space Flight Center, Goddard Earth Sciences Data and Information Services Center (GES DISC), Greenbelt, MD, USA\"\n+   index: 2\n+   ror: 0171mag52\n+ - name: \"Coiled Computing, Inc.\"\n+   index: 3\n+ - name: \"Ocean Ecology Lab, NASA Goddard Space Flight Center, Greenbelt, MD, USA\"\n+   index: 4\n+   ror: 0171mag52\n+ - name: \"Development Seed\"\n+   index: 5\n+ - name: \"Schmidt Center for Data Science and Environment (DSE), University of California Berkeley\"\n+   index: 6\n+   ror: \"01an7q238\"\n+ - name: \"NASA Langley Research Center, Atmospheric Science Data Center (ASDC), Hampton, VA, USA\"\n+   index: 7\n+   ror: 0399mhs52\n+ - name: \"Booz Allen Hamilton, Inc., McLean, VA, USA\"\n+   index: 8\n+   ror: 051rcp357\n+ - name: \"Alaska Satellite Facility, Geophysical Institute, University of Alaska Fairbanks, Fairbanks, AK, USA\"\n+   index: 9\n+   ror: 01j7nq853\n+ - name: \"Openscapes and National Center for Ecological Analysis and Synthesis (NCEAS), University of California Santa Barbara, Santa Barbara, CA, USA\"\n+   index: 10\n+   ror: 02t274463\n+ - name: \"University of New Hampshire, Durham, NH, USA\"\n+   index: 11\n+   ror: 01rmh9n78\n+ - name: \"eScience Institute, University of Washington, Seattle, WA, USA\"\n+   index: 12\n+   ror: 00cvxb145\n+ - name: \"Independent Contributor\"\n+   index: 13\n+ - name: \"GESTAR II, University of Maryland Baltimore County, Baltimore, MD, USA\"\n+   index: 14\n+   ror: 02qskvh78\n+date: 30 October 2026\n+bibliography: paper.bib\n+---\n+\n+# Summary\n+\n+`earthaccess` is an open-source Python library that simplifies discovery,\n+authentication, and access of NASA Earth science data. NASA's Earth Science Data and Information System (ESDIS) Project\n+distributes over 100 petabytes of data across 11\n+Distributed Active Archive Centers (DAACs) [@nasa_earthdata; @nasa_esds_data_metrics], encompassing satellite\n+imagery, climate records, atmospheric measurements, and other geospatial datasets\n+critical to Earth science research. Accessing these data programmatically has\n+historically required researchers to navigate multiple authentication systems,\n+understand provider-specific APIs and protocols, and write substantial boilerplate code\n+-- challenges that particularly deter researchers without deep software engineering\n+experience.\n+\n+`earthaccess` provides a unified, high-level Python interface that simplifies this workflow\n+to just a few lines of code. The library handles authentication with NASA's Earthdata\n+Login (EDL) service [@nasa_edl], queries to NASA's Common Metadata Repository (CMR)\n+[@nasa_cmr] for data discovery, and data retrieval through a single interface\n+covering both HTTPS download and direct Amazon Web Services (AWS) S3 access. `earthaccess` also supports streaming data directly into\n+analysis-ready formats using `fsspec` [@fsspec] and constructing virtual Zarr stores\n+from archival formats (e.g., HDF5 and NetCDF4) using DMR++ metadata [@dmrpp] (powered by\n+`VirtualiZarr` [@virtualizarr] and `kerchunk` [@kerchunk]), enabling drastic\n+improvements in access performance.\n+\n+\n+# Statement of need\n+\n+NASA's Earth science data archive is one of the largest and most diverse collections of\n+Earth observation data in the world, used by over 14 million researchers, educators,\n+and decision-makers globally [@nasa_esds_data_metrics]. However, the complexity of the\n+underlying data infrastructure presents a significant barrier to scientific\n+productivity. A typical data access workflow requires a researcher to: (1) search the\n+CMR API to discover relevant datasets and products; (2) parse the returned metadata to\n+identify specific granules and extract the appropriate access URLs; (3) authenticate\n+with NASA Earthdata Login while maintaining authenticated sessions that handle\n+cross-domain redirects; (4) obtain and periodically renew temporary AWS S3 credentials\n+when computing in the same AWS region as the data; and (5) retrieve the data by\n+downloading it over HTTPS, streaming it\n+directly from S3, or passing the information into a third-party package for\n+customization services. Researchers must know enough about the technical implementation\n+of multiple unique APIs to perform these steps accurately, each of which introduces\n+opportunities for error. DAAC-specific configurations and NASA's migration of data to\n+the Earthdata Cloud compound the challenge.\n+\n+NASA's Earthdata Cloud introduced a novel source of complexity for most researchers, who\n+must now choose between two access paradigms: downloading data over the public internet, and direct S3 access from within the same AWS region (`us-west-2`), which offers higher throughput and avoids data egress costs. Both paradigms use HTTP; they differ in how requests are routed and billed, and both may even occur within a single analysis workflow. During\n+workshops organized by NASA Openscapes [@nasa_openscapes; @lowndes2019], the need for\n+simpler tools became evident. Meanwhile, developers supporting these communities were writing the same access code across many applications and repairing each copy whenever CMR changed.\n+\n+`earthaccess` is a community project that was created to\n+address this gap: it provides a uniform interface for access to NASA Earthdata regardless of data\n+storage location and handles authentication, credentials, and token management behind the\n+scenes, enabling researchers to focus more on scientific interpretation and discovery.\n+\n+The target audience spans Earth system science and its applications, including atmospheric scientists, oceanographers, ecologists, land surface modelers, remote sensing researchers, weather forecasters, disaster response practitioners, civic decision-makers, educators, and application developers. The library is designed to be\n+approachable for those new to Python -- with a three-step workflow of `login()`,\n+`search_data()`, and `download()` -- while offering sufficient depth for advanced users\n+who need direct S3 access, streaming file handles, or virtual dataset construction for\n+large-scale analysis.\n+\n+\n+# State of the field\n+\n+The scholarly contribution of `earthaccess` is the _integration_ of search,\n+authentication, and access into a coherent abstraction that masks the heterogeneity of\n+NASA Earthdata's infrastructure. No existing tool provides this end-to-end workflow across the full breadth of NASA Earthdata. Rather than reinventing query or filesystem libraries,\n+`earthaccess` composes and extends existing open-source tools (`python-cmr` [@python_cmr] for search, `fsspec` [@fsspec] and `s3fs` [@s3fs] for file I/O, and `VirtualiZarr` [@virtualizarr] and `kerchunk` [@kerchunk] for virtual datasets), and contributes the\n+NASA-specific domain knowledge (DAAC configurations, credential endpoints,\n+authentication flows, and the mapping between HTTPS and direct-S3 access links) that\n+binds them into a usable data access layer.\n+\n+Several tools exist for accessing NASA Earth science data, each addressing only part of\n+the workflow, or addressing the full workflow for only a subset of NASA's data holdings:\n+\n+- **python-cmr** [@python_cmr] handles the search step (step 1 of the workflow in the [Statement of need](#statement-of-need)) by providing a Python wrapper\n+  around the CMR API for dataset and granule queries. `earthaccess` builds on\n+  `python-cmr`, extending it with a built-in registry of NASA's DAACs (mapping each DAAC to its CMR provider IDs and S3 credential endpoints), cloud-hosting filters,\n+  and rich result objects that simplify working with metadata (step 2). However, `python-cmr` does\n+  not handle authentication, data download, or cloud access (steps 3\u20135) -- key areas where we observed workshop participants facing workflow difficulties.\n+\n+- **asf_search** [@asf_search] sits between `python-cmr` and `earthaccess` in scope: it focuses\n+  on search and discovery but also handles authentication and access (workflow steps\n+  1\u20135). It emerged around the same time as `earthaccess`, from similar access\n+  challenges. Unlike `earthaccess`, which is mission- and domain-agnostic, `asf_search`\n+  is tailored to synthetic aperture radar (SAR) data, adding domain-specific tooling and\n+  functionality.\n+\n+- **icepyx** [@icepyx] provides a mission-specific solution to the general problem\n+  solved by `earthaccess`: search, discovery, authentication, and access to ICESat-2\n+  [@icesat2] data products. Established about a year before `earthaccess`, it handles\n+  workflow steps 1, 2, and 5 on its own and now leverages `earthaccess` to\n+  authenticate when users perform an action that requires logging\n+  in.\n+\n+- **earthdatalogin** [@earthdatalogin_r] provides similar authentication and access\n+  functionality (steps 3\u20135) for the R programming ecosystem. The two projects share a\n+  common motivation and serve as complementary tools for their respective language\n+  communities.\n+\n+\n+# Software design\n+\n+`earthaccess` is organized into four core components, each encapsulating a distinct\n+stage of the data access workflow:\n+\n+- **Authentication**: Manages the lifecycle of NASA Earthdata Login credentials,\n+  supporting environment variables, `.netrc` files, and interactive prompts. Once\n+  authenticated, the library creates HTTP sessions that safely handle NASA's\n+  cross-domain redirects, and it retrieves and renews temporary AWS S3 credentials for\n+  direct S3 access.\n+\n+- **Search**: Adds DAAC-aware search and access (resolving DAAC names to CMR provider IDs), cloud-hosting\n+  detection, and deep-paging support. Query results (powered by `python-cmr`) are wrapped in rich objects that\n+  preserve the full metadata response while exposing convenient accessors for data links,\n+  spatial footprints, and formatted citations.\n+\n+- **Access**: Presents a single interface over both access mechanisms -- HTTPS and\n+  direct S3 reads -- so that the same user code works from a local workstation or from\n+  within AWS, with the mechanism selectable by the user. Files can be opened as\n+  `fsspec`-compatible file-like objects for streaming into libraries such as `xarray`\n+  [@xarray], or downloaded to disk with parallel, fault-tolerant transfers. Because\n+  `earthaccess` returns ordinary Python file-like objects and makes no assumptions about\n+  the underlying file format, it interoperates directly with the wider scientific Python\n+  ecosystem -- including the PyData and Pangeo tool stacks -- rather than requiring\n+  format- or mission-specific readers.\n+\n+- **Virtual datasets**: Leverages NASA's DMR++ sidecar metadata files [@dmrpp] to\n+  construct virtual Zarr stores via `VirtualiZarr` [@virtualizarr] or `kerchunk`\n+  [@kerchunk], enabling lazy, chunk-level access to archival HDF5/NetCDF4 data without\n+  downloading or reformatting files. For example, a researcher can extract a single\n+  variable across thousands of files by reading only the relevant byte ranges from\n+  NASA's cloud storage, with minimal local resource usage. These features are available\n+  as optional dependencies to keep the core library lightweight.\n+\n+Several deliberate design decisions shape the library:\n+\n+**Build on existing libraries.** `earthaccess` composes the existing open-source tools described in the [State of the field](#state-of-the-field) rather than reimplementing their\n+functionality. The library's unique contribution is the NASA-specific integration layer\n+that binds these tools together. For example, retrieving NASA's TEMPO Level-3 ozone\n+product [@tempo_o3tot_l3] directly from the Earthdata Cloud with `boto3` [@boto3], `requests`,\n+and `s3fs` requires about two dozen lines of code (excluding imports) to set up\n+Earthdata Login authentication, request and periodically refresh temporary S3\n+credentials, and serially transfer each granule. The equivalent `earthaccess` workflow\n+is about four lines (`login()`, `search_data()`, `open()`, and passing the result to\n+`xarray`) and additionally handles CMR-based discovery. Because that integration also\n+leverages `fsspec` for byte-range access, streaming a single variable across 28 granules\n+and computing a summary statistic completed in roughly 45 seconds end-to-end,\n+compared with roughly 78 seconds to download all 6.7 GB of those granules serially beforehand (medians\n+of three runs on the NASA-Openscapes `us-west-2` JupyterHub). Constructing or reading\n+virtual data stores over the same files with `VirtualiZarr` [@virtualizarr], which\n+uses precomputed chunk locations (e.g., from DMR++, kerchunk, or icechunk metadata) instead of reading each file's internal HDF5 metadata, can reduce access time further. The same\n+pattern applies to other products with large numbers of granules, such as ICESat-2 ATL06 land-ice height\n+data [@atl06], and is most pronounced where an analysis touches only a small portion of\n+each file.\n+\n+**Contribute upstream.** When community discussions surface features\n+that belong in a dependency, the project contributes that work upstream rather than\n+absorbing it. Advanced CMR query capabilities were developed in `python-cmr` rather than\n+duplicated in `earthaccess`, and aspects of DMR++ parsing and multi-file virtual dataset\n+functionality were migrated to `VirtualiZarr` where they could benefit the wider\n+community. This upstream-first discipline prevents scope creep, reduces maintenance\n+burden, and strengthens the broader ecosystem that `earthaccess` depends on.\n+\n+**Infrastructure-agnostic access.** The same user code works whether the computation runs\n+in the cloud or on a local workstation, without requiring code changes; users who want\n+direct S3 access can request that optimization explicitly. This reflects the reality that researchers\n+are at varying stages of cloud adoption.\n+\n+**Flat and functional top-level API.** All primary operations are exposed as module-level\n+functions (e.g., `earthaccess.login()`, `earthaccess.search_data()`,\n+`earthaccess.download()`), minimizing conceptual overhead for new users while keeping\n+the underlying object-oriented classes accessible for advanced use cases.\n+\n+\n+# Research impact statement\n+\n+`earthaccess` has established itself as foundational infrastructure for NASA Earth\n+science data access. Concrete evidence of its impact includes:\n+\n+**Peer-reviewed publications.** `earthaccess` has been used in published research,\n+including studies on multi-sensor drought observations in forested environments\n+[@andreadis2024] and tidal bore detection using SWOT satellite data [@arildsen2025].\n+Several other research studies and geospatial technology publications utilize libraries\n+dependent on `earthaccess` [e.g., @Scheick2025; @Xiahou2026; @Widlansky2025].\n+\n+**Community adoption.** The library is a dependency of over 270 public GitHub repositories\n+(as of 28 October 2026), spanning data analysis workflows, Jupyter Notebook tutorials, and\n+downstream libraries. It is distributed through both PyPI and conda-forge and\n+installed and used in cloud-hosted Jupyter environments provided by NASA and partner\n+organizations. As one example of downstream adoption, `icepack` -- a finite element\n+library for ice sheet and glacier modeling [@shapero2021] -- replaced its hand-written\n+NSIDC DAAC data-fetching routines with `earthaccess` calls, eliminating hard-coded URLs\n+and custom authentication logic. Across NASA data access tutorials, `earthaccess` typically replaces tens of lines of setup code in each tutorial with a few function calls, increasing user accessibility and reducing the\n+overhead to \"get started\" working with NASA data.\n+\n+**Multi-institutional development.** Contributors span NASA's Distributed Active Archive\n+Centers (DAACs) (including ASDC, ASF, GES DISC, LP DAAC, NSIDC DAAC, OB.DAAC, ORNL\n+DAAC, and PO.DAAC) as well as other federal and academic institutions (USGS, NOAA,\n+University of New Hampshire, University of Maryland, UC Berkeley), private industry (Coiled,\n+Development Seed), and independent open-source contributors. This breadth reflects both\n+the library's relevance across domains and the health of its contributor community.\n+\n+**Integration with the NASA ecosystem.** `earthaccess` is featured in the official NASA\n+Earthdata tools catalog (<https://www.earthdata.nasa.gov/data/tools/earthaccess>) and in\n+NASA Earthdata tutorials. It has been presented at multiple large professional\n+meetings -- including several American Geophysical Union (AGU) Annual Meetings and Earth\n+System Information Partnership (ESIP) meetings -- and was the subject of a NASA ESDS\n+Tech Spotlight presentation (see <https://earthaccess.readthedocs.io> homepage for links\n+to recent slides and recordings). The documentation includes executable code\n+examples demonstrating workflows with ICESat-2, EMIT, TEMPO, SMAP, and other missions,\n+providing reproducible entry points for researchers.\n+\n+\n+# AI usage disclosure\n+\n+The `earthaccess` project has adopted a contributor AI policy\n+(<https://earthaccess.readthedocs.io/en/latest/contributor/ai-policy/>) that requires\n+disclosure of AI assistance, holds contributors responsible for understanding and being\n+able to explain any code they submit, and prohibits fully autonomous AI-generated pull\n+requests. The version of `earthaccess` described here was developed with minimal generative AI assistance: i.e., only a few contributions, made before the policy was adopted, used GitHub Copilot for code-review suggestions, changelog text, and CI configuration. Subsequent development may use AI tools under the terms of that policy.\n+\n+Preparation of this manuscript was assisted by Claude (Sonnet 4.6, Opus 4.6, Opus 5, and Opus 5.5;\n+Anthropic) using the repository source code,\n+documentation, commit history, and project metadata as context. Assistance was used for\n+manuscript drafting and editorial revision. All content was reviewed, revised, and\n+verified for accuracy by the authors, who bear full responsibility for the submitted\n+work.",
      "tags": [
        {
          "raw": "#disclosure-in-practice/deliberate",
          "namespace": "disclosure-in-practice",
          "value": "deliberate",
          "dimension": "disclosure_in_practice",
          "dimension_label": "Disclosure in practice",
          "kind": "value",
          "value_label": "Deliberate",
          "display": "Disclosure in practice: Deliberate",
          "filter_key": "disclosure_in_practice:deliberate"
        }
      ],
      "tag_strings": [
        "#disclosure-in-practice/deliberate"
      ],
      "displays": [
        "Disclosure in practice: Deliberate"
      ],
      "filter_keys": [
        "disclosure_in_practice:deliberate"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "disclosure_in_practice": [
          {
            "value": "deliberate",
            "filter_key": "disclosure_in_practice:deliberate",
            "display": "Disclosure in practice: Deliberate"
          }
        ]
      },
      "path": "projects/earthaccess/paper.md",
      "project": "earthaccess",
      "start_line": 327,
      "line": 332,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544542959",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:53:46Z",
      "updated_at": "2026-11-11T23:53:46Z"
    },
    {
      "id": 4544565933,
      "body": "#disclosure/required",
      "quote": "# Contributor guide\n\n**Thank you for your interest in contributing to `earthaccess`! We're excited for your contribution,\nwhether you're finding bugs, adding new features, fixing anything broken, or improving documentation.**\n\n!!! note \"This documentation follows the Di\u00e1taxis framework:\"\n\n    - **How-to guides** \u2014 shorter, goal-oriented instructions for specific tasks.\n    - **Explanation** \u2014 understanding-oriented discussions of concepts.\n    - **Reference** \u2014 information-oriented technical details.\n\n    Learn more about Di\u00e1taxis at <https://diataxis.fr/>.\n\n**Before contributing, please read through our [code of conduct](./code-of-conduct.md) and [AI policy](./ai-policy.md) pages.**",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,41 @@\n+# Contributor guide\n+\n+**Thank you for your interest in contributing to `earthaccess`! We're excited for your contribution,\n+whether you're finding bugs, adding new features, fixing anything broken, or improving documentation.**\n+\n+!!! note \"This documentation follows the Di\u00e1taxis framework:\"\n+\n+    - **How-to guides** \u2014 shorter, goal-oriented instructions for specific tasks.\n+    - **Explanation** \u2014 understanding-oriented discussions of concepts.\n+    - **Reference** \u2014 information-oriented technical details.\n+\n+    Learn more about Di\u00e1taxis at <https://diataxis.fr/>.\n+\n+**Before contributing, please read through our [code of conduct](./code-of-conduct.md) and [AI policy](./ai-policy.md) pages.**",
      "tags": [
        {
          "raw": "#disclosure/required",
          "namespace": "disclosure",
          "value": "required",
          "dimension": "disclosure",
          "dimension_label": "Disclosure",
          "kind": "value",
          "value_label": "Required",
          "display": "Disclosure: Required",
          "filter_key": "disclosure:required"
        }
      ],
      "tag_strings": [
        "#disclosure/required"
      ],
      "displays": [
        "Disclosure: Required"
      ],
      "filter_keys": [
        "disclosure:required"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "disclosure": [
          {
            "value": "required",
            "filter_key": "disclosure:required",
            "display": "Disclosure: Required"
          }
        ]
      },
      "path": "projects/earthaccess/index.md",
      "project": "earthaccess",
      "start_line": 14,
      "line": 14,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544565933",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-11T23:57:13Z",
      "updated_at": "2026-11-11T23:57:13Z"
    },
    {
      "id": 4544591151,
      "body": "#guidance-level/some-guidance",
      "quote": "# Changelog\n\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Common Changelog](https://common-changelog.org/)\nand this project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\n\n## [Unreleased]\n\n### Breaking changes\n\n- Renamed the query classes `DataCollections`, `DataGranules`, and\n  `DataServices` to `DataCollectionsQuery`, `DataGranulesQuery`, and\n  `DataServicesQuery`.\n  ([#1363](https://github.com/earthaccess-dev/earthaccess/issues/1363))\n  ([@Sherwin-14](https://github.com/Sherwin-14))\n\n## [v0.19.0] - 2026-09-03\n\n### Breaking changes\n\n- Many `DataCollection` and `DataGranule` methods are now read-only fields.\n  For example, you'll get the size of a `DataGranule` named `granule` via\n  `granule.size` instead of `granule.size()`. If you use the old syntax, you'll\n  receive errors like `TypeError: 'NoneType' object is not callable`,\n  `TypeError: 'str' object is not callable`, etc.\n\n  The following methods were changed to read-only fields of the same name,\n  except where noted:\n\n  - `DataCollection.concept_id()` -> `DataCollection.concept_id`\n  - `DataCollection.data_type()` -> `DataCollection.data_type`\n  - `DataCollection.doi()` -> `DataCollection.doi`\n  - `DataCollection.get_links()` -> `DataCollection.data_links` (note the name change, details below)\n  - `DataCollection.landing_page()` -> `DataCollection.landing_page`\n  - `DataCollection.s3_bucket()` -> `DataCollection.s3_bucket`\n  - `DataCollection.services()` -> `DataCollection.services`\n  - `DataCollection.summary()` -> `DataCollection.summary`\n  - `DataCollection.version()` -> `DataCollection.version`\n  - `DataGranule.dataviz_links()` -> `DataGranule.dataviz_links`\n  - `DataGranule.size()` -> `DataGranule.size`\n\n  **NOTE:** The method `DataCollection.get_links()` was replaced with the field\n  `DataCollection.data_links`. The method name was previously `get_links` because in\n  the CMR API, the links are described as links of type \"GET DATA\". However, while the\n  old method name matches the name of the link type in the CMR API, it can be read as a\n  verb (\"get\" the links, rather than links of _type_ \"get\"), when it's an attribute\n  (noun). The name `data_links` was chosen to avoid confusion (noun instead of verb),\n  and for consistency with `DataGranule.data_links()` (SUBNOTE:\n  `DataGranule.data_links()` has arguments, so it was **not** changed to a property at\n  this time).\n\n### Added\n\n- Added an AI policy documenting expectations for AI-assisted contributions,\n  including disclosure, code quality, copyright, and communication, along with\n  an AI usage disclosure prompt in the pull request template.\n  ([#1419](https://github.com/earthaccess-dev/earthaccess/pull/1419))",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,750 @@\n+# Changelog\n+\n+All notable changes to this project will be documented in this file.\n+\n+The format is based on [Common Changelog](https://common-changelog.org/)\n+and this project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\n+\n+## [Unreleased]\n+\n+### Breaking changes\n+\n+- Renamed the query classes `DataCollections`, `DataGranules`, and\n+  `DataServices` to `DataCollectionsQuery`, `DataGranulesQuery`, and\n+  `DataServicesQuery`.\n+  ([#1363](https://github.com/earthaccess-dev/earthaccess/issues/1363))\n+  ([@Sherwin-14](https://github.com/Sherwin-14))\n+\n+## [v0.19.0] - 2026-09-03\n+\n+### Breaking changes\n+\n+- Many `DataCollection` and `DataGranule` methods are now read-only fields.\n+  For example, you'll get the size of a `DataGranule` named `granule` via\n+  `granule.size` instead of `granule.size()`. If you use the old syntax, you'll\n+  receive errors like `TypeError: 'NoneType' object is not callable`,\n+  `TypeError: 'str' object is not callable`, etc.\n+\n+  The following methods were changed to read-only fields of the same name,\n+  except where noted:\n+\n+  - `DataCollection.concept_id()` -> `DataCollection.concept_id`\n+  - `DataCollection.data_type()` -> `DataCollection.data_type`\n+  - `DataCollection.doi()` -> `DataCollection.doi`\n+  - `DataCollection.get_links()` -> `DataCollection.data_links` (note the name change, details below)\n+  - `DataCollection.landing_page()` -> `DataCollection.landing_page`\n+  - `DataCollection.s3_bucket()` -> `DataCollection.s3_bucket`\n+  - `DataCollection.services()` -> `DataCollection.services`\n+  - `DataCollection.summary()` -> `DataCollection.summary`\n+  - `DataCollection.version()` -> `DataCollection.version`\n+  - `DataGranule.dataviz_links()` -> `DataGranule.dataviz_links`\n+  - `DataGranule.size()` -> `DataGranule.size`\n+\n+  **NOTE:** The method `DataCollection.get_links()` was replaced with the field\n+  `DataCollection.data_links`. The method name was previously `get_links` because in\n+  the CMR API, the links are described as links of type \"GET DATA\". However, while the\n+  old method name matches the name of the link type in the CMR API, it can be read as a\n+  verb (\"get\" the links, rather than links of _type_ \"get\"), when it's an attribute\n+  (noun). The name `data_links` was chosen to avoid confusion (noun instead of verb),\n+  and for consistency with `DataGranule.data_links()` (SUBNOTE:\n+  `DataGranule.data_links()` has arguments, so it was **not** changed to a property at\n+  this time).\n+\n+### Added\n+\n+- Added an AI policy documenting expectations for AI-assisted contributions,\n+  including disclosure, code quality, copyright, and communication, along with\n+  an AI usage disclosure prompt in the pull request template.\n+  ([#1419](https://github.com/earthaccess-dev/earthaccess/pull/1419))",
      "tags": [
        {
          "raw": "#guidance-level/some-guidance",
          "namespace": "guidance-level",
          "value": "some-guidance",
          "dimension": "guidance_level",
          "dimension_label": "Guidance level",
          "kind": "value",
          "value_label": "Some guidance",
          "display": "Guidance level: Some guidance",
          "filter_key": "guidance_level:some-guidance"
        }
      ],
      "tag_strings": [
        "#guidance-level/some-guidance"
      ],
      "displays": [
        "Guidance level: Some guidance"
      ],
      "filter_keys": [
        "guidance_level:some-guidance"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "guidance_level": [
          {
            "value": "some-guidance",
            "filter_key": "guidance_level:some-guidance",
            "display": "Guidance level: Some guidance"
          }
        ]
      },
      "path": "projects/earthaccess/CHANGELOG.md",
      "project": "earthaccess",
      "start_line": 53,
      "line": 58,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 3,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/3#discussion_r4544591151",
      "commit_id": "e865573822d45c7b6b47255f0e71f9fe8aca9373",
      "created_at": "2026-11-12T00:01:04Z",
      "updated_at": "2026-11-12T00:01:04Z"
    },
    {
      "id": 4547344419,
      "body": "#scope/autonomous-agents:allowed\n\nthis is an agents file that is not referenced elsewhere in the repo (implicit)\n\n@shaunagm : we may need an implicit version for this tag",
      "quote": "# AGENTS.md",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,276 @@\n+# AGENTS.md",
      "tags": [
        {
          "raw": "#scope/autonomous-agents:allowed",
          "namespace": "scope",
          "value": "autonomous-agents",
          "qualifier": "allowed",
          "dimension": "scope",
          "dimension_label": "Scope",
          "kind": "scope",
          "contribution_type": "autonomous-agents",
          "contribution_type_label": "Autonomous agents",
          "position": "allowed",
          "position_label": "Allowed",
          "value_label": "Autonomous agents: Allowed",
          "display": "Scope: Autonomous agents \u2192 Allowed",
          "filter_key": "scope:autonomous-agents:allowed"
        }
      ],
      "tag_strings": [
        "#scope/autonomous-agents:allowed"
      ],
      "displays": [
        "Scope: Autonomous agents \u2192 Allowed"
      ],
      "filter_keys": [
        "scope:autonomous-agents:allowed"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "scope": [
          {
            "contribution_type": "autonomous-agents",
            "position": "allowed",
            "filter_key": "scope:autonomous-agents:allowed",
            "display": "Scope: Autonomous agents \u2192 Allowed"
          }
        ]
      },
      "path": "projects/pandera/AGENTS.md",
      "project": "pandera",
      "start_line": 1,
      "line": 1,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 4,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/4#discussion_r4547344419",
      "commit_id": "9ea59156ad8f805d98e13fec600e923822903c02",
      "created_at": "2026-11-12T07:01:09Z",
      "updated_at": "2026-11-12T07:08:04Z"
    },
    {
      "id": 4547361310,
      "body": "#guidance-implicit/design",
      "quote": "# AGENTS.md\n\n## Project Overview\n\nPandera is a data validation library for Python that provides a flexible,\nexpressive API for validating dataframes and series across multiple backends.\nIt supports pandas, polars, pyspark, ibis, dask, modin, and geopandas.\n\n- **License:** MIT\n- **Python:** >= 3.10 (tested on 3.10-3.14)\n- **Docs:** https://pandera.readthedocs.io\n- **Repo:** https://github.com/pandera-dev/pandera\n\n## Repository Structure",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,276 @@\n+# AGENTS.md\n+\n+## Project Overview\n+\n+Pandera is a data validation library for Python that provides a flexible,\n+expressive API for validating dataframes and series across multiple backends.\n+It supports pandas, polars, pyspark, ibis, dask, modin, and geopandas.\n+\n+- **License:** MIT\n+- **Python:** >= 3.10 (tested on 3.10-3.14)\n+- **Docs:** https://pandera.readthedocs.io\n+- **Repo:** https://github.com/pandera-dev/pandera\n+\n+## Repository Structure",
      "tags": [
        {
          "raw": "#guidance-implicit/design",
          "namespace": "guidance-implicit",
          "value": "design",
          "dimension": "guidance_type_implicit",
          "dimension_label": "Guidance type (implicit)",
          "kind": "value",
          "value_label": "Design (modularity, existing patterns, technical debt)",
          "display": "Guidance type (implicit): Design (modularity, existing patterns, technical debt)",
          "filter_key": "guidance_type_implicit:design"
        }
      ],
      "tag_strings": [
        "#guidance-implicit/design"
      ],
      "displays": [
        "Guidance type (implicit): Design (modularity, existing patterns, technical debt)"
      ],
      "filter_keys": [
        "guidance_type_implicit:design"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "guidance_type_implicit": [
          {
            "value": "design",
            "filter_key": "guidance_type_implicit:design",
            "display": "Guidance type (implicit): Design (modularity, existing patterns, technical debt)"
          }
        ]
      },
      "path": "projects/pandera/AGENTS.md",
      "project": "pandera",
      "start_line": 14,
      "line": 14,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 4,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/4#discussion_r4547361310",
      "commit_id": "9ea59156ad8f805d98e13fec600e923822903c02",
      "created_at": "2026-11-12T07:03:30Z",
      "updated_at": "2026-11-12T07:03:30Z"
    },
    {
      "id": 4547364633,
      "body": "#guidance-level-implicit/substantive-guidance",
      "quote": "# AGENTS.md",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,276 @@\n+# AGENTS.md",
      "tags": [
        {
          "raw": "#guidance-level-implicit/substantive-guidance",
          "namespace": "guidance-level-implicit",
          "value": "substantive-guidance",
          "dimension": "guidance_level_implicit",
          "dimension_label": "Guidance level (implicit)",
          "kind": "value",
          "value_label": "Substantive guidance",
          "display": "Guidance level (implicit): Substantive guidance",
          "filter_key": "guidance_level_implicit:substantive-guidance"
        }
      ],
      "tag_strings": [
        "#guidance-level-implicit/substantive-guidance"
      ],
      "displays": [
        "Guidance level (implicit): Substantive guidance"
      ],
      "filter_keys": [
        "guidance_level_implicit:substantive-guidance"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "guidance_level_implicit": [
          {
            "value": "substantive-guidance",
            "filter_key": "guidance_level_implicit:substantive-guidance",
            "display": "Guidance level (implicit): Substantive guidance"
          }
        ]
      },
      "path": "projects/pandera/AGENTS.md",
      "project": "pandera",
      "start_line": 1,
      "line": 1,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 4,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/4#discussion_r4547364633",
      "commit_id": "9ea59156ad8f805d98e13fec600e923822903c02",
      "created_at": "2026-11-12T07:03:58Z",
      "updated_at": "2026-11-12T07:03:58Z"
    },
    {
      "id": 4547370571,
      "body": "#stance-implicit/maintainers-use-ai-tools",
      "quote": ".claude\n.claude/worktrees",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,139 @@\n+.claude\n+.claude/worktrees",
      "tags": [
        {
          "raw": "#stance-implicit/maintainers-use-ai-tools",
          "namespace": "stance-implicit",
          "value": "maintainers-use-ai-tools",
          "dimension": "stance_implicit",
          "dimension_label": "Stance (implicit)",
          "kind": "value",
          "value_label": "Maintainers use of AI tools",
          "display": "Stance (implicit): Maintainers use of AI tools",
          "filter_key": "stance_implicit:maintainers-use-ai-tools"
        }
      ],
      "tag_strings": [
        "#stance-implicit/maintainers-use-ai-tools"
      ],
      "displays": [
        "Stance (implicit): Maintainers use of AI tools"
      ],
      "filter_keys": [
        "stance_implicit:maintainers-use-ai-tools"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stance_implicit": [
          {
            "value": "maintainers-use-ai-tools",
            "filter_key": "stance_implicit:maintainers-use-ai-tools",
            "display": "Stance (implicit): Maintainers use of AI tools"
          }
        ]
      },
      "path": "projects/pandera/gitignore",
      "project": "pandera",
      "start_line": 1,
      "line": 2,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 4,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/4#discussion_r4547370571",
      "commit_id": "9ea59156ad8f805d98e13fec600e923822903c02",
      "created_at": "2026-11-12T07:04:47Z",
      "updated_at": "2026-11-12T07:04:47Z"
    },
    {
      "id": 4547371510,
      "body": "#stance-implicit/maintainers-use-ai-tools",
      "quote": "# AGENTS.md",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,276 @@\n+# AGENTS.md",
      "tags": [
        {
          "raw": "#stance-implicit/maintainers-use-ai-tools",
          "namespace": "stance-implicit",
          "value": "maintainers-use-ai-tools",
          "dimension": "stance_implicit",
          "dimension_label": "Stance (implicit)",
          "kind": "value",
          "value_label": "Maintainers use of AI tools",
          "display": "Stance (implicit): Maintainers use of AI tools",
          "filter_key": "stance_implicit:maintainers-use-ai-tools"
        }
      ],
      "tag_strings": [
        "#stance-implicit/maintainers-use-ai-tools"
      ],
      "displays": [
        "Stance (implicit): Maintainers use of AI tools"
      ],
      "filter_keys": [
        "stance_implicit:maintainers-use-ai-tools"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stance_implicit": [
          {
            "value": "maintainers-use-ai-tools",
            "filter_key": "stance_implicit:maintainers-use-ai-tools",
            "display": "Stance (implicit): Maintainers use of AI tools"
          }
        ]
      },
      "path": "projects/pandera/AGENTS.md",
      "project": "pandera",
      "start_line": 1,
      "line": 1,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 4,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/4#discussion_r4547371510",
      "commit_id": "9ea59156ad8f805d98e13fec600e923822903c02",
      "created_at": "2026-11-12T07:04:55Z",
      "updated_at": "2026-11-12T07:04:55Z"
    },
    {
      "id": 4547438162,
      "body": "#guidance-implicit/design",
      "quote": "# AGENTS.md\n\n## Project Overview\n\nPandera is a data validation library for Python that provides a flexible,\nexpressive API for validating dataframes and series across multiple backends.\nIt supports pandas, polars, pyspark, ibis, dask, modin, and geopandas.\n\n- **License:** MIT\n- **Python:** >= 3.10 (tested on 3.10-3.14)\n- **Docs:** https://pandera.readthedocs.io\n- **Repo:** https://github.com/pandera-dev/pandera\n\n## Repository Structure\n\n```\npandera/                  # Main package\n\u251c\u2500\u2500 api/                  # Public validation API (backend-specific schemas/models)\n\u2502   \u251c\u2500\u2500 base/             # Abstract base classes (BaseSchema, BaseCheck, etc.)\n\u2502   \u251c\u2500\u2500 pandas/           # Pandas DataFrameSchema, Column, Index, DataFrameModel\n\u2502   \u251c\u2500\u2500 geopandas/        # GeoDataFrameSchema, GeoDataFrameModel (pandas-backed)\n\u2502   \u251c\u2500\u2500 polars/           # Polars schema and model implementations\n\u2502   \u251c\u2500\u2500 pyspark/          # PySpark schema and model implementations\n\u2502   \u251c\u2500\u2500 ibis/             # Ibis schema and model implementations\n\u2502   \u251c\u2500\u2500 dataframe/        # Shared dataframe components\n\u2502   \u251c\u2500\u2500 checks.py         # Check class (ge, le, isin, str_matches, etc.)\n\u2502   \u2514\u2500\u2500 hypotheses.py     # Hypothesis-based statistical testing\n\u251c\u2500\u2500 backends/             # Validation logic implementations per backend\n\u2502   \u251c\u2500\u2500 base/             # Abstract backend + builtin check/hypothesis impls\n\u2502   \u251c\u2500\u2500 pandas/           # Pandas backend (checks, components, container, etc.)\n\u2502   \u251c\u2500\u2500 polars/           # Polars backend\n\u2502   \u251c\u2500\u2500 pyspark/          # PySpark backend\n\u2502   \u2514\u2500\u2500 ibis/             # Ibis backend\n\u251c\u2500\u2500 engines/              # Type system and dtype handling per backend\n\u2502   \u251c\u2500\u2500 engine.py         # Engine metaclass and type registry\n\u2502   \u251c\u2500\u2500 pandas_engine.py  # Pandas dtype definitions\n\u2502   \u251c\u2500\u2500 numpy_engine.py   # NumPy dtype definitions\n\u2502   \u251c\u2500\u2500 polars_engine.py  # Polars dtype definitions\n\u2502   \u251c\u2500\u2500 pyspark_engine.py # PySpark dtype definitions\n\u2502   \u251c\u2500\u2500 ibis_engine.py    # Ibis dtype definitions\n\u2502   \u251c\u2500\u2500 pyarrow_engine.py # PyArrow dtype definitions\n\u2502   \u2514\u2500\u2500 geopandas_engine.py\n\u251c\u2500\u2500 typing/               # Type stubs for mypy integration\n\u251c\u2500\u2500 strategies/           # Hypothesis strategies: import ``pandera.strategies.pandas_strategies`` etc. (``strategies`` package does not import backends)\n\u251c\u2500\u2500 schema_inference/     # Infer schemas from data\n\u251c\u2500\u2500 schema_statistics/    # Statistical validation helpers\n\u251c\u2500\u2500 io/                   # Serialization: ``pandera.io.pandas_io``, ``polars_io``, ``pyspark_sql_io``, ``ibis_io``, ``xarray_io`` (``pandera.io`` package has no imports)\n\u251c\u2500\u2500 accessors/            # Pandas/PySpark accessor extensions (.pandera)\n\u251c\u2500\u2500 config.py             # PanderaConfig, ValidationDepth, ValidationScope\n\u251c\u2500\u2500 decorators.py         # @check_input, @check_output, @check_io, @check_types\n\u251c\u2500\u2500 dtypes.py             # Abstract data type definitions\n\u251c\u2500\u2500 errors.py             # SchemaError, SchemaInitError, ParserError, etc.\n\u251c\u2500\u2500 extensions.py         # Custom check/parser extension mechanism\n\u251c\u2500\u2500 cli.py                # Console script entry (imports ``pandera._cli.run``)\n\u251c\u2500\u2500 _cli/                 # Typer CLI: ``common``, ``validate``, ``infer``, ``generate``\n\u251c\u2500\u2500 pandas.py             # Pandas entry point: `import pandera.pandas as pa`\n\u251c\u2500\u2500 geopandas.py          # GeoPandas entry (`pg`): pandas API + GeoDataFrameSchema/Model\n\u251c\u2500\u2500 polars.py             # Polars entry point: `import pandera.polars as pa`\n\u251c\u2500\u2500 pyspark.py            # PySpark entry point: `import pandera.pyspark as pa`\n\u2514\u2500\u2500 ibis.py               # Ibis entry point: `import pandera.ibis as pa`\n\ntests/                    # Test suite (mirrors backend structure)\n\u251c\u2500\u2500 base/                 # Core tests (no backend-specific deps)\n\u251c\u2500\u2500 cli/                  # CLI tests (format/backend matrices; PySpark combos need ``PANDERA_RUN_SPARK_CLI=1``)\n\u251c\u2500\u2500 pandas/               # Pandas backend tests (~38 files)\n\u251c\u2500\u2500 polars/               # Polars backend tests\n\u251c\u2500\u2500 pyspark/              # PySpark backend tests\n\u251c\u2500\u2500 ibis/                 # Ibis backend tests\n\u251c\u2500\u2500 dask/                 # Dask integration tests\n\u251c\u2500\u2500 modin/                # Modin integration tests\n\u251c\u2500\u2500 geopandas/            # GeoPandas tests\n\u251c\u2500\u2500 strategies/           # Hypothesis strategy tests\n\u251c\u2500\u2500 hypotheses/           # Statistical hypothesis tests\n\u251c\u2500\u2500 io/                   # Serialization tests\n\u251c\u2500\u2500 fastapi/              # FastAPI integration tests\n\u251c\u2500\u2500 mypy/                 # MyPy type-checking tests\n\u2514\u2500\u2500 conftest.py           # Shared pytest fixtures\n\ndocs/source/              # Sphinx documentation (MyST markdown + RST)\n```\n\n## Architecture\n\n### Layered Design\n\n1. **API layer** (`pandera/api/`): Defines schemas, models, checks, and\n   parsers. Each backend has its own subpackage inheriting from `base/`.\n2. **Backend layer** (`pandera/backends/`): Implements actual validation logic.\n   Backends are registered via `BaseSchema.BACKEND_REGISTRY` and discovered at\n   runtime.\n3. **Engine layer** (`pandera/engines/`): Manages dtype registration and\n   coercion. Uses an `Engine` metaclass pattern for pluggable type systems.\n\n### Key Patterns\n\n- **Backend registry:** Backends register themselves at import time. The schema\n  objects delegate validation to the registered backend.\n- **Engine metaclass:** Each engine (pandas, polars, etc.) uses a metaclass that\n  maintains a dtype registry. Types are registered with `@Engine.register_dtype`.\n- **DataFrameModel:** Pydantic-style class-based schema definitions using type\n  annotations and `Field()` descriptors.\n- **Lazy validation:** Pass `lazy=True` to `schema.validate()` to collect all\n  errors instead of failing on the first one.\n\n### Entry Points\n\nUsers import backend-specific modules:\n```python\nimport pandera.pandas as pa    # Pandas\nimport pandera.polars as pa    # Polars\nimport pandera.pyspark as pa   # PySpark\nimport pandera.ibis as pa      # Ibis\n```\n\nThe top-level `import pandera` falls back to the pandas API for backward\ncompatibility.\n\n## Backward Compatibility\n\nPandera is a public library, so established behavior\u2014including annotation\nsemantics, backend APIs, and behavior exercised by existing tests\u2014is part of",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,276 @@\n+# AGENTS.md\n+\n+## Project Overview\n+\n+Pandera is a data validation library for Python that provides a flexible,\n+expressive API for validating dataframes and series across multiple backends.\n+It supports pandas, polars, pyspark, ibis, dask, modin, and geopandas.\n+\n+- **License:** MIT\n+- **Python:** >= 3.10 (tested on 3.10-3.14)\n+- **Docs:** https://pandera.readthedocs.io\n+- **Repo:** https://github.com/pandera-dev/pandera\n+\n+## Repository Structure\n+\n+```\n+pandera/                  # Main package\n+\u251c\u2500\u2500 api/                  # Public validation API (backend-specific schemas/models)\n+\u2502   \u251c\u2500\u2500 base/             # Abstract base classes (BaseSchema, BaseCheck, etc.)\n+\u2502   \u251c\u2500\u2500 pandas/           # Pandas DataFrameSchema, Column, Index, DataFrameModel\n+\u2502   \u251c\u2500\u2500 geopandas/        # GeoDataFrameSchema, GeoDataFrameModel (pandas-backed)\n+\u2502   \u251c\u2500\u2500 polars/           # Polars schema and model implementations\n+\u2502   \u251c\u2500\u2500 pyspark/          # PySpark schema and model implementations\n+\u2502   \u251c\u2500\u2500 ibis/             # Ibis schema and model implementations\n+\u2502   \u251c\u2500\u2500 dataframe/        # Shared dataframe components\n+\u2502   \u251c\u2500\u2500 checks.py         # Check class (ge, le, isin, str_matches, etc.)\n+\u2502   \u2514\u2500\u2500 hypotheses.py     # Hypothesis-based statistical testing\n+\u251c\u2500\u2500 backends/             # Validation logic implementations per backend\n+\u2502   \u251c\u2500\u2500 base/             # Abstract backend + builtin check/hypothesis impls\n+\u2502   \u251c\u2500\u2500 pandas/           # Pandas backend (checks, components, container, etc.)\n+\u2502   \u251c\u2500\u2500 polars/           # Polars backend\n+\u2502   \u251c\u2500\u2500 pyspark/          # PySpark backend\n+\u2502   \u2514\u2500\u2500 ibis/             # Ibis backend\n+\u251c\u2500\u2500 engines/              # Type system and dtype handling per backend\n+\u2502   \u251c\u2500\u2500 engine.py         # Engine metaclass and type registry\n+\u2502   \u251c\u2500\u2500 pandas_engine.py  # Pandas dtype definitions\n+\u2502   \u251c\u2500\u2500 numpy_engine.py   # NumPy dtype definitions\n+\u2502   \u251c\u2500\u2500 polars_engine.py  # Polars dtype definitions\n+\u2502   \u251c\u2500\u2500 pyspark_engine.py # PySpark dtype definitions\n+\u2502   \u251c\u2500\u2500 ibis_engine.py    # Ibis dtype definitions\n+\u2502   \u251c\u2500\u2500 pyarrow_engine.py # PyArrow dtype definitions\n+\u2502   \u2514\u2500\u2500 geopandas_engine.py\n+\u251c\u2500\u2500 typing/               # Type stubs for mypy integration\n+\u251c\u2500\u2500 strategies/           # Hypothesis strategies: import ``pandera.strategies.pandas_strategies`` etc. (``strategies`` package does not import backends)\n+\u251c\u2500\u2500 schema_inference/     # Infer schemas from data\n+\u251c\u2500\u2500 schema_statistics/    # Statistical validation helpers\n+\u251c\u2500\u2500 io/                   # Serialization: ``pandera.io.pandas_io``, ``polars_io``, ``pyspark_sql_io``, ``ibis_io``, ``xarray_io`` (``pandera.io`` package has no imports)\n+\u251c\u2500\u2500 accessors/            # Pandas/PySpark accessor extensions (.pandera)\n+\u251c\u2500\u2500 config.py             # PanderaConfig, ValidationDepth, ValidationScope\n+\u251c\u2500\u2500 decorators.py         # @check_input, @check_output, @check_io, @check_types\n+\u251c\u2500\u2500 dtypes.py             # Abstract data type definitions\n+\u251c\u2500\u2500 errors.py             # SchemaError, SchemaInitError, ParserError, etc.\n+\u251c\u2500\u2500 extensions.py         # Custom check/parser extension mechanism\n+\u251c\u2500\u2500 cli.py                # Console script entry (imports ``pandera._cli.run``)\n+\u251c\u2500\u2500 _cli/                 # Typer CLI: ``common``, ``validate``, ``infer``, ``generate``\n+\u251c\u2500\u2500 pandas.py             # Pandas entry point: `import pandera.pandas as pa`\n+\u251c\u2500\u2500 geopandas.py          # GeoPandas entry (`pg`): pandas API + GeoDataFrameSchema/Model\n+\u251c\u2500\u2500 polars.py             # Polars entry point: `import pandera.polars as pa`\n+\u251c\u2500\u2500 pyspark.py            # PySpark entry point: `import pandera.pyspark as pa`\n+\u2514\u2500\u2500 ibis.py               # Ibis entry point: `import pandera.ibis as pa`\n+\n+tests/                    # Test suite (mirrors backend structure)\n+\u251c\u2500\u2500 base/                 # Core tests (no backend-specific deps)\n+\u251c\u2500\u2500 cli/                  # CLI tests (format/backend matrices; PySpark combos need ``PANDERA_RUN_SPARK_CLI=1``)\n+\u251c\u2500\u2500 pandas/               # Pandas backend tests (~38 files)\n+\u251c\u2500\u2500 polars/               # Polars backend tests\n+\u251c\u2500\u2500 pyspark/              # PySpark backend tests\n+\u251c\u2500\u2500 ibis/                 # Ibis backend tests\n+\u251c\u2500\u2500 dask/                 # Dask integration tests\n+\u251c\u2500\u2500 modin/                # Modin integration tests\n+\u251c\u2500\u2500 geopandas/            # GeoPandas tests\n+\u251c\u2500\u2500 strategies/           # Hypothesis strategy tests\n+\u251c\u2500\u2500 hypotheses/           # Statistical hypothesis tests\n+\u251c\u2500\u2500 io/                   # Serialization tests\n+\u251c\u2500\u2500 fastapi/              # FastAPI integration tests\n+\u251c\u2500\u2500 mypy/                 # MyPy type-checking tests\n+\u2514\u2500\u2500 conftest.py           # Shared pytest fixtures\n+\n+docs/source/              # Sphinx documentation (MyST markdown + RST)\n+```\n+\n+## Architecture\n+\n+### Layered Design\n+\n+1. **API layer** (`pandera/api/`): Defines schemas, models, checks, and\n+   parsers. Each backend has its own subpackage inheriting from `base/`.\n+2. **Backend layer** (`pandera/backends/`): Implements actual validation logic.\n+   Backends are registered via `BaseSchema.BACKEND_REGISTRY` and discovered at\n+   runtime.\n+3. **Engine layer** (`pandera/engines/`): Manages dtype registration and\n+   coercion. Uses an `Engine` metaclass pattern for pluggable type systems.\n+\n+### Key Patterns\n+\n+- **Backend registry:** Backends register themselves at import time. The schema\n+  objects delegate validation to the registered backend.\n+- **Engine metaclass:** Each engine (pandas, polars, etc.) uses a metaclass that\n+  maintains a dtype registry. Types are registered with `@Engine.register_dtype`.\n+- **DataFrameModel:** Pydantic-style class-based schema definitions using type\n+  annotations and `Field()` descriptors.\n+- **Lazy validation:** Pass `lazy=True` to `schema.validate()` to collect all\n+  errors instead of failing on the first one.\n+\n+### Entry Points\n+\n+Users import backend-specific modules:\n+```python\n+import pandera.pandas as pa    # Pandas\n+import pandera.polars as pa    # Polars\n+import pandera.pyspark as pa   # PySpark\n+import pandera.ibis as pa      # Ibis\n+```\n+\n+The top-level `import pandera` falls back to the pandas API for backward\n+compatibility.\n+\n+## Backward Compatibility\n+\n+Pandera is a public library, so established behavior\u2014including annotation\n+semantics, backend APIs, and behavior exercised by existing tests\u2014is part of",
      "tags": [
        {
          "raw": "#guidance-implicit/design",
          "namespace": "guidance-implicit",
          "value": "design",
          "dimension": "guidance_type_implicit",
          "dimension_label": "Guidance type (implicit)",
          "kind": "value",
          "value_label": "Design (modularity, existing patterns, technical debt)",
          "display": "Guidance type (implicit): Design (modularity, existing patterns, technical debt)",
          "filter_key": "guidance_type_implicit:design"
        }
      ],
      "tag_strings": [
        "#guidance-implicit/design"
      ],
      "displays": [
        "Guidance type (implicit): Design (modularity, existing patterns, technical debt)"
      ],
      "filter_keys": [
        "guidance_type_implicit:design"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "guidance_type_implicit": [
          {
            "value": "design",
            "filter_key": "guidance_type_implicit:design",
            "display": "Guidance type (implicit): Design (modularity, existing patterns, technical debt)"
          }
        ]
      },
      "path": "projects/pandera/AGENTS.md",
      "project": "pandera",
      "start_line": 120,
      "line": 121,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 4,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/4#discussion_r4547438162",
      "commit_id": "9ea59156ad8f805d98e13fec600e923822903c02",
      "created_at": "2026-11-12T07:14:20Z",
      "updated_at": "2026-11-12T07:14:20Z"
    },
    {
      "id": 4547439646,
      "body": "#rationale-implicit/code-quality",
      "quote": "# AGENTS.md\n\n## Project Overview\n\nPandera is a data validation library for Python that provides a flexible,\nexpressive API for validating dataframes and series across multiple backends.\nIt supports pandas, polars, pyspark, ibis, dask, modin, and geopandas.\n\n- **License:** MIT\n- **Python:** >= 3.10 (tested on 3.10-3.14)\n- **Docs:** https://pandera.readthedocs.io\n- **Repo:** https://github.com/pandera-dev/pandera\n\n## Repository Structure\n\n```\npandera/                  # Main package\n\u251c\u2500\u2500 api/                  # Public validation API (backend-specific schemas/models)\n\u2502   \u251c\u2500\u2500 base/             # Abstract base classes (BaseSchema, BaseCheck, etc.)\n\u2502   \u251c\u2500\u2500 pandas/           # Pandas DataFrameSchema, Column, Index, DataFrameModel\n\u2502   \u251c\u2500\u2500 geopandas/        # GeoDataFrameSchema, GeoDataFrameModel (pandas-backed)\n\u2502   \u251c\u2500\u2500 polars/           # Polars schema and model implementations\n\u2502   \u251c\u2500\u2500 pyspark/          # PySpark schema and model implementations\n\u2502   \u251c\u2500\u2500 ibis/             # Ibis schema and model implementations\n\u2502   \u251c\u2500\u2500 dataframe/        # Shared dataframe components\n\u2502   \u251c\u2500\u2500 checks.py         # Check class (ge, le, isin, str_matches, etc.)\n\u2502   \u2514\u2500\u2500 hypotheses.py     # Hypothesis-based statistical testing\n\u251c\u2500\u2500 backends/             # Validation logic implementations per backend\n\u2502   \u251c\u2500\u2500 base/             # Abstract backend + builtin check/hypothesis impls\n\u2502   \u251c\u2500\u2500 pandas/           # Pandas backend (checks, components, container, etc.)\n\u2502   \u251c\u2500\u2500 polars/           # Polars backend\n\u2502   \u251c\u2500\u2500 pyspark/          # PySpark backend\n\u2502   \u2514\u2500\u2500 ibis/             # Ibis backend\n\u251c\u2500\u2500 engines/              # Type system and dtype handling per backend\n\u2502   \u251c\u2500\u2500 engine.py         # Engine metaclass and type registry\n\u2502   \u251c\u2500\u2500 pandas_engine.py  # Pandas dtype definitions\n\u2502   \u251c\u2500\u2500 numpy_engine.py   # NumPy dtype definitions\n\u2502   \u251c\u2500\u2500 polars_engine.py  # Polars dtype definitions\n\u2502   \u251c\u2500\u2500 pyspark_engine.py # PySpark dtype definitions\n\u2502   \u251c\u2500\u2500 ibis_engine.py    # Ibis dtype definitions\n\u2502   \u251c\u2500\u2500 pyarrow_engine.py # PyArrow dtype definitions\n\u2502   \u2514\u2500\u2500 geopandas_engine.py\n\u251c\u2500\u2500 typing/               # Type stubs for mypy integration\n\u251c\u2500\u2500 strategies/           # Hypothesis strategies: import ``pandera.strategies.pandas_strategies`` etc. (``strategies`` package does not import backends)\n\u251c\u2500\u2500 schema_inference/     # Infer schemas from data\n\u251c\u2500\u2500 schema_statistics/    # Statistical validation helpers\n\u251c\u2500\u2500 io/                   # Serialization: ``pandera.io.pandas_io``, ``polars_io``, ``pyspark_sql_io``, ``ibis_io``, ``xarray_io`` (``pandera.io`` package has no imports)\n\u251c\u2500\u2500 accessors/            # Pandas/PySpark accessor extensions (.pandera)\n\u251c\u2500\u2500 config.py             # PanderaConfig, ValidationDepth, ValidationScope\n\u251c\u2500\u2500 decorators.py         # @check_input, @check_output, @check_io, @check_types\n\u251c\u2500\u2500 dtypes.py             # Abstract data type definitions\n\u251c\u2500\u2500 errors.py             # SchemaError, SchemaInitError, ParserError, etc.\n\u251c\u2500\u2500 extensions.py         # Custom check/parser extension mechanism\n\u251c\u2500\u2500 cli.py                # Console script entry (imports ``pandera._cli.run``)\n\u251c\u2500\u2500 _cli/                 # Typer CLI: ``common``, ``validate``, ``infer``, ``generate``\n\u251c\u2500\u2500 pandas.py             # Pandas entry point: `import pandera.pandas as pa`\n\u251c\u2500\u2500 geopandas.py          # GeoPandas entry (`pg`): pandas API + GeoDataFrameSchema/Model\n\u251c\u2500\u2500 polars.py             # Polars entry point: `import pandera.polars as pa`\n\u251c\u2500\u2500 pyspark.py            # PySpark entry point: `import pandera.pyspark as pa`\n\u2514\u2500\u2500 ibis.py               # Ibis entry point: `import pandera.ibis as pa`\n\ntests/                    # Test suite (mirrors backend structure)\n\u251c\u2500\u2500 base/                 # Core tests (no backend-specific deps)\n\u251c\u2500\u2500 cli/                  # CLI tests (format/backend matrices; PySpark combos need ``PANDERA_RUN_SPARK_CLI=1``)\n\u251c\u2500\u2500 pandas/               # Pandas backend tests (~38 files)\n\u251c\u2500\u2500 polars/               # Polars backend tests\n\u251c\u2500\u2500 pyspark/              # PySpark backend tests\n\u251c\u2500\u2500 ibis/                 # Ibis backend tests\n\u251c\u2500\u2500 dask/                 # Dask integration tests\n\u251c\u2500\u2500 modin/                # Modin integration tests\n\u251c\u2500\u2500 geopandas/            # GeoPandas tests\n\u251c\u2500\u2500 strategies/           # Hypothesis strategy tests\n\u251c\u2500\u2500 hypotheses/           # Statistical hypothesis tests\n\u251c\u2500\u2500 io/                   # Serialization tests\n\u251c\u2500\u2500 fastapi/              # FastAPI integration tests\n\u251c\u2500\u2500 mypy/                 # MyPy type-checking tests\n\u2514\u2500\u2500 conftest.py           # Shared pytest fixtures\n\ndocs/source/              # Sphinx documentation (MyST markdown + RST)\n```\n\n## Architecture\n\n### Layered Design\n\n1. **API layer** (`pandera/api/`): Defines schemas, models, checks, and\n   parsers. Each backend has its own subpackage inheriting from `base/`.\n2. **Backend layer** (`pandera/backends/`): Implements actual validation logic.\n   Backends are registered via `BaseSchema.BACKEND_REGISTRY` and discovered at\n   runtime.\n3. **Engine layer** (`pandera/engines/`): Manages dtype registration and\n   coercion. Uses an `Engine` metaclass pattern for pluggable type systems.\n\n### Key Patterns\n\n- **Backend registry:** Backends register themselves at import time. The schema\n  objects delegate validation to the registered backend.\n- **Engine metaclass:** Each engine (pandas, polars, etc.) uses a metaclass that\n  maintains a dtype registry. Types are registered with `@Engine.register_dtype`.\n- **DataFrameModel:** Pydantic-style class-based schema definitions using type\n  annotations and `Field()` descriptors.\n- **Lazy validation:** Pass `lazy=True` to `schema.validate()` to collect all\n  errors instead of failing on the first one.\n\n### Entry Points\n\nUsers import backend-specific modules:\n```python\nimport pandera.pandas as pa    # Pandas\nimport pandera.polars as pa    # Polars\nimport pandera.pyspark as pa   # PySpark\nimport pandera.ibis as pa      # Ibis\n```\n\nThe top-level `import pandera` falls back to the pandas API for backward\ncompatibility.\n\n## Backward Compatibility\n\nPandera is a public library, so established behavior\u2014including annotation\nsemantics, backend APIs, and behavior exercised by existing tests\u2014is part of\nthe compatibility contract. Before changing such behavior, identify the\naffected user-facing contract and preserve it unless the change is\nintentional and justified. Do not rewrite existing tests simply to match a\nnew implementation; add regression tests for any intentionally changed\nbehavior and document migration or deprecation considerations.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,276 @@\n+# AGENTS.md\n+\n+## Project Overview\n+\n+Pandera is a data validation library for Python that provides a flexible,\n+expressive API for validating dataframes and series across multiple backends.\n+It supports pandas, polars, pyspark, ibis, dask, modin, and geopandas.\n+\n+- **License:** MIT\n+- **Python:** >= 3.10 (tested on 3.10-3.14)\n+- **Docs:** https://pandera.readthedocs.io\n+- **Repo:** https://github.com/pandera-dev/pandera\n+\n+## Repository Structure\n+\n+```\n+pandera/                  # Main package\n+\u251c\u2500\u2500 api/                  # Public validation API (backend-specific schemas/models)\n+\u2502   \u251c\u2500\u2500 base/             # Abstract base classes (BaseSchema, BaseCheck, etc.)\n+\u2502   \u251c\u2500\u2500 pandas/           # Pandas DataFrameSchema, Column, Index, DataFrameModel\n+\u2502   \u251c\u2500\u2500 geopandas/        # GeoDataFrameSchema, GeoDataFrameModel (pandas-backed)\n+\u2502   \u251c\u2500\u2500 polars/           # Polars schema and model implementations\n+\u2502   \u251c\u2500\u2500 pyspark/          # PySpark schema and model implementations\n+\u2502   \u251c\u2500\u2500 ibis/             # Ibis schema and model implementations\n+\u2502   \u251c\u2500\u2500 dataframe/        # Shared dataframe components\n+\u2502   \u251c\u2500\u2500 checks.py         # Check class (ge, le, isin, str_matches, etc.)\n+\u2502   \u2514\u2500\u2500 hypotheses.py     # Hypothesis-based statistical testing\n+\u251c\u2500\u2500 backends/             # Validation logic implementations per backend\n+\u2502   \u251c\u2500\u2500 base/             # Abstract backend + builtin check/hypothesis impls\n+\u2502   \u251c\u2500\u2500 pandas/           # Pandas backend (checks, components, container, etc.)\n+\u2502   \u251c\u2500\u2500 polars/           # Polars backend\n+\u2502   \u251c\u2500\u2500 pyspark/          # PySpark backend\n+\u2502   \u2514\u2500\u2500 ibis/             # Ibis backend\n+\u251c\u2500\u2500 engines/              # Type system and dtype handling per backend\n+\u2502   \u251c\u2500\u2500 engine.py         # Engine metaclass and type registry\n+\u2502   \u251c\u2500\u2500 pandas_engine.py  # Pandas dtype definitions\n+\u2502   \u251c\u2500\u2500 numpy_engine.py   # NumPy dtype definitions\n+\u2502   \u251c\u2500\u2500 polars_engine.py  # Polars dtype definitions\n+\u2502   \u251c\u2500\u2500 pyspark_engine.py # PySpark dtype definitions\n+\u2502   \u251c\u2500\u2500 ibis_engine.py    # Ibis dtype definitions\n+\u2502   \u251c\u2500\u2500 pyarrow_engine.py # PyArrow dtype definitions\n+\u2502   \u2514\u2500\u2500 geopandas_engine.py\n+\u251c\u2500\u2500 typing/               # Type stubs for mypy integration\n+\u251c\u2500\u2500 strategies/           # Hypothesis strategies: import ``pandera.strategies.pandas_strategies`` etc. (``strategies`` package does not import backends)\n+\u251c\u2500\u2500 schema_inference/     # Infer schemas from data\n+\u251c\u2500\u2500 schema_statistics/    # Statistical validation helpers\n+\u251c\u2500\u2500 io/                   # Serialization: ``pandera.io.pandas_io``, ``polars_io``, ``pyspark_sql_io``, ``ibis_io``, ``xarray_io`` (``pandera.io`` package has no imports)\n+\u251c\u2500\u2500 accessors/            # Pandas/PySpark accessor extensions (.pandera)\n+\u251c\u2500\u2500 config.py             # PanderaConfig, ValidationDepth, ValidationScope\n+\u251c\u2500\u2500 decorators.py         # @check_input, @check_output, @check_io, @check_types\n+\u251c\u2500\u2500 dtypes.py             # Abstract data type definitions\n+\u251c\u2500\u2500 errors.py             # SchemaError, SchemaInitError, ParserError, etc.\n+\u251c\u2500\u2500 extensions.py         # Custom check/parser extension mechanism\n+\u251c\u2500\u2500 cli.py                # Console script entry (imports ``pandera._cli.run``)\n+\u251c\u2500\u2500 _cli/                 # Typer CLI: ``common``, ``validate``, ``infer``, ``generate``\n+\u251c\u2500\u2500 pandas.py             # Pandas entry point: `import pandera.pandas as pa`\n+\u251c\u2500\u2500 geopandas.py          # GeoPandas entry (`pg`): pandas API + GeoDataFrameSchema/Model\n+\u251c\u2500\u2500 polars.py             # Polars entry point: `import pandera.polars as pa`\n+\u251c\u2500\u2500 pyspark.py            # PySpark entry point: `import pandera.pyspark as pa`\n+\u2514\u2500\u2500 ibis.py               # Ibis entry point: `import pandera.ibis as pa`\n+\n+tests/                    # Test suite (mirrors backend structure)\n+\u251c\u2500\u2500 base/                 # Core tests (no backend-specific deps)\n+\u251c\u2500\u2500 cli/                  # CLI tests (format/backend matrices; PySpark combos need ``PANDERA_RUN_SPARK_CLI=1``)\n+\u251c\u2500\u2500 pandas/               # Pandas backend tests (~38 files)\n+\u251c\u2500\u2500 polars/               # Polars backend tests\n+\u251c\u2500\u2500 pyspark/              # PySpark backend tests\n+\u251c\u2500\u2500 ibis/                 # Ibis backend tests\n+\u251c\u2500\u2500 dask/                 # Dask integration tests\n+\u251c\u2500\u2500 modin/                # Modin integration tests\n+\u251c\u2500\u2500 geopandas/            # GeoPandas tests\n+\u251c\u2500\u2500 strategies/           # Hypothesis strategy tests\n+\u251c\u2500\u2500 hypotheses/           # Statistical hypothesis tests\n+\u251c\u2500\u2500 io/                   # Serialization tests\n+\u251c\u2500\u2500 fastapi/              # FastAPI integration tests\n+\u251c\u2500\u2500 mypy/                 # MyPy type-checking tests\n+\u2514\u2500\u2500 conftest.py           # Shared pytest fixtures\n+\n+docs/source/              # Sphinx documentation (MyST markdown + RST)\n+```\n+\n+## Architecture\n+\n+### Layered Design\n+\n+1. **API layer** (`pandera/api/`): Defines schemas, models, checks, and\n+   parsers. Each backend has its own subpackage inheriting from `base/`.\n+2. **Backend layer** (`pandera/backends/`): Implements actual validation logic.\n+   Backends are registered via `BaseSchema.BACKEND_REGISTRY` and discovered at\n+   runtime.\n+3. **Engine layer** (`pandera/engines/`): Manages dtype registration and\n+   coercion. Uses an `Engine` metaclass pattern for pluggable type systems.\n+\n+### Key Patterns\n+\n+- **Backend registry:** Backends register themselves at import time. The schema\n+  objects delegate validation to the registered backend.\n+- **Engine metaclass:** Each engine (pandas, polars, etc.) uses a metaclass that\n+  maintains a dtype registry. Types are registered with `@Engine.register_dtype`.\n+- **DataFrameModel:** Pydantic-style class-based schema definitions using type\n+  annotations and `Field()` descriptors.\n+- **Lazy validation:** Pass `lazy=True` to `schema.validate()` to collect all\n+  errors instead of failing on the first one.\n+\n+### Entry Points\n+\n+Users import backend-specific modules:\n+```python\n+import pandera.pandas as pa    # Pandas\n+import pandera.polars as pa    # Polars\n+import pandera.pyspark as pa   # PySpark\n+import pandera.ibis as pa      # Ibis\n+```\n+\n+The top-level `import pandera` falls back to the pandas API for backward\n+compatibility.\n+\n+## Backward Compatibility\n+\n+Pandera is a public library, so established behavior\u2014including annotation\n+semantics, backend APIs, and behavior exercised by existing tests\u2014is part of\n+the compatibility contract. Before changing such behavior, identify the\n+affected user-facing contract and preserve it unless the change is\n+intentional and justified. Do not rewrite existing tests simply to match a\n+new implementation; add regression tests for any intentionally changed\n+behavior and document migration or deprecation considerations.",
      "tags": [
        {
          "raw": "#rationale-implicit/code-quality",
          "namespace": "rationale-implicit",
          "value": "code-quality",
          "dimension": "rationale_implicit",
          "dimension_label": "Stated rationale (implicit)",
          "kind": "value",
          "value_label": "Code quality",
          "display": "Stated rationale (implicit): Code quality",
          "filter_key": "rationale_implicit:code-quality"
        }
      ],
      "tag_strings": [
        "#rationale-implicit/code-quality"
      ],
      "displays": [
        "Stated rationale (implicit): Code quality"
      ],
      "filter_keys": [
        "rationale_implicit:code-quality"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "rationale_implicit": [
          {
            "value": "code-quality",
            "filter_key": "rationale_implicit:code-quality",
            "display": "Stated rationale (implicit): Code quality"
          }
        ]
      },
      "path": "projects/pandera/AGENTS.md",
      "project": "pandera",
      "start_line": 122,
      "line": 126,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 4,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/4#discussion_r4547439646",
      "commit_id": "9ea59156ad8f805d98e13fec600e923822903c02",
      "created_at": "2026-11-12T07:14:31Z",
      "updated_at": "2026-11-12T07:14:31Z"
    },
    {
      "id": 4547443826,
      "body": "Claude Opus 5.5:  #guidance-implicit/evaluation",
      "quote": "# AGENTS.md\n\n## Project Overview\n\nPandera is a data validation library for Python that provides a flexible,\nexpressive API for validating dataframes and series across multiple backends.\nIt supports pandas, polars, pyspark, ibis, dask, modin, and geopandas.\n\n- **License:** MIT\n- **Python:** >= 3.10 (tested on 3.10-3.14)\n- **Docs:** https://pandera.readthedocs.io\n- **Repo:** https://github.com/pandera-dev/pandera\n\n## Repository Structure\n\n```\npandera/                  # Main package\n\u251c\u2500\u2500 api/                  # Public validation API (backend-specific schemas/models)\n\u2502   \u251c\u2500\u2500 base/             # Abstract base classes (BaseSchema, BaseCheck, etc.)\n\u2502   \u251c\u2500\u2500 pandas/           # Pandas DataFrameSchema, Column, Index, DataFrameModel\n\u2502   \u251c\u2500\u2500 geopandas/        # GeoDataFrameSchema, GeoDataFrameModel (pandas-backed)\n\u2502   \u251c\u2500\u2500 polars/           # Polars schema and model implementations\n\u2502   \u251c\u2500\u2500 pyspark/          # PySpark schema and model implementations\n\u2502   \u251c\u2500\u2500 ibis/             # Ibis schema and model implementations\n\u2502   \u251c\u2500\u2500 dataframe/        # Shared dataframe components\n\u2502   \u251c\u2500\u2500 checks.py         # Check class (ge, le, isin, str_matches, etc.)\n\u2502   \u2514\u2500\u2500 hypotheses.py     # Hypothesis-based statistical testing\n\u251c\u2500\u2500 backends/             # Validation logic implementations per backend\n\u2502   \u251c\u2500\u2500 base/             # Abstract backend + builtin check/hypothesis impls\n\u2502   \u251c\u2500\u2500 pandas/           # Pandas backend (checks, components, container, etc.)\n\u2502   \u251c\u2500\u2500 polars/           # Polars backend\n\u2502   \u251c\u2500\u2500 pyspark/          # PySpark backend\n\u2502   \u2514\u2500\u2500 ibis/             # Ibis backend\n\u251c\u2500\u2500 engines/              # Type system and dtype handling per backend\n\u2502   \u251c\u2500\u2500 engine.py         # Engine metaclass and type registry\n\u2502   \u251c\u2500\u2500 pandas_engine.py  # Pandas dtype definitions\n\u2502   \u251c\u2500\u2500 numpy_engine.py   # NumPy dtype definitions\n\u2502   \u251c\u2500\u2500 polars_engine.py  # Polars dtype definitions\n\u2502   \u251c\u2500\u2500 pyspark_engine.py # PySpark dtype definitions\n\u2502   \u251c\u2500\u2500 ibis_engine.py    # Ibis dtype definitions\n\u2502   \u251c\u2500\u2500 pyarrow_engine.py # PyArrow dtype definitions\n\u2502   \u2514\u2500\u2500 geopandas_engine.py\n\u251c\u2500\u2500 typing/               # Type stubs for mypy integration\n\u251c\u2500\u2500 strategies/           # Hypothesis strategies: import ``pandera.strategies.pandas_strategies`` etc. (``strategies`` package does not import backends)\n\u251c\u2500\u2500 schema_inference/     # Infer schemas from data\n\u251c\u2500\u2500 schema_statistics/    # Statistical validation helpers\n\u251c\u2500\u2500 io/                   # Serialization: ``pandera.io.pandas_io``, ``polars_io``, ``pyspark_sql_io``, ``ibis_io``, ``xarray_io`` (``pandera.io`` package has no imports)\n\u251c\u2500\u2500 accessors/            # Pandas/PySpark accessor extensions (.pandera)\n\u251c\u2500\u2500 config.py             # PanderaConfig, ValidationDepth, ValidationScope\n\u251c\u2500\u2500 decorators.py         # @check_input, @check_output, @check_io, @check_types\n\u251c\u2500\u2500 dtypes.py             # Abstract data type definitions\n\u251c\u2500\u2500 errors.py             # SchemaError, SchemaInitError, ParserError, etc.\n\u251c\u2500\u2500 extensions.py         # Custom check/parser extension mechanism\n\u251c\u2500\u2500 cli.py                # Console script entry (imports ``pandera._cli.run``)\n\u251c\u2500\u2500 _cli/                 # Typer CLI: ``common``, ``validate``, ``infer``, ``generate``\n\u251c\u2500\u2500 pandas.py             # Pandas entry point: `import pandera.pandas as pa`\n\u251c\u2500\u2500 geopandas.py          # GeoPandas entry (`pg`): pandas API + GeoDataFrameSchema/Model\n\u251c\u2500\u2500 polars.py             # Polars entry point: `import pandera.polars as pa`\n\u251c\u2500\u2500 pyspark.py            # PySpark entry point: `import pandera.pyspark as pa`\n\u2514\u2500\u2500 ibis.py               # Ibis entry point: `import pandera.ibis as pa`\n\ntests/                    # Test suite (mirrors backend structure)\n\u251c\u2500\u2500 base/                 # Core tests (no backend-specific deps)\n\u251c\u2500\u2500 cli/                  # CLI tests (format/backend matrices; PySpark combos need ``PANDERA_RUN_SPARK_CLI=1``)\n\u251c\u2500\u2500 pandas/               # Pandas backend tests (~38 files)\n\u251c\u2500\u2500 polars/               # Polars backend tests\n\u251c\u2500\u2500 pyspark/              # PySpark backend tests\n\u251c\u2500\u2500 ibis/                 # Ibis backend tests\n\u251c\u2500\u2500 dask/                 # Dask integration tests\n\u251c\u2500\u2500 modin/                # Modin integration tests\n\u251c\u2500\u2500 geopandas/            # GeoPandas tests\n\u251c\u2500\u2500 strategies/           # Hypothesis strategy tests\n\u251c\u2500\u2500 hypotheses/           # Statistical hypothesis tests\n\u251c\u2500\u2500 io/                   # Serialization tests\n\u251c\u2500\u2500 fastapi/              # FastAPI integration tests\n\u251c\u2500\u2500 mypy/                 # MyPy type-checking tests\n\u2514\u2500\u2500 conftest.py           # Shared pytest fixtures\n\ndocs/source/              # Sphinx documentation (MyST markdown + RST)\n```\n\n## Architecture\n\n### Layered Design\n\n1. **API layer** (`pandera/api/`): Defines schemas, models, checks, and\n   parsers. Each backend has its own subpackage inheriting from `base/`.\n2. **Backend layer** (`pandera/backends/`): Implements actual validation logic.\n   Backends are registered via `BaseSchema.BACKEND_REGISTRY` and discovered at\n   runtime.\n3. **Engine layer** (`pandera/engines/`): Manages dtype registration and\n   coercion. Uses an `Engine` metaclass pattern for pluggable type systems.\n\n### Key Patterns\n\n- **Backend registry:** Backends register themselves at import time. The schema\n  objects delegate validation to the registered backend.\n- **Engine metaclass:** Each engine (pandas, polars, etc.) uses a metaclass that\n  maintains a dtype registry. Types are registered with `@Engine.register_dtype`.\n- **DataFrameModel:** Pydantic-style class-based schema definitions using type\n  annotations and `Field()` descriptors.\n- **Lazy validation:** Pass `lazy=True` to `schema.validate()` to collect all\n  errors instead of failing on the first one.\n\n### Entry Points\n\nUsers import backend-specific modules:\n```python\nimport pandera.pandas as pa    # Pandas\nimport pandera.polars as pa    # Polars\nimport pandera.pyspark as pa   # PySpark\nimport pandera.ibis as pa      # Ibis\n```\n\nThe top-level `import pandera` falls back to the pandas API for backward\ncompatibility.\n\n## Backward Compatibility\n\nPandera is a public library, so established behavior\u2014including annotation\nsemantics, backend APIs, and behavior exercised by existing tests\u2014is part of\nthe compatibility contract. Before changing such behavior, identify the\naffected user-facing contract and preserve it unless the change is\nintentional and justified. Do not rewrite existing tests simply to match a\nnew implementation; add regression tests for any intentionally changed\nbehavior and document migration or deprecation considerations.\n\nAny pull request that modifies an existing test must include a\n`## Backward compatibility` section in its description. Explain the behavior",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,276 @@\n+# AGENTS.md\n+\n+## Project Overview\n+\n+Pandera is a data validation library for Python that provides a flexible,\n+expressive API for validating dataframes and series across multiple backends.\n+It supports pandas, polars, pyspark, ibis, dask, modin, and geopandas.\n+\n+- **License:** MIT\n+- **Python:** >= 3.10 (tested on 3.10-3.14)\n+- **Docs:** https://pandera.readthedocs.io\n+- **Repo:** https://github.com/pandera-dev/pandera\n+\n+## Repository Structure\n+\n+```\n+pandera/                  # Main package\n+\u251c\u2500\u2500 api/                  # Public validation API (backend-specific schemas/models)\n+\u2502   \u251c\u2500\u2500 base/             # Abstract base classes (BaseSchema, BaseCheck, etc.)\n+\u2502   \u251c\u2500\u2500 pandas/           # Pandas DataFrameSchema, Column, Index, DataFrameModel\n+\u2502   \u251c\u2500\u2500 geopandas/        # GeoDataFrameSchema, GeoDataFrameModel (pandas-backed)\n+\u2502   \u251c\u2500\u2500 polars/           # Polars schema and model implementations\n+\u2502   \u251c\u2500\u2500 pyspark/          # PySpark schema and model implementations\n+\u2502   \u251c\u2500\u2500 ibis/             # Ibis schema and model implementations\n+\u2502   \u251c\u2500\u2500 dataframe/        # Shared dataframe components\n+\u2502   \u251c\u2500\u2500 checks.py         # Check class (ge, le, isin, str_matches, etc.)\n+\u2502   \u2514\u2500\u2500 hypotheses.py     # Hypothesis-based statistical testing\n+\u251c\u2500\u2500 backends/             # Validation logic implementations per backend\n+\u2502   \u251c\u2500\u2500 base/             # Abstract backend + builtin check/hypothesis impls\n+\u2502   \u251c\u2500\u2500 pandas/           # Pandas backend (checks, components, container, etc.)\n+\u2502   \u251c\u2500\u2500 polars/           # Polars backend\n+\u2502   \u251c\u2500\u2500 pyspark/          # PySpark backend\n+\u2502   \u2514\u2500\u2500 ibis/             # Ibis backend\n+\u251c\u2500\u2500 engines/              # Type system and dtype handling per backend\n+\u2502   \u251c\u2500\u2500 engine.py         # Engine metaclass and type registry\n+\u2502   \u251c\u2500\u2500 pandas_engine.py  # Pandas dtype definitions\n+\u2502   \u251c\u2500\u2500 numpy_engine.py   # NumPy dtype definitions\n+\u2502   \u251c\u2500\u2500 polars_engine.py  # Polars dtype definitions\n+\u2502   \u251c\u2500\u2500 pyspark_engine.py # PySpark dtype definitions\n+\u2502   \u251c\u2500\u2500 ibis_engine.py    # Ibis dtype definitions\n+\u2502   \u251c\u2500\u2500 pyarrow_engine.py # PyArrow dtype definitions\n+\u2502   \u2514\u2500\u2500 geopandas_engine.py\n+\u251c\u2500\u2500 typing/               # Type stubs for mypy integration\n+\u251c\u2500\u2500 strategies/           # Hypothesis strategies: import ``pandera.strategies.pandas_strategies`` etc. (``strategies`` package does not import backends)\n+\u251c\u2500\u2500 schema_inference/     # Infer schemas from data\n+\u251c\u2500\u2500 schema_statistics/    # Statistical validation helpers\n+\u251c\u2500\u2500 io/                   # Serialization: ``pandera.io.pandas_io``, ``polars_io``, ``pyspark_sql_io``, ``ibis_io``, ``xarray_io`` (``pandera.io`` package has no imports)\n+\u251c\u2500\u2500 accessors/            # Pandas/PySpark accessor extensions (.pandera)\n+\u251c\u2500\u2500 config.py             # PanderaConfig, ValidationDepth, ValidationScope\n+\u251c\u2500\u2500 decorators.py         # @check_input, @check_output, @check_io, @check_types\n+\u251c\u2500\u2500 dtypes.py             # Abstract data type definitions\n+\u251c\u2500\u2500 errors.py             # SchemaError, SchemaInitError, ParserError, etc.\n+\u251c\u2500\u2500 extensions.py         # Custom check/parser extension mechanism\n+\u251c\u2500\u2500 cli.py                # Console script entry (imports ``pandera._cli.run``)\n+\u251c\u2500\u2500 _cli/                 # Typer CLI: ``common``, ``validate``, ``infer``, ``generate``\n+\u251c\u2500\u2500 pandas.py             # Pandas entry point: `import pandera.pandas as pa`\n+\u251c\u2500\u2500 geopandas.py          # GeoPandas entry (`pg`): pandas API + GeoDataFrameSchema/Model\n+\u251c\u2500\u2500 polars.py             # Polars entry point: `import pandera.polars as pa`\n+\u251c\u2500\u2500 pyspark.py            # PySpark entry point: `import pandera.pyspark as pa`\n+\u2514\u2500\u2500 ibis.py               # Ibis entry point: `import pandera.ibis as pa`\n+\n+tests/                    # Test suite (mirrors backend structure)\n+\u251c\u2500\u2500 base/                 # Core tests (no backend-specific deps)\n+\u251c\u2500\u2500 cli/                  # CLI tests (format/backend matrices; PySpark combos need ``PANDERA_RUN_SPARK_CLI=1``)\n+\u251c\u2500\u2500 pandas/               # Pandas backend tests (~38 files)\n+\u251c\u2500\u2500 polars/               # Polars backend tests\n+\u251c\u2500\u2500 pyspark/              # PySpark backend tests\n+\u251c\u2500\u2500 ibis/                 # Ibis backend tests\n+\u251c\u2500\u2500 dask/                 # Dask integration tests\n+\u251c\u2500\u2500 modin/                # Modin integration tests\n+\u251c\u2500\u2500 geopandas/            # GeoPandas tests\n+\u251c\u2500\u2500 strategies/           # Hypothesis strategy tests\n+\u251c\u2500\u2500 hypotheses/           # Statistical hypothesis tests\n+\u251c\u2500\u2500 io/                   # Serialization tests\n+\u251c\u2500\u2500 fastapi/              # FastAPI integration tests\n+\u251c\u2500\u2500 mypy/                 # MyPy type-checking tests\n+\u2514\u2500\u2500 conftest.py           # Shared pytest fixtures\n+\n+docs/source/              # Sphinx documentation (MyST markdown + RST)\n+```\n+\n+## Architecture\n+\n+### Layered Design\n+\n+1. **API layer** (`pandera/api/`): Defines schemas, models, checks, and\n+   parsers. Each backend has its own subpackage inheriting from `base/`.\n+2. **Backend layer** (`pandera/backends/`): Implements actual validation logic.\n+   Backends are registered via `BaseSchema.BACKEND_REGISTRY` and discovered at\n+   runtime.\n+3. **Engine layer** (`pandera/engines/`): Manages dtype registration and\n+   coercion. Uses an `Engine` metaclass pattern for pluggable type systems.\n+\n+### Key Patterns\n+\n+- **Backend registry:** Backends register themselves at import time. The schema\n+  objects delegate validation to the registered backend.\n+- **Engine metaclass:** Each engine (pandas, polars, etc.) uses a metaclass that\n+  maintains a dtype registry. Types are registered with `@Engine.register_dtype`.\n+- **DataFrameModel:** Pydantic-style class-based schema definitions using type\n+  annotations and `Field()` descriptors.\n+- **Lazy validation:** Pass `lazy=True` to `schema.validate()` to collect all\n+  errors instead of failing on the first one.\n+\n+### Entry Points\n+\n+Users import backend-specific modules:\n+```python\n+import pandera.pandas as pa    # Pandas\n+import pandera.polars as pa    # Polars\n+import pandera.pyspark as pa   # PySpark\n+import pandera.ibis as pa      # Ibis\n+```\n+\n+The top-level `import pandera` falls back to the pandas API for backward\n+compatibility.\n+\n+## Backward Compatibility\n+\n+Pandera is a public library, so established behavior\u2014including annotation\n+semantics, backend APIs, and behavior exercised by existing tests\u2014is part of\n+the compatibility contract. Before changing such behavior, identify the\n+affected user-facing contract and preserve it unless the change is\n+intentional and justified. Do not rewrite existing tests simply to match a\n+new implementation; add regression tests for any intentionally changed\n+behavior and document migration or deprecation considerations.\n+\n+Any pull request that modifies an existing test must include a\n+`## Backward compatibility` section in its description. Explain the behavior",
      "tags": [
        {
          "raw": "#guidance-implicit/evaluation",
          "namespace": "guidance-implicit",
          "value": "evaluation",
          "dimension": "guidance_type_implicit",
          "dimension_label": "Guidance type (implicit)",
          "kind": "value",
          "value_label": "Evaluation (understand, test, and explain output)",
          "display": "Guidance type (implicit): Evaluation (understand, test, and explain output)",
          "filter_key": "guidance_type_implicit:evaluation"
        }
      ],
      "tag_strings": [
        "#guidance-implicit/evaluation"
      ],
      "displays": [
        "Guidance type (implicit): Evaluation (understand, test, and explain output)"
      ],
      "filter_keys": [
        "guidance_type_implicit:evaluation"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "guidance_type_implicit": [
          {
            "value": "evaluation",
            "filter_key": "guidance_type_implicit:evaluation",
            "display": "Guidance type (implicit): Evaluation (understand, test, and explain output)"
          }
        ]
      },
      "path": "projects/pandera/AGENTS.md",
      "project": "pandera",
      "start_line": 128,
      "line": 129,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 4,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/4#discussion_r4547443826",
      "commit_id": "9ea59156ad8f805d98e13fec600e923822903c02",
      "created_at": "2026-11-12T07:15:04Z",
      "updated_at": "2026-11-12T07:15:04Z"
    },
    {
      "id": 4547446560,
      "body": "#guidance-implicit/design",
      "quote": "# AGENTS.md\n\n## Project Overview\n\nPandera is a data validation library for Python that provides a flexible,\nexpressive API for validating dataframes and series across multiple backends.\nIt supports pandas, polars, pyspark, ibis, dask, modin, and geopandas.\n\n- **License:** MIT\n- **Python:** >= 3.10 (tested on 3.10-3.14)\n- **Docs:** https://pandera.readthedocs.io\n- **Repo:** https://github.com/pandera-dev/pandera\n\n## Repository Structure\n\n```\npandera/                  # Main package\n\u251c\u2500\u2500 api/                  # Public validation API (backend-specific schemas/models)\n\u2502   \u251c\u2500\u2500 base/             # Abstract base classes (BaseSchema, BaseCheck, etc.)\n\u2502   \u251c\u2500\u2500 pandas/           # Pandas DataFrameSchema, Column, Index, DataFrameModel\n\u2502   \u251c\u2500\u2500 geopandas/        # GeoDataFrameSchema, GeoDataFrameModel (pandas-backed)\n\u2502   \u251c\u2500\u2500 polars/           # Polars schema and model implementations\n\u2502   \u251c\u2500\u2500 pyspark/          # PySpark schema and model implementations\n\u2502   \u251c\u2500\u2500 ibis/             # Ibis schema and model implementations\n\u2502   \u251c\u2500\u2500 dataframe/        # Shared dataframe components\n\u2502   \u251c\u2500\u2500 checks.py         # Check class (ge, le, isin, str_matches, etc.)\n\u2502   \u2514\u2500\u2500 hypotheses.py     # Hypothesis-based statistical testing\n\u251c\u2500\u2500 backends/             # Validation logic implementations per backend\n\u2502   \u251c\u2500\u2500 base/             # Abstract backend + builtin check/hypothesis impls\n\u2502   \u251c\u2500\u2500 pandas/           # Pandas backend (checks, components, container, etc.)\n\u2502   \u251c\u2500\u2500 polars/           # Polars backend\n\u2502   \u251c\u2500\u2500 pyspark/          # PySpark backend\n\u2502   \u2514\u2500\u2500 ibis/             # Ibis backend\n\u251c\u2500\u2500 engines/              # Type system and dtype handling per backend\n\u2502   \u251c\u2500\u2500 engine.py         # Engine metaclass and type registry\n\u2502   \u251c\u2500\u2500 pandas_engine.py  # Pandas dtype definitions\n\u2502   \u251c\u2500\u2500 numpy_engine.py   # NumPy dtype definitions\n\u2502   \u251c\u2500\u2500 polars_engine.py  # Polars dtype definitions\n\u2502   \u251c\u2500\u2500 pyspark_engine.py # PySpark dtype definitions\n\u2502   \u251c\u2500\u2500 ibis_engine.py    # Ibis dtype definitions\n\u2502   \u251c\u2500\u2500 pyarrow_engine.py # PyArrow dtype definitions\n\u2502   \u2514\u2500\u2500 geopandas_engine.py\n\u251c\u2500\u2500 typing/               # Type stubs for mypy integration\n\u251c\u2500\u2500 strategies/           # Hypothesis strategies: import ``pandera.strategies.pandas_strategies`` etc. (``strategies`` package does not import backends)\n\u251c\u2500\u2500 schema_inference/     # Infer schemas from data\n\u251c\u2500\u2500 schema_statistics/    # Statistical validation helpers\n\u251c\u2500\u2500 io/                   # Serialization: ``pandera.io.pandas_io``, ``polars_io``, ``pyspark_sql_io``, ``ibis_io``, ``xarray_io`` (``pandera.io`` package has no imports)\n\u251c\u2500\u2500 accessors/            # Pandas/PySpark accessor extensions (.pandera)\n\u251c\u2500\u2500 config.py             # PanderaConfig, ValidationDepth, ValidationScope\n\u251c\u2500\u2500 decorators.py         # @check_input, @check_output, @check_io, @check_types\n\u251c\u2500\u2500 dtypes.py             # Abstract data type definitions\n\u251c\u2500\u2500 errors.py             # SchemaError, SchemaInitError, ParserError, etc.\n\u251c\u2500\u2500 extensions.py         # Custom check/parser extension mechanism\n\u251c\u2500\u2500 cli.py                # Console script entry (imports ``pandera._cli.run``)\n\u251c\u2500\u2500 _cli/                 # Typer CLI: ``common``, ``validate``, ``infer``, ``generate``\n\u251c\u2500\u2500 pandas.py             # Pandas entry point: `import pandera.pandas as pa`\n\u251c\u2500\u2500 geopandas.py          # GeoPandas entry (`pg`): pandas API + GeoDataFrameSchema/Model\n\u251c\u2500\u2500 polars.py             # Polars entry point: `import pandera.polars as pa`\n\u251c\u2500\u2500 pyspark.py            # PySpark entry point: `import pandera.pyspark as pa`\n\u2514\u2500\u2500 ibis.py               # Ibis entry point: `import pandera.ibis as pa`\n\ntests/                    # Test suite (mirrors backend structure)\n\u251c\u2500\u2500 base/                 # Core tests (no backend-specific deps)\n\u251c\u2500\u2500 cli/                  # CLI tests (format/backend matrices; PySpark combos need ``PANDERA_RUN_SPARK_CLI=1``)\n\u251c\u2500\u2500 pandas/               # Pandas backend tests (~38 files)\n\u251c\u2500\u2500 polars/               # Polars backend tests\n\u251c\u2500\u2500 pyspark/              # PySpark backend tests\n\u251c\u2500\u2500 ibis/                 # Ibis backend tests\n\u251c\u2500\u2500 dask/                 # Dask integration tests\n\u251c\u2500\u2500 modin/                # Modin integration tests\n\u251c\u2500\u2500 geopandas/            # GeoPandas tests\n\u251c\u2500\u2500 strategies/           # Hypothesis strategy tests\n\u251c\u2500\u2500 hypotheses/           # Statistical hypothesis tests\n\u251c\u2500\u2500 io/                   # Serialization tests\n\u251c\u2500\u2500 fastapi/              # FastAPI integration tests\n\u251c\u2500\u2500 mypy/                 # MyPy type-checking tests\n\u2514\u2500\u2500 conftest.py           # Shared pytest fixtures\n\ndocs/source/              # Sphinx documentation (MyST markdown + RST)\n```\n\n## Architecture\n\n### Layered Design\n\n1. **API layer** (`pandera/api/`): Defines schemas, models, checks, and\n   parsers. Each backend has its own subpackage inheriting from `base/`.\n2. **Backend layer** (`pandera/backends/`): Implements actual validation logic.\n   Backends are registered via `BaseSchema.BACKEND_REGISTRY` and discovered at\n   runtime.\n3. **Engine layer** (`pandera/engines/`): Manages dtype registration and\n   coercion. Uses an `Engine` metaclass pattern for pluggable type systems.\n\n### Key Patterns\n\n- **Backend registry:** Backends register themselves at import time. The schema\n  objects delegate validation to the registered backend.\n- **Engine metaclass:** Each engine (pandas, polars, etc.) uses a metaclass that\n  maintains a dtype registry. Types are registered with `@Engine.register_dtype`.\n- **DataFrameModel:** Pydantic-style class-based schema definitions using type\n  annotations and `Field()` descriptors.\n- **Lazy validation:** Pass `lazy=True` to `schema.validate()` to collect all\n  errors instead of failing on the first one.\n\n### Entry Points\n\nUsers import backend-specific modules:\n```python\nimport pandera.pandas as pa    # Pandas\nimport pandera.polars as pa    # Polars\nimport pandera.pyspark as pa   # PySpark\nimport pandera.ibis as pa      # Ibis\n```\n\nThe top-level `import pandera` falls back to the pandas API for backward\ncompatibility.\n\n## Backward Compatibility\n\nPandera is a public library, so established behavior\u2014including annotation\nsemantics, backend APIs, and behavior exercised by existing tests\u2014is part of\nthe compatibility contract. Before changing such behavior, identify the\naffected user-facing contract and preserve it unless the change is\nintentional and justified. Do not rewrite existing tests simply to match a\nnew implementation; add regression tests for any intentionally changed\nbehavior and document migration or deprecation considerations.\n\nAny pull request that modifies an existing test must include a\n`## Backward compatibility` section in its description. Explain the behavior\ncovered by the changed test, whether it changes for users, why the change is\nnecessary, and how compatibility is preserved or communicated. This section\nis required even when the test change appears to be an implementation detail;\nstate explicitly when there is no user-facing behavior change.\n\n## Development Setup\n\n```bash\n# Install uv and sync all extras\nmake setup\n\n# macOS (uses polars-lts-cpu)\nmake setup-macos\n```\n\nThis runs `uv sync --all-extras` which installs all optional dependencies and\ndev/testing groups.\n\n## Running Tests\n\nTests are organized by backend. Each backend's tests live in `tests/<backend>/`.\n\n```bash\n# Run core + pandas tests\npytest tests/core tests/pandas\n\n# Run a specific backend's tests\npytest tests/polars/\npytest tests/pyspark/\npytest tests/ibis/\n\n# Run all tests with coverage\npytest --cov=pandera --cov-report=term-missing tests/\n\n# Run via nox (parameterized across Python/pandas/pydantic/polars versions)\nnox -db uv -s tests\n\n# Run a specific nox session\nnox -db uv -s \"tests(extra='polars', pandas=None, pydantic=None, polars='1.33.1')\"\n```\n\nThe nox `tests` session maps extras to test directories: `extra=None` runs\n`tests/base/`, `extra='pandas'` runs `tests/pandas/`, etc.\n\n### Test Matrix (CI)\n\n- Python: 3.10, 3.11, 3.12, 3.13, 3.14\n- Pandas: 2.1.1, 2.3.3\n- Pydantic: 1.10.11, 2.12.3\n- Polars: 1.20.0, 1.33.1, 1.42.1\n\n## Code Quality\n\n### Linting and Formatting\n\n- **Ruff:** Linting (`I`, `UP` rules) and formatting. Line length: 79.\n- **isort:** Import sorting (line length 79).\n- **mypy:** Static type checking (v1.19.1). Config in `mypy.ini`.\n- **pyupgrade:** Python 3.9+ syntax upgrades.\n- **flynt:** f-string conversion.\n- **codespell:** Spell checking.\n\n`prek` hooks enforce all of the above. Run manually:\n```bash\nprek run --all-files\n```\n\n### Style Guidelines\n\n- Line length: **79 characters**\n- Target Python version: **3.10+**\n- Use f-strings (enforced by flynt)\n- Use modern Python syntax: `X | Y` unions, etc. (enforced by pyupgrade/ruff)\n- Ruff ignores `UP007` (X | Y in annotations \u2014 kept for runtime typing compat)\n\n## Dependencies\n\n### Core (always required)\n- `packaging`, `pydantic`, `typeguard`, `typing_extensions`, `typing_inspect`\n\n### Optional (by backend/feature)\n| Extra        | Key packages                          |\n|--------------|---------------------------------------|\n| `pandas`     | numpy, pandas >= 2.1.1                |\n| `polars`     | polars >= 1.20.0                     |\n| `pyspark`    | pyspark[connect] >= 3.2.0             |\n| `ibis`       | ibis-framework >= 9.0.0               |\n| `dask`       | dask[dataframe], distributed          |\n| `modin`      | modin, ray, dask                      |\n| `geopandas`  | geopandas, shapely                    |\n| `strategies` | hypothesis >= 6.92.7                  |\n| `hypotheses` | scipy                                 |\n| `io`         | pyyaml                                |\n| `fastapi`    | fastapi                               |\n| `mypy`       | pandas-stubs, scipy-stubs             |\n| `all`        | Everything above                      |\n\n## Building Documentation\n\n```bash\n# Full build with doctests (cleans first)\nmake docs\n\n# Quick build (no clean, no -W flag)\nmake quick-docs\n\n# Via nox\nnox -db uv -s docs\n```\n\nDocumentation uses Sphinx with MyST (markdown) and RST. Source is in\n`docs/source/`. API reference is auto-generated into\n`docs/source/reference/generated/`.\n\n## Error Hierarchy\n\n- `SchemaError` \u2014 Raised when data fails validation\n- `SchemaErrors` \u2014 Container for multiple errors (lazy validation)\n- `SchemaInitError` \u2014 Raised when a schema is defined incorrectly\n- `ParserError` \u2014 Raised when data parsing/coercion fails\n- `BackendNotFoundError` \u2014 Raised when a required backend is not installed\n\n## Adding a New Check\n\n1. For builtin checks, add to `pandera/backends/base/builtin_checks.py` and\n   register in each backend's `checks.py`.\n2. For custom checks via extensions, use `pandera.extensions.register_check_method`.\n3. Add corresponding tests in the relevant `tests/<backend>/` directory.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,276 @@\n+# AGENTS.md\n+\n+## Project Overview\n+\n+Pandera is a data validation library for Python that provides a flexible,\n+expressive API for validating dataframes and series across multiple backends.\n+It supports pandas, polars, pyspark, ibis, dask, modin, and geopandas.\n+\n+- **License:** MIT\n+- **Python:** >= 3.10 (tested on 3.10-3.14)\n+- **Docs:** https://pandera.readthedocs.io\n+- **Repo:** https://github.com/pandera-dev/pandera\n+\n+## Repository Structure\n+\n+```\n+pandera/                  # Main package\n+\u251c\u2500\u2500 api/                  # Public validation API (backend-specific schemas/models)\n+\u2502   \u251c\u2500\u2500 base/             # Abstract base classes (BaseSchema, BaseCheck, etc.)\n+\u2502   \u251c\u2500\u2500 pandas/           # Pandas DataFrameSchema, Column, Index, DataFrameModel\n+\u2502   \u251c\u2500\u2500 geopandas/        # GeoDataFrameSchema, GeoDataFrameModel (pandas-backed)\n+\u2502   \u251c\u2500\u2500 polars/           # Polars schema and model implementations\n+\u2502   \u251c\u2500\u2500 pyspark/          # PySpark schema and model implementations\n+\u2502   \u251c\u2500\u2500 ibis/             # Ibis schema and model implementations\n+\u2502   \u251c\u2500\u2500 dataframe/        # Shared dataframe components\n+\u2502   \u251c\u2500\u2500 checks.py         # Check class (ge, le, isin, str_matches, etc.)\n+\u2502   \u2514\u2500\u2500 hypotheses.py     # Hypothesis-based statistical testing\n+\u251c\u2500\u2500 backends/             # Validation logic implementations per backend\n+\u2502   \u251c\u2500\u2500 base/             # Abstract backend + builtin check/hypothesis impls\n+\u2502   \u251c\u2500\u2500 pandas/           # Pandas backend (checks, components, container, etc.)\n+\u2502   \u251c\u2500\u2500 polars/           # Polars backend\n+\u2502   \u251c\u2500\u2500 pyspark/          # PySpark backend\n+\u2502   \u2514\u2500\u2500 ibis/             # Ibis backend\n+\u251c\u2500\u2500 engines/              # Type system and dtype handling per backend\n+\u2502   \u251c\u2500\u2500 engine.py         # Engine metaclass and type registry\n+\u2502   \u251c\u2500\u2500 pandas_engine.py  # Pandas dtype definitions\n+\u2502   \u251c\u2500\u2500 numpy_engine.py   # NumPy dtype definitions\n+\u2502   \u251c\u2500\u2500 polars_engine.py  # Polars dtype definitions\n+\u2502   \u251c\u2500\u2500 pyspark_engine.py # PySpark dtype definitions\n+\u2502   \u251c\u2500\u2500 ibis_engine.py    # Ibis dtype definitions\n+\u2502   \u251c\u2500\u2500 pyarrow_engine.py # PyArrow dtype definitions\n+\u2502   \u2514\u2500\u2500 geopandas_engine.py\n+\u251c\u2500\u2500 typing/               # Type stubs for mypy integration\n+\u251c\u2500\u2500 strategies/           # Hypothesis strategies: import ``pandera.strategies.pandas_strategies`` etc. (``strategies`` package does not import backends)\n+\u251c\u2500\u2500 schema_inference/     # Infer schemas from data\n+\u251c\u2500\u2500 schema_statistics/    # Statistical validation helpers\n+\u251c\u2500\u2500 io/                   # Serialization: ``pandera.io.pandas_io``, ``polars_io``, ``pyspark_sql_io``, ``ibis_io``, ``xarray_io`` (``pandera.io`` package has no imports)\n+\u251c\u2500\u2500 accessors/            # Pandas/PySpark accessor extensions (.pandera)\n+\u251c\u2500\u2500 config.py             # PanderaConfig, ValidationDepth, ValidationScope\n+\u251c\u2500\u2500 decorators.py         # @check_input, @check_output, @check_io, @check_types\n+\u251c\u2500\u2500 dtypes.py             # Abstract data type definitions\n+\u251c\u2500\u2500 errors.py             # SchemaError, SchemaInitError, ParserError, etc.\n+\u251c\u2500\u2500 extensions.py         # Custom check/parser extension mechanism\n+\u251c\u2500\u2500 cli.py                # Console script entry (imports ``pandera._cli.run``)\n+\u251c\u2500\u2500 _cli/                 # Typer CLI: ``common``, ``validate``, ``infer``, ``generate``\n+\u251c\u2500\u2500 pandas.py             # Pandas entry point: `import pandera.pandas as pa`\n+\u251c\u2500\u2500 geopandas.py          # GeoPandas entry (`pg`): pandas API + GeoDataFrameSchema/Model\n+\u251c\u2500\u2500 polars.py             # Polars entry point: `import pandera.polars as pa`\n+\u251c\u2500\u2500 pyspark.py            # PySpark entry point: `import pandera.pyspark as pa`\n+\u2514\u2500\u2500 ibis.py               # Ibis entry point: `import pandera.ibis as pa`\n+\n+tests/                    # Test suite (mirrors backend structure)\n+\u251c\u2500\u2500 base/                 # Core tests (no backend-specific deps)\n+\u251c\u2500\u2500 cli/                  # CLI tests (format/backend matrices; PySpark combos need ``PANDERA_RUN_SPARK_CLI=1``)\n+\u251c\u2500\u2500 pandas/               # Pandas backend tests (~38 files)\n+\u251c\u2500\u2500 polars/               # Polars backend tests\n+\u251c\u2500\u2500 pyspark/              # PySpark backend tests\n+\u251c\u2500\u2500 ibis/                 # Ibis backend tests\n+\u251c\u2500\u2500 dask/                 # Dask integration tests\n+\u251c\u2500\u2500 modin/                # Modin integration tests\n+\u251c\u2500\u2500 geopandas/            # GeoPandas tests\n+\u251c\u2500\u2500 strategies/           # Hypothesis strategy tests\n+\u251c\u2500\u2500 hypotheses/           # Statistical hypothesis tests\n+\u251c\u2500\u2500 io/                   # Serialization tests\n+\u251c\u2500\u2500 fastapi/              # FastAPI integration tests\n+\u251c\u2500\u2500 mypy/                 # MyPy type-checking tests\n+\u2514\u2500\u2500 conftest.py           # Shared pytest fixtures\n+\n+docs/source/              # Sphinx documentation (MyST markdown + RST)\n+```\n+\n+## Architecture\n+\n+### Layered Design\n+\n+1. **API layer** (`pandera/api/`): Defines schemas, models, checks, and\n+   parsers. Each backend has its own subpackage inheriting from `base/`.\n+2. **Backend layer** (`pandera/backends/`): Implements actual validation logic.\n+   Backends are registered via `BaseSchema.BACKEND_REGISTRY` and discovered at\n+   runtime.\n+3. **Engine layer** (`pandera/engines/`): Manages dtype registration and\n+   coercion. Uses an `Engine` metaclass pattern for pluggable type systems.\n+\n+### Key Patterns\n+\n+- **Backend registry:** Backends register themselves at import time. The schema\n+  objects delegate validation to the registered backend.\n+- **Engine metaclass:** Each engine (pandas, polars, etc.) uses a metaclass that\n+  maintains a dtype registry. Types are registered with `@Engine.register_dtype`.\n+- **DataFrameModel:** Pydantic-style class-based schema definitions using type\n+  annotations and `Field()` descriptors.\n+- **Lazy validation:** Pass `lazy=True` to `schema.validate()` to collect all\n+  errors instead of failing on the first one.\n+\n+### Entry Points\n+\n+Users import backend-specific modules:\n+```python\n+import pandera.pandas as pa    # Pandas\n+import pandera.polars as pa    # Polars\n+import pandera.pyspark as pa   # PySpark\n+import pandera.ibis as pa      # Ibis\n+```\n+\n+The top-level `import pandera` falls back to the pandas API for backward\n+compatibility.\n+\n+## Backward Compatibility\n+\n+Pandera is a public library, so established behavior\u2014including annotation\n+semantics, backend APIs, and behavior exercised by existing tests\u2014is part of\n+the compatibility contract. Before changing such behavior, identify the\n+affected user-facing contract and preserve it unless the change is\n+intentional and justified. Do not rewrite existing tests simply to match a\n+new implementation; add regression tests for any intentionally changed\n+behavior and document migration or deprecation considerations.\n+\n+Any pull request that modifies an existing test must include a\n+`## Backward compatibility` section in its description. Explain the behavior\n+covered by the changed test, whether it changes for users, why the change is\n+necessary, and how compatibility is preserved or communicated. This section\n+is required even when the test change appears to be an implementation detail;\n+state explicitly when there is no user-facing behavior change.\n+\n+## Development Setup\n+\n+```bash\n+# Install uv and sync all extras\n+make setup\n+\n+# macOS (uses polars-lts-cpu)\n+make setup-macos\n+```\n+\n+This runs `uv sync --all-extras` which installs all optional dependencies and\n+dev/testing groups.\n+\n+## Running Tests\n+\n+Tests are organized by backend. Each backend's tests live in `tests/<backend>/`.\n+\n+```bash\n+# Run core + pandas tests\n+pytest tests/core tests/pandas\n+\n+# Run a specific backend's tests\n+pytest tests/polars/\n+pytest tests/pyspark/\n+pytest tests/ibis/\n+\n+# Run all tests with coverage\n+pytest --cov=pandera --cov-report=term-missing tests/\n+\n+# Run via nox (parameterized across Python/pandas/pydantic/polars versions)\n+nox -db uv -s tests\n+\n+# Run a specific nox session\n+nox -db uv -s \"tests(extra='polars', pandas=None, pydantic=None, polars='1.33.1')\"\n+```\n+\n+The nox `tests` session maps extras to test directories: `extra=None` runs\n+`tests/base/`, `extra='pandas'` runs `tests/pandas/`, etc.\n+\n+### Test Matrix (CI)\n+\n+- Python: 3.10, 3.11, 3.12, 3.13, 3.14\n+- Pandas: 2.1.1, 2.3.3\n+- Pydantic: 1.10.11, 2.12.3\n+- Polars: 1.20.0, 1.33.1, 1.42.1\n+\n+## Code Quality\n+\n+### Linting and Formatting\n+\n+- **Ruff:** Linting (`I`, `UP` rules) and formatting. Line length: 79.\n+- **isort:** Import sorting (line length 79).\n+- **mypy:** Static type checking (v1.19.1). Config in `mypy.ini`.\n+- **pyupgrade:** Python 3.9+ syntax upgrades.\n+- **flynt:** f-string conversion.\n+- **codespell:** Spell checking.\n+\n+`prek` hooks enforce all of the above. Run manually:\n+```bash\n+prek run --all-files\n+```\n+\n+### Style Guidelines\n+\n+- Line length: **79 characters**\n+- Target Python version: **3.10+**\n+- Use f-strings (enforced by flynt)\n+- Use modern Python syntax: `X | Y` unions, etc. (enforced by pyupgrade/ruff)\n+- Ruff ignores `UP007` (X | Y in annotations \u2014 kept for runtime typing compat)\n+\n+## Dependencies\n+\n+### Core (always required)\n+- `packaging`, `pydantic`, `typeguard`, `typing_extensions`, `typing_inspect`\n+\n+### Optional (by backend/feature)\n+| Extra        | Key packages                          |\n+|--------------|---------------------------------------|\n+| `pandas`     | numpy, pandas >= 2.1.1                |\n+| `polars`     | polars >= 1.20.0                     |\n+| `pyspark`    | pyspark[connect] >= 3.2.0             |\n+| `ibis`       | ibis-framework >= 9.0.0               |\n+| `dask`       | dask[dataframe], distributed          |\n+| `modin`      | modin, ray, dask                      |\n+| `geopandas`  | geopandas, shapely                    |\n+| `strategies` | hypothesis >= 6.92.7                  |\n+| `hypotheses` | scipy                                 |\n+| `io`         | pyyaml                                |\n+| `fastapi`    | fastapi                               |\n+| `mypy`       | pandas-stubs, scipy-stubs             |\n+| `all`        | Everything above                      |\n+\n+## Building Documentation\n+\n+```bash\n+# Full build with doctests (cleans first)\n+make docs\n+\n+# Quick build (no clean, no -W flag)\n+make quick-docs\n+\n+# Via nox\n+nox -db uv -s docs\n+```\n+\n+Documentation uses Sphinx with MyST (markdown) and RST. Source is in\n+`docs/source/`. API reference is auto-generated into\n+`docs/source/reference/generated/`.\n+\n+## Error Hierarchy\n+\n+- `SchemaError` \u2014 Raised when data fails validation\n+- `SchemaErrors` \u2014 Container for multiple errors (lazy validation)\n+- `SchemaInitError` \u2014 Raised when a schema is defined incorrectly\n+- `ParserError` \u2014 Raised when data parsing/coercion fails\n+- `BackendNotFoundError` \u2014 Raised when a required backend is not installed\n+\n+## Adding a New Check\n+\n+1. For builtin checks, add to `pandera/backends/base/builtin_checks.py` and\n+   register in each backend's `checks.py`.\n+2. For custom checks via extensions, use `pandera.extensions.register_check_method`.\n+3. Add corresponding tests in the relevant `tests/<backend>/` directory.",
      "tags": [
        {
          "raw": "#guidance-implicit/design",
          "namespace": "guidance-implicit",
          "value": "design",
          "dimension": "guidance_type_implicit",
          "dimension_label": "Guidance type (implicit)",
          "kind": "value",
          "value_label": "Design (modularity, existing patterns, technical debt)",
          "display": "Guidance type (implicit): Design (modularity, existing patterns, technical debt)",
          "filter_key": "guidance_type_implicit:design"
        }
      ],
      "tag_strings": [
        "#guidance-implicit/design"
      ],
      "displays": [
        "Guidance type (implicit): Design (modularity, existing patterns, technical debt)"
      ],
      "filter_keys": [
        "guidance_type_implicit:design"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "guidance_type_implicit": [
          {
            "value": "design",
            "filter_key": "guidance_type_implicit:design",
            "display": "Guidance type (implicit): Design (modularity, existing patterns, technical debt)"
          }
        ]
      },
      "path": "projects/pandera/AGENTS.md",
      "project": "pandera",
      "start_line": 252,
      "line": 257,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 4,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/4#discussion_r4547446560",
      "commit_id": "9ea59156ad8f805d98e13fec600e923822903c02",
      "created_at": "2026-11-12T07:15:28Z",
      "updated_at": "2026-11-12T07:15:28Z"
    },
    {
      "id": 4547451546,
      "body": "#guidance-implicit/evaluation",
      "quote": "# AGENTS.md\n\n## Project Overview\n\nPandera is a data validation library for Python that provides a flexible,\nexpressive API for validating dataframes and series across multiple backends.\nIt supports pandas, polars, pyspark, ibis, dask, modin, and geopandas.\n\n- **License:** MIT\n- **Python:** >= 3.10 (tested on 3.10-3.14)\n- **Docs:** https://pandera.readthedocs.io\n- **Repo:** https://github.com/pandera-dev/pandera\n\n## Repository Structure\n\n```\npandera/                  # Main package\n\u251c\u2500\u2500 api/                  # Public validation API (backend-specific schemas/models)\n\u2502   \u251c\u2500\u2500 base/             # Abstract base classes (BaseSchema, BaseCheck, etc.)\n\u2502   \u251c\u2500\u2500 pandas/           # Pandas DataFrameSchema, Column, Index, DataFrameModel\n\u2502   \u251c\u2500\u2500 geopandas/        # GeoDataFrameSchema, GeoDataFrameModel (pandas-backed)\n\u2502   \u251c\u2500\u2500 polars/           # Polars schema and model implementations\n\u2502   \u251c\u2500\u2500 pyspark/          # PySpark schema and model implementations\n\u2502   \u251c\u2500\u2500 ibis/             # Ibis schema and model implementations\n\u2502   \u251c\u2500\u2500 dataframe/        # Shared dataframe components\n\u2502   \u251c\u2500\u2500 checks.py         # Check class (ge, le, isin, str_matches, etc.)\n\u2502   \u2514\u2500\u2500 hypotheses.py     # Hypothesis-based statistical testing\n\u251c\u2500\u2500 backends/             # Validation logic implementations per backend\n\u2502   \u251c\u2500\u2500 base/             # Abstract backend + builtin check/hypothesis impls\n\u2502   \u251c\u2500\u2500 pandas/           # Pandas backend (checks, components, container, etc.)\n\u2502   \u251c\u2500\u2500 polars/           # Polars backend\n\u2502   \u251c\u2500\u2500 pyspark/          # PySpark backend\n\u2502   \u2514\u2500\u2500 ibis/             # Ibis backend\n\u251c\u2500\u2500 engines/              # Type system and dtype handling per backend\n\u2502   \u251c\u2500\u2500 engine.py         # Engine metaclass and type registry\n\u2502   \u251c\u2500\u2500 pandas_engine.py  # Pandas dtype definitions\n\u2502   \u251c\u2500\u2500 numpy_engine.py   # NumPy dtype definitions\n\u2502   \u251c\u2500\u2500 polars_engine.py  # Polars dtype definitions\n\u2502   \u251c\u2500\u2500 pyspark_engine.py # PySpark dtype definitions\n\u2502   \u251c\u2500\u2500 ibis_engine.py    # Ibis dtype definitions\n\u2502   \u251c\u2500\u2500 pyarrow_engine.py # PyArrow dtype definitions\n\u2502   \u2514\u2500\u2500 geopandas_engine.py\n\u251c\u2500\u2500 typing/               # Type stubs for mypy integration\n\u251c\u2500\u2500 strategies/           # Hypothesis strategies: import ``pandera.strategies.pandas_strategies`` etc. (``strategies`` package does not import backends)\n\u251c\u2500\u2500 schema_inference/     # Infer schemas from data\n\u251c\u2500\u2500 schema_statistics/    # Statistical validation helpers\n\u251c\u2500\u2500 io/                   # Serialization: ``pandera.io.pandas_io``, ``polars_io``, ``pyspark_sql_io``, ``ibis_io``, ``xarray_io`` (``pandera.io`` package has no imports)\n\u251c\u2500\u2500 accessors/            # Pandas/PySpark accessor extensions (.pandera)\n\u251c\u2500\u2500 config.py             # PanderaConfig, ValidationDepth, ValidationScope\n\u251c\u2500\u2500 decorators.py         # @check_input, @check_output, @check_io, @check_types\n\u251c\u2500\u2500 dtypes.py             # Abstract data type definitions\n\u251c\u2500\u2500 errors.py             # SchemaError, SchemaInitError, ParserError, etc.\n\u251c\u2500\u2500 extensions.py         # Custom check/parser extension mechanism\n\u251c\u2500\u2500 cli.py                # Console script entry (imports ``pandera._cli.run``)\n\u251c\u2500\u2500 _cli/                 # Typer CLI: ``common``, ``validate``, ``infer``, ``generate``\n\u251c\u2500\u2500 pandas.py             # Pandas entry point: `import pandera.pandas as pa`\n\u251c\u2500\u2500 geopandas.py          # GeoPandas entry (`pg`): pandas API + GeoDataFrameSchema/Model\n\u251c\u2500\u2500 polars.py             # Polars entry point: `import pandera.polars as pa`\n\u251c\u2500\u2500 pyspark.py            # PySpark entry point: `import pandera.pyspark as pa`\n\u2514\u2500\u2500 ibis.py               # Ibis entry point: `import pandera.ibis as pa`\n\ntests/                    # Test suite (mirrors backend structure)\n\u251c\u2500\u2500 base/                 # Core tests (no backend-specific deps)\n\u251c\u2500\u2500 cli/                  # CLI tests (format/backend matrices; PySpark combos need ``PANDERA_RUN_SPARK_CLI=1``)\n\u251c\u2500\u2500 pandas/               # Pandas backend tests (~38 files)\n\u251c\u2500\u2500 polars/               # Polars backend tests\n\u251c\u2500\u2500 pyspark/              # PySpark backend tests\n\u251c\u2500\u2500 ibis/                 # Ibis backend tests\n\u251c\u2500\u2500 dask/                 # Dask integration tests\n\u251c\u2500\u2500 modin/                # Modin integration tests\n\u251c\u2500\u2500 geopandas/            # GeoPandas tests\n\u251c\u2500\u2500 strategies/           # Hypothesis strategy tests\n\u251c\u2500\u2500 hypotheses/           # Statistical hypothesis tests\n\u251c\u2500\u2500 io/                   # Serialization tests\n\u251c\u2500\u2500 fastapi/              # FastAPI integration tests\n\u251c\u2500\u2500 mypy/                 # MyPy type-checking tests\n\u2514\u2500\u2500 conftest.py           # Shared pytest fixtures\n\ndocs/source/              # Sphinx documentation (MyST markdown + RST)\n```\n\n## Architecture\n\n### Layered Design\n\n1. **API layer** (`pandera/api/`): Defines schemas, models, checks, and\n   parsers. Each backend has its own subpackage inheriting from `base/`.\n2. **Backend layer** (`pandera/backends/`): Implements actual validation logic.\n   Backends are registered via `BaseSchema.BACKEND_REGISTRY` and discovered at\n   runtime.\n3. **Engine layer** (`pandera/engines/`): Manages dtype registration and\n   coercion. Uses an `Engine` metaclass pattern for pluggable type systems.\n\n### Key Patterns\n\n- **Backend registry:** Backends register themselves at import time. The schema\n  objects delegate validation to the registered backend.\n- **Engine metaclass:** Each engine (pandas, polars, etc.) uses a metaclass that\n  maintains a dtype registry. Types are registered with `@Engine.register_dtype`.\n- **DataFrameModel:** Pydantic-style class-based schema definitions using type\n  annotations and `Field()` descriptors.\n- **Lazy validation:** Pass `lazy=True` to `schema.validate()` to collect all\n  errors instead of failing on the first one.\n\n### Entry Points\n\nUsers import backend-specific modules:\n```python\nimport pandera.pandas as pa    # Pandas\nimport pandera.polars as pa    # Polars\nimport pandera.pyspark as pa   # PySpark\nimport pandera.ibis as pa      # Ibis\n```\n\nThe top-level `import pandera` falls back to the pandas API for backward\ncompatibility.\n\n## Backward Compatibility\n\nPandera is a public library, so established behavior\u2014including annotation\nsemantics, backend APIs, and behavior exercised by existing tests\u2014is part of\nthe compatibility contract. Before changing such behavior, identify the\naffected user-facing contract and preserve it unless the change is\nintentional and justified. Do not rewrite existing tests simply to match a\nnew implementation; add regression tests for any intentionally changed\nbehavior and document migration or deprecation considerations.\n\nAny pull request that modifies an existing test must include a\n`## Backward compatibility` section in its description. Explain the behavior\ncovered by the changed test, whether it changes for users, why the change is\nnecessary, and how compatibility is preserved or communicated. This section\nis required even when the test change appears to be an implementation detail;\nstate explicitly when there is no user-facing behavior change.\n\n## Development Setup\n\n```bash\n# Install uv and sync all extras\nmake setup\n\n# macOS (uses polars-lts-cpu)\nmake setup-macos\n```\n\nThis runs `uv sync --all-extras` which installs all optional dependencies and\ndev/testing groups.\n\n## Running Tests\n\nTests are organized by backend. Each backend's tests live in `tests/<backend>/`.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,276 @@\n+# AGENTS.md\n+\n+## Project Overview\n+\n+Pandera is a data validation library for Python that provides a flexible,\n+expressive API for validating dataframes and series across multiple backends.\n+It supports pandas, polars, pyspark, ibis, dask, modin, and geopandas.\n+\n+- **License:** MIT\n+- **Python:** >= 3.10 (tested on 3.10-3.14)\n+- **Docs:** https://pandera.readthedocs.io\n+- **Repo:** https://github.com/pandera-dev/pandera\n+\n+## Repository Structure\n+\n+```\n+pandera/                  # Main package\n+\u251c\u2500\u2500 api/                  # Public validation API (backend-specific schemas/models)\n+\u2502   \u251c\u2500\u2500 base/             # Abstract base classes (BaseSchema, BaseCheck, etc.)\n+\u2502   \u251c\u2500\u2500 pandas/           # Pandas DataFrameSchema, Column, Index, DataFrameModel\n+\u2502   \u251c\u2500\u2500 geopandas/        # GeoDataFrameSchema, GeoDataFrameModel (pandas-backed)\n+\u2502   \u251c\u2500\u2500 polars/           # Polars schema and model implementations\n+\u2502   \u251c\u2500\u2500 pyspark/          # PySpark schema and model implementations\n+\u2502   \u251c\u2500\u2500 ibis/             # Ibis schema and model implementations\n+\u2502   \u251c\u2500\u2500 dataframe/        # Shared dataframe components\n+\u2502   \u251c\u2500\u2500 checks.py         # Check class (ge, le, isin, str_matches, etc.)\n+\u2502   \u2514\u2500\u2500 hypotheses.py     # Hypothesis-based statistical testing\n+\u251c\u2500\u2500 backends/             # Validation logic implementations per backend\n+\u2502   \u251c\u2500\u2500 base/             # Abstract backend + builtin check/hypothesis impls\n+\u2502   \u251c\u2500\u2500 pandas/           # Pandas backend (checks, components, container, etc.)\n+\u2502   \u251c\u2500\u2500 polars/           # Polars backend\n+\u2502   \u251c\u2500\u2500 pyspark/          # PySpark backend\n+\u2502   \u2514\u2500\u2500 ibis/             # Ibis backend\n+\u251c\u2500\u2500 engines/              # Type system and dtype handling per backend\n+\u2502   \u251c\u2500\u2500 engine.py         # Engine metaclass and type registry\n+\u2502   \u251c\u2500\u2500 pandas_engine.py  # Pandas dtype definitions\n+\u2502   \u251c\u2500\u2500 numpy_engine.py   # NumPy dtype definitions\n+\u2502   \u251c\u2500\u2500 polars_engine.py  # Polars dtype definitions\n+\u2502   \u251c\u2500\u2500 pyspark_engine.py # PySpark dtype definitions\n+\u2502   \u251c\u2500\u2500 ibis_engine.py    # Ibis dtype definitions\n+\u2502   \u251c\u2500\u2500 pyarrow_engine.py # PyArrow dtype definitions\n+\u2502   \u2514\u2500\u2500 geopandas_engine.py\n+\u251c\u2500\u2500 typing/               # Type stubs for mypy integration\n+\u251c\u2500\u2500 strategies/           # Hypothesis strategies: import ``pandera.strategies.pandas_strategies`` etc. (``strategies`` package does not import backends)\n+\u251c\u2500\u2500 schema_inference/     # Infer schemas from data\n+\u251c\u2500\u2500 schema_statistics/    # Statistical validation helpers\n+\u251c\u2500\u2500 io/                   # Serialization: ``pandera.io.pandas_io``, ``polars_io``, ``pyspark_sql_io``, ``ibis_io``, ``xarray_io`` (``pandera.io`` package has no imports)\n+\u251c\u2500\u2500 accessors/            # Pandas/PySpark accessor extensions (.pandera)\n+\u251c\u2500\u2500 config.py             # PanderaConfig, ValidationDepth, ValidationScope\n+\u251c\u2500\u2500 decorators.py         # @check_input, @check_output, @check_io, @check_types\n+\u251c\u2500\u2500 dtypes.py             # Abstract data type definitions\n+\u251c\u2500\u2500 errors.py             # SchemaError, SchemaInitError, ParserError, etc.\n+\u251c\u2500\u2500 extensions.py         # Custom check/parser extension mechanism\n+\u251c\u2500\u2500 cli.py                # Console script entry (imports ``pandera._cli.run``)\n+\u251c\u2500\u2500 _cli/                 # Typer CLI: ``common``, ``validate``, ``infer``, ``generate``\n+\u251c\u2500\u2500 pandas.py             # Pandas entry point: `import pandera.pandas as pa`\n+\u251c\u2500\u2500 geopandas.py          # GeoPandas entry (`pg`): pandas API + GeoDataFrameSchema/Model\n+\u251c\u2500\u2500 polars.py             # Polars entry point: `import pandera.polars as pa`\n+\u251c\u2500\u2500 pyspark.py            # PySpark entry point: `import pandera.pyspark as pa`\n+\u2514\u2500\u2500 ibis.py               # Ibis entry point: `import pandera.ibis as pa`\n+\n+tests/                    # Test suite (mirrors backend structure)\n+\u251c\u2500\u2500 base/                 # Core tests (no backend-specific deps)\n+\u251c\u2500\u2500 cli/                  # CLI tests (format/backend matrices; PySpark combos need ``PANDERA_RUN_SPARK_CLI=1``)\n+\u251c\u2500\u2500 pandas/               # Pandas backend tests (~38 files)\n+\u251c\u2500\u2500 polars/               # Polars backend tests\n+\u251c\u2500\u2500 pyspark/              # PySpark backend tests\n+\u251c\u2500\u2500 ibis/                 # Ibis backend tests\n+\u251c\u2500\u2500 dask/                 # Dask integration tests\n+\u251c\u2500\u2500 modin/                # Modin integration tests\n+\u251c\u2500\u2500 geopandas/            # GeoPandas tests\n+\u251c\u2500\u2500 strategies/           # Hypothesis strategy tests\n+\u251c\u2500\u2500 hypotheses/           # Statistical hypothesis tests\n+\u251c\u2500\u2500 io/                   # Serialization tests\n+\u251c\u2500\u2500 fastapi/              # FastAPI integration tests\n+\u251c\u2500\u2500 mypy/                 # MyPy type-checking tests\n+\u2514\u2500\u2500 conftest.py           # Shared pytest fixtures\n+\n+docs/source/              # Sphinx documentation (MyST markdown + RST)\n+```\n+\n+## Architecture\n+\n+### Layered Design\n+\n+1. **API layer** (`pandera/api/`): Defines schemas, models, checks, and\n+   parsers. Each backend has its own subpackage inheriting from `base/`.\n+2. **Backend layer** (`pandera/backends/`): Implements actual validation logic.\n+   Backends are registered via `BaseSchema.BACKEND_REGISTRY` and discovered at\n+   runtime.\n+3. **Engine layer** (`pandera/engines/`): Manages dtype registration and\n+   coercion. Uses an `Engine` metaclass pattern for pluggable type systems.\n+\n+### Key Patterns\n+\n+- **Backend registry:** Backends register themselves at import time. The schema\n+  objects delegate validation to the registered backend.\n+- **Engine metaclass:** Each engine (pandas, polars, etc.) uses a metaclass that\n+  maintains a dtype registry. Types are registered with `@Engine.register_dtype`.\n+- **DataFrameModel:** Pydantic-style class-based schema definitions using type\n+  annotations and `Field()` descriptors.\n+- **Lazy validation:** Pass `lazy=True` to `schema.validate()` to collect all\n+  errors instead of failing on the first one.\n+\n+### Entry Points\n+\n+Users import backend-specific modules:\n+```python\n+import pandera.pandas as pa    # Pandas\n+import pandera.polars as pa    # Polars\n+import pandera.pyspark as pa   # PySpark\n+import pandera.ibis as pa      # Ibis\n+```\n+\n+The top-level `import pandera` falls back to the pandas API for backward\n+compatibility.\n+\n+## Backward Compatibility\n+\n+Pandera is a public library, so established behavior\u2014including annotation\n+semantics, backend APIs, and behavior exercised by existing tests\u2014is part of\n+the compatibility contract. Before changing such behavior, identify the\n+affected user-facing contract and preserve it unless the change is\n+intentional and justified. Do not rewrite existing tests simply to match a\n+new implementation; add regression tests for any intentionally changed\n+behavior and document migration or deprecation considerations.\n+\n+Any pull request that modifies an existing test must include a\n+`## Backward compatibility` section in its description. Explain the behavior\n+covered by the changed test, whether it changes for users, why the change is\n+necessary, and how compatibility is preserved or communicated. This section\n+is required even when the test change appears to be an implementation detail;\n+state explicitly when there is no user-facing behavior change.\n+\n+## Development Setup\n+\n+```bash\n+# Install uv and sync all extras\n+make setup\n+\n+# macOS (uses polars-lts-cpu)\n+make setup-macos\n+```\n+\n+This runs `uv sync --all-extras` which installs all optional dependencies and\n+dev/testing groups.\n+\n+## Running Tests\n+\n+Tests are organized by backend. Each backend's tests live in `tests/<backend>/`.",
      "tags": [
        {
          "raw": "#guidance-implicit/evaluation",
          "namespace": "guidance-implicit",
          "value": "evaluation",
          "dimension": "guidance_type_implicit",
          "dimension_label": "Guidance type (implicit)",
          "kind": "value",
          "value_label": "Evaluation (understand, test, and explain output)",
          "display": "Guidance type (implicit): Evaluation (understand, test, and explain output)",
          "filter_key": "guidance_type_implicit:evaluation"
        }
      ],
      "tag_strings": [
        "#guidance-implicit/evaluation"
      ],
      "displays": [
        "Guidance type (implicit): Evaluation (understand, test, and explain output)"
      ],
      "filter_keys": [
        "guidance_type_implicit:evaluation"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "guidance_type_implicit": [
          {
            "value": "evaluation",
            "filter_key": "guidance_type_implicit:evaluation",
            "display": "Guidance type (implicit): Evaluation (understand, test, and explain output)"
          }
        ]
      },
      "path": "projects/pandera/AGENTS.md",
      "project": "pandera",
      "start_line": 148,
      "line": 150,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 4,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/4#discussion_r4547451546",
      "commit_id": "9ea59156ad8f805d98e13fec600e923822903c02",
      "created_at": "2026-11-12T07:16:10Z",
      "updated_at": "2026-11-12T07:16:10Z"
    },
    {
      "id": 4547453471,
      "body": "#rationale-implicit/code-quality",
      "quote": "# AGENTS.md\n\n## Project Overview\n\nPandera is a data validation library for Python that provides a flexible,\nexpressive API for validating dataframes and series across multiple backends.\nIt supports pandas, polars, pyspark, ibis, dask, modin, and geopandas.\n\n- **License:** MIT\n- **Python:** >= 3.10 (tested on 3.10-3.14)\n- **Docs:** https://pandera.readthedocs.io\n- **Repo:** https://github.com/pandera-dev/pandera\n\n## Repository Structure\n\n```\npandera/                  # Main package\n\u251c\u2500\u2500 api/                  # Public validation API (backend-specific schemas/models)\n\u2502   \u251c\u2500\u2500 base/             # Abstract base classes (BaseSchema, BaseCheck, etc.)\n\u2502   \u251c\u2500\u2500 pandas/           # Pandas DataFrameSchema, Column, Index, DataFrameModel\n\u2502   \u251c\u2500\u2500 geopandas/        # GeoDataFrameSchema, GeoDataFrameModel (pandas-backed)\n\u2502   \u251c\u2500\u2500 polars/           # Polars schema and model implementations\n\u2502   \u251c\u2500\u2500 pyspark/          # PySpark schema and model implementations\n\u2502   \u251c\u2500\u2500 ibis/             # Ibis schema and model implementations\n\u2502   \u251c\u2500\u2500 dataframe/        # Shared dataframe components\n\u2502   \u251c\u2500\u2500 checks.py         # Check class (ge, le, isin, str_matches, etc.)\n\u2502   \u2514\u2500\u2500 hypotheses.py     # Hypothesis-based statistical testing\n\u251c\u2500\u2500 backends/             # Validation logic implementations per backend\n\u2502   \u251c\u2500\u2500 base/             # Abstract backend + builtin check/hypothesis impls\n\u2502   \u251c\u2500\u2500 pandas/           # Pandas backend (checks, components, container, etc.)\n\u2502   \u251c\u2500\u2500 polars/           # Polars backend\n\u2502   \u251c\u2500\u2500 pyspark/          # PySpark backend\n\u2502   \u2514\u2500\u2500 ibis/             # Ibis backend\n\u251c\u2500\u2500 engines/              # Type system and dtype handling per backend\n\u2502   \u251c\u2500\u2500 engine.py         # Engine metaclass and type registry\n\u2502   \u251c\u2500\u2500 pandas_engine.py  # Pandas dtype definitions\n\u2502   \u251c\u2500\u2500 numpy_engine.py   # NumPy dtype definitions\n\u2502   \u251c\u2500\u2500 polars_engine.py  # Polars dtype definitions\n\u2502   \u251c\u2500\u2500 pyspark_engine.py # PySpark dtype definitions\n\u2502   \u251c\u2500\u2500 ibis_engine.py    # Ibis dtype definitions\n\u2502   \u251c\u2500\u2500 pyarrow_engine.py # PyArrow dtype definitions\n\u2502   \u2514\u2500\u2500 geopandas_engine.py\n\u251c\u2500\u2500 typing/               # Type stubs for mypy integration\n\u251c\u2500\u2500 strategies/           # Hypothesis strategies: import ``pandera.strategies.pandas_strategies`` etc. (``strategies`` package does not import backends)\n\u251c\u2500\u2500 schema_inference/     # Infer schemas from data\n\u251c\u2500\u2500 schema_statistics/    # Statistical validation helpers\n\u251c\u2500\u2500 io/                   # Serialization: ``pandera.io.pandas_io``, ``polars_io``, ``pyspark_sql_io``, ``ibis_io``, ``xarray_io`` (``pandera.io`` package has no imports)\n\u251c\u2500\u2500 accessors/            # Pandas/PySpark accessor extensions (.pandera)\n\u251c\u2500\u2500 config.py             # PanderaConfig, ValidationDepth, ValidationScope\n\u251c\u2500\u2500 decorators.py         # @check_input, @check_output, @check_io, @check_types\n\u251c\u2500\u2500 dtypes.py             # Abstract data type definitions\n\u251c\u2500\u2500 errors.py             # SchemaError, SchemaInitError, ParserError, etc.\n\u251c\u2500\u2500 extensions.py         # Custom check/parser extension mechanism\n\u251c\u2500\u2500 cli.py                # Console script entry (imports ``pandera._cli.run``)\n\u251c\u2500\u2500 _cli/                 # Typer CLI: ``common``, ``validate``, ``infer``, ``generate``\n\u251c\u2500\u2500 pandas.py             # Pandas entry point: `import pandera.pandas as pa`\n\u251c\u2500\u2500 geopandas.py          # GeoPandas entry (`pg`): pandas API + GeoDataFrameSchema/Model\n\u251c\u2500\u2500 polars.py             # Polars entry point: `import pandera.polars as pa`\n\u251c\u2500\u2500 pyspark.py            # PySpark entry point: `import pandera.pyspark as pa`\n\u2514\u2500\u2500 ibis.py               # Ibis entry point: `import pandera.ibis as pa`\n\ntests/                    # Test suite (mirrors backend structure)\n\u251c\u2500\u2500 base/                 # Core tests (no backend-specific deps)\n\u251c\u2500\u2500 cli/                  # CLI tests (format/backend matrices; PySpark combos need ``PANDERA_RUN_SPARK_CLI=1``)\n\u251c\u2500\u2500 pandas/               # Pandas backend tests (~38 files)\n\u251c\u2500\u2500 polars/               # Polars backend tests\n\u251c\u2500\u2500 pyspark/              # PySpark backend tests\n\u251c\u2500\u2500 ibis/                 # Ibis backend tests\n\u251c\u2500\u2500 dask/                 # Dask integration tests\n\u251c\u2500\u2500 modin/                # Modin integration tests\n\u251c\u2500\u2500 geopandas/            # GeoPandas tests\n\u251c\u2500\u2500 strategies/           # Hypothesis strategy tests\n\u251c\u2500\u2500 hypotheses/           # Statistical hypothesis tests\n\u251c\u2500\u2500 io/                   # Serialization tests\n\u251c\u2500\u2500 fastapi/              # FastAPI integration tests\n\u251c\u2500\u2500 mypy/                 # MyPy type-checking tests\n\u2514\u2500\u2500 conftest.py           # Shared pytest fixtures\n\ndocs/source/              # Sphinx documentation (MyST markdown + RST)\n```\n\n## Architecture\n\n### Layered Design\n\n1. **API layer** (`pandera/api/`): Defines schemas, models, checks, and\n   parsers. Each backend has its own subpackage inheriting from `base/`.\n2. **Backend layer** (`pandera/backends/`): Implements actual validation logic.\n   Backends are registered via `BaseSchema.BACKEND_REGISTRY` and discovered at\n   runtime.\n3. **Engine layer** (`pandera/engines/`): Manages dtype registration and\n   coercion. Uses an `Engine` metaclass pattern for pluggable type systems.\n\n### Key Patterns\n\n- **Backend registry:** Backends register themselves at import time. The schema\n  objects delegate validation to the registered backend.\n- **Engine metaclass:** Each engine (pandas, polars, etc.) uses a metaclass that\n  maintains a dtype registry. Types are registered with `@Engine.register_dtype`.\n- **DataFrameModel:** Pydantic-style class-based schema definitions using type\n  annotations and `Field()` descriptors.\n- **Lazy validation:** Pass `lazy=True` to `schema.validate()` to collect all\n  errors instead of failing on the first one.\n\n### Entry Points\n\nUsers import backend-specific modules:\n```python\nimport pandera.pandas as pa    # Pandas\nimport pandera.polars as pa    # Polars\nimport pandera.pyspark as pa   # PySpark\nimport pandera.ibis as pa      # Ibis\n```\n\nThe top-level `import pandera` falls back to the pandas API for backward\ncompatibility.\n\n## Backward Compatibility\n\nPandera is a public library, so established behavior\u2014including annotation\nsemantics, backend APIs, and behavior exercised by existing tests\u2014is part of\nthe compatibility contract. Before changing such behavior, identify the\naffected user-facing contract and preserve it unless the change is\nintentional and justified. Do not rewrite existing tests simply to match a\nnew implementation; add regression tests for any intentionally changed\nbehavior and document migration or deprecation considerations.\n\nAny pull request that modifies an existing test must include a\n`## Backward compatibility` section in its description. Explain the behavior\ncovered by the changed test, whether it changes for users, why the change is\nnecessary, and how compatibility is preserved or communicated. This section\nis required even when the test change appears to be an implementation detail;\nstate explicitly when there is no user-facing behavior change.\n\n## Development Setup\n\n```bash\n# Install uv and sync all extras\nmake setup\n\n# macOS (uses polars-lts-cpu)\nmake setup-macos\n```\n\nThis runs `uv sync --all-extras` which installs all optional dependencies and\ndev/testing groups.\n\n## Running Tests\n\nTests are organized by backend. Each backend's tests live in `tests/<backend>/`.\n\n```bash\n# Run core + pandas tests\npytest tests/core tests/pandas\n\n# Run a specific backend's tests\npytest tests/polars/\npytest tests/pyspark/\npytest tests/ibis/\n\n# Run all tests with coverage\npytest --cov=pandera --cov-report=term-missing tests/\n\n# Run via nox (parameterized across Python/pandas/pydantic/polars versions)\nnox -db uv -s tests\n\n# Run a specific nox session\nnox -db uv -s \"tests(extra='polars', pandas=None, pydantic=None, polars='1.33.1')\"\n```\n\nThe nox `tests` session maps extras to test directories: `extra=None` runs\n`tests/base/`, `extra='pandas'` runs `tests/pandas/`, etc.\n\n### Test Matrix (CI)\n\n- Python: 3.10, 3.11, 3.12, 3.13, 3.14\n- Pandas: 2.1.1, 2.3.3\n- Pydantic: 1.10.11, 2.12.3\n- Polars: 1.20.0, 1.33.1, 1.42.1\n\n## Code Quality\n\n### Linting and Formatting\n\n- **Ruff:** Linting (`I`, `UP` rules) and formatting. Line length: 79.\n- **isort:** Import sorting (line length 79).\n- **mypy:** Static type checking (v1.19.1). Config in `mypy.ini`.\n- **pyupgrade:** Python 3.9+ syntax upgrades.\n- **flynt:** f-string conversion.\n- **codespell:** Spell checking.\n\n`prek` hooks enforce all of the above. Run manually:\n```bash\nprek run --all-files\n```\n\n### Style Guidelines\n\n- Line length: **79 characters**\n- Target Python version: **3.10+**\n- Use f-strings (enforced by flynt)\n- Use modern Python syntax: `X | Y` unions, etc. (enforced by pyupgrade/ruff)\n- Ruff ignores `UP007` (X | Y in annotations \u2014 kept for runtime typing compat)",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,276 @@\n+# AGENTS.md\n+\n+## Project Overview\n+\n+Pandera is a data validation library for Python that provides a flexible,\n+expressive API for validating dataframes and series across multiple backends.\n+It supports pandas, polars, pyspark, ibis, dask, modin, and geopandas.\n+\n+- **License:** MIT\n+- **Python:** >= 3.10 (tested on 3.10-3.14)\n+- **Docs:** https://pandera.readthedocs.io\n+- **Repo:** https://github.com/pandera-dev/pandera\n+\n+## Repository Structure\n+\n+```\n+pandera/                  # Main package\n+\u251c\u2500\u2500 api/                  # Public validation API (backend-specific schemas/models)\n+\u2502   \u251c\u2500\u2500 base/             # Abstract base classes (BaseSchema, BaseCheck, etc.)\n+\u2502   \u251c\u2500\u2500 pandas/           # Pandas DataFrameSchema, Column, Index, DataFrameModel\n+\u2502   \u251c\u2500\u2500 geopandas/        # GeoDataFrameSchema, GeoDataFrameModel (pandas-backed)\n+\u2502   \u251c\u2500\u2500 polars/           # Polars schema and model implementations\n+\u2502   \u251c\u2500\u2500 pyspark/          # PySpark schema and model implementations\n+\u2502   \u251c\u2500\u2500 ibis/             # Ibis schema and model implementations\n+\u2502   \u251c\u2500\u2500 dataframe/        # Shared dataframe components\n+\u2502   \u251c\u2500\u2500 checks.py         # Check class (ge, le, isin, str_matches, etc.)\n+\u2502   \u2514\u2500\u2500 hypotheses.py     # Hypothesis-based statistical testing\n+\u251c\u2500\u2500 backends/             # Validation logic implementations per backend\n+\u2502   \u251c\u2500\u2500 base/             # Abstract backend + builtin check/hypothesis impls\n+\u2502   \u251c\u2500\u2500 pandas/           # Pandas backend (checks, components, container, etc.)\n+\u2502   \u251c\u2500\u2500 polars/           # Polars backend\n+\u2502   \u251c\u2500\u2500 pyspark/          # PySpark backend\n+\u2502   \u2514\u2500\u2500 ibis/             # Ibis backend\n+\u251c\u2500\u2500 engines/              # Type system and dtype handling per backend\n+\u2502   \u251c\u2500\u2500 engine.py         # Engine metaclass and type registry\n+\u2502   \u251c\u2500\u2500 pandas_engine.py  # Pandas dtype definitions\n+\u2502   \u251c\u2500\u2500 numpy_engine.py   # NumPy dtype definitions\n+\u2502   \u251c\u2500\u2500 polars_engine.py  # Polars dtype definitions\n+\u2502   \u251c\u2500\u2500 pyspark_engine.py # PySpark dtype definitions\n+\u2502   \u251c\u2500\u2500 ibis_engine.py    # Ibis dtype definitions\n+\u2502   \u251c\u2500\u2500 pyarrow_engine.py # PyArrow dtype definitions\n+\u2502   \u2514\u2500\u2500 geopandas_engine.py\n+\u251c\u2500\u2500 typing/               # Type stubs for mypy integration\n+\u251c\u2500\u2500 strategies/           # Hypothesis strategies: import ``pandera.strategies.pandas_strategies`` etc. (``strategies`` package does not import backends)\n+\u251c\u2500\u2500 schema_inference/     # Infer schemas from data\n+\u251c\u2500\u2500 schema_statistics/    # Statistical validation helpers\n+\u251c\u2500\u2500 io/                   # Serialization: ``pandera.io.pandas_io``, ``polars_io``, ``pyspark_sql_io``, ``ibis_io``, ``xarray_io`` (``pandera.io`` package has no imports)\n+\u251c\u2500\u2500 accessors/            # Pandas/PySpark accessor extensions (.pandera)\n+\u251c\u2500\u2500 config.py             # PanderaConfig, ValidationDepth, ValidationScope\n+\u251c\u2500\u2500 decorators.py         # @check_input, @check_output, @check_io, @check_types\n+\u251c\u2500\u2500 dtypes.py             # Abstract data type definitions\n+\u251c\u2500\u2500 errors.py             # SchemaError, SchemaInitError, ParserError, etc.\n+\u251c\u2500\u2500 extensions.py         # Custom check/parser extension mechanism\n+\u251c\u2500\u2500 cli.py                # Console script entry (imports ``pandera._cli.run``)\n+\u251c\u2500\u2500 _cli/                 # Typer CLI: ``common``, ``validate``, ``infer``, ``generate``\n+\u251c\u2500\u2500 pandas.py             # Pandas entry point: `import pandera.pandas as pa`\n+\u251c\u2500\u2500 geopandas.py          # GeoPandas entry (`pg`): pandas API + GeoDataFrameSchema/Model\n+\u251c\u2500\u2500 polars.py             # Polars entry point: `import pandera.polars as pa`\n+\u251c\u2500\u2500 pyspark.py            # PySpark entry point: `import pandera.pyspark as pa`\n+\u2514\u2500\u2500 ibis.py               # Ibis entry point: `import pandera.ibis as pa`\n+\n+tests/                    # Test suite (mirrors backend structure)\n+\u251c\u2500\u2500 base/                 # Core tests (no backend-specific deps)\n+\u251c\u2500\u2500 cli/                  # CLI tests (format/backend matrices; PySpark combos need ``PANDERA_RUN_SPARK_CLI=1``)\n+\u251c\u2500\u2500 pandas/               # Pandas backend tests (~38 files)\n+\u251c\u2500\u2500 polars/               # Polars backend tests\n+\u251c\u2500\u2500 pyspark/              # PySpark backend tests\n+\u251c\u2500\u2500 ibis/                 # Ibis backend tests\n+\u251c\u2500\u2500 dask/                 # Dask integration tests\n+\u251c\u2500\u2500 modin/                # Modin integration tests\n+\u251c\u2500\u2500 geopandas/            # GeoPandas tests\n+\u251c\u2500\u2500 strategies/           # Hypothesis strategy tests\n+\u251c\u2500\u2500 hypotheses/           # Statistical hypothesis tests\n+\u251c\u2500\u2500 io/                   # Serialization tests\n+\u251c\u2500\u2500 fastapi/              # FastAPI integration tests\n+\u251c\u2500\u2500 mypy/                 # MyPy type-checking tests\n+\u2514\u2500\u2500 conftest.py           # Shared pytest fixtures\n+\n+docs/source/              # Sphinx documentation (MyST markdown + RST)\n+```\n+\n+## Architecture\n+\n+### Layered Design\n+\n+1. **API layer** (`pandera/api/`): Defines schemas, models, checks, and\n+   parsers. Each backend has its own subpackage inheriting from `base/`.\n+2. **Backend layer** (`pandera/backends/`): Implements actual validation logic.\n+   Backends are registered via `BaseSchema.BACKEND_REGISTRY` and discovered at\n+   runtime.\n+3. **Engine layer** (`pandera/engines/`): Manages dtype registration and\n+   coercion. Uses an `Engine` metaclass pattern for pluggable type systems.\n+\n+### Key Patterns\n+\n+- **Backend registry:** Backends register themselves at import time. The schema\n+  objects delegate validation to the registered backend.\n+- **Engine metaclass:** Each engine (pandas, polars, etc.) uses a metaclass that\n+  maintains a dtype registry. Types are registered with `@Engine.register_dtype`.\n+- **DataFrameModel:** Pydantic-style class-based schema definitions using type\n+  annotations and `Field()` descriptors.\n+- **Lazy validation:** Pass `lazy=True` to `schema.validate()` to collect all\n+  errors instead of failing on the first one.\n+\n+### Entry Points\n+\n+Users import backend-specific modules:\n+```python\n+import pandera.pandas as pa    # Pandas\n+import pandera.polars as pa    # Polars\n+import pandera.pyspark as pa   # PySpark\n+import pandera.ibis as pa      # Ibis\n+```\n+\n+The top-level `import pandera` falls back to the pandas API for backward\n+compatibility.\n+\n+## Backward Compatibility\n+\n+Pandera is a public library, so established behavior\u2014including annotation\n+semantics, backend APIs, and behavior exercised by existing tests\u2014is part of\n+the compatibility contract. Before changing such behavior, identify the\n+affected user-facing contract and preserve it unless the change is\n+intentional and justified. Do not rewrite existing tests simply to match a\n+new implementation; add regression tests for any intentionally changed\n+behavior and document migration or deprecation considerations.\n+\n+Any pull request that modifies an existing test must include a\n+`## Backward compatibility` section in its description. Explain the behavior\n+covered by the changed test, whether it changes for users, why the change is\n+necessary, and how compatibility is preserved or communicated. This section\n+is required even when the test change appears to be an implementation detail;\n+state explicitly when there is no user-facing behavior change.\n+\n+## Development Setup\n+\n+```bash\n+# Install uv and sync all extras\n+make setup\n+\n+# macOS (uses polars-lts-cpu)\n+make setup-macos\n+```\n+\n+This runs `uv sync --all-extras` which installs all optional dependencies and\n+dev/testing groups.\n+\n+## Running Tests\n+\n+Tests are organized by backend. Each backend's tests live in `tests/<backend>/`.\n+\n+```bash\n+# Run core + pandas tests\n+pytest tests/core tests/pandas\n+\n+# Run a specific backend's tests\n+pytest tests/polars/\n+pytest tests/pyspark/\n+pytest tests/ibis/\n+\n+# Run all tests with coverage\n+pytest --cov=pandera --cov-report=term-missing tests/\n+\n+# Run via nox (parameterized across Python/pandas/pydantic/polars versions)\n+nox -db uv -s tests\n+\n+# Run a specific nox session\n+nox -db uv -s \"tests(extra='polars', pandas=None, pydantic=None, polars='1.33.1')\"\n+```\n+\n+The nox `tests` session maps extras to test directories: `extra=None` runs\n+`tests/base/`, `extra='pandas'` runs `tests/pandas/`, etc.\n+\n+### Test Matrix (CI)\n+\n+- Python: 3.10, 3.11, 3.12, 3.13, 3.14\n+- Pandas: 2.1.1, 2.3.3\n+- Pydantic: 1.10.11, 2.12.3\n+- Polars: 1.20.0, 1.33.1, 1.42.1\n+\n+## Code Quality\n+\n+### Linting and Formatting\n+\n+- **Ruff:** Linting (`I`, `UP` rules) and formatting. Line length: 79.\n+- **isort:** Import sorting (line length 79).\n+- **mypy:** Static type checking (v1.19.1). Config in `mypy.ini`.\n+- **pyupgrade:** Python 3.9+ syntax upgrades.\n+- **flynt:** f-string conversion.\n+- **codespell:** Spell checking.\n+\n+`prek` hooks enforce all of the above. Run manually:\n+```bash\n+prek run --all-files\n+```\n+\n+### Style Guidelines\n+\n+- Line length: **79 characters**\n+- Target Python version: **3.10+**\n+- Use f-strings (enforced by flynt)\n+- Use modern Python syntax: `X | Y` unions, etc. (enforced by pyupgrade/ruff)\n+- Ruff ignores `UP007` (X | Y in annotations \u2014 kept for runtime typing compat)",
      "tags": [
        {
          "raw": "#rationale-implicit/code-quality",
          "namespace": "rationale-implicit",
          "value": "code-quality",
          "dimension": "rationale_implicit",
          "dimension_label": "Stated rationale (implicit)",
          "kind": "value",
          "value_label": "Code quality",
          "display": "Stated rationale (implicit): Code quality",
          "filter_key": "rationale_implicit:code-quality"
        }
      ],
      "tag_strings": [
        "#rationale-implicit/code-quality"
      ],
      "displays": [
        "Stated rationale (implicit): Code quality"
      ],
      "filter_keys": [
        "rationale_implicit:code-quality"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "rationale_implicit": [
          {
            "value": "code-quality",
            "filter_key": "rationale_implicit:code-quality",
            "display": "Stated rationale (implicit): Code quality"
          }
        ]
      },
      "path": "projects/pandera/AGENTS.md",
      "project": "pandera",
      "start_line": 197,
      "line": 203,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 4,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/4#discussion_r4547453471",
      "commit_id": "9ea59156ad8f805d98e13fec600e923822903c02",
      "created_at": "2026-11-12T07:16:28Z",
      "updated_at": "2026-11-12T07:16:28Z"
    },
    {
      "id": 4547459168,
      "body": "#rationale-implicit/code-quality\nthere's an entire section for code quality",
      "quote": "# AGENTS.md\n\n## Project Overview\n\nPandera is a data validation library for Python that provides a flexible,\nexpressive API for validating dataframes and series across multiple backends.\nIt supports pandas, polars, pyspark, ibis, dask, modin, and geopandas.\n\n- **License:** MIT\n- **Python:** >= 3.10 (tested on 3.10-3.14)\n- **Docs:** https://pandera.readthedocs.io\n- **Repo:** https://github.com/pandera-dev/pandera\n\n## Repository Structure\n\n```\npandera/                  # Main package\n\u251c\u2500\u2500 api/                  # Public validation API (backend-specific schemas/models)\n\u2502   \u251c\u2500\u2500 base/             # Abstract base classes (BaseSchema, BaseCheck, etc.)\n\u2502   \u251c\u2500\u2500 pandas/           # Pandas DataFrameSchema, Column, Index, DataFrameModel\n\u2502   \u251c\u2500\u2500 geopandas/        # GeoDataFrameSchema, GeoDataFrameModel (pandas-backed)\n\u2502   \u251c\u2500\u2500 polars/           # Polars schema and model implementations\n\u2502   \u251c\u2500\u2500 pyspark/          # PySpark schema and model implementations\n\u2502   \u251c\u2500\u2500 ibis/             # Ibis schema and model implementations\n\u2502   \u251c\u2500\u2500 dataframe/        # Shared dataframe components\n\u2502   \u251c\u2500\u2500 checks.py         # Check class (ge, le, isin, str_matches, etc.)\n\u2502   \u2514\u2500\u2500 hypotheses.py     # Hypothesis-based statistical testing\n\u251c\u2500\u2500 backends/             # Validation logic implementations per backend\n\u2502   \u251c\u2500\u2500 base/             # Abstract backend + builtin check/hypothesis impls\n\u2502   \u251c\u2500\u2500 pandas/           # Pandas backend (checks, components, container, etc.)\n\u2502   \u251c\u2500\u2500 polars/           # Polars backend\n\u2502   \u251c\u2500\u2500 pyspark/          # PySpark backend\n\u2502   \u2514\u2500\u2500 ibis/             # Ibis backend\n\u251c\u2500\u2500 engines/              # Type system and dtype handling per backend\n\u2502   \u251c\u2500\u2500 engine.py         # Engine metaclass and type registry\n\u2502   \u251c\u2500\u2500 pandas_engine.py  # Pandas dtype definitions\n\u2502   \u251c\u2500\u2500 numpy_engine.py   # NumPy dtype definitions\n\u2502   \u251c\u2500\u2500 polars_engine.py  # Polars dtype definitions\n\u2502   \u251c\u2500\u2500 pyspark_engine.py # PySpark dtype definitions\n\u2502   \u251c\u2500\u2500 ibis_engine.py    # Ibis dtype definitions\n\u2502   \u251c\u2500\u2500 pyarrow_engine.py # PyArrow dtype definitions\n\u2502   \u2514\u2500\u2500 geopandas_engine.py\n\u251c\u2500\u2500 typing/               # Type stubs for mypy integration\n\u251c\u2500\u2500 strategies/           # Hypothesis strategies: import ``pandera.strategies.pandas_strategies`` etc. (``strategies`` package does not import backends)\n\u251c\u2500\u2500 schema_inference/     # Infer schemas from data\n\u251c\u2500\u2500 schema_statistics/    # Statistical validation helpers\n\u251c\u2500\u2500 io/                   # Serialization: ``pandera.io.pandas_io``, ``polars_io``, ``pyspark_sql_io``, ``ibis_io``, ``xarray_io`` (``pandera.io`` package has no imports)\n\u251c\u2500\u2500 accessors/            # Pandas/PySpark accessor extensions (.pandera)\n\u251c\u2500\u2500 config.py             # PanderaConfig, ValidationDepth, ValidationScope\n\u251c\u2500\u2500 decorators.py         # @check_input, @check_output, @check_io, @check_types\n\u251c\u2500\u2500 dtypes.py             # Abstract data type definitions\n\u251c\u2500\u2500 errors.py             # SchemaError, SchemaInitError, ParserError, etc.\n\u251c\u2500\u2500 extensions.py         # Custom check/parser extension mechanism\n\u251c\u2500\u2500 cli.py                # Console script entry (imports ``pandera._cli.run``)\n\u251c\u2500\u2500 _cli/                 # Typer CLI: ``common``, ``validate``, ``infer``, ``generate``\n\u251c\u2500\u2500 pandas.py             # Pandas entry point: `import pandera.pandas as pa`\n\u251c\u2500\u2500 geopandas.py          # GeoPandas entry (`pg`): pandas API + GeoDataFrameSchema/Model\n\u251c\u2500\u2500 polars.py             # Polars entry point: `import pandera.polars as pa`\n\u251c\u2500\u2500 pyspark.py            # PySpark entry point: `import pandera.pyspark as pa`\n\u2514\u2500\u2500 ibis.py               # Ibis entry point: `import pandera.ibis as pa`\n\ntests/                    # Test suite (mirrors backend structure)\n\u251c\u2500\u2500 base/                 # Core tests (no backend-specific deps)\n\u251c\u2500\u2500 cli/                  # CLI tests (format/backend matrices; PySpark combos need ``PANDERA_RUN_SPARK_CLI=1``)\n\u251c\u2500\u2500 pandas/               # Pandas backend tests (~38 files)\n\u251c\u2500\u2500 polars/               # Polars backend tests\n\u251c\u2500\u2500 pyspark/              # PySpark backend tests\n\u251c\u2500\u2500 ibis/                 # Ibis backend tests\n\u251c\u2500\u2500 dask/                 # Dask integration tests\n\u251c\u2500\u2500 modin/                # Modin integration tests\n\u251c\u2500\u2500 geopandas/            # GeoPandas tests\n\u251c\u2500\u2500 strategies/           # Hypothesis strategy tests\n\u251c\u2500\u2500 hypotheses/           # Statistical hypothesis tests\n\u251c\u2500\u2500 io/                   # Serialization tests\n\u251c\u2500\u2500 fastapi/              # FastAPI integration tests\n\u251c\u2500\u2500 mypy/                 # MyPy type-checking tests\n\u2514\u2500\u2500 conftest.py           # Shared pytest fixtures\n\ndocs/source/              # Sphinx documentation (MyST markdown + RST)\n```\n\n## Architecture\n\n### Layered Design\n\n1. **API layer** (`pandera/api/`): Defines schemas, models, checks, and\n   parsers. Each backend has its own subpackage inheriting from `base/`.\n2. **Backend layer** (`pandera/backends/`): Implements actual validation logic.\n   Backends are registered via `BaseSchema.BACKEND_REGISTRY` and discovered at\n   runtime.\n3. **Engine layer** (`pandera/engines/`): Manages dtype registration and\n   coercion. Uses an `Engine` metaclass pattern for pluggable type systems.\n\n### Key Patterns\n\n- **Backend registry:** Backends register themselves at import time. The schema\n  objects delegate validation to the registered backend.\n- **Engine metaclass:** Each engine (pandas, polars, etc.) uses a metaclass that\n  maintains a dtype registry. Types are registered with `@Engine.register_dtype`.\n- **DataFrameModel:** Pydantic-style class-based schema definitions using type\n  annotations and `Field()` descriptors.\n- **Lazy validation:** Pass `lazy=True` to `schema.validate()` to collect all\n  errors instead of failing on the first one.\n\n### Entry Points\n\nUsers import backend-specific modules:\n```python\nimport pandera.pandas as pa    # Pandas\nimport pandera.polars as pa    # Polars\nimport pandera.pyspark as pa   # PySpark\nimport pandera.ibis as pa      # Ibis\n```\n\nThe top-level `import pandera` falls back to the pandas API for backward\ncompatibility.\n\n## Backward Compatibility\n\nPandera is a public library, so established behavior\u2014including annotation\nsemantics, backend APIs, and behavior exercised by existing tests\u2014is part of\nthe compatibility contract. Before changing such behavior, identify the\naffected user-facing contract and preserve it unless the change is\nintentional and justified. Do not rewrite existing tests simply to match a\nnew implementation; add regression tests for any intentionally changed\nbehavior and document migration or deprecation considerations.\n\nAny pull request that modifies an existing test must include a\n`## Backward compatibility` section in its description. Explain the behavior\ncovered by the changed test, whether it changes for users, why the change is\nnecessary, and how compatibility is preserved or communicated. This section\nis required even when the test change appears to be an implementation detail;\nstate explicitly when there is no user-facing behavior change.\n\n## Development Setup\n\n```bash\n# Install uv and sync all extras\nmake setup\n\n# macOS (uses polars-lts-cpu)\nmake setup-macos\n```\n\nThis runs `uv sync --all-extras` which installs all optional dependencies and\ndev/testing groups.\n\n## Running Tests\n\nTests are organized by backend. Each backend's tests live in `tests/<backend>/`.\n\n```bash\n# Run core + pandas tests\npytest tests/core tests/pandas\n\n# Run a specific backend's tests\npytest tests/polars/\npytest tests/pyspark/\npytest tests/ibis/\n\n# Run all tests with coverage\npytest --cov=pandera --cov-report=term-missing tests/\n\n# Run via nox (parameterized across Python/pandas/pydantic/polars versions)\nnox -db uv -s tests\n\n# Run a specific nox session\nnox -db uv -s \"tests(extra='polars', pandas=None, pydantic=None, polars='1.33.1')\"\n```\n\nThe nox `tests` session maps extras to test directories: `extra=None` runs\n`tests/base/`, `extra='pandas'` runs `tests/pandas/`, etc.\n\n### Test Matrix (CI)\n\n- Python: 3.10, 3.11, 3.12, 3.13, 3.14\n- Pandas: 2.1.1, 2.3.3\n- Pydantic: 1.10.11, 2.12.3\n- Polars: 1.20.0, 1.33.1, 1.42.1\n\n## Code Quality",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,276 @@\n+# AGENTS.md\n+\n+## Project Overview\n+\n+Pandera is a data validation library for Python that provides a flexible,\n+expressive API for validating dataframes and series across multiple backends.\n+It supports pandas, polars, pyspark, ibis, dask, modin, and geopandas.\n+\n+- **License:** MIT\n+- **Python:** >= 3.10 (tested on 3.10-3.14)\n+- **Docs:** https://pandera.readthedocs.io\n+- **Repo:** https://github.com/pandera-dev/pandera\n+\n+## Repository Structure\n+\n+```\n+pandera/                  # Main package\n+\u251c\u2500\u2500 api/                  # Public validation API (backend-specific schemas/models)\n+\u2502   \u251c\u2500\u2500 base/             # Abstract base classes (BaseSchema, BaseCheck, etc.)\n+\u2502   \u251c\u2500\u2500 pandas/           # Pandas DataFrameSchema, Column, Index, DataFrameModel\n+\u2502   \u251c\u2500\u2500 geopandas/        # GeoDataFrameSchema, GeoDataFrameModel (pandas-backed)\n+\u2502   \u251c\u2500\u2500 polars/           # Polars schema and model implementations\n+\u2502   \u251c\u2500\u2500 pyspark/          # PySpark schema and model implementations\n+\u2502   \u251c\u2500\u2500 ibis/             # Ibis schema and model implementations\n+\u2502   \u251c\u2500\u2500 dataframe/        # Shared dataframe components\n+\u2502   \u251c\u2500\u2500 checks.py         # Check class (ge, le, isin, str_matches, etc.)\n+\u2502   \u2514\u2500\u2500 hypotheses.py     # Hypothesis-based statistical testing\n+\u251c\u2500\u2500 backends/             # Validation logic implementations per backend\n+\u2502   \u251c\u2500\u2500 base/             # Abstract backend + builtin check/hypothesis impls\n+\u2502   \u251c\u2500\u2500 pandas/           # Pandas backend (checks, components, container, etc.)\n+\u2502   \u251c\u2500\u2500 polars/           # Polars backend\n+\u2502   \u251c\u2500\u2500 pyspark/          # PySpark backend\n+\u2502   \u2514\u2500\u2500 ibis/             # Ibis backend\n+\u251c\u2500\u2500 engines/              # Type system and dtype handling per backend\n+\u2502   \u251c\u2500\u2500 engine.py         # Engine metaclass and type registry\n+\u2502   \u251c\u2500\u2500 pandas_engine.py  # Pandas dtype definitions\n+\u2502   \u251c\u2500\u2500 numpy_engine.py   # NumPy dtype definitions\n+\u2502   \u251c\u2500\u2500 polars_engine.py  # Polars dtype definitions\n+\u2502   \u251c\u2500\u2500 pyspark_engine.py # PySpark dtype definitions\n+\u2502   \u251c\u2500\u2500 ibis_engine.py    # Ibis dtype definitions\n+\u2502   \u251c\u2500\u2500 pyarrow_engine.py # PyArrow dtype definitions\n+\u2502   \u2514\u2500\u2500 geopandas_engine.py\n+\u251c\u2500\u2500 typing/               # Type stubs for mypy integration\n+\u251c\u2500\u2500 strategies/           # Hypothesis strategies: import ``pandera.strategies.pandas_strategies`` etc. (``strategies`` package does not import backends)\n+\u251c\u2500\u2500 schema_inference/     # Infer schemas from data\n+\u251c\u2500\u2500 schema_statistics/    # Statistical validation helpers\n+\u251c\u2500\u2500 io/                   # Serialization: ``pandera.io.pandas_io``, ``polars_io``, ``pyspark_sql_io``, ``ibis_io``, ``xarray_io`` (``pandera.io`` package has no imports)\n+\u251c\u2500\u2500 accessors/            # Pandas/PySpark accessor extensions (.pandera)\n+\u251c\u2500\u2500 config.py             # PanderaConfig, ValidationDepth, ValidationScope\n+\u251c\u2500\u2500 decorators.py         # @check_input, @check_output, @check_io, @check_types\n+\u251c\u2500\u2500 dtypes.py             # Abstract data type definitions\n+\u251c\u2500\u2500 errors.py             # SchemaError, SchemaInitError, ParserError, etc.\n+\u251c\u2500\u2500 extensions.py         # Custom check/parser extension mechanism\n+\u251c\u2500\u2500 cli.py                # Console script entry (imports ``pandera._cli.run``)\n+\u251c\u2500\u2500 _cli/                 # Typer CLI: ``common``, ``validate``, ``infer``, ``generate``\n+\u251c\u2500\u2500 pandas.py             # Pandas entry point: `import pandera.pandas as pa`\n+\u251c\u2500\u2500 geopandas.py          # GeoPandas entry (`pg`): pandas API + GeoDataFrameSchema/Model\n+\u251c\u2500\u2500 polars.py             # Polars entry point: `import pandera.polars as pa`\n+\u251c\u2500\u2500 pyspark.py            # PySpark entry point: `import pandera.pyspark as pa`\n+\u2514\u2500\u2500 ibis.py               # Ibis entry point: `import pandera.ibis as pa`\n+\n+tests/                    # Test suite (mirrors backend structure)\n+\u251c\u2500\u2500 base/                 # Core tests (no backend-specific deps)\n+\u251c\u2500\u2500 cli/                  # CLI tests (format/backend matrices; PySpark combos need ``PANDERA_RUN_SPARK_CLI=1``)\n+\u251c\u2500\u2500 pandas/               # Pandas backend tests (~38 files)\n+\u251c\u2500\u2500 polars/               # Polars backend tests\n+\u251c\u2500\u2500 pyspark/              # PySpark backend tests\n+\u251c\u2500\u2500 ibis/                 # Ibis backend tests\n+\u251c\u2500\u2500 dask/                 # Dask integration tests\n+\u251c\u2500\u2500 modin/                # Modin integration tests\n+\u251c\u2500\u2500 geopandas/            # GeoPandas tests\n+\u251c\u2500\u2500 strategies/           # Hypothesis strategy tests\n+\u251c\u2500\u2500 hypotheses/           # Statistical hypothesis tests\n+\u251c\u2500\u2500 io/                   # Serialization tests\n+\u251c\u2500\u2500 fastapi/              # FastAPI integration tests\n+\u251c\u2500\u2500 mypy/                 # MyPy type-checking tests\n+\u2514\u2500\u2500 conftest.py           # Shared pytest fixtures\n+\n+docs/source/              # Sphinx documentation (MyST markdown + RST)\n+```\n+\n+## Architecture\n+\n+### Layered Design\n+\n+1. **API layer** (`pandera/api/`): Defines schemas, models, checks, and\n+   parsers. Each backend has its own subpackage inheriting from `base/`.\n+2. **Backend layer** (`pandera/backends/`): Implements actual validation logic.\n+   Backends are registered via `BaseSchema.BACKEND_REGISTRY` and discovered at\n+   runtime.\n+3. **Engine layer** (`pandera/engines/`): Manages dtype registration and\n+   coercion. Uses an `Engine` metaclass pattern for pluggable type systems.\n+\n+### Key Patterns\n+\n+- **Backend registry:** Backends register themselves at import time. The schema\n+  objects delegate validation to the registered backend.\n+- **Engine metaclass:** Each engine (pandas, polars, etc.) uses a metaclass that\n+  maintains a dtype registry. Types are registered with `@Engine.register_dtype`.\n+- **DataFrameModel:** Pydantic-style class-based schema definitions using type\n+  annotations and `Field()` descriptors.\n+- **Lazy validation:** Pass `lazy=True` to `schema.validate()` to collect all\n+  errors instead of failing on the first one.\n+\n+### Entry Points\n+\n+Users import backend-specific modules:\n+```python\n+import pandera.pandas as pa    # Pandas\n+import pandera.polars as pa    # Polars\n+import pandera.pyspark as pa   # PySpark\n+import pandera.ibis as pa      # Ibis\n+```\n+\n+The top-level `import pandera` falls back to the pandas API for backward\n+compatibility.\n+\n+## Backward Compatibility\n+\n+Pandera is a public library, so established behavior\u2014including annotation\n+semantics, backend APIs, and behavior exercised by existing tests\u2014is part of\n+the compatibility contract. Before changing such behavior, identify the\n+affected user-facing contract and preserve it unless the change is\n+intentional and justified. Do not rewrite existing tests simply to match a\n+new implementation; add regression tests for any intentionally changed\n+behavior and document migration or deprecation considerations.\n+\n+Any pull request that modifies an existing test must include a\n+`## Backward compatibility` section in its description. Explain the behavior\n+covered by the changed test, whether it changes for users, why the change is\n+necessary, and how compatibility is preserved or communicated. This section\n+is required even when the test change appears to be an implementation detail;\n+state explicitly when there is no user-facing behavior change.\n+\n+## Development Setup\n+\n+```bash\n+# Install uv and sync all extras\n+make setup\n+\n+# macOS (uses polars-lts-cpu)\n+make setup-macos\n+```\n+\n+This runs `uv sync --all-extras` which installs all optional dependencies and\n+dev/testing groups.\n+\n+## Running Tests\n+\n+Tests are organized by backend. Each backend's tests live in `tests/<backend>/`.\n+\n+```bash\n+# Run core + pandas tests\n+pytest tests/core tests/pandas\n+\n+# Run a specific backend's tests\n+pytest tests/polars/\n+pytest tests/pyspark/\n+pytest tests/ibis/\n+\n+# Run all tests with coverage\n+pytest --cov=pandera --cov-report=term-missing tests/\n+\n+# Run via nox (parameterized across Python/pandas/pydantic/polars versions)\n+nox -db uv -s tests\n+\n+# Run a specific nox session\n+nox -db uv -s \"tests(extra='polars', pandas=None, pydantic=None, polars='1.33.1')\"\n+```\n+\n+The nox `tests` session maps extras to test directories: `extra=None` runs\n+`tests/base/`, `extra='pandas'` runs `tests/pandas/`, etc.\n+\n+### Test Matrix (CI)\n+\n+- Python: 3.10, 3.11, 3.12, 3.13, 3.14\n+- Pandas: 2.1.1, 2.3.3\n+- Pydantic: 1.10.11, 2.12.3\n+- Polars: 1.20.0, 1.33.1, 1.42.1\n+\n+## Code Quality",
      "tags": [
        {
          "raw": "#rationale-implicit/code-quality",
          "namespace": "rationale-implicit",
          "value": "code-quality",
          "dimension": "rationale_implicit",
          "dimension_label": "Stated rationale (implicit)",
          "kind": "value",
          "value_label": "Code quality",
          "display": "Stated rationale (implicit): Code quality",
          "filter_key": "rationale_implicit:code-quality"
        }
      ],
      "tag_strings": [
        "#rationale-implicit/code-quality"
      ],
      "displays": [
        "Stated rationale (implicit): Code quality"
      ],
      "filter_keys": [
        "rationale_implicit:code-quality"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "rationale_implicit": [
          {
            "value": "code-quality",
            "filter_key": "rationale_implicit:code-quality",
            "display": "Stated rationale (implicit): Code quality"
          }
        ]
      },
      "path": "projects/pandera/AGENTS.md",
      "project": "pandera",
      "start_line": 181,
      "line": 181,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 4,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/4#discussion_r4547459168",
      "commit_id": "9ea59156ad8f805d98e13fec600e923822903c02",
      "created_at": "2026-11-12T07:17:18Z",
      "updated_at": "2026-11-12T07:17:18Z"
    },
    {
      "id": 4547463089,
      "body": "Claude Opus 5.5: #stance-implicit/maintainers-use-ai-tools",
      "quote": ".claude\n.claude/worktrees\ntmp\n.agent-workspace",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,139 @@\n+.claude\n+.claude/worktrees\n+tmp\n+.agent-workspace",
      "tags": [
        {
          "raw": "#stance-implicit/maintainers-use-ai-tools",
          "namespace": "stance-implicit",
          "value": "maintainers-use-ai-tools",
          "dimension": "stance_implicit",
          "dimension_label": "Stance (implicit)",
          "kind": "value",
          "value_label": "Maintainers use of AI tools",
          "display": "Stance (implicit): Maintainers use of AI tools",
          "filter_key": "stance_implicit:maintainers-use-ai-tools"
        }
      ],
      "tag_strings": [
        "#stance-implicit/maintainers-use-ai-tools"
      ],
      "displays": [
        "Stance (implicit): Maintainers use of AI tools"
      ],
      "filter_keys": [
        "stance_implicit:maintainers-use-ai-tools"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stance_implicit": [
          {
            "value": "maintainers-use-ai-tools",
            "filter_key": "stance_implicit:maintainers-use-ai-tools",
            "display": "Stance (implicit): Maintainers use of AI tools"
          }
        ]
      },
      "path": "projects/pandera/gitignore",
      "project": "pandera",
      "start_line": 4,
      "line": 4,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 4,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/4#discussion_r4547463089",
      "commit_id": "9ea59156ad8f805d98e13fec600e923822903c02",
      "created_at": "2026-11-12T07:17:51Z",
      "updated_at": "2026-11-12T07:17:51Z"
    },
    {
      "id": 4547467138,
      "body": "Claude Opus 5.5: #guidance-implicit/evaluation",
      "quote": "# Contributing\n\nWhether you are a novice or experienced software developer, all contributions\nand suggestions are welcome!\n\n## Getting Started\n\nIf you are looking to contribute to the _pandera_ codebase, the best place to\nstart is the [GitHub \"issues\" tab](https://github.com/pandera-dev/pandera/issues).\nThis is also a great place for filing bug reports and making suggestions for\nways in which we can improve the code and documentation.\n\n## Contributing to the Codebase\n\nThe code is hosted on [GitHub](https://github.com/pandera-dev/pandera/issues),\nso you will need to use [Git](http://git-scm.com/) to clone the project and make\nchanges to the codebase.\n\nFirst create your own fork of pandera, then clone it:\n\n```bash\n# replace <my-username> with your github username\ngit clone https://github.com/<my-username>/pandera.git\n```\n\nOnce you've obtained a copy of the code, create a development environment that's\nseparate from your existing Python environment so that you can make and test\nchanges without compromising your own work environment.\n\nAn excellent guide on setting up python environments can be found\n[here](https://pandas.pydata.org/docs/development/contributing.html#creating-a-python-environment).\nPandera offers a `environment.yml` to set up a conda-based environment and\n`requirements-dev.txt` for a virtualenv.\n\n### Environment Setup\n\nThis project recommends using [uv](https://docs.astral.sh/uv) to manage the\ndevelopment environment. If you don't have `uv` yet, install it with the\nstandalone installer (see the\n[uv installation guide](https://docs.astral.sh/uv/getting-started/installation/)\nfor other options, such as `pipx install uv`):\n\n```bash\ncurl -LsSf https://astral.sh/uv/install.sh | sh\n```\n\nAvoid `pip install uv` into your system Python: on Debian, Ubuntu and other\ndistributions that mark it as externally managed\n([PEP 668](https://peps.python.org/pep-0668/)), it fails with\n`error: externally-managed-environment`.\n\nThen create the environment:\n\n```bash\nuv venv\nuv sync --all-extras\nsource .venv/bin/activate\n```\n\n#### Run Tests\n\n```bash\nuv run pytest tests/ --ignore=tests/pyspark  # remove the `ignore` flag to test pyspark as well\n```\n\n#### Build Documentation Locally\n\n```bash\nmake docs\n```\n\n#### Adding New Dependencies\n\nTo add new dependencies to the project, first alter the `environment.yml` file. Then to sync the dependencies from the `environment.yml` file to the `requirements.in`, run the following command:\n\n```bash\nmake deps-from-environment.yml\n```\n\nThis will invoke `python scripts/generate_pip_deps_from_conda.py` to convert\n`environment.yml` to a `requirements.in` file. This is so that you can install\nyour development environment using the package manager of your choice like\n`pip`, `uv`, `conda`, etc.\n\nMoreover to add new extra dependencies in `pyproject.toml`, it is necessary to\nadd it to the `dependencies` and `[project.optional-dependencies]` section.\n\n\n#### Set up `prek`\n\nThis project uses [prek](https://prek.j178.dev/) to ensure that code\nstandard checks pass locally before pushing to the remote project repo. Follow\nthe [installation instructions](https://prek.j178.dev/installation/), then\nset up hooks with `prek install`. After that, the configured checks,\nincluding Ruff linting and formatting, Mypy, and other hooks, will run\nwith every commit.\n\nFor VS Code users, the repository recommends the Ruff extension and\nconfigures it as the default Python formatter. Enable Format on Save\nin your editor if you want Python files formatted automatically when\nsaving.\n\nMake sure everything is working correctly by running\n\n```bash\nprek run --all-files\n```\n\n### Making Changes\n\nBefore making changes to the codebase or documentation, create a new branch with:\n\n```bash\ngit checkout -b <my-branch>\n```\n\nWe recommend following the branch-naming convention described in [Making Pull Requests](#making-pull-requests).\n\n### DCO-signing Commits\n\nThis project enforces the [DCO](https://developercertificate.org/) standard for\ncontributions, which requires authors to sign off on their commits. This can be\ndone with the `-s` or `--signoff` flag:\n\n```bash\ngit commit -s -m 'my commit'\n```\n\nRefer to [this guide](https://github.com/src-d/guide/blob/master/developer-community/fix-DCO.md#dco-is-missing)\nto add sign-offs retroactivately.\n\n### Run the Full Test Suite Locally",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,303 @@\n+# Contributing\n+\n+Whether you are a novice or experienced software developer, all contributions\n+and suggestions are welcome!\n+\n+## Getting Started\n+\n+If you are looking to contribute to the _pandera_ codebase, the best place to\n+start is the [GitHub \"issues\" tab](https://github.com/pandera-dev/pandera/issues).\n+This is also a great place for filing bug reports and making suggestions for\n+ways in which we can improve the code and documentation.\n+\n+## Contributing to the Codebase\n+\n+The code is hosted on [GitHub](https://github.com/pandera-dev/pandera/issues),\n+so you will need to use [Git](http://git-scm.com/) to clone the project and make\n+changes to the codebase.\n+\n+First create your own fork of pandera, then clone it:\n+\n+```bash\n+# replace <my-username> with your github username\n+git clone https://github.com/<my-username>/pandera.git\n+```\n+\n+Once you've obtained a copy of the code, create a development environment that's\n+separate from your existing Python environment so that you can make and test\n+changes without compromising your own work environment.\n+\n+An excellent guide on setting up python environments can be found\n+[here](https://pandas.pydata.org/docs/development/contributing.html#creating-a-python-environment).\n+Pandera offers a `environment.yml` to set up a conda-based environment and\n+`requirements-dev.txt` for a virtualenv.\n+\n+### Environment Setup\n+\n+This project recommends using [uv](https://docs.astral.sh/uv) to manage the\n+development environment. If you don't have `uv` yet, install it with the\n+standalone installer (see the\n+[uv installation guide](https://docs.astral.sh/uv/getting-started/installation/)\n+for other options, such as `pipx install uv`):\n+\n+```bash\n+curl -LsSf https://astral.sh/uv/install.sh | sh\n+```\n+\n+Avoid `pip install uv` into your system Python: on Debian, Ubuntu and other\n+distributions that mark it as externally managed\n+([PEP 668](https://peps.python.org/pep-0668/)), it fails with\n+`error: externally-managed-environment`.\n+\n+Then create the environment:\n+\n+```bash\n+uv venv\n+uv sync --all-extras\n+source .venv/bin/activate\n+```\n+\n+#### Run Tests\n+\n+```bash\n+uv run pytest tests/ --ignore=tests/pyspark  # remove the `ignore` flag to test pyspark as well\n+```\n+\n+#### Build Documentation Locally\n+\n+```bash\n+make docs\n+```\n+\n+#### Adding New Dependencies\n+\n+To add new dependencies to the project, first alter the `environment.yml` file. Then to sync the dependencies from the `environment.yml` file to the `requirements.in`, run the following command:\n+\n+```bash\n+make deps-from-environment.yml\n+```\n+\n+This will invoke `python scripts/generate_pip_deps_from_conda.py` to convert\n+`environment.yml` to a `requirements.in` file. This is so that you can install\n+your development environment using the package manager of your choice like\n+`pip`, `uv`, `conda`, etc.\n+\n+Moreover to add new extra dependencies in `pyproject.toml`, it is necessary to\n+add it to the `dependencies` and `[project.optional-dependencies]` section.\n+\n+\n+#### Set up `prek`\n+\n+This project uses [prek](https://prek.j178.dev/) to ensure that code\n+standard checks pass locally before pushing to the remote project repo. Follow\n+the [installation instructions](https://prek.j178.dev/installation/), then\n+set up hooks with `prek install`. After that, the configured checks,\n+including Ruff linting and formatting, Mypy, and other hooks, will run\n+with every commit.\n+\n+For VS Code users, the repository recommends the Ruff extension and\n+configures it as the default Python formatter. Enable Format on Save\n+in your editor if you want Python files formatted automatically when\n+saving.\n+\n+Make sure everything is working correctly by running\n+\n+```bash\n+prek run --all-files\n+```\n+\n+### Making Changes\n+\n+Before making changes to the codebase or documentation, create a new branch with:\n+\n+```bash\n+git checkout -b <my-branch>\n+```\n+\n+We recommend following the branch-naming convention described in [Making Pull Requests](#making-pull-requests).\n+\n+### DCO-signing Commits\n+\n+This project enforces the [DCO](https://developercertificate.org/) standard for\n+contributions, which requires authors to sign off on their commits. This can be\n+done with the `-s` or `--signoff` flag:\n+\n+```bash\n+git commit -s -m 'my commit'\n+```\n+\n+Refer to [this guide](https://github.com/src-d/guide/blob/master/developer-community/fix-DCO.md#dco-is-missing)\n+to add sign-offs retroactivately.\n+\n+### Run the Full Test Suite Locally",
      "tags": [
        {
          "raw": "#guidance-implicit/evaluation",
          "namespace": "guidance-implicit",
          "value": "evaluation",
          "dimension": "guidance_type_implicit",
          "dimension_label": "Guidance type (implicit)",
          "kind": "value",
          "value_label": "Evaluation (understand, test, and explain output)",
          "display": "Guidance type (implicit): Evaluation (understand, test, and explain output)",
          "filter_key": "guidance_type_implicit:evaluation"
        }
      ],
      "tag_strings": [
        "#guidance-implicit/evaluation"
      ],
      "displays": [
        "Guidance type (implicit): Evaluation (understand, test, and explain output)"
      ],
      "filter_keys": [
        "guidance_type_implicit:evaluation"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "guidance_type_implicit": [
          {
            "value": "evaluation",
            "filter_key": "guidance_type_implicit:evaluation",
            "display": "Guidance type (implicit): Evaluation (understand, test, and explain output)"
          }
        ]
      },
      "path": "projects/pandera/CONTRIBUTING.md",
      "project": "pandera",
      "start_line": 132,
      "line": 132,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 4,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/4#discussion_r4547467138",
      "commit_id": "9ea59156ad8f805d98e13fec600e923822903c02",
      "created_at": "2026-11-12T07:18:27Z",
      "updated_at": "2026-11-12T07:18:27Z"
    },
    {
      "id": 4553229133,
      "body": "#disclosure/required",
      "quote": "name: Bug report\ndescription: Help us improve `xclim`\nlabels: [ \"bug\" ]\n\nbody:\n  - type: markdown\n    attributes:\n      value: |\n        Thanks for taking the time to fill out this bug report!\n  - type: textarea\n    id: setup-information\n    attributes:\n      label: Setup Information\n      description: |\n        What software versions are you running? Example:\n        - xclim version: 0.55.0-gamma\n        - Python version: 4.2\n        - Operating System: Nutmeg Linux 12.34 | macOS 11.0 \"Redmond\"\n      value: |\n        - xclim version:\n        - Python version:\n        - Operating System:\n  - type: textarea\n    id: description\n    attributes:\n      label: Description\n      description: Describe what you were trying to get done. Tell us what happened, what went wrong, and what you expected to happen.\n  - type: textarea\n    id: steps-to-reproduce\n    attributes:\n      label: Steps To Reproduce\n      description: Paste the command(s) you ran and the output. If there was a crash, please include the traceback below.\n  - type: textarea\n    id: additional-context\n    attributes:\n      label: Additional context\n      description: Add any other context about the problem here.\n  - type: checkboxes\n    id: submit-pr\n    attributes:\n      label: Contribution\n      description: Do you intend to submit a fix for this bug? (The xclim developers will help with code compliance)\n      options:\n        - label: I would be willing/able to open a Pull Request to address this bug.\n  - type: checkboxes\n    id: ai-disclosure\n    attributes:\n      label: AI Disclosure\n      description: Have you used an AI model or agent to either discover this bug or generate the content of this report?\n      options:\n        - label: I have used AI in the process of preparing/drafting this bug report.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,59 @@\n+name: Bug report\n+description: Help us improve `xclim`\n+labels: [ \"bug\" ]\n+\n+body:\n+  - type: markdown\n+    attributes:\n+      value: |\n+        Thanks for taking the time to fill out this bug report!\n+  - type: textarea\n+    id: setup-information\n+    attributes:\n+      label: Setup Information\n+      description: |\n+        What software versions are you running? Example:\n+        - xclim version: 0.55.0-gamma\n+        - Python version: 4.2\n+        - Operating System: Nutmeg Linux 12.34 | macOS 11.0 \"Redmond\"\n+      value: |\n+        - xclim version:\n+        - Python version:\n+        - Operating System:\n+  - type: textarea\n+    id: description\n+    attributes:\n+      label: Description\n+      description: Describe what you were trying to get done. Tell us what happened, what went wrong, and what you expected to happen.\n+  - type: textarea\n+    id: steps-to-reproduce\n+    attributes:\n+      label: Steps To Reproduce\n+      description: Paste the command(s) you ran and the output. If there was a crash, please include the traceback below.\n+  - type: textarea\n+    id: additional-context\n+    attributes:\n+      label: Additional context\n+      description: Add any other context about the problem here.\n+  - type: checkboxes\n+    id: submit-pr\n+    attributes:\n+      label: Contribution\n+      description: Do you intend to submit a fix for this bug? (The xclim developers will help with code compliance)\n+      options:\n+        - label: I would be willing/able to open a Pull Request to address this bug.\n+  - type: checkboxes\n+    id: ai-disclosure\n+    attributes:\n+      label: AI Disclosure\n+      description: Have you used an AI model or agent to either discover this bug or generate the content of this report?\n+      options:\n+        - label: I have used AI in the process of preparing/drafting this bug report.",
      "tags": [
        {
          "raw": "#disclosure/required",
          "namespace": "disclosure",
          "value": "required",
          "dimension": "disclosure",
          "dimension_label": "Disclosure",
          "kind": "value",
          "value_label": "Required",
          "display": "Disclosure: Required",
          "filter_key": "disclosure:required"
        }
      ],
      "tag_strings": [
        "#disclosure/required"
      ],
      "displays": [
        "Disclosure: Required"
      ],
      "filter_keys": [
        "disclosure:required"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "disclosure": [
          {
            "value": "required",
            "filter_key": "disclosure:required",
            "display": "Disclosure: Required"
          }
        ]
      },
      "path": "projects/xclim/0002-BUG-REPORT.yml",
      "project": "xclim",
      "start_line": 48,
      "line": 51,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4553229133",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T16:28:46Z",
      "updated_at": "2026-11-12T16:28:46Z"
    },
    {
      "id": 4553239930,
      "body": "#stance-implicit/maintainers-use-ai-tools\n#stance-implicit/outside-ai-assisted-accepted\n#stance-implicit/defensive-instructions",
      "quote": "# Agents\n\nRules for AI coding agents working in this repository.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,64 @@\n+# Agents\n+\n+Rules for AI coding agents working in this repository.",
      "tags": [
        {
          "raw": "#stance-implicit/maintainers-use-ai-tools",
          "namespace": "stance-implicit",
          "value": "maintainers-use-ai-tools",
          "dimension": "stance_implicit",
          "dimension_label": "Stance (implicit)",
          "kind": "value",
          "value_label": "Maintainers use of AI tools",
          "display": "Stance (implicit): Maintainers use of AI tools",
          "filter_key": "stance_implicit:maintainers-use-ai-tools"
        },
        {
          "raw": "#stance-implicit/outside-ai-assisted-accepted",
          "namespace": "stance-implicit",
          "value": "outside-ai-assisted-accepted",
          "dimension": "stance_implicit",
          "dimension_label": "Stance (implicit)",
          "kind": "value",
          "value_label": "External/outside AI-assisted work is accepted",
          "display": "Stance (implicit): External/outside AI-assisted work is accepted",
          "filter_key": "stance_implicit:outside-ai-assisted-accepted"
        },
        {
          "raw": "#stance-implicit/defensive-instructions",
          "namespace": "stance-implicit",
          "value": "defensive-instructions",
          "dimension": "stance_implicit",
          "dimension_label": "Stance (implicit)",
          "kind": "value",
          "value_label": "Defensive instructions",
          "display": "Stance (implicit): Defensive instructions",
          "filter_key": "stance_implicit:defensive-instructions"
        }
      ],
      "tag_strings": [
        "#stance-implicit/maintainers-use-ai-tools",
        "#stance-implicit/outside-ai-assisted-accepted",
        "#stance-implicit/defensive-instructions"
      ],
      "displays": [
        "Stance (implicit): Maintainers use of AI tools",
        "Stance (implicit): External/outside AI-assisted work is accepted",
        "Stance (implicit): Defensive instructions"
      ],
      "filter_keys": [
        "stance_implicit:maintainers-use-ai-tools",
        "stance_implicit:outside-ai-assisted-accepted",
        "stance_implicit:defensive-instructions"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stance_implicit": [
          {
            "value": "maintainers-use-ai-tools",
            "filter_key": "stance_implicit:maintainers-use-ai-tools",
            "display": "Stance (implicit): Maintainers use of AI tools"
          },
          {
            "value": "outside-ai-assisted-accepted",
            "filter_key": "stance_implicit:outside-ai-assisted-accepted",
            "display": "Stance (implicit): External/outside AI-assisted work is accepted"
          },
          {
            "value": "defensive-instructions",
            "filter_key": "stance_implicit:defensive-instructions",
            "display": "Stance (implicit): Defensive instructions"
          }
        ]
      },
      "path": "projects/xclim/AGENTS.xclim.md",
      "project": "xclim",
      "start_line": 3,
      "line": 3,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4553239930",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T16:29:39Z",
      "updated_at": "2026-11-12T16:29:39Z"
    },
    {
      "id": 4553445548,
      "body": "#guidance-implicit/design",
      "quote": "# Agents\n\nRules for AI coding agents working in this repository.\n\n## General\n\n- Follow existing code conventions and patterns",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,64 @@\n+# Agents\n+\n+Rules for AI coding agents working in this repository.\n+\n+## General\n+\n+- Follow existing code conventions and patterns",
      "tags": [
        {
          "raw": "#guidance-implicit/design",
          "namespace": "guidance-implicit",
          "value": "design",
          "dimension": "guidance_type_implicit",
          "dimension_label": "Guidance type (implicit)",
          "kind": "value",
          "value_label": "Design (modularity, existing patterns, technical debt)",
          "display": "Guidance type (implicit): Design (modularity, existing patterns, technical debt)",
          "filter_key": "guidance_type_implicit:design"
        }
      ],
      "tag_strings": [
        "#guidance-implicit/design"
      ],
      "displays": [
        "Guidance type (implicit): Design (modularity, existing patterns, technical debt)"
      ],
      "filter_keys": [
        "guidance_type_implicit:design"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "guidance_type_implicit": [
          {
            "value": "design",
            "filter_key": "guidance_type_implicit:design",
            "display": "Guidance type (implicit): Design (modularity, existing patterns, technical debt)"
          }
        ]
      },
      "path": "projects/xclim/AGENTS.xclim.md",
      "project": "xclim",
      "start_line": 7,
      "line": 7,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4553445548",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T16:46:20Z",
      "updated_at": "2026-11-12T16:46:21Z"
    },
    {
      "id": 4553450850,
      "body": "#rationale-implicit/code-quality",
      "quote": "# Agents\n\nRules for AI coding agents working in this repository.\n\n## General\n\n- Follow existing code conventions and patterns\n- Do not modify files outside the scope of the current task\n- Prefer editing existing files over creating new ones\n- Do not add dependencies without explicit approval\n- Keep changes atomic -- one concern per commit\n- Ask for clarification when requirements are ambiguous\n- Do not create new files or public APIs without explicit approval\n- Do not generate PR descriptions or review comments on others' code\n\n## Code Style",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,64 @@\n+# Agents\n+\n+Rules for AI coding agents working in this repository.\n+\n+## General\n+\n+- Follow existing code conventions and patterns\n+- Do not modify files outside the scope of the current task\n+- Prefer editing existing files over creating new ones\n+- Do not add dependencies without explicit approval\n+- Keep changes atomic -- one concern per commit\n+- Ask for clarification when requirements are ambiguous\n+- Do not create new files or public APIs without explicit approval\n+- Do not generate PR descriptions or review comments on others' code\n+\n+## Code Style",
      "tags": [
        {
          "raw": "#rationale-implicit/code-quality",
          "namespace": "rationale-implicit",
          "value": "code-quality",
          "dimension": "rationale_implicit",
          "dimension_label": "Stated rationale (implicit)",
          "kind": "value",
          "value_label": "Code quality",
          "display": "Stated rationale (implicit): Code quality",
          "filter_key": "rationale_implicit:code-quality"
        }
      ],
      "tag_strings": [
        "#rationale-implicit/code-quality"
      ],
      "displays": [
        "Stated rationale (implicit): Code quality"
      ],
      "filter_keys": [
        "rationale_implicit:code-quality"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "rationale_implicit": [
          {
            "value": "code-quality",
            "filter_key": "rationale_implicit:code-quality",
            "display": "Stated rationale (implicit): Code quality"
          }
        ]
      },
      "path": "projects/xclim/AGENTS.xclim.md",
      "project": "xclim",
      "start_line": 16,
      "line": 16,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4553450850",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T16:46:47Z",
      "updated_at": "2026-11-12T16:46:47Z"
    },
    {
      "id": 4553454828,
      "body": "#guidance-implicit/evaluation",
      "quote": "# Agents\n\nRules for AI coding agents working in this repository.\n\n## General\n\n- Follow existing code conventions and patterns\n- Do not modify files outside the scope of the current task\n- Prefer editing existing files over creating new ones\n- Do not add dependencies without explicit approval\n- Keep changes atomic -- one concern per commit\n- Ask for clarification when requirements are ambiguous\n- Do not create new files or public APIs without explicit approval\n- Do not generate PR descriptions or review comments on others' code\n\n## Code Style\n\n- Follow the linting patterns provided via `$ make lint` in the `Makefile` alongside the configurations found in the top-level `pyproject.toml` and `.pre-commit-config.yaml` files.\n- All functions should be typed and new functions must have `numpydoc`-like docstrings.\n\n## Setup\n\nThe package can be installed in developer mode in Python using the `$ make develop` recipe.\n\n## Testing\n\n- Write tests for new functionality.\n- Any `pytest` fixtures common to tests across multiple `test_*.py` files should be found within `conftest.py`.\n- Run the full suite before submitting.\n- Test coverage must not significantly drop between PRs and `main` branch.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,64 @@\n+# Agents\n+\n+Rules for AI coding agents working in this repository.\n+\n+## General\n+\n+- Follow existing code conventions and patterns\n+- Do not modify files outside the scope of the current task\n+- Prefer editing existing files over creating new ones\n+- Do not add dependencies without explicit approval\n+- Keep changes atomic -- one concern per commit\n+- Ask for clarification when requirements are ambiguous\n+- Do not create new files or public APIs without explicit approval\n+- Do not generate PR descriptions or review comments on others' code\n+\n+## Code Style\n+\n+- Follow the linting patterns provided via `$ make lint` in the `Makefile` alongside the configurations found in the top-level `pyproject.toml` and `.pre-commit-config.yaml` files.\n+- All functions should be typed and new functions must have `numpydoc`-like docstrings.\n+\n+## Setup\n+\n+The package can be installed in developer mode in Python using the `$ make develop` recipe.\n+\n+## Testing\n+\n+- Write tests for new functionality.\n+- Any `pytest` fixtures common to tests across multiple `test_*.py` files should be found within `conftest.py`.\n+- Run the full suite before submitting.\n+- Test coverage must not significantly drop between PRs and `main` branch.",
      "tags": [
        {
          "raw": "#guidance-implicit/evaluation",
          "namespace": "guidance-implicit",
          "value": "evaluation",
          "dimension": "guidance_type_implicit",
          "dimension_label": "Guidance type (implicit)",
          "kind": "value",
          "value_label": "Evaluation (understand, test, and explain output)",
          "display": "Guidance type (implicit): Evaluation (understand, test, and explain output)",
          "filter_key": "guidance_type_implicit:evaluation"
        }
      ],
      "tag_strings": [
        "#guidance-implicit/evaluation"
      ],
      "displays": [
        "Guidance type (implicit): Evaluation (understand, test, and explain output)"
      ],
      "filter_keys": [
        "guidance_type_implicit:evaluation"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "guidance_type_implicit": [
          {
            "value": "evaluation",
            "filter_key": "guidance_type_implicit:evaluation",
            "display": "Guidance type (implicit): Evaluation (understand, test, and explain output)"
          }
        ]
      },
      "path": "projects/xclim/AGENTS.xclim.md",
      "project": "xclim",
      "start_line": 25,
      "line": 30,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4553454828",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T16:47:06Z",
      "updated_at": "2026-11-12T16:47:07Z"
    },
    {
      "id": 4553460967,
      "body": "#guidance-level-implicit/substantive-guidance\n\nthis entire file is guidance for the AI",
      "quote": "# Agents",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,64 @@\n+# Agents",
      "tags": [
        {
          "raw": "#guidance-level-implicit/substantive-guidance",
          "namespace": "guidance-level-implicit",
          "value": "substantive-guidance",
          "dimension": "guidance_level_implicit",
          "dimension_label": "Guidance level (implicit)",
          "kind": "value",
          "value_label": "Substantive guidance",
          "display": "Guidance level (implicit): Substantive guidance",
          "filter_key": "guidance_level_implicit:substantive-guidance"
        }
      ],
      "tag_strings": [
        "#guidance-level-implicit/substantive-guidance"
      ],
      "displays": [
        "Guidance level (implicit): Substantive guidance"
      ],
      "filter_keys": [
        "guidance_level_implicit:substantive-guidance"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "guidance_level_implicit": [
          {
            "value": "substantive-guidance",
            "filter_key": "guidance_level_implicit:substantive-guidance",
            "display": "Guidance level (implicit): Substantive guidance"
          }
        ]
      },
      "path": "projects/xclim/AGENTS.xclim.md",
      "project": "xclim",
      "start_line": 1,
      "line": 1,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4553460967",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T16:47:36Z",
      "updated_at": "2026-11-12T16:47:36Z"
    },
    {
      "id": 4553647653,
      "body": "#human-responsibility/yes\n#scope/code:restricted",
      "quote": "# AI Policy\n\n## Accountability\n\nYou are responsible for every line of code you submit, regardless of how it was produced. If you use AI tools, review and verify all output before committing.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,66 @@\n+# AI Policy\n+\n+## Accountability\n+\n+You are responsible for every line of code you submit, regardless of how it was produced. If you use AI tools, review and verify all output before committing.",
      "tags": [
        {
          "raw": "#human-responsibility/yes",
          "namespace": "human-responsibility",
          "value": "yes",
          "dimension": "human_responsibility",
          "dimension_label": "Human responsibility",
          "kind": "value",
          "value_label": "Yes \u2014 contributor is responsible for submitted work",
          "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work",
          "filter_key": "human_responsibility:yes"
        },
        {
          "raw": "#scope/code:restricted",
          "namespace": "scope",
          "value": "code",
          "qualifier": "restricted",
          "dimension": "scope",
          "dimension_label": "Scope",
          "kind": "scope",
          "contribution_type": "code",
          "contribution_type_label": "Code",
          "position": "restricted",
          "position_label": "Restricted",
          "value_label": "Code: Restricted",
          "display": "Scope: Code \u2192 Restricted",
          "filter_key": "scope:code:restricted"
        }
      ],
      "tag_strings": [
        "#human-responsibility/yes",
        "#scope/code:restricted"
      ],
      "displays": [
        "Human responsibility: Yes \u2014 contributor is responsible for submitted work",
        "Scope: Code \u2192 Restricted"
      ],
      "filter_keys": [
        "human_responsibility:yes",
        "scope:code:restricted"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "human_responsibility": [
          {
            "value": "yes",
            "filter_key": "human_responsibility:yes",
            "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
          }
        ],
        "scope": [
          {
            "contribution_type": "code",
            "position": "restricted",
            "filter_key": "scope:code:restricted",
            "display": "Scope: Code \u2192 Restricted"
          }
        ]
      },
      "path": "projects/xclim/AI_POLICY.md",
      "project": "xclim",
      "start_line": 5,
      "line": 5,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4553647653",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T17:03:10Z",
      "updated_at": "2026-11-12T17:07:41Z"
    },
    {
      "id": 4553702811,
      "body": "#scope/autonomous-agents:banned",
      "quote": "# AI Policy\n\n## Accountability\n\nYou are responsible for every line of code you submit, regardless of how it was produced. If you use AI tools, review and verify all output before committing.\n\n## Pull Requests\n\nPull Requests descriptions must be drafted by a human and adhere to the template selected on creation.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,66 @@\n+# AI Policy\n+\n+## Accountability\n+\n+You are responsible for every line of code you submit, regardless of how it was produced. If you use AI tools, review and verify all output before committing.\n+\n+## Pull Requests\n+\n+Pull Requests descriptions must be drafted by a human and adhere to the template selected on creation.",
      "tags": [
        {
          "raw": "#scope/autonomous-agents:banned",
          "namespace": "scope",
          "value": "autonomous-agents",
          "qualifier": "banned",
          "dimension": "scope",
          "dimension_label": "Scope",
          "kind": "scope",
          "contribution_type": "autonomous-agents",
          "contribution_type_label": "Autonomous agents",
          "position": "banned",
          "position_label": "Banned",
          "value_label": "Autonomous agents: Banned",
          "display": "Scope: Autonomous agents \u2192 Banned",
          "filter_key": "scope:autonomous-agents:banned"
        }
      ],
      "tag_strings": [
        "#scope/autonomous-agents:banned"
      ],
      "displays": [
        "Scope: Autonomous agents \u2192 Banned"
      ],
      "filter_keys": [
        "scope:autonomous-agents:banned"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "scope": [
          {
            "contribution_type": "autonomous-agents",
            "position": "banned",
            "filter_key": "scope:autonomous-agents:banned",
            "display": "Scope: Autonomous agents \u2192 Banned"
          }
        ]
      },
      "path": "projects/xclim/AI_POLICY.md",
      "project": "xclim",
      "start_line": 9,
      "line": 9,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4553702811",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T17:07:47Z",
      "updated_at": "2026-11-12T17:07:47Z"
    },
    {
      "id": 4553706478,
      "body": "#stance/permissive-with-conditions",
      "quote": "# AI Policy\n\n## Accountability\n\nYou are responsible for every line of code you submit, regardless of how it was produced. If you use AI tools, review and verify all output before committing.\n\n## Pull Requests\n\nPull Requests descriptions must be drafted by a human and adhere to the template selected on creation.\nSummaries of changes posted by AI are not accepted in Pull Requests.\n\n## AI Tool Usage\n\nAI tools are permitted. Standard review process applies to all contributions.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,66 @@\n+# AI Policy\n+\n+## Accountability\n+\n+You are responsible for every line of code you submit, regardless of how it was produced. If you use AI tools, review and verify all output before committing.\n+\n+## Pull Requests\n+\n+Pull Requests descriptions must be drafted by a human and adhere to the template selected on creation.\n+Summaries of changes posted by AI are not accepted in Pull Requests.\n+\n+## AI Tool Usage\n+\n+AI tools are permitted. Standard review process applies to all contributions.",
      "tags": [
        {
          "raw": "#stance/permissive-with-conditions",
          "namespace": "stance",
          "value": "permissive-with-conditions",
          "dimension": "stance",
          "dimension_label": "Stance",
          "kind": "value",
          "value_label": "Permissive with conditions",
          "display": "Stance: Permissive with conditions",
          "filter_key": "stance:permissive-with-conditions"
        }
      ],
      "tag_strings": [
        "#stance/permissive-with-conditions"
      ],
      "displays": [
        "Stance: Permissive with conditions"
      ],
      "filter_keys": [
        "stance:permissive-with-conditions"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stance": [
          {
            "value": "permissive-with-conditions",
            "filter_key": "stance:permissive-with-conditions",
            "display": "Stance: Permissive with conditions"
          }
        ]
      },
      "path": "projects/xclim/AI_POLICY.md",
      "project": "xclim",
      "start_line": 14,
      "line": 14,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4553706478",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T17:08:05Z",
      "updated_at": "2026-11-12T17:08:05Z"
    },
    {
      "id": 4553711667,
      "body": "#guidance/iteration\n#human-responsibility/yes",
      "quote": "# AI Policy\n\n## Accountability\n\nYou are responsible for every line of code you submit, regardless of how it was produced. If you use AI tools, review and verify all output before committing.\n\n## Pull Requests\n\nPull Requests descriptions must be drafted by a human and adhere to the template selected on creation.\nSummaries of changes posted by AI are not accepted in Pull Requests.\n\n## AI Tool Usage\n\nAI tools are permitted. Standard review process applies to all contributions.\n\n## AI-Generated Code\n\nAI-generated code must be reviewed by a human maintainer before merging. Keep changes atomic -- you must be able to explain any line on request.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,66 @@\n+# AI Policy\n+\n+## Accountability\n+\n+You are responsible for every line of code you submit, regardless of how it was produced. If you use AI tools, review and verify all output before committing.\n+\n+## Pull Requests\n+\n+Pull Requests descriptions must be drafted by a human and adhere to the template selected on creation.\n+Summaries of changes posted by AI are not accepted in Pull Requests.\n+\n+## AI Tool Usage\n+\n+AI tools are permitted. Standard review process applies to all contributions.\n+\n+## AI-Generated Code\n+\n+AI-generated code must be reviewed by a human maintainer before merging. Keep changes atomic -- you must be able to explain any line on request.",
      "tags": [
        {
          "raw": "#guidance/iteration",
          "namespace": "guidance",
          "value": "iteration",
          "dimension": "guidance_type",
          "dimension_label": "Guidance type",
          "kind": "value",
          "value_label": "Iteration (human-AI cycles rather than one-shot)",
          "display": "Guidance type: Iteration (human-AI cycles rather than one-shot)",
          "filter_key": "guidance_type:iteration"
        },
        {
          "raw": "#human-responsibility/yes",
          "namespace": "human-responsibility",
          "value": "yes",
          "dimension": "human_responsibility",
          "dimension_label": "Human responsibility",
          "kind": "value",
          "value_label": "Yes \u2014 contributor is responsible for submitted work",
          "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work",
          "filter_key": "human_responsibility:yes"
        }
      ],
      "tag_strings": [
        "#guidance/iteration",
        "#human-responsibility/yes"
      ],
      "displays": [
        "Guidance type: Iteration (human-AI cycles rather than one-shot)",
        "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
      ],
      "filter_keys": [
        "guidance_type:iteration",
        "human_responsibility:yes"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "guidance_type": [
          {
            "value": "iteration",
            "filter_key": "guidance_type:iteration",
            "display": "Guidance type: Iteration (human-AI cycles rather than one-shot)"
          }
        ],
        "human_responsibility": [
          {
            "value": "yes",
            "filter_key": "human_responsibility:yes",
            "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
          }
        ]
      },
      "path": "projects/xclim/AI_POLICY.md",
      "project": "xclim",
      "start_line": 18,
      "line": 18,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4553711667",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T17:08:32Z",
      "updated_at": "2026-11-12T17:08:32Z"
    },
    {
      "id": 4553714858,
      "body": "#disclosure/required",
      "quote": "# AI Policy\n\n## Accountability\n\nYou are responsible for every line of code you submit, regardless of how it was produced. If you use AI tools, review and verify all output before committing.\n\n## Pull Requests\n\nPull Requests descriptions must be drafted by a human and adhere to the template selected on creation.\nSummaries of changes posted by AI are not accepted in Pull Requests.\n\n## AI Tool Usage\n\nAI tools are permitted. Standard review process applies to all contributions.\n\n## AI-Generated Code\n\nAI-generated code must be reviewed by a human maintainer before merging. Keep changes atomic -- you must be able to explain any line on request.\n\n## Disclosure\n\nMark significant AI involvement in commit messages with a trailer:\n\n```text\nAssisted-by: <tool name>\n```\n\nPull Requests must also state how AI was used under the `### Other information:` section.\n\nCode changes from less sophisticated phrase-completion tools do not require an AI disclosure.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,66 @@\n+# AI Policy\n+\n+## Accountability\n+\n+You are responsible for every line of code you submit, regardless of how it was produced. If you use AI tools, review and verify all output before committing.\n+\n+## Pull Requests\n+\n+Pull Requests descriptions must be drafted by a human and adhere to the template selected on creation.\n+Summaries of changes posted by AI are not accepted in Pull Requests.\n+\n+## AI Tool Usage\n+\n+AI tools are permitted. Standard review process applies to all contributions.\n+\n+## AI-Generated Code\n+\n+AI-generated code must be reviewed by a human maintainer before merging. Keep changes atomic -- you must be able to explain any line on request.\n+\n+## Disclosure\n+\n+Mark significant AI involvement in commit messages with a trailer:\n+\n+```text\n+Assisted-by: <tool name>\n+```\n+\n+Pull Requests must also state how AI was used under the `### Other information:` section.\n+\n+Code changes from less sophisticated phrase-completion tools do not require an AI disclosure.",
      "tags": [
        {
          "raw": "#disclosure/required",
          "namespace": "disclosure",
          "value": "required",
          "dimension": "disclosure",
          "dimension_label": "Disclosure",
          "kind": "value",
          "value_label": "Required",
          "display": "Disclosure: Required",
          "filter_key": "disclosure:required"
        }
      ],
      "tag_strings": [
        "#disclosure/required"
      ],
      "displays": [
        "Disclosure: Required"
      ],
      "filter_keys": [
        "disclosure:required"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "disclosure": [
          {
            "value": "required",
            "filter_key": "disclosure:required",
            "display": "Disclosure: Required"
          }
        ]
      },
      "path": "projects/xclim/AI_POLICY.md",
      "project": "xclim",
      "start_line": 22,
      "line": 30,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4553714858",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T17:08:48Z",
      "updated_at": "2026-11-12T17:08:48Z"
    },
    {
      "id": 4553727508,
      "body": "#guidance-implicit/iteration\n#guidance-level/substantive-guidance\n#human-responsibility/yes\n#rationale/code-quality\n#rationale/contributor-learning-and-skill-development\n#rationale/social-and-ethical",
      "quote": "# AI Policy\n\n## Accountability\n\nYou are responsible for every line of code you submit, regardless of how it was produced. If you use AI tools, review and verify all output before committing.\n\n## Pull Requests\n\nPull Requests descriptions must be drafted by a human and adhere to the template selected on creation.\nSummaries of changes posted by AI are not accepted in Pull Requests.\n\n## AI Tool Usage\n\nAI tools are permitted. Standard review process applies to all contributions.\n\n## AI-Generated Code\n\nAI-generated code must be reviewed by a human maintainer before merging. Keep changes atomic -- you must be able to explain any line on request.\n\n## Disclosure\n\nMark significant AI involvement in commit messages with a trailer:\n\n```text\nAssisted-by: <tool name>\n```\n\nPull Requests must also state how AI was used under the `### Other information:` section.\n\nCode changes from less sophisticated phrase-completion tools do not require an AI disclosure.\n\n## Prohibited Uses\n\n- Submitting AI output you have not read and understood\n- Using AI to generate code that circumvents tests or CI checks\n- Feeding reviewer feedback back into AI without understanding it first\n- AI-generated PR descriptions -- describe your own work\n- AI-generated review comments on other contributors' PRs",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,66 @@\n+# AI Policy\n+\n+## Accountability\n+\n+You are responsible for every line of code you submit, regardless of how it was produced. If you use AI tools, review and verify all output before committing.\n+\n+## Pull Requests\n+\n+Pull Requests descriptions must be drafted by a human and adhere to the template selected on creation.\n+Summaries of changes posted by AI are not accepted in Pull Requests.\n+\n+## AI Tool Usage\n+\n+AI tools are permitted. Standard review process applies to all contributions.\n+\n+## AI-Generated Code\n+\n+AI-generated code must be reviewed by a human maintainer before merging. Keep changes atomic -- you must be able to explain any line on request.\n+\n+## Disclosure\n+\n+Mark significant AI involvement in commit messages with a trailer:\n+\n+```text\n+Assisted-by: <tool name>\n+```\n+\n+Pull Requests must also state how AI was used under the `### Other information:` section.\n+\n+Code changes from less sophisticated phrase-completion tools do not require an AI disclosure.\n+\n+## Prohibited Uses\n+\n+- Submitting AI output you have not read and understood\n+- Using AI to generate code that circumvents tests or CI checks\n+- Feeding reviewer feedback back into AI without understanding it first\n+- AI-generated PR descriptions -- describe your own work\n+- AI-generated review comments on other contributors' PRs",
      "tags": [
        {
          "raw": "#guidance-implicit/iteration",
          "namespace": "guidance-implicit",
          "value": "iteration",
          "dimension": "guidance_type_implicit",
          "dimension_label": "Guidance type (implicit)",
          "kind": "value",
          "value_label": "Iteration (human-AI cycles rather than one-shot)",
          "display": "Guidance type (implicit): Iteration (human-AI cycles rather than one-shot)",
          "filter_key": "guidance_type_implicit:iteration"
        },
        {
          "raw": "#guidance-level/substantive-guidance",
          "namespace": "guidance-level",
          "value": "substantive-guidance",
          "dimension": "guidance_level",
          "dimension_label": "Guidance level",
          "kind": "value",
          "value_label": "Substantive guidance",
          "display": "Guidance level: Substantive guidance",
          "filter_key": "guidance_level:substantive-guidance"
        },
        {
          "raw": "#human-responsibility/yes",
          "namespace": "human-responsibility",
          "value": "yes",
          "dimension": "human_responsibility",
          "dimension_label": "Human responsibility",
          "kind": "value",
          "value_label": "Yes \u2014 contributor is responsible for submitted work",
          "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work",
          "filter_key": "human_responsibility:yes"
        },
        {
          "raw": "#rationale/code-quality",
          "namespace": "rationale",
          "value": "code-quality",
          "dimension": "stated_rationale",
          "dimension_label": "Stated rationale",
          "kind": "value",
          "value_label": "Code quality",
          "display": "Stated rationale: Code quality",
          "filter_key": "stated_rationale:code-quality"
        },
        {
          "raw": "#rationale/contributor-learning-and-skill-development",
          "namespace": "rationale",
          "value": "contributor-learning-and-skill-development",
          "dimension": "stated_rationale",
          "dimension_label": "Stated rationale",
          "kind": "value",
          "value_label": "Contributor learning and skill development",
          "display": "Stated rationale: Contributor learning and skill development",
          "filter_key": "stated_rationale:contributor-learning-and-skill-development"
        },
        {
          "raw": "#rationale/social-and-ethical",
          "namespace": "rationale",
          "value": "social-and-ethical",
          "dimension": "stated_rationale",
          "dimension_label": "Stated rationale",
          "kind": "value",
          "value_label": "Social and ethical (trust, transparency, community norms)",
          "display": "Stated rationale: Social and ethical (trust, transparency, community norms)",
          "filter_key": "stated_rationale:social-and-ethical"
        }
      ],
      "tag_strings": [
        "#guidance-implicit/iteration",
        "#guidance-level/substantive-guidance",
        "#human-responsibility/yes",
        "#rationale/code-quality",
        "#rationale/contributor-learning-and-skill-development",
        "#rationale/social-and-ethical"
      ],
      "displays": [
        "Guidance type (implicit): Iteration (human-AI cycles rather than one-shot)",
        "Guidance level: Substantive guidance",
        "Human responsibility: Yes \u2014 contributor is responsible for submitted work",
        "Stated rationale: Code quality",
        "Stated rationale: Contributor learning and skill development",
        "Stated rationale: Social and ethical (trust, transparency, community norms)"
      ],
      "filter_keys": [
        "guidance_type_implicit:iteration",
        "guidance_level:substantive-guidance",
        "human_responsibility:yes",
        "stated_rationale:code-quality",
        "stated_rationale:contributor-learning-and-skill-development",
        "stated_rationale:social-and-ethical"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "guidance_type_implicit": [
          {
            "value": "iteration",
            "filter_key": "guidance_type_implicit:iteration",
            "display": "Guidance type (implicit): Iteration (human-AI cycles rather than one-shot)"
          }
        ],
        "guidance_level": [
          {
            "value": "substantive-guidance",
            "filter_key": "guidance_level:substantive-guidance",
            "display": "Guidance level: Substantive guidance"
          }
        ],
        "human_responsibility": [
          {
            "value": "yes",
            "filter_key": "human_responsibility:yes",
            "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
          }
        ],
        "stated_rationale": [
          {
            "value": "code-quality",
            "filter_key": "stated_rationale:code-quality",
            "display": "Stated rationale: Code quality"
          },
          {
            "value": "contributor-learning-and-skill-development",
            "filter_key": "stated_rationale:contributor-learning-and-skill-development",
            "display": "Stated rationale: Contributor learning and skill development"
          },
          {
            "value": "social-and-ethical",
            "filter_key": "stated_rationale:social-and-ethical",
            "display": "Stated rationale: Social and ethical (trust, transparency, community norms)"
          }
        ]
      },
      "path": "projects/xclim/AI_POLICY.md",
      "project": "xclim",
      "start_line": 32,
      "line": 38,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4553727508",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T17:09:44Z",
      "updated_at": "2026-11-12T17:09:44Z"
    },
    {
      "id": 4553739326,
      "body": "#stance/permissive-with-conditions",
      "quote": "# AI Policy\n\n## Accountability\n\nYou are responsible for every line of code you submit, regardless of how it was produced. If you use AI tools, review and verify all output before committing.\n\n## Pull Requests\n\nPull Requests descriptions must be drafted by a human and adhere to the template selected on creation.\nSummaries of changes posted by AI are not accepted in Pull Requests.\n\n## AI Tool Usage\n\nAI tools are permitted. Standard review process applies to all contributions.\n\n## AI-Generated Code\n\nAI-generated code must be reviewed by a human maintainer before merging. Keep changes atomic -- you must be able to explain any line on request.\n\n## Disclosure\n\nMark significant AI involvement in commit messages with a trailer:\n\n```text\nAssisted-by: <tool name>\n```\n\nPull Requests must also state how AI was used under the `### Other information:` section.\n\nCode changes from less sophisticated phrase-completion tools do not require an AI disclosure.\n\n## Prohibited Uses\n\n- Submitting AI output you have not read and understood\n- Using AI to generate code that circumvents tests or CI checks\n- Feeding reviewer feedback back into AI without understanding it first\n- AI-generated PR descriptions -- describe your own work\n- AI-generated review comments on other contributors' PRs\n\n## AI in CI/CD\n\nAI tools are prohibited from modifying CI/CD workflows and `tox` configurations.\n\n## Training Data\n\nThis project requests that its code not be used for AI model training. We ask that AI tool providers honor this preference.\n\n## Low Effort Contributions\n\nAI-generated low-effort contributions are unacceptable; Human contributors must be capable of explaining their changes, responding to review comments, and precisely adapting their contributions as requested.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,66 @@\n+# AI Policy\n+\n+## Accountability\n+\n+You are responsible for every line of code you submit, regardless of how it was produced. If you use AI tools, review and verify all output before committing.\n+\n+## Pull Requests\n+\n+Pull Requests descriptions must be drafted by a human and adhere to the template selected on creation.\n+Summaries of changes posted by AI are not accepted in Pull Requests.\n+\n+## AI Tool Usage\n+\n+AI tools are permitted. Standard review process applies to all contributions.\n+\n+## AI-Generated Code\n+\n+AI-generated code must be reviewed by a human maintainer before merging. Keep changes atomic -- you must be able to explain any line on request.\n+\n+## Disclosure\n+\n+Mark significant AI involvement in commit messages with a trailer:\n+\n+```text\n+Assisted-by: <tool name>\n+```\n+\n+Pull Requests must also state how AI was used under the `### Other information:` section.\n+\n+Code changes from less sophisticated phrase-completion tools do not require an AI disclosure.\n+\n+## Prohibited Uses\n+\n+- Submitting AI output you have not read and understood\n+- Using AI to generate code that circumvents tests or CI checks\n+- Feeding reviewer feedback back into AI without understanding it first\n+- AI-generated PR descriptions -- describe your own work\n+- AI-generated review comments on other contributors' PRs\n+\n+## AI in CI/CD\n+\n+AI tools are prohibited from modifying CI/CD workflows and `tox` configurations.\n+\n+## Training Data\n+\n+This project requests that its code not be used for AI model training. We ask that AI tool providers honor this preference.\n+\n+## Low Effort Contributions\n+\n+AI-generated low-effort contributions are unacceptable; Human contributors must be capable of explaining their changes, responding to review comments, and precisely adapting their contributions as requested.",
      "tags": [
        {
          "raw": "#stance/permissive-with-conditions",
          "namespace": "stance",
          "value": "permissive-with-conditions",
          "dimension": "stance",
          "dimension_label": "Stance",
          "kind": "value",
          "value_label": "Permissive with conditions",
          "display": "Stance: Permissive with conditions",
          "filter_key": "stance:permissive-with-conditions"
        }
      ],
      "tag_strings": [
        "#stance/permissive-with-conditions"
      ],
      "displays": [
        "Stance: Permissive with conditions"
      ],
      "filter_keys": [
        "stance:permissive-with-conditions"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stance": [
          {
            "value": "permissive-with-conditions",
            "filter_key": "stance:permissive-with-conditions",
            "display": "Stance: Permissive with conditions"
          }
        ]
      },
      "path": "projects/xclim/AI_POLICY.md",
      "project": "xclim",
      "start_line": 48,
      "line": 50,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4553739326",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T17:10:35Z",
      "updated_at": "2026-11-12T17:10:35Z"
    },
    {
      "id": 4553743780,
      "body": "#rationale/licensing-and-copyright",
      "quote": "# AI Policy\n\n## Accountability\n\nYou are responsible for every line of code you submit, regardless of how it was produced. If you use AI tools, review and verify all output before committing.\n\n## Pull Requests\n\nPull Requests descriptions must be drafted by a human and adhere to the template selected on creation.\nSummaries of changes posted by AI are not accepted in Pull Requests.\n\n## AI Tool Usage\n\nAI tools are permitted. Standard review process applies to all contributions.\n\n## AI-Generated Code\n\nAI-generated code must be reviewed by a human maintainer before merging. Keep changes atomic -- you must be able to explain any line on request.\n\n## Disclosure\n\nMark significant AI involvement in commit messages with a trailer:\n\n```text\nAssisted-by: <tool name>\n```\n\nPull Requests must also state how AI was used under the `### Other information:` section.\n\nCode changes from less sophisticated phrase-completion tools do not require an AI disclosure.\n\n## Prohibited Uses\n\n- Submitting AI output you have not read and understood\n- Using AI to generate code that circumvents tests or CI checks\n- Feeding reviewer feedback back into AI without understanding it first\n- AI-generated PR descriptions -- describe your own work\n- AI-generated review comments on other contributors' PRs\n\n## AI in CI/CD\n\nAI tools are prohibited from modifying CI/CD workflows and `tox` configurations.\n\n## Training Data\n\nThis project requests that its code not be used for AI model training. We ask that AI tool providers honor this preference.\n\n## Low Effort Contributions\n\nAI-generated low-effort contributions are unacceptable; Human contributors must be capable of explaining their changes, responding to review comments, and precisely adapting their contributions as requested.\n\n## Licensing\n\nAI-generated contributions must be compatible with this project's license. Contributors must be able to certify their submissions under the project's contribution terms.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,66 @@\n+# AI Policy\n+\n+## Accountability\n+\n+You are responsible for every line of code you submit, regardless of how it was produced. If you use AI tools, review and verify all output before committing.\n+\n+## Pull Requests\n+\n+Pull Requests descriptions must be drafted by a human and adhere to the template selected on creation.\n+Summaries of changes posted by AI are not accepted in Pull Requests.\n+\n+## AI Tool Usage\n+\n+AI tools are permitted. Standard review process applies to all contributions.\n+\n+## AI-Generated Code\n+\n+AI-generated code must be reviewed by a human maintainer before merging. Keep changes atomic -- you must be able to explain any line on request.\n+\n+## Disclosure\n+\n+Mark significant AI involvement in commit messages with a trailer:\n+\n+```text\n+Assisted-by: <tool name>\n+```\n+\n+Pull Requests must also state how AI was used under the `### Other information:` section.\n+\n+Code changes from less sophisticated phrase-completion tools do not require an AI disclosure.\n+\n+## Prohibited Uses\n+\n+- Submitting AI output you have not read and understood\n+- Using AI to generate code that circumvents tests or CI checks\n+- Feeding reviewer feedback back into AI without understanding it first\n+- AI-generated PR descriptions -- describe your own work\n+- AI-generated review comments on other contributors' PRs\n+\n+## AI in CI/CD\n+\n+AI tools are prohibited from modifying CI/CD workflows and `tox` configurations.\n+\n+## Training Data\n+\n+This project requests that its code not be used for AI model training. We ask that AI tool providers honor this preference.\n+\n+## Low Effort Contributions\n+\n+AI-generated low-effort contributions are unacceptable; Human contributors must be capable of explaining their changes, responding to review comments, and precisely adapting their contributions as requested.\n+\n+## Licensing\n+\n+AI-generated contributions must be compatible with this project's license. Contributors must be able to certify their submissions under the project's contribution terms.",
      "tags": [
        {
          "raw": "#rationale/licensing-and-copyright",
          "namespace": "rationale",
          "value": "licensing-and-copyright",
          "dimension": "stated_rationale",
          "dimension_label": "Stated rationale",
          "kind": "value",
          "value_label": "Licensing and copyright",
          "display": "Stated rationale: Licensing and copyright",
          "filter_key": "stated_rationale:licensing-and-copyright"
        }
      ],
      "tag_strings": [
        "#rationale/licensing-and-copyright"
      ],
      "displays": [
        "Stated rationale: Licensing and copyright"
      ],
      "filter_keys": [
        "stated_rationale:licensing-and-copyright"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stated_rationale": [
          {
            "value": "licensing-and-copyright",
            "filter_key": "stated_rationale:licensing-and-copyright",
            "display": "Stated rationale: Licensing and copyright"
          }
        ]
      },
      "path": "projects/xclim/AI_POLICY.md",
      "project": "xclim",
      "start_line": 52,
      "line": 54,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4553743780",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T17:10:53Z",
      "updated_at": "2026-11-12T17:10:53Z"
    },
    {
      "id": 4553935092,
      "body": "#human-responsibility/yes",
      "quote": "============\nContributing\n============\n\nContributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.\n\nYou can contribute in many ways:\n\nTypes of Contributions\n----------------------\n\nImplement Features, Indices or Indicators\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n`xclim`'s structure makes it easy to create and register new user-defined indices and indicators.\nFor the general implementation of indices and their wrapping into indicators, refer to :ref:`notebooks/extendxclim:Extending xclim` and :ref:`notebooks/customize:Customizing and controlling xclim`.\n\nLook through the GitHub issues for features; Anything tagged with \"enhancement\" and \"help wanted\" is open to whoever wants to implement it.\n\nGeneral to-do list for implementing a new Indicator:\n\n#. Implement the indice\n\n    * Indices are function wrapped with :py:func:`~xclim.core.units.declare_units`\n    * Their input arguments should have type annotations, as documented in :py:class:`~xclim.core.utils.InputKind`\n    * Their docstring should follow the scheme explained in :ref:`notebooks/extendxclim:Defining new index-like compute functions`.\n    * They should set the units on their outputs, but no other metadata fields.\n    * Their code should be found in the most relevant ``src/xclim/indices/_*.py``  file. Functions are explicitly added to the ``__all__`` at the top of the file.\n\n#. Add unit tests\n\n    * Indices are best tested with made up, idealized data to explicitly test the edge cases. Many pytest fixtures are available to help this data generation.\n    * Tests should be added as one or more functions in ``tests/test_indices.py``, see other tests for inspiration.\n\n#. Add the indicator\n\n    * See :ref:`notebooks/extendxclim:Defining new indicators` for more info and look at the other indicators for inspiration.\n    * They are added in the most relevant ``src/xclim/indicators/{realm}/_*.py`` file.\n    * Indicator are instances of subclasses of :py:class:`xclim.core.indicator.Indicator`.\n      They should use a class declared within the ``{realm}`` folder, creating a dummy one if needed. They are explicitly added to the file's ``__all__``.\n\n#. Add unit tests\n\n    * Indicators are best tested with real data, also looking at missing value propagation and metadata formatting.\n      In addition to the ``atmosds`` fixture, only datasets that can be accessed with :py:func:`xclim.testing.open_dataset` should be used.\n      For convenience, this special function is accessible as the ``open_dataset`` pytest fixture.\n    * Tests are added in the most relevant ``tests/test_{variable}.py`` file.\n\n#. Add French translations\n\n    xclim comes with an internationalization module and all \"official\" indicators\n    (those in ``xclim.atmos.indicators``) must have a french translation added to ``src/xclim/data/fr.json``.\n    This part can be done by the core team after you open a Pull Request.\n\n.. note::\n\n    If you are adding new translations to the library (for languages other than French), please begin by opening a discussion on the `xclim Discussions page`_ to coordinate the scope and implementation of these translations.\n\n\nReport Bugs\n~~~~~~~~~~~\n\nReport bugs at https://github.com/Ouranosinc/xclim/issues.\n\nIf you are reporting a bug, please include:\n\n* Your operating system name and version.\n* Any details about your local setup that might be helpful in troubleshooting.\n* Detailed steps to reproduce the bug.\n\nFix Bugs\n~~~~~~~~\n\nLook through the GitHub issues for bugs. Anything tagged with \"bug\" and \"help wanted\" is open to whoever wants to implement it.\n\nWrite Documentation\n~~~~~~~~~~~~~~~~~~~\n\nxclim could always use more documentation, whether as part of the official `xclim` docs, in docstrings, or even on the web in blog posts, articles, and such.\n\nTo reference documents (article, presentation, thesis, etc) in the documentation or in a docstring, xclim uses `sphinxcontrib-bibtex`_.\nMetadata of the documents is stored as BibTeX entries in the ``docs/references.bib`` file.\nTo properly generate internal reference links, we suggest using the following roles:\n\n- For references cited in the `References` section of function docstrings, use ``:cite:cts:`label```.\n- For in-text references with first author and year, use ``:cite:t:`label```.\n- For reference citations in parentheses, use ``:cite:p:`label```.\n\nMultiple references can be added to a single role using commas (e.g. ``:cite:cts:`label1,label2,label3```).\nFor more information see: `sphinxcontrib-bibtex`_.\n\nSubmit Feedback\n~~~~~~~~~~~~~~~\n\nThe best way to send feedback is to file an issue at: https://github.com/Ouranosinc/xclim/issues.\n\nIf you are proposing a feature:\n\n* Explain in detail how it would work.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,630 @@\n+============\n+Contributing\n+============\n+\n+Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.\n+\n+You can contribute in many ways:\n+\n+Types of Contributions\n+----------------------\n+\n+Implement Features, Indices or Indicators\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+`xclim`'s structure makes it easy to create and register new user-defined indices and indicators.\n+For the general implementation of indices and their wrapping into indicators, refer to :ref:`notebooks/extendxclim:Extending xclim` and :ref:`notebooks/customize:Customizing and controlling xclim`.\n+\n+Look through the GitHub issues for features; Anything tagged with \"enhancement\" and \"help wanted\" is open to whoever wants to implement it.\n+\n+General to-do list for implementing a new Indicator:\n+\n+#. Implement the indice\n+\n+    * Indices are function wrapped with :py:func:`~xclim.core.units.declare_units`\n+    * Their input arguments should have type annotations, as documented in :py:class:`~xclim.core.utils.InputKind`\n+    * Their docstring should follow the scheme explained in :ref:`notebooks/extendxclim:Defining new index-like compute functions`.\n+    * They should set the units on their outputs, but no other metadata fields.\n+    * Their code should be found in the most relevant ``src/xclim/indices/_*.py``  file. Functions are explicitly added to the ``__all__`` at the top of the file.\n+\n+#. Add unit tests\n+\n+    * Indices are best tested with made up, idealized data to explicitly test the edge cases. Many pytest fixtures are available to help this data generation.\n+    * Tests should be added as one or more functions in ``tests/test_indices.py``, see other tests for inspiration.\n+\n+#. Add the indicator\n+\n+    * See :ref:`notebooks/extendxclim:Defining new indicators` for more info and look at the other indicators for inspiration.\n+    * They are added in the most relevant ``src/xclim/indicators/{realm}/_*.py`` file.\n+    * Indicator are instances of subclasses of :py:class:`xclim.core.indicator.Indicator`.\n+      They should use a class declared within the ``{realm}`` folder, creating a dummy one if needed. They are explicitly added to the file's ``__all__``.\n+\n+#. Add unit tests\n+\n+    * Indicators are best tested with real data, also looking at missing value propagation and metadata formatting.\n+      In addition to the ``atmosds`` fixture, only datasets that can be accessed with :py:func:`xclim.testing.open_dataset` should be used.\n+      For convenience, this special function is accessible as the ``open_dataset`` pytest fixture.\n+    * Tests are added in the most relevant ``tests/test_{variable}.py`` file.\n+\n+#. Add French translations\n+\n+    xclim comes with an internationalization module and all \"official\" indicators\n+    (those in ``xclim.atmos.indicators``) must have a french translation added to ``src/xclim/data/fr.json``.\n+    This part can be done by the core team after you open a Pull Request.\n+\n+.. note::\n+\n+    If you are adding new translations to the library (for languages other than French), please begin by opening a discussion on the `xclim Discussions page`_ to coordinate the scope and implementation of these translations.\n+\n+\n+Report Bugs\n+~~~~~~~~~~~\n+\n+Report bugs at https://github.com/Ouranosinc/xclim/issues.\n+\n+If you are reporting a bug, please include:\n+\n+* Your operating system name and version.\n+* Any details about your local setup that might be helpful in troubleshooting.\n+* Detailed steps to reproduce the bug.\n+\n+Fix Bugs\n+~~~~~~~~\n+\n+Look through the GitHub issues for bugs. Anything tagged with \"bug\" and \"help wanted\" is open to whoever wants to implement it.\n+\n+Write Documentation\n+~~~~~~~~~~~~~~~~~~~\n+\n+xclim could always use more documentation, whether as part of the official `xclim` docs, in docstrings, or even on the web in blog posts, articles, and such.\n+\n+To reference documents (article, presentation, thesis, etc) in the documentation or in a docstring, xclim uses `sphinxcontrib-bibtex`_.\n+Metadata of the documents is stored as BibTeX entries in the ``docs/references.bib`` file.\n+To properly generate internal reference links, we suggest using the following roles:\n+\n+- For references cited in the `References` section of function docstrings, use ``:cite:cts:`label```.\n+- For in-text references with first author and year, use ``:cite:t:`label```.\n+- For reference citations in parentheses, use ``:cite:p:`label```.\n+\n+Multiple references can be added to a single role using commas (e.g. ``:cite:cts:`label1,label2,label3```).\n+For more information see: `sphinxcontrib-bibtex`_.\n+\n+Submit Feedback\n+~~~~~~~~~~~~~~~\n+\n+The best way to send feedback is to file an issue at: https://github.com/Ouranosinc/xclim/issues.\n+\n+If you are proposing a feature:\n+\n+* Explain in detail how it would work.",
      "tags": [
        {
          "raw": "#human-responsibility/yes",
          "namespace": "human-responsibility",
          "value": "yes",
          "dimension": "human_responsibility",
          "dimension_label": "Human responsibility",
          "kind": "value",
          "value_label": "Yes \u2014 contributor is responsible for submitted work",
          "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work",
          "filter_key": "human_responsibility:yes"
        }
      ],
      "tag_strings": [
        "#human-responsibility/yes"
      ],
      "displays": [
        "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
      ],
      "filter_keys": [
        "human_responsibility:yes"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "human_responsibility": [
          {
            "value": "yes",
            "filter_key": "human_responsibility:yes",
            "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
          }
        ]
      },
      "path": "projects/xclim/CONTRIBUTING.rst",
      "project": "xclim",
      "start_line": 99,
      "line": 99,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4553935092",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T17:27:07Z",
      "updated_at": "2026-11-12T17:27:07Z"
    },
    {
      "id": 4553940061,
      "body": "#rationale/code-quality",
      "quote": "============\nContributing\n============\n\nContributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.\n\nYou can contribute in many ways:\n\nTypes of Contributions\n----------------------\n\nImplement Features, Indices or Indicators\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n`xclim`'s structure makes it easy to create and register new user-defined indices and indicators.\nFor the general implementation of indices and their wrapping into indicators, refer to :ref:`notebooks/extendxclim:Extending xclim` and :ref:`notebooks/customize:Customizing and controlling xclim`.\n\nLook through the GitHub issues for features; Anything tagged with \"enhancement\" and \"help wanted\" is open to whoever wants to implement it.\n\nGeneral to-do list for implementing a new Indicator:\n\n#. Implement the indice\n\n    * Indices are function wrapped with :py:func:`~xclim.core.units.declare_units`\n    * Their input arguments should have type annotations, as documented in :py:class:`~xclim.core.utils.InputKind`\n    * Their docstring should follow the scheme explained in :ref:`notebooks/extendxclim:Defining new index-like compute functions`.\n    * They should set the units on their outputs, but no other metadata fields.\n    * Their code should be found in the most relevant ``src/xclim/indices/_*.py``  file. Functions are explicitly added to the ``__all__`` at the top of the file.\n\n#. Add unit tests\n\n    * Indices are best tested with made up, idealized data to explicitly test the edge cases. Many pytest fixtures are available to help this data generation.\n    * Tests should be added as one or more functions in ``tests/test_indices.py``, see other tests for inspiration.\n\n#. Add the indicator\n\n    * See :ref:`notebooks/extendxclim:Defining new indicators` for more info and look at the other indicators for inspiration.\n    * They are added in the most relevant ``src/xclim/indicators/{realm}/_*.py`` file.\n    * Indicator are instances of subclasses of :py:class:`xclim.core.indicator.Indicator`.\n      They should use a class declared within the ``{realm}`` folder, creating a dummy one if needed. They are explicitly added to the file's ``__all__``.\n\n#. Add unit tests\n\n    * Indicators are best tested with real data, also looking at missing value propagation and metadata formatting.\n      In addition to the ``atmosds`` fixture, only datasets that can be accessed with :py:func:`xclim.testing.open_dataset` should be used.\n      For convenience, this special function is accessible as the ``open_dataset`` pytest fixture.\n    * Tests are added in the most relevant ``tests/test_{variable}.py`` file.\n\n#. Add French translations\n\n    xclim comes with an internationalization module and all \"official\" indicators\n    (those in ``xclim.atmos.indicators``) must have a french translation added to ``src/xclim/data/fr.json``.\n    This part can be done by the core team after you open a Pull Request.\n\n.. note::\n\n    If you are adding new translations to the library (for languages other than French), please begin by opening a discussion on the `xclim Discussions page`_ to coordinate the scope and implementation of these translations.\n\n\nReport Bugs\n~~~~~~~~~~~\n\nReport bugs at https://github.com/Ouranosinc/xclim/issues.\n\nIf you are reporting a bug, please include:\n\n* Your operating system name and version.\n* Any details about your local setup that might be helpful in troubleshooting.\n* Detailed steps to reproduce the bug.\n\nFix Bugs\n~~~~~~~~\n\nLook through the GitHub issues for bugs. Anything tagged with \"bug\" and \"help wanted\" is open to whoever wants to implement it.\n\nWrite Documentation\n~~~~~~~~~~~~~~~~~~~\n\nxclim could always use more documentation, whether as part of the official `xclim` docs, in docstrings, or even on the web in blog posts, articles, and such.\n\nTo reference documents (article, presentation, thesis, etc) in the documentation or in a docstring, xclim uses `sphinxcontrib-bibtex`_.\nMetadata of the documents is stored as BibTeX entries in the ``docs/references.bib`` file.\nTo properly generate internal reference links, we suggest using the following roles:\n\n- For references cited in the `References` section of function docstrings, use ``:cite:cts:`label```.\n- For in-text references with first author and year, use ``:cite:t:`label```.\n- For reference citations in parentheses, use ``:cite:p:`label```.\n\nMultiple references can be added to a single role using commas (e.g. ``:cite:cts:`label1,label2,label3```).\nFor more information see: `sphinxcontrib-bibtex`_.\n\nSubmit Feedback\n~~~~~~~~~~~~~~~\n\nThe best way to send feedback is to file an issue at: https://github.com/Ouranosinc/xclim/issues.\n\nIf you are proposing a feature:\n\n* Explain in detail how it would work.\n* Keep the scope as narrow as possible, to make it easier to implement.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,630 @@\n+============\n+Contributing\n+============\n+\n+Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.\n+\n+You can contribute in many ways:\n+\n+Types of Contributions\n+----------------------\n+\n+Implement Features, Indices or Indicators\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+`xclim`'s structure makes it easy to create and register new user-defined indices and indicators.\n+For the general implementation of indices and their wrapping into indicators, refer to :ref:`notebooks/extendxclim:Extending xclim` and :ref:`notebooks/customize:Customizing and controlling xclim`.\n+\n+Look through the GitHub issues for features; Anything tagged with \"enhancement\" and \"help wanted\" is open to whoever wants to implement it.\n+\n+General to-do list for implementing a new Indicator:\n+\n+#. Implement the indice\n+\n+    * Indices are function wrapped with :py:func:`~xclim.core.units.declare_units`\n+    * Their input arguments should have type annotations, as documented in :py:class:`~xclim.core.utils.InputKind`\n+    * Their docstring should follow the scheme explained in :ref:`notebooks/extendxclim:Defining new index-like compute functions`.\n+    * They should set the units on their outputs, but no other metadata fields.\n+    * Their code should be found in the most relevant ``src/xclim/indices/_*.py``  file. Functions are explicitly added to the ``__all__`` at the top of the file.\n+\n+#. Add unit tests\n+\n+    * Indices are best tested with made up, idealized data to explicitly test the edge cases. Many pytest fixtures are available to help this data generation.\n+    * Tests should be added as one or more functions in ``tests/test_indices.py``, see other tests for inspiration.\n+\n+#. Add the indicator\n+\n+    * See :ref:`notebooks/extendxclim:Defining new indicators` for more info and look at the other indicators for inspiration.\n+    * They are added in the most relevant ``src/xclim/indicators/{realm}/_*.py`` file.\n+    * Indicator are instances of subclasses of :py:class:`xclim.core.indicator.Indicator`.\n+      They should use a class declared within the ``{realm}`` folder, creating a dummy one if needed. They are explicitly added to the file's ``__all__``.\n+\n+#. Add unit tests\n+\n+    * Indicators are best tested with real data, also looking at missing value propagation and metadata formatting.\n+      In addition to the ``atmosds`` fixture, only datasets that can be accessed with :py:func:`xclim.testing.open_dataset` should be used.\n+      For convenience, this special function is accessible as the ``open_dataset`` pytest fixture.\n+    * Tests are added in the most relevant ``tests/test_{variable}.py`` file.\n+\n+#. Add French translations\n+\n+    xclim comes with an internationalization module and all \"official\" indicators\n+    (those in ``xclim.atmos.indicators``) must have a french translation added to ``src/xclim/data/fr.json``.\n+    This part can be done by the core team after you open a Pull Request.\n+\n+.. note::\n+\n+    If you are adding new translations to the library (for languages other than French), please begin by opening a discussion on the `xclim Discussions page`_ to coordinate the scope and implementation of these translations.\n+\n+\n+Report Bugs\n+~~~~~~~~~~~\n+\n+Report bugs at https://github.com/Ouranosinc/xclim/issues.\n+\n+If you are reporting a bug, please include:\n+\n+* Your operating system name and version.\n+* Any details about your local setup that might be helpful in troubleshooting.\n+* Detailed steps to reproduce the bug.\n+\n+Fix Bugs\n+~~~~~~~~\n+\n+Look through the GitHub issues for bugs. Anything tagged with \"bug\" and \"help wanted\" is open to whoever wants to implement it.\n+\n+Write Documentation\n+~~~~~~~~~~~~~~~~~~~\n+\n+xclim could always use more documentation, whether as part of the official `xclim` docs, in docstrings, or even on the web in blog posts, articles, and such.\n+\n+To reference documents (article, presentation, thesis, etc) in the documentation or in a docstring, xclim uses `sphinxcontrib-bibtex`_.\n+Metadata of the documents is stored as BibTeX entries in the ``docs/references.bib`` file.\n+To properly generate internal reference links, we suggest using the following roles:\n+\n+- For references cited in the `References` section of function docstrings, use ``:cite:cts:`label```.\n+- For in-text references with first author and year, use ``:cite:t:`label```.\n+- For reference citations in parentheses, use ``:cite:p:`label```.\n+\n+Multiple references can be added to a single role using commas (e.g. ``:cite:cts:`label1,label2,label3```).\n+For more information see: `sphinxcontrib-bibtex`_.\n+\n+Submit Feedback\n+~~~~~~~~~~~~~~~\n+\n+The best way to send feedback is to file an issue at: https://github.com/Ouranosinc/xclim/issues.\n+\n+If you are proposing a feature:\n+\n+* Explain in detail how it would work.\n+* Keep the scope as narrow as possible, to make it easier to implement.",
      "tags": [
        {
          "raw": "#rationale/code-quality",
          "namespace": "rationale",
          "value": "code-quality",
          "dimension": "stated_rationale",
          "dimension_label": "Stated rationale",
          "kind": "value",
          "value_label": "Code quality",
          "display": "Stated rationale: Code quality",
          "filter_key": "stated_rationale:code-quality"
        }
      ],
      "tag_strings": [
        "#rationale/code-quality"
      ],
      "displays": [
        "Stated rationale: Code quality"
      ],
      "filter_keys": [
        "stated_rationale:code-quality"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stated_rationale": [
          {
            "value": "code-quality",
            "filter_key": "stated_rationale:code-quality",
            "display": "Stated rationale: Code quality"
          }
        ]
      },
      "path": "projects/xclim/CONTRIBUTING.rst",
      "project": "xclim",
      "start_line": 100,
      "line": 100,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4553940061",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T17:27:33Z",
      "updated_at": "2026-11-12T17:27:33Z"
    },
    {
      "id": 4554129411,
      "body": "#disclosure/required",
      "quote": "============\nContributing\n============\n\nContributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.\n\nYou can contribute in many ways:\n\nTypes of Contributions\n----------------------\n\nImplement Features, Indices or Indicators\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n`xclim`'s structure makes it easy to create and register new user-defined indices and indicators.\nFor the general implementation of indices and their wrapping into indicators, refer to :ref:`notebooks/extendxclim:Extending xclim` and :ref:`notebooks/customize:Customizing and controlling xclim`.\n\nLook through the GitHub issues for features; Anything tagged with \"enhancement\" and \"help wanted\" is open to whoever wants to implement it.\n\nGeneral to-do list for implementing a new Indicator:\n\n#. Implement the indice\n\n    * Indices are function wrapped with :py:func:`~xclim.core.units.declare_units`\n    * Their input arguments should have type annotations, as documented in :py:class:`~xclim.core.utils.InputKind`\n    * Their docstring should follow the scheme explained in :ref:`notebooks/extendxclim:Defining new index-like compute functions`.\n    * They should set the units on their outputs, but no other metadata fields.\n    * Their code should be found in the most relevant ``src/xclim/indices/_*.py``  file. Functions are explicitly added to the ``__all__`` at the top of the file.\n\n#. Add unit tests\n\n    * Indices are best tested with made up, idealized data to explicitly test the edge cases. Many pytest fixtures are available to help this data generation.\n    * Tests should be added as one or more functions in ``tests/test_indices.py``, see other tests for inspiration.\n\n#. Add the indicator\n\n    * See :ref:`notebooks/extendxclim:Defining new indicators` for more info and look at the other indicators for inspiration.\n    * They are added in the most relevant ``src/xclim/indicators/{realm}/_*.py`` file.\n    * Indicator are instances of subclasses of :py:class:`xclim.core.indicator.Indicator`.\n      They should use a class declared within the ``{realm}`` folder, creating a dummy one if needed. They are explicitly added to the file's ``__all__``.\n\n#. Add unit tests\n\n    * Indicators are best tested with real data, also looking at missing value propagation and metadata formatting.\n      In addition to the ``atmosds`` fixture, only datasets that can be accessed with :py:func:`xclim.testing.open_dataset` should be used.\n      For convenience, this special function is accessible as the ``open_dataset`` pytest fixture.\n    * Tests are added in the most relevant ``tests/test_{variable}.py`` file.\n\n#. Add French translations\n\n    xclim comes with an internationalization module and all \"official\" indicators\n    (those in ``xclim.atmos.indicators``) must have a french translation added to ``src/xclim/data/fr.json``.\n    This part can be done by the core team after you open a Pull Request.\n\n.. note::\n\n    If you are adding new translations to the library (for languages other than French), please begin by opening a discussion on the `xclim Discussions page`_ to coordinate the scope and implementation of these translations.\n\n\nReport Bugs\n~~~~~~~~~~~\n\nReport bugs at https://github.com/Ouranosinc/xclim/issues.\n\nIf you are reporting a bug, please include:\n\n* Your operating system name and version.\n* Any details about your local setup that might be helpful in troubleshooting.\n* Detailed steps to reproduce the bug.\n\nFix Bugs\n~~~~~~~~\n\nLook through the GitHub issues for bugs. Anything tagged with \"bug\" and \"help wanted\" is open to whoever wants to implement it.\n\nWrite Documentation\n~~~~~~~~~~~~~~~~~~~\n\nxclim could always use more documentation, whether as part of the official `xclim` docs, in docstrings, or even on the web in blog posts, articles, and such.\n\nTo reference documents (article, presentation, thesis, etc) in the documentation or in a docstring, xclim uses `sphinxcontrib-bibtex`_.\nMetadata of the documents is stored as BibTeX entries in the ``docs/references.bib`` file.\nTo properly generate internal reference links, we suggest using the following roles:\n\n- For references cited in the `References` section of function docstrings, use ``:cite:cts:`label```.\n- For in-text references with first author and year, use ``:cite:t:`label```.\n- For reference citations in parentheses, use ``:cite:p:`label```.\n\nMultiple references can be added to a single role using commas (e.g. ``:cite:cts:`label1,label2,label3```).\nFor more information see: `sphinxcontrib-bibtex`_.\n\nSubmit Feedback\n~~~~~~~~~~~~~~~\n\nThe best way to send feedback is to file an issue at: https://github.com/Ouranosinc/xclim/issues.\n\nIf you are proposing a feature:\n\n* Explain in detail how it would work.\n* Keep the scope as narrow as possible, to make it easier to implement.\n* The xclim development team welcomes you and is always on hand to help. :)\n\nGet Started!\n------------\n\nReady to contribute? Here's how to set up `xclim` for local development.\n\n#. Fork the `xclim` repo on GitHub.\n\n#. Clone your fork locally:\n\n   .. code-block:: shell\n\n       $ git clone git@github.com:{my_github_username}/xclim.git\n       $ cd xclim/\n\n#. Create a development environment. We recommend using ``conda``:\n\n   .. code-block:: shell\n\n       $ conda env create --file environment.yml\n       $ conda activate xclim\n       $ python -m pip install -e . --no-deps\n\n#. Create a branch for local development:\n\n   .. code-block:: shell\n\n       $ git checkout -b name-of-your-bugfix-or-feature\n\n   Now you can make your changes locally!\n\n#. Before committing your changes, we ask that you install ``pre-commit`` in your development environment in order to run linting checks when committing code changes.\n   Pre-commit runs git hooks that ensure that your code adheres to the standards of the project and catches and corrects small errors or inconsistencies when you ``git commit``:\n\n   .. code-block:: shell\n\n       # To install the necessary pre-commit hooks:\n       $ pre-commit install\n       # To run pre-commit hooks manually:\n       $ pre-commit run --all-files\n\n   Instead of ``pre-commit``, you can also verify your changes using the `Make` recipe for code linting checks:\n\n   .. code-block:: shell\n\n       $ make lint\n\n   Or, alternatively, you can check individual hooks manually with  `ruff`, `flake8`, `flake8-rst-docstrings`, `vulture`, `codespell`, `numpydoc`, `deptry`, and `yamllint`:\n\n   .. code-block:: shell\n\n       # To install the necessary dependencies:\n       $ python -m pip install --group lint\n       # To run individual checks\n       $ ruff check --quiet .\n       $ flake8 --config=.flake8 src/xclim tests\n       $ vulture src/xclim tests\n       $ codespell src/xclim tests docs\n       $ numpydoc lint src/xclim/*.py src/xclim/ensembles/*.py src/xclim/indices/*.py src/xclim/indicators/*.py src/xclim/testing/*.py\n       $ deptry src\n       $ yamllint --config-file=.yamllint.yaml src/xclim\n\n   .. note::\n\n       `xclim` is fully type-checked with `mypy`_ (`ty`_). If your contributions are failing this check, it means that the type definitions could be better defined.\n       For some guidance on how to do this, check the `mypy cheat sheet <https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html#cheat-sheet-py3>`_ for examples.\n       If you are adding a new but similar compute function or indicator, following typing conventions of other similar objects will usually address these issues.\n\n       When in doubt, feel free to ping the `xclim` maintainers (`@xclim-core`) if you would like their input on how best to type something.\n\n#. When features or bug fixes have been contributed, unit tests and doctests have been added, or notebooks have been updated, use ``$ pytest`` to test them:\n\n   .. code-block:: shell\n\n       $ pytest --numprocesses=auto --dist=loadscope --no-cov --nbval --rootdir=tests/ docs/notebooks --ignore=docs/notebooks/example.ipynb  # for notebooks, exclusively.\n       $ pytest --numprocesses=auto --rootdir=src/xclim/testing --doctest-modules src/xclim  # for doctests, exclusively.\n       $ pytest  # for all unit tests, excluding doctests and notebooks.\n       $ pytest -m \"not slow\"  # for all unit tests, excluding doctests, notebooks, and \"slow\" marked tests.\n\n   Alternatively, one can use ``$ tox`` to run very specific testing configurations, as GitHub Workflows would do when a Pull Request is submitted and new commits are pushed:\n\n   .. code-block:: shell\n\n       $ tox -e py3.11 # run tests on Python 3.11\n       $ tox -e upstream  # run tests with upstream dependencies\n       $ tox -e prefetch -- -m \"not slow\"  # run tests and force download of testing data, ensure tests are all offline, exclude \"slow\" marked tests\n       $ tox -e py3.12 -- -m \"not slow\"  # run tests on Python 3.12 excluding \"slow\" marked tests\n       $ tox -e notebooks,doctests  # run the notebook-based tests, then run the doctests\n\n       $ tox -m test  # run the standard tests used in GitHub Workflows\n\n   .. warning::\n\n       When running tests with `tox`, any `pytest` markers passed to `pyXX` builds (e.g. `-m \"not slow\"`) must be passed to `tox` directly. This can be done as follows:\n\n       .. code-block:: shell\n\n           $ tox -e py3.11 -- -m \"not slow\"\n\n       The exceptions to this rule are:\n         - `notebooks` and `doctests`: these configurations do not pass test markers to its `pytest` call.\n         - `offline`: this configuration runs by default with the `-m \"not requires_internet\"` test marker. Be aware that running `tox` and manually setting a `pytest` marker will override this default.\n\n   .. note::\n\n       `xclim` tests are organized to support the `pytest-xdist`_ plugin for distributed testing across workers or CPUs.\n       In order to benefit from multiple processes, add the flag `--numprocesses=auto` or `-n auto` to your `pytest` calls.\n\n       When running tests via `tox`, `numprocesses` is set to the number of logical cores available (`numprocesses=logical`), with a maximum amount of `8`.\n\n#. Docs should also be tested to ensure that the documentation will build correctly on ReadTheDocs. This can be performed in a number of ways:\n\n   .. code-block:: shell\n\n       # To run in a contained virtualenv environment\n       $ tox -e docs\n       # or, alternatively, to build the docs directly\n       $ make docs\n\n   .. note::\n\n       When building the documentation, the default behaviour is to evaluate notebooks ('`nbsphinx_execute = \"auto\"`'), rather than simply parse the content ('`nbsphinx_execute = \"never\"`').\n       Due to their complexity, this is a very computationally demanding task and should only be performed when necessary (i.e.: when the notebooks have been modified).\n\n       In order to speed up documentation builds, setting a value for the environment variable \"`SKIP_NOTEBOOKS`\" (e.g. \"`$ export SKIP_NOTEBOOKS=1`\") will prevent the notebooks from being evaluated on all subsequent \"`$ tox -e docs`\" or \"`$ make docs`\" invocations.\n\n#. After clearing the previous checks, commit your changes and push your branch to GitHub:\n\n   .. code-block:: shell\n\n       $ git add *\n       $ git commit -m \"Your detailed description of your changes.\"\n\n   If installed, `pre-commit` will run checks at this point:\n\n   * If no errors are found, changes will be committed.\n   * If errors are found, modifications will be made and warnings will be raised if intervention is needed.\n   * After addressing errors and effecting changes, simply `git commit` again:\n\n   .. code-block:: shell\n\n       $ git push origin name-of-your-bugfix-or-feature\n\n#. Submit a pull request through the GitHub website.\n\nPull Request Guidelines\n-----------------------\n\nBefore you submit a pull request, please follow these guidelines:\n\n#. Open an *issue* on our `GitHub repository`_ with your issue that you'd like to fix or feature that you'd like to implement.\n\n#. Perform the changes, commit and push them either to new a branch within `Ouranosinc/xclim` or to your personal fork of xclim.\n\n   .. warning::\n\n       Try to keep your contributions within the scope of the issue that you are addressing.\n       While it might be tempting to fix other aspects of the library as it comes up,\n       it's better to simply to flag the problems in case others are already working on it.\n\n       Consider adding a \"**# TODO:**\" or \"**# FIXME:**\" comment if the need arises.\n\n#. Pull requests should raise test coverage for the xclim library. Code coverage is an indicator of how extensively tested the library is.\n\n   .. note::\n\n       If you are adding a new set of functions, they **must be tested** and **coverage percentage should not significantly decrease.**\n\n#. If the pull request adds functionality, your functions should include docstring explanations.\n   So long as the docstrings are syntactically correct, sphinx-autodoc will be able to automatically parse the information.\n   Please ensure that the docstrings and documentation adhere to the following standards (badly formed docstrings will fail build tests):\n\n   * `numpydoc`_\n   * `reStructuredText (ReST)`_\n\n   .. note::\n\n        If you aren't accustomed to writing documentation in reStructuredText (`.rst`), we encourage you to spend a few minutes going over the\n        incredibly well-summarized `reStructuredText Primer`_ from the sphinx-doc maintainer community.\n\n#. The pull request should work for all currently-supported Python versions as well as raise test coverage.\n   Pull requests are also checked for documentation build status and for `PEP8`_ compliance.\n   The build statuses and build errors for pull requests can be found at: https://github.com/Ouranosinc/xclim/actions\n\n   .. note::\n\n       The currently-supported Python versions are loosely based on the Scientific Python Ecosystem's `SPEC 0` schedule.\n       Generally, when `numpy` and `xarray` drop support for a dependency, `xclim` will follow suit in a subsequent release.\n       For more information, see the `SPEC 0 Schedule <https://scientific-python.org/specs/spec-0000/>`_\n\n   .. warning::\n\n       PEP8, black, pytest (with doctest) and pydocstyle (for numpy docstrings) conventions are strongly enforced.\n       Ensure that your changes pass all tests prior to pushing your final commits to your branch.\n       Code formatting errors are treated as build errors and will block your pull request from being accepted.\n\n#. The version changes (CHANGELOG.rst) should briefly describe changes introduced in the Pull request.\n   Changes should be organized by type (ie: `New indicators`, `New features and enhancements`, `Breaking changes`, `Bug fixes`, `Internal changes`) and the GitHub Pull Request, GitHub Issue.\n   Your name and/or GitHub handle should also be listed among the contributors to this version. This can be done as follows:\n\n   .. code-block:: restructuredtext\n\n       Contributors to this version: John Jacob Jingleheimer Schmidt (:user:`username`).\n\n       Internal changes\n       ^^^^^^^^^^^^^^^^\n       * Updated the contribution guidelines. (:issue:`868`, :pull:`869`).\n\nIf this is your first contribution to `Ouranosinc/xclim`, we ask that you also add your name to the `AUTHORS.rst <https://github.com/Ouranosinc/xclim/blob/main/AUTHORS.rst>`_, under *Contributors* as well as to the `.zenodo.json <https://github.com/Ouranosinc/xclim/blob/main/.zenodo.json>`_, at the end of the *creators* block.\n\nUpdating Testing Data\n~~~~~~~~~~~~~~~~~~~~~\n\nIf your code changes require changes to the testing data of `xclim` (i.e.: modifications to existing datasets or new datasets), these changes must be made via a Pull Request at the `xclim-testdata repository`_.\n\n`xclim` allows for developers to test specific branches/versions or forks of the `xclim-testdata` repository via the `XCLIM_TESTDATA_BRANCH` and `XCLIM_TESTDATA_REPO` environment variables, respectively, either through export, e.g.:\n\n.. code-block:: shell\n\n    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n    $ export XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\"\n\n    $ pytest\n    # or, alternatively:\n    $ tox\n\nor by setting the variable at runtime:\n\n.. code-block:: shell\n\n    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" pytest\n    # or, alternatively:\n    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" tox\n\nThis will ensure that tests load the appropriate testing data from this branch or repository before running.\n\nIf you anticipate not having internet access, we suggest prefetching the testing data from `xclim-testdata repository`_ and storing it in your local cache. This can be done by running the following console command:\n\n.. code-block:: shell\n\n    $ xclim prefetch_testing_data\n\nIf your development branch relies on a specific branch of `Ouranosinc/xclim-testdata`, you can specify this using environment variables:\n\n.. code-block:: shell\n\n    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n    $ xclim prefetch_testing_data\n\nor, alternatively, with the `--branch` option:\n\n.. code-block:: shell\n\n    $ xclim prefetch_testing_data --branch my_new_branch_of_testing_data --repo \"https://github.com/my_username/xclim-testdata\"\n\nIf you wish to test a specific branch using GitHub CI, this can be set in `.github/workflows/main.yml`:\n\n.. code-block:: yaml\n\n    env:\n      XCLIM_TESTDATA_BRANCH: my_new_branch_of_testing_data\n\n.. warning::\n\n    In order for a Pull Request to be allowed to merge to the `main` development branch, this variable must match the latest tagged commit name on `xclim-testdata repository`_.\n    We suggest merging changed testing data first, tagging a new version of `xclim-testdata`, then re-running tests on your Pull Request at `Ouranosinc/xclim` with the newest tag.\n\nRunning Tests in Offline Mode\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n`xclim` testing is designed with the assumption that the machine running the tests has internet access. Many calls to `xclim` functions will attempt to download data or verify checksums from the `Ouranosinc/xclim-testdata` repository.\nThis can be problematic for developers working on features where internet access is not reliably available.\n\nIf you wish to ensure that your feature or bugfix can be developed without internet access, `xclim` leverages the `pytest-socket`_ plugin so that testing can be run in \"offline\" mode by invoking pytest with the following options:\n\n.. code-block:: shell\n\n    $ pytest --disable-socket --allow-unix-socket -m \"not requires_internet\"\n\nor, alternatively, using `tox` :\n\n.. code-block:: shell\n\n    $ tox -e offline\n\nThese options will disable all network calls and skip tests marked with the ``requires_internet`` marker.\nThe ``--allow-unix-socket`` option is required to allow the `pytest-xdist`_ plugin to function properly.\n\nAI Assistance Notice\n--------------------\n\n.. note::\n\n    The following information has been adapted from AI assistance usage policies developed by `Avocado <https://avocado-framework.readthedocs.io/en/latest/guides/contributor/chapters/ai_policy.html>`_ and `ghostty <https://github.com/ghostty-org/ghostty/blob/main/AI_POLICY.md>`_\n    with suggestions from the `xclim` developers and maintainers.\n\nThe `xclim` developers and maintainers will consider Pull Requests that have been aided by artificial intelligence models, tools, or services.\nFor detailed information regarding compliance and operating parameters, refer to the `AI_POLICY.md` and `AGENTS.md` found in the top-level of the code repository.\n\nWhat is AI Assistance ?\n~~~~~~~~~~~~~~~~~~~~~~~\n\nWithin the context of `xclim` development, AI assistance constitutess any code, code snippets, configurations, documentation, or other programmatic assets produced, suggested, or significantly modified by an artificial intelligence model, tool, or service.\n\nAI assistance can also include code that is heavily adapted from or influenced by outputs from prompts made to generative artificial intelligence models, tools, or services.\n\nUsage Disclosure\n~~~~~~~~~~~~~~~~\n\nIf you are using any kind of AI assistance while contributing to `xclim`, **this must be disclosed in the pull request**, along with the extent to which AI assistance was used (e.g. documentation, code generation, review comments).",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,630 @@\n+============\n+Contributing\n+============\n+\n+Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.\n+\n+You can contribute in many ways:\n+\n+Types of Contributions\n+----------------------\n+\n+Implement Features, Indices or Indicators\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+`xclim`'s structure makes it easy to create and register new user-defined indices and indicators.\n+For the general implementation of indices and their wrapping into indicators, refer to :ref:`notebooks/extendxclim:Extending xclim` and :ref:`notebooks/customize:Customizing and controlling xclim`.\n+\n+Look through the GitHub issues for features; Anything tagged with \"enhancement\" and \"help wanted\" is open to whoever wants to implement it.\n+\n+General to-do list for implementing a new Indicator:\n+\n+#. Implement the indice\n+\n+    * Indices are function wrapped with :py:func:`~xclim.core.units.declare_units`\n+    * Their input arguments should have type annotations, as documented in :py:class:`~xclim.core.utils.InputKind`\n+    * Their docstring should follow the scheme explained in :ref:`notebooks/extendxclim:Defining new index-like compute functions`.\n+    * They should set the units on their outputs, but no other metadata fields.\n+    * Their code should be found in the most relevant ``src/xclim/indices/_*.py``  file. Functions are explicitly added to the ``__all__`` at the top of the file.\n+\n+#. Add unit tests\n+\n+    * Indices are best tested with made up, idealized data to explicitly test the edge cases. Many pytest fixtures are available to help this data generation.\n+    * Tests should be added as one or more functions in ``tests/test_indices.py``, see other tests for inspiration.\n+\n+#. Add the indicator\n+\n+    * See :ref:`notebooks/extendxclim:Defining new indicators` for more info and look at the other indicators for inspiration.\n+    * They are added in the most relevant ``src/xclim/indicators/{realm}/_*.py`` file.\n+    * Indicator are instances of subclasses of :py:class:`xclim.core.indicator.Indicator`.\n+      They should use a class declared within the ``{realm}`` folder, creating a dummy one if needed. They are explicitly added to the file's ``__all__``.\n+\n+#. Add unit tests\n+\n+    * Indicators are best tested with real data, also looking at missing value propagation and metadata formatting.\n+      In addition to the ``atmosds`` fixture, only datasets that can be accessed with :py:func:`xclim.testing.open_dataset` should be used.\n+      For convenience, this special function is accessible as the ``open_dataset`` pytest fixture.\n+    * Tests are added in the most relevant ``tests/test_{variable}.py`` file.\n+\n+#. Add French translations\n+\n+    xclim comes with an internationalization module and all \"official\" indicators\n+    (those in ``xclim.atmos.indicators``) must have a french translation added to ``src/xclim/data/fr.json``.\n+    This part can be done by the core team after you open a Pull Request.\n+\n+.. note::\n+\n+    If you are adding new translations to the library (for languages other than French), please begin by opening a discussion on the `xclim Discussions page`_ to coordinate the scope and implementation of these translations.\n+\n+\n+Report Bugs\n+~~~~~~~~~~~\n+\n+Report bugs at https://github.com/Ouranosinc/xclim/issues.\n+\n+If you are reporting a bug, please include:\n+\n+* Your operating system name and version.\n+* Any details about your local setup that might be helpful in troubleshooting.\n+* Detailed steps to reproduce the bug.\n+\n+Fix Bugs\n+~~~~~~~~\n+\n+Look through the GitHub issues for bugs. Anything tagged with \"bug\" and \"help wanted\" is open to whoever wants to implement it.\n+\n+Write Documentation\n+~~~~~~~~~~~~~~~~~~~\n+\n+xclim could always use more documentation, whether as part of the official `xclim` docs, in docstrings, or even on the web in blog posts, articles, and such.\n+\n+To reference documents (article, presentation, thesis, etc) in the documentation or in a docstring, xclim uses `sphinxcontrib-bibtex`_.\n+Metadata of the documents is stored as BibTeX entries in the ``docs/references.bib`` file.\n+To properly generate internal reference links, we suggest using the following roles:\n+\n+- For references cited in the `References` section of function docstrings, use ``:cite:cts:`label```.\n+- For in-text references with first author and year, use ``:cite:t:`label```.\n+- For reference citations in parentheses, use ``:cite:p:`label```.\n+\n+Multiple references can be added to a single role using commas (e.g. ``:cite:cts:`label1,label2,label3```).\n+For more information see: `sphinxcontrib-bibtex`_.\n+\n+Submit Feedback\n+~~~~~~~~~~~~~~~\n+\n+The best way to send feedback is to file an issue at: https://github.com/Ouranosinc/xclim/issues.\n+\n+If you are proposing a feature:\n+\n+* Explain in detail how it would work.\n+* Keep the scope as narrow as possible, to make it easier to implement.\n+* The xclim development team welcomes you and is always on hand to help. :)\n+\n+Get Started!\n+------------\n+\n+Ready to contribute? Here's how to set up `xclim` for local development.\n+\n+#. Fork the `xclim` repo on GitHub.\n+\n+#. Clone your fork locally:\n+\n+   .. code-block:: shell\n+\n+       $ git clone git@github.com:{my_github_username}/xclim.git\n+       $ cd xclim/\n+\n+#. Create a development environment. We recommend using ``conda``:\n+\n+   .. code-block:: shell\n+\n+       $ conda env create --file environment.yml\n+       $ conda activate xclim\n+       $ python -m pip install -e . --no-deps\n+\n+#. Create a branch for local development:\n+\n+   .. code-block:: shell\n+\n+       $ git checkout -b name-of-your-bugfix-or-feature\n+\n+   Now you can make your changes locally!\n+\n+#. Before committing your changes, we ask that you install ``pre-commit`` in your development environment in order to run linting checks when committing code changes.\n+   Pre-commit runs git hooks that ensure that your code adheres to the standards of the project and catches and corrects small errors or inconsistencies when you ``git commit``:\n+\n+   .. code-block:: shell\n+\n+       # To install the necessary pre-commit hooks:\n+       $ pre-commit install\n+       # To run pre-commit hooks manually:\n+       $ pre-commit run --all-files\n+\n+   Instead of ``pre-commit``, you can also verify your changes using the `Make` recipe for code linting checks:\n+\n+   .. code-block:: shell\n+\n+       $ make lint\n+\n+   Or, alternatively, you can check individual hooks manually with  `ruff`, `flake8`, `flake8-rst-docstrings`, `vulture`, `codespell`, `numpydoc`, `deptry`, and `yamllint`:\n+\n+   .. code-block:: shell\n+\n+       # To install the necessary dependencies:\n+       $ python -m pip install --group lint\n+       # To run individual checks\n+       $ ruff check --quiet .\n+       $ flake8 --config=.flake8 src/xclim tests\n+       $ vulture src/xclim tests\n+       $ codespell src/xclim tests docs\n+       $ numpydoc lint src/xclim/*.py src/xclim/ensembles/*.py src/xclim/indices/*.py src/xclim/indicators/*.py src/xclim/testing/*.py\n+       $ deptry src\n+       $ yamllint --config-file=.yamllint.yaml src/xclim\n+\n+   .. note::\n+\n+       `xclim` is fully type-checked with `mypy`_ (`ty`_). If your contributions are failing this check, it means that the type definitions could be better defined.\n+       For some guidance on how to do this, check the `mypy cheat sheet <https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html#cheat-sheet-py3>`_ for examples.\n+       If you are adding a new but similar compute function or indicator, following typing conventions of other similar objects will usually address these issues.\n+\n+       When in doubt, feel free to ping the `xclim` maintainers (`@xclim-core`) if you would like their input on how best to type something.\n+\n+#. When features or bug fixes have been contributed, unit tests and doctests have been added, or notebooks have been updated, use ``$ pytest`` to test them:\n+\n+   .. code-block:: shell\n+\n+       $ pytest --numprocesses=auto --dist=loadscope --no-cov --nbval --rootdir=tests/ docs/notebooks --ignore=docs/notebooks/example.ipynb  # for notebooks, exclusively.\n+       $ pytest --numprocesses=auto --rootdir=src/xclim/testing --doctest-modules src/xclim  # for doctests, exclusively.\n+       $ pytest  # for all unit tests, excluding doctests and notebooks.\n+       $ pytest -m \"not slow\"  # for all unit tests, excluding doctests, notebooks, and \"slow\" marked tests.\n+\n+   Alternatively, one can use ``$ tox`` to run very specific testing configurations, as GitHub Workflows would do when a Pull Request is submitted and new commits are pushed:\n+\n+   .. code-block:: shell\n+\n+       $ tox -e py3.11 # run tests on Python 3.11\n+       $ tox -e upstream  # run tests with upstream dependencies\n+       $ tox -e prefetch -- -m \"not slow\"  # run tests and force download of testing data, ensure tests are all offline, exclude \"slow\" marked tests\n+       $ tox -e py3.12 -- -m \"not slow\"  # run tests on Python 3.12 excluding \"slow\" marked tests\n+       $ tox -e notebooks,doctests  # run the notebook-based tests, then run the doctests\n+\n+       $ tox -m test  # run the standard tests used in GitHub Workflows\n+\n+   .. warning::\n+\n+       When running tests with `tox`, any `pytest` markers passed to `pyXX` builds (e.g. `-m \"not slow\"`) must be passed to `tox` directly. This can be done as follows:\n+\n+       .. code-block:: shell\n+\n+           $ tox -e py3.11 -- -m \"not slow\"\n+\n+       The exceptions to this rule are:\n+         - `notebooks` and `doctests`: these configurations do not pass test markers to its `pytest` call.\n+         - `offline`: this configuration runs by default with the `-m \"not requires_internet\"` test marker. Be aware that running `tox` and manually setting a `pytest` marker will override this default.\n+\n+   .. note::\n+\n+       `xclim` tests are organized to support the `pytest-xdist`_ plugin for distributed testing across workers or CPUs.\n+       In order to benefit from multiple processes, add the flag `--numprocesses=auto` or `-n auto` to your `pytest` calls.\n+\n+       When running tests via `tox`, `numprocesses` is set to the number of logical cores available (`numprocesses=logical`), with a maximum amount of `8`.\n+\n+#. Docs should also be tested to ensure that the documentation will build correctly on ReadTheDocs. This can be performed in a number of ways:\n+\n+   .. code-block:: shell\n+\n+       # To run in a contained virtualenv environment\n+       $ tox -e docs\n+       # or, alternatively, to build the docs directly\n+       $ make docs\n+\n+   .. note::\n+\n+       When building the documentation, the default behaviour is to evaluate notebooks ('`nbsphinx_execute = \"auto\"`'), rather than simply parse the content ('`nbsphinx_execute = \"never\"`').\n+       Due to their complexity, this is a very computationally demanding task and should only be performed when necessary (i.e.: when the notebooks have been modified).\n+\n+       In order to speed up documentation builds, setting a value for the environment variable \"`SKIP_NOTEBOOKS`\" (e.g. \"`$ export SKIP_NOTEBOOKS=1`\") will prevent the notebooks from being evaluated on all subsequent \"`$ tox -e docs`\" or \"`$ make docs`\" invocations.\n+\n+#. After clearing the previous checks, commit your changes and push your branch to GitHub:\n+\n+   .. code-block:: shell\n+\n+       $ git add *\n+       $ git commit -m \"Your detailed description of your changes.\"\n+\n+   If installed, `pre-commit` will run checks at this point:\n+\n+   * If no errors are found, changes will be committed.\n+   * If errors are found, modifications will be made and warnings will be raised if intervention is needed.\n+   * After addressing errors and effecting changes, simply `git commit` again:\n+\n+   .. code-block:: shell\n+\n+       $ git push origin name-of-your-bugfix-or-feature\n+\n+#. Submit a pull request through the GitHub website.\n+\n+Pull Request Guidelines\n+-----------------------\n+\n+Before you submit a pull request, please follow these guidelines:\n+\n+#. Open an *issue* on our `GitHub repository`_ with your issue that you'd like to fix or feature that you'd like to implement.\n+\n+#. Perform the changes, commit and push them either to new a branch within `Ouranosinc/xclim` or to your personal fork of xclim.\n+\n+   .. warning::\n+\n+       Try to keep your contributions within the scope of the issue that you are addressing.\n+       While it might be tempting to fix other aspects of the library as it comes up,\n+       it's better to simply to flag the problems in case others are already working on it.\n+\n+       Consider adding a \"**# TODO:**\" or \"**# FIXME:**\" comment if the need arises.\n+\n+#. Pull requests should raise test coverage for the xclim library. Code coverage is an indicator of how extensively tested the library is.\n+\n+   .. note::\n+\n+       If you are adding a new set of functions, they **must be tested** and **coverage percentage should not significantly decrease.**\n+\n+#. If the pull request adds functionality, your functions should include docstring explanations.\n+   So long as the docstrings are syntactically correct, sphinx-autodoc will be able to automatically parse the information.\n+   Please ensure that the docstrings and documentation adhere to the following standards (badly formed docstrings will fail build tests):\n+\n+   * `numpydoc`_\n+   * `reStructuredText (ReST)`_\n+\n+   .. note::\n+\n+        If you aren't accustomed to writing documentation in reStructuredText (`.rst`), we encourage you to spend a few minutes going over the\n+        incredibly well-summarized `reStructuredText Primer`_ from the sphinx-doc maintainer community.\n+\n+#. The pull request should work for all currently-supported Python versions as well as raise test coverage.\n+   Pull requests are also checked for documentation build status and for `PEP8`_ compliance.\n+   The build statuses and build errors for pull requests can be found at: https://github.com/Ouranosinc/xclim/actions\n+\n+   .. note::\n+\n+       The currently-supported Python versions are loosely based on the Scientific Python Ecosystem's `SPEC 0` schedule.\n+       Generally, when `numpy` and `xarray` drop support for a dependency, `xclim` will follow suit in a subsequent release.\n+       For more information, see the `SPEC 0 Schedule <https://scientific-python.org/specs/spec-0000/>`_\n+\n+   .. warning::\n+\n+       PEP8, black, pytest (with doctest) and pydocstyle (for numpy docstrings) conventions are strongly enforced.\n+       Ensure that your changes pass all tests prior to pushing your final commits to your branch.\n+       Code formatting errors are treated as build errors and will block your pull request from being accepted.\n+\n+#. The version changes (CHANGELOG.rst) should briefly describe changes introduced in the Pull request.\n+   Changes should be organized by type (ie: `New indicators`, `New features and enhancements`, `Breaking changes`, `Bug fixes`, `Internal changes`) and the GitHub Pull Request, GitHub Issue.\n+   Your name and/or GitHub handle should also be listed among the contributors to this version. This can be done as follows:\n+\n+   .. code-block:: restructuredtext\n+\n+       Contributors to this version: John Jacob Jingleheimer Schmidt (:user:`username`).\n+\n+       Internal changes\n+       ^^^^^^^^^^^^^^^^\n+       * Updated the contribution guidelines. (:issue:`868`, :pull:`869`).\n+\n+If this is your first contribution to `Ouranosinc/xclim`, we ask that you also add your name to the `AUTHORS.rst <https://github.com/Ouranosinc/xclim/blob/main/AUTHORS.rst>`_, under *Contributors* as well as to the `.zenodo.json <https://github.com/Ouranosinc/xclim/blob/main/.zenodo.json>`_, at the end of the *creators* block.\n+\n+Updating Testing Data\n+~~~~~~~~~~~~~~~~~~~~~\n+\n+If your code changes require changes to the testing data of `xclim` (i.e.: modifications to existing datasets or new datasets), these changes must be made via a Pull Request at the `xclim-testdata repository`_.\n+\n+`xclim` allows for developers to test specific branches/versions or forks of the `xclim-testdata` repository via the `XCLIM_TESTDATA_BRANCH` and `XCLIM_TESTDATA_REPO` environment variables, respectively, either through export, e.g.:\n+\n+.. code-block:: shell\n+\n+    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n+    $ export XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\"\n+\n+    $ pytest\n+    # or, alternatively:\n+    $ tox\n+\n+or by setting the variable at runtime:\n+\n+.. code-block:: shell\n+\n+    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" pytest\n+    # or, alternatively:\n+    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" tox\n+\n+This will ensure that tests load the appropriate testing data from this branch or repository before running.\n+\n+If you anticipate not having internet access, we suggest prefetching the testing data from `xclim-testdata repository`_ and storing it in your local cache. This can be done by running the following console command:\n+\n+.. code-block:: shell\n+\n+    $ xclim prefetch_testing_data\n+\n+If your development branch relies on a specific branch of `Ouranosinc/xclim-testdata`, you can specify this using environment variables:\n+\n+.. code-block:: shell\n+\n+    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n+    $ xclim prefetch_testing_data\n+\n+or, alternatively, with the `--branch` option:\n+\n+.. code-block:: shell\n+\n+    $ xclim prefetch_testing_data --branch my_new_branch_of_testing_data --repo \"https://github.com/my_username/xclim-testdata\"\n+\n+If you wish to test a specific branch using GitHub CI, this can be set in `.github/workflows/main.yml`:\n+\n+.. code-block:: yaml\n+\n+    env:\n+      XCLIM_TESTDATA_BRANCH: my_new_branch_of_testing_data\n+\n+.. warning::\n+\n+    In order for a Pull Request to be allowed to merge to the `main` development branch, this variable must match the latest tagged commit name on `xclim-testdata repository`_.\n+    We suggest merging changed testing data first, tagging a new version of `xclim-testdata`, then re-running tests on your Pull Request at `Ouranosinc/xclim` with the newest tag.\n+\n+Running Tests in Offline Mode\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+`xclim` testing is designed with the assumption that the machine running the tests has internet access. Many calls to `xclim` functions will attempt to download data or verify checksums from the `Ouranosinc/xclim-testdata` repository.\n+This can be problematic for developers working on features where internet access is not reliably available.\n+\n+If you wish to ensure that your feature or bugfix can be developed without internet access, `xclim` leverages the `pytest-socket`_ plugin so that testing can be run in \"offline\" mode by invoking pytest with the following options:\n+\n+.. code-block:: shell\n+\n+    $ pytest --disable-socket --allow-unix-socket -m \"not requires_internet\"\n+\n+or, alternatively, using `tox` :\n+\n+.. code-block:: shell\n+\n+    $ tox -e offline\n+\n+These options will disable all network calls and skip tests marked with the ``requires_internet`` marker.\n+The ``--allow-unix-socket`` option is required to allow the `pytest-xdist`_ plugin to function properly.\n+\n+AI Assistance Notice\n+--------------------\n+\n+.. note::\n+\n+    The following information has been adapted from AI assistance usage policies developed by `Avocado <https://avocado-framework.readthedocs.io/en/latest/guides/contributor/chapters/ai_policy.html>`_ and `ghostty <https://github.com/ghostty-org/ghostty/blob/main/AI_POLICY.md>`_\n+    with suggestions from the `xclim` developers and maintainers.\n+\n+The `xclim` developers and maintainers will consider Pull Requests that have been aided by artificial intelligence models, tools, or services.\n+For detailed information regarding compliance and operating parameters, refer to the `AI_POLICY.md` and `AGENTS.md` found in the top-level of the code repository.\n+\n+What is AI Assistance ?\n+~~~~~~~~~~~~~~~~~~~~~~~\n+\n+Within the context of `xclim` development, AI assistance constitutess any code, code snippets, configurations, documentation, or other programmatic assets produced, suggested, or significantly modified by an artificial intelligence model, tool, or service.\n+\n+AI assistance can also include code that is heavily adapted from or influenced by outputs from prompts made to generative artificial intelligence models, tools, or services.\n+\n+Usage Disclosure\n+~~~~~~~~~~~~~~~~\n+\n+If you are using any kind of AI assistance while contributing to `xclim`, **this must be disclosed in the pull request**, along with the extent to which AI assistance was used (e.g. documentation, code generation, review comments).",
      "tags": [
        {
          "raw": "#disclosure/required",
          "namespace": "disclosure",
          "value": "required",
          "dimension": "disclosure",
          "dimension_label": "Disclosure",
          "kind": "value",
          "value_label": "Required",
          "display": "Disclosure: Required",
          "filter_key": "disclosure:required"
        }
      ],
      "tag_strings": [
        "#disclosure/required"
      ],
      "displays": [
        "Disclosure: Required"
      ],
      "filter_keys": [
        "disclosure:required"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "disclosure": [
          {
            "value": "required",
            "filter_key": "disclosure:required",
            "display": "Disclosure: Required"
          }
        ]
      },
      "path": "projects/xclim/CONTRIBUTING.rst",
      "project": "xclim",
      "start_line": 411,
      "line": 411,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4554129411",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T17:44:14Z",
      "updated_at": "2026-11-12T17:44:14Z"
    },
    {
      "id": 4554135056,
      "body": "#human-responsibility/yes\n#guidance/iteration\n#scope/autonomous-agents:banned",
      "quote": "============\nContributing\n============\n\nContributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.\n\nYou can contribute in many ways:\n\nTypes of Contributions\n----------------------\n\nImplement Features, Indices or Indicators\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n`xclim`'s structure makes it easy to create and register new user-defined indices and indicators.\nFor the general implementation of indices and their wrapping into indicators, refer to :ref:`notebooks/extendxclim:Extending xclim` and :ref:`notebooks/customize:Customizing and controlling xclim`.\n\nLook through the GitHub issues for features; Anything tagged with \"enhancement\" and \"help wanted\" is open to whoever wants to implement it.\n\nGeneral to-do list for implementing a new Indicator:\n\n#. Implement the indice\n\n    * Indices are function wrapped with :py:func:`~xclim.core.units.declare_units`\n    * Their input arguments should have type annotations, as documented in :py:class:`~xclim.core.utils.InputKind`\n    * Their docstring should follow the scheme explained in :ref:`notebooks/extendxclim:Defining new index-like compute functions`.\n    * They should set the units on their outputs, but no other metadata fields.\n    * Their code should be found in the most relevant ``src/xclim/indices/_*.py``  file. Functions are explicitly added to the ``__all__`` at the top of the file.\n\n#. Add unit tests\n\n    * Indices are best tested with made up, idealized data to explicitly test the edge cases. Many pytest fixtures are available to help this data generation.\n    * Tests should be added as one or more functions in ``tests/test_indices.py``, see other tests for inspiration.\n\n#. Add the indicator\n\n    * See :ref:`notebooks/extendxclim:Defining new indicators` for more info and look at the other indicators for inspiration.\n    * They are added in the most relevant ``src/xclim/indicators/{realm}/_*.py`` file.\n    * Indicator are instances of subclasses of :py:class:`xclim.core.indicator.Indicator`.\n      They should use a class declared within the ``{realm}`` folder, creating a dummy one if needed. They are explicitly added to the file's ``__all__``.\n\n#. Add unit tests\n\n    * Indicators are best tested with real data, also looking at missing value propagation and metadata formatting.\n      In addition to the ``atmosds`` fixture, only datasets that can be accessed with :py:func:`xclim.testing.open_dataset` should be used.\n      For convenience, this special function is accessible as the ``open_dataset`` pytest fixture.\n    * Tests are added in the most relevant ``tests/test_{variable}.py`` file.\n\n#. Add French translations\n\n    xclim comes with an internationalization module and all \"official\" indicators\n    (those in ``xclim.atmos.indicators``) must have a french translation added to ``src/xclim/data/fr.json``.\n    This part can be done by the core team after you open a Pull Request.\n\n.. note::\n\n    If you are adding new translations to the library (for languages other than French), please begin by opening a discussion on the `xclim Discussions page`_ to coordinate the scope and implementation of these translations.\n\n\nReport Bugs\n~~~~~~~~~~~\n\nReport bugs at https://github.com/Ouranosinc/xclim/issues.\n\nIf you are reporting a bug, please include:\n\n* Your operating system name and version.\n* Any details about your local setup that might be helpful in troubleshooting.\n* Detailed steps to reproduce the bug.\n\nFix Bugs\n~~~~~~~~\n\nLook through the GitHub issues for bugs. Anything tagged with \"bug\" and \"help wanted\" is open to whoever wants to implement it.\n\nWrite Documentation\n~~~~~~~~~~~~~~~~~~~\n\nxclim could always use more documentation, whether as part of the official `xclim` docs, in docstrings, or even on the web in blog posts, articles, and such.\n\nTo reference documents (article, presentation, thesis, etc) in the documentation or in a docstring, xclim uses `sphinxcontrib-bibtex`_.\nMetadata of the documents is stored as BibTeX entries in the ``docs/references.bib`` file.\nTo properly generate internal reference links, we suggest using the following roles:\n\n- For references cited in the `References` section of function docstrings, use ``:cite:cts:`label```.\n- For in-text references with first author and year, use ``:cite:t:`label```.\n- For reference citations in parentheses, use ``:cite:p:`label```.\n\nMultiple references can be added to a single role using commas (e.g. ``:cite:cts:`label1,label2,label3```).\nFor more information see: `sphinxcontrib-bibtex`_.\n\nSubmit Feedback\n~~~~~~~~~~~~~~~\n\nThe best way to send feedback is to file an issue at: https://github.com/Ouranosinc/xclim/issues.\n\nIf you are proposing a feature:\n\n* Explain in detail how it would work.\n* Keep the scope as narrow as possible, to make it easier to implement.\n* The xclim development team welcomes you and is always on hand to help. :)\n\nGet Started!\n------------\n\nReady to contribute? Here's how to set up `xclim` for local development.\n\n#. Fork the `xclim` repo on GitHub.\n\n#. Clone your fork locally:\n\n   .. code-block:: shell\n\n       $ git clone git@github.com:{my_github_username}/xclim.git\n       $ cd xclim/\n\n#. Create a development environment. We recommend using ``conda``:\n\n   .. code-block:: shell\n\n       $ conda env create --file environment.yml\n       $ conda activate xclim\n       $ python -m pip install -e . --no-deps\n\n#. Create a branch for local development:\n\n   .. code-block:: shell\n\n       $ git checkout -b name-of-your-bugfix-or-feature\n\n   Now you can make your changes locally!\n\n#. Before committing your changes, we ask that you install ``pre-commit`` in your development environment in order to run linting checks when committing code changes.\n   Pre-commit runs git hooks that ensure that your code adheres to the standards of the project and catches and corrects small errors or inconsistencies when you ``git commit``:\n\n   .. code-block:: shell\n\n       # To install the necessary pre-commit hooks:\n       $ pre-commit install\n       # To run pre-commit hooks manually:\n       $ pre-commit run --all-files\n\n   Instead of ``pre-commit``, you can also verify your changes using the `Make` recipe for code linting checks:\n\n   .. code-block:: shell\n\n       $ make lint\n\n   Or, alternatively, you can check individual hooks manually with  `ruff`, `flake8`, `flake8-rst-docstrings`, `vulture`, `codespell`, `numpydoc`, `deptry`, and `yamllint`:\n\n   .. code-block:: shell\n\n       # To install the necessary dependencies:\n       $ python -m pip install --group lint\n       # To run individual checks\n       $ ruff check --quiet .\n       $ flake8 --config=.flake8 src/xclim tests\n       $ vulture src/xclim tests\n       $ codespell src/xclim tests docs\n       $ numpydoc lint src/xclim/*.py src/xclim/ensembles/*.py src/xclim/indices/*.py src/xclim/indicators/*.py src/xclim/testing/*.py\n       $ deptry src\n       $ yamllint --config-file=.yamllint.yaml src/xclim\n\n   .. note::\n\n       `xclim` is fully type-checked with `mypy`_ (`ty`_). If your contributions are failing this check, it means that the type definitions could be better defined.\n       For some guidance on how to do this, check the `mypy cheat sheet <https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html#cheat-sheet-py3>`_ for examples.\n       If you are adding a new but similar compute function or indicator, following typing conventions of other similar objects will usually address these issues.\n\n       When in doubt, feel free to ping the `xclim` maintainers (`@xclim-core`) if you would like their input on how best to type something.\n\n#. When features or bug fixes have been contributed, unit tests and doctests have been added, or notebooks have been updated, use ``$ pytest`` to test them:\n\n   .. code-block:: shell\n\n       $ pytest --numprocesses=auto --dist=loadscope --no-cov --nbval --rootdir=tests/ docs/notebooks --ignore=docs/notebooks/example.ipynb  # for notebooks, exclusively.\n       $ pytest --numprocesses=auto --rootdir=src/xclim/testing --doctest-modules src/xclim  # for doctests, exclusively.\n       $ pytest  # for all unit tests, excluding doctests and notebooks.\n       $ pytest -m \"not slow\"  # for all unit tests, excluding doctests, notebooks, and \"slow\" marked tests.\n\n   Alternatively, one can use ``$ tox`` to run very specific testing configurations, as GitHub Workflows would do when a Pull Request is submitted and new commits are pushed:\n\n   .. code-block:: shell\n\n       $ tox -e py3.11 # run tests on Python 3.11\n       $ tox -e upstream  # run tests with upstream dependencies\n       $ tox -e prefetch -- -m \"not slow\"  # run tests and force download of testing data, ensure tests are all offline, exclude \"slow\" marked tests\n       $ tox -e py3.12 -- -m \"not slow\"  # run tests on Python 3.12 excluding \"slow\" marked tests\n       $ tox -e notebooks,doctests  # run the notebook-based tests, then run the doctests\n\n       $ tox -m test  # run the standard tests used in GitHub Workflows\n\n   .. warning::\n\n       When running tests with `tox`, any `pytest` markers passed to `pyXX` builds (e.g. `-m \"not slow\"`) must be passed to `tox` directly. This can be done as follows:\n\n       .. code-block:: shell\n\n           $ tox -e py3.11 -- -m \"not slow\"\n\n       The exceptions to this rule are:\n         - `notebooks` and `doctests`: these configurations do not pass test markers to its `pytest` call.\n         - `offline`: this configuration runs by default with the `-m \"not requires_internet\"` test marker. Be aware that running `tox` and manually setting a `pytest` marker will override this default.\n\n   .. note::\n\n       `xclim` tests are organized to support the `pytest-xdist`_ plugin for distributed testing across workers or CPUs.\n       In order to benefit from multiple processes, add the flag `--numprocesses=auto` or `-n auto` to your `pytest` calls.\n\n       When running tests via `tox`, `numprocesses` is set to the number of logical cores available (`numprocesses=logical`), with a maximum amount of `8`.\n\n#. Docs should also be tested to ensure that the documentation will build correctly on ReadTheDocs. This can be performed in a number of ways:\n\n   .. code-block:: shell\n\n       # To run in a contained virtualenv environment\n       $ tox -e docs\n       # or, alternatively, to build the docs directly\n       $ make docs\n\n   .. note::\n\n       When building the documentation, the default behaviour is to evaluate notebooks ('`nbsphinx_execute = \"auto\"`'), rather than simply parse the content ('`nbsphinx_execute = \"never\"`').\n       Due to their complexity, this is a very computationally demanding task and should only be performed when necessary (i.e.: when the notebooks have been modified).\n\n       In order to speed up documentation builds, setting a value for the environment variable \"`SKIP_NOTEBOOKS`\" (e.g. \"`$ export SKIP_NOTEBOOKS=1`\") will prevent the notebooks from being evaluated on all subsequent \"`$ tox -e docs`\" or \"`$ make docs`\" invocations.\n\n#. After clearing the previous checks, commit your changes and push your branch to GitHub:\n\n   .. code-block:: shell\n\n       $ git add *\n       $ git commit -m \"Your detailed description of your changes.\"\n\n   If installed, `pre-commit` will run checks at this point:\n\n   * If no errors are found, changes will be committed.\n   * If errors are found, modifications will be made and warnings will be raised if intervention is needed.\n   * After addressing errors and effecting changes, simply `git commit` again:\n\n   .. code-block:: shell\n\n       $ git push origin name-of-your-bugfix-or-feature\n\n#. Submit a pull request through the GitHub website.\n\nPull Request Guidelines\n-----------------------\n\nBefore you submit a pull request, please follow these guidelines:\n\n#. Open an *issue* on our `GitHub repository`_ with your issue that you'd like to fix or feature that you'd like to implement.\n\n#. Perform the changes, commit and push them either to new a branch within `Ouranosinc/xclim` or to your personal fork of xclim.\n\n   .. warning::\n\n       Try to keep your contributions within the scope of the issue that you are addressing.\n       While it might be tempting to fix other aspects of the library as it comes up,\n       it's better to simply to flag the problems in case others are already working on it.\n\n       Consider adding a \"**# TODO:**\" or \"**# FIXME:**\" comment if the need arises.\n\n#. Pull requests should raise test coverage for the xclim library. Code coverage is an indicator of how extensively tested the library is.\n\n   .. note::\n\n       If you are adding a new set of functions, they **must be tested** and **coverage percentage should not significantly decrease.**\n\n#. If the pull request adds functionality, your functions should include docstring explanations.\n   So long as the docstrings are syntactically correct, sphinx-autodoc will be able to automatically parse the information.\n   Please ensure that the docstrings and documentation adhere to the following standards (badly formed docstrings will fail build tests):\n\n   * `numpydoc`_\n   * `reStructuredText (ReST)`_\n\n   .. note::\n\n        If you aren't accustomed to writing documentation in reStructuredText (`.rst`), we encourage you to spend a few minutes going over the\n        incredibly well-summarized `reStructuredText Primer`_ from the sphinx-doc maintainer community.\n\n#. The pull request should work for all currently-supported Python versions as well as raise test coverage.\n   Pull requests are also checked for documentation build status and for `PEP8`_ compliance.\n   The build statuses and build errors for pull requests can be found at: https://github.com/Ouranosinc/xclim/actions\n\n   .. note::\n\n       The currently-supported Python versions are loosely based on the Scientific Python Ecosystem's `SPEC 0` schedule.\n       Generally, when `numpy` and `xarray` drop support for a dependency, `xclim` will follow suit in a subsequent release.\n       For more information, see the `SPEC 0 Schedule <https://scientific-python.org/specs/spec-0000/>`_\n\n   .. warning::\n\n       PEP8, black, pytest (with doctest) and pydocstyle (for numpy docstrings) conventions are strongly enforced.\n       Ensure that your changes pass all tests prior to pushing your final commits to your branch.\n       Code formatting errors are treated as build errors and will block your pull request from being accepted.\n\n#. The version changes (CHANGELOG.rst) should briefly describe changes introduced in the Pull request.\n   Changes should be organized by type (ie: `New indicators`, `New features and enhancements`, `Breaking changes`, `Bug fixes`, `Internal changes`) and the GitHub Pull Request, GitHub Issue.\n   Your name and/or GitHub handle should also be listed among the contributors to this version. This can be done as follows:\n\n   .. code-block:: restructuredtext\n\n       Contributors to this version: John Jacob Jingleheimer Schmidt (:user:`username`).\n\n       Internal changes\n       ^^^^^^^^^^^^^^^^\n       * Updated the contribution guidelines. (:issue:`868`, :pull:`869`).\n\nIf this is your first contribution to `Ouranosinc/xclim`, we ask that you also add your name to the `AUTHORS.rst <https://github.com/Ouranosinc/xclim/blob/main/AUTHORS.rst>`_, under *Contributors* as well as to the `.zenodo.json <https://github.com/Ouranosinc/xclim/blob/main/.zenodo.json>`_, at the end of the *creators* block.\n\nUpdating Testing Data\n~~~~~~~~~~~~~~~~~~~~~\n\nIf your code changes require changes to the testing data of `xclim` (i.e.: modifications to existing datasets or new datasets), these changes must be made via a Pull Request at the `xclim-testdata repository`_.\n\n`xclim` allows for developers to test specific branches/versions or forks of the `xclim-testdata` repository via the `XCLIM_TESTDATA_BRANCH` and `XCLIM_TESTDATA_REPO` environment variables, respectively, either through export, e.g.:\n\n.. code-block:: shell\n\n    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n    $ export XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\"\n\n    $ pytest\n    # or, alternatively:\n    $ tox\n\nor by setting the variable at runtime:\n\n.. code-block:: shell\n\n    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" pytest\n    # or, alternatively:\n    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" tox\n\nThis will ensure that tests load the appropriate testing data from this branch or repository before running.\n\nIf you anticipate not having internet access, we suggest prefetching the testing data from `xclim-testdata repository`_ and storing it in your local cache. This can be done by running the following console command:\n\n.. code-block:: shell\n\n    $ xclim prefetch_testing_data\n\nIf your development branch relies on a specific branch of `Ouranosinc/xclim-testdata`, you can specify this using environment variables:\n\n.. code-block:: shell\n\n    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n    $ xclim prefetch_testing_data\n\nor, alternatively, with the `--branch` option:\n\n.. code-block:: shell\n\n    $ xclim prefetch_testing_data --branch my_new_branch_of_testing_data --repo \"https://github.com/my_username/xclim-testdata\"\n\nIf you wish to test a specific branch using GitHub CI, this can be set in `.github/workflows/main.yml`:\n\n.. code-block:: yaml\n\n    env:\n      XCLIM_TESTDATA_BRANCH: my_new_branch_of_testing_data\n\n.. warning::\n\n    In order for a Pull Request to be allowed to merge to the `main` development branch, this variable must match the latest tagged commit name on `xclim-testdata repository`_.\n    We suggest merging changed testing data first, tagging a new version of `xclim-testdata`, then re-running tests on your Pull Request at `Ouranosinc/xclim` with the newest tag.\n\nRunning Tests in Offline Mode\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n`xclim` testing is designed with the assumption that the machine running the tests has internet access. Many calls to `xclim` functions will attempt to download data or verify checksums from the `Ouranosinc/xclim-testdata` repository.\nThis can be problematic for developers working on features where internet access is not reliably available.\n\nIf you wish to ensure that your feature or bugfix can be developed without internet access, `xclim` leverages the `pytest-socket`_ plugin so that testing can be run in \"offline\" mode by invoking pytest with the following options:\n\n.. code-block:: shell\n\n    $ pytest --disable-socket --allow-unix-socket -m \"not requires_internet\"\n\nor, alternatively, using `tox` :\n\n.. code-block:: shell\n\n    $ tox -e offline\n\nThese options will disable all network calls and skip tests marked with the ``requires_internet`` marker.\nThe ``--allow-unix-socket`` option is required to allow the `pytest-xdist`_ plugin to function properly.\n\nAI Assistance Notice\n--------------------\n\n.. note::\n\n    The following information has been adapted from AI assistance usage policies developed by `Avocado <https://avocado-framework.readthedocs.io/en/latest/guides/contributor/chapters/ai_policy.html>`_ and `ghostty <https://github.com/ghostty-org/ghostty/blob/main/AI_POLICY.md>`_\n    with suggestions from the `xclim` developers and maintainers.\n\nThe `xclim` developers and maintainers will consider Pull Requests that have been aided by artificial intelligence models, tools, or services.\nFor detailed information regarding compliance and operating parameters, refer to the `AI_POLICY.md` and `AGENTS.md` found in the top-level of the code repository.\n\nWhat is AI Assistance ?\n~~~~~~~~~~~~~~~~~~~~~~~\n\nWithin the context of `xclim` development, AI assistance constitutess any code, code snippets, configurations, documentation, or other programmatic assets produced, suggested, or significantly modified by an artificial intelligence model, tool, or service.\n\nAI assistance can also include code that is heavily adapted from or influenced by outputs from prompts made to generative artificial intelligence models, tools, or services.\n\nUsage Disclosure\n~~~~~~~~~~~~~~~~\n\nIf you are using any kind of AI assistance while contributing to `xclim`, **this must be disclosed in the pull request**, along with the extent to which AI assistance was used (e.g. documentation, code generation, review comments).\nUsing AI to help draft responses is allowed only if the contributor meaningfully reviews, edits, and takes full responsibility for the content.\nSubmitting AI-generated replies without human verification or understanding is not permitted.\nMisrepresenting AI-generated content as purely human-authored is considered a violation of the contribution guidelines.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,630 @@\n+============\n+Contributing\n+============\n+\n+Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.\n+\n+You can contribute in many ways:\n+\n+Types of Contributions\n+----------------------\n+\n+Implement Features, Indices or Indicators\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+`xclim`'s structure makes it easy to create and register new user-defined indices and indicators.\n+For the general implementation of indices and their wrapping into indicators, refer to :ref:`notebooks/extendxclim:Extending xclim` and :ref:`notebooks/customize:Customizing and controlling xclim`.\n+\n+Look through the GitHub issues for features; Anything tagged with \"enhancement\" and \"help wanted\" is open to whoever wants to implement it.\n+\n+General to-do list for implementing a new Indicator:\n+\n+#. Implement the indice\n+\n+    * Indices are function wrapped with :py:func:`~xclim.core.units.declare_units`\n+    * Their input arguments should have type annotations, as documented in :py:class:`~xclim.core.utils.InputKind`\n+    * Their docstring should follow the scheme explained in :ref:`notebooks/extendxclim:Defining new index-like compute functions`.\n+    * They should set the units on their outputs, but no other metadata fields.\n+    * Their code should be found in the most relevant ``src/xclim/indices/_*.py``  file. Functions are explicitly added to the ``__all__`` at the top of the file.\n+\n+#. Add unit tests\n+\n+    * Indices are best tested with made up, idealized data to explicitly test the edge cases. Many pytest fixtures are available to help this data generation.\n+    * Tests should be added as one or more functions in ``tests/test_indices.py``, see other tests for inspiration.\n+\n+#. Add the indicator\n+\n+    * See :ref:`notebooks/extendxclim:Defining new indicators` for more info and look at the other indicators for inspiration.\n+    * They are added in the most relevant ``src/xclim/indicators/{realm}/_*.py`` file.\n+    * Indicator are instances of subclasses of :py:class:`xclim.core.indicator.Indicator`.\n+      They should use a class declared within the ``{realm}`` folder, creating a dummy one if needed. They are explicitly added to the file's ``__all__``.\n+\n+#. Add unit tests\n+\n+    * Indicators are best tested with real data, also looking at missing value propagation and metadata formatting.\n+      In addition to the ``atmosds`` fixture, only datasets that can be accessed with :py:func:`xclim.testing.open_dataset` should be used.\n+      For convenience, this special function is accessible as the ``open_dataset`` pytest fixture.\n+    * Tests are added in the most relevant ``tests/test_{variable}.py`` file.\n+\n+#. Add French translations\n+\n+    xclim comes with an internationalization module and all \"official\" indicators\n+    (those in ``xclim.atmos.indicators``) must have a french translation added to ``src/xclim/data/fr.json``.\n+    This part can be done by the core team after you open a Pull Request.\n+\n+.. note::\n+\n+    If you are adding new translations to the library (for languages other than French), please begin by opening a discussion on the `xclim Discussions page`_ to coordinate the scope and implementation of these translations.\n+\n+\n+Report Bugs\n+~~~~~~~~~~~\n+\n+Report bugs at https://github.com/Ouranosinc/xclim/issues.\n+\n+If you are reporting a bug, please include:\n+\n+* Your operating system name and version.\n+* Any details about your local setup that might be helpful in troubleshooting.\n+* Detailed steps to reproduce the bug.\n+\n+Fix Bugs\n+~~~~~~~~\n+\n+Look through the GitHub issues for bugs. Anything tagged with \"bug\" and \"help wanted\" is open to whoever wants to implement it.\n+\n+Write Documentation\n+~~~~~~~~~~~~~~~~~~~\n+\n+xclim could always use more documentation, whether as part of the official `xclim` docs, in docstrings, or even on the web in blog posts, articles, and such.\n+\n+To reference documents (article, presentation, thesis, etc) in the documentation or in a docstring, xclim uses `sphinxcontrib-bibtex`_.\n+Metadata of the documents is stored as BibTeX entries in the ``docs/references.bib`` file.\n+To properly generate internal reference links, we suggest using the following roles:\n+\n+- For references cited in the `References` section of function docstrings, use ``:cite:cts:`label```.\n+- For in-text references with first author and year, use ``:cite:t:`label```.\n+- For reference citations in parentheses, use ``:cite:p:`label```.\n+\n+Multiple references can be added to a single role using commas (e.g. ``:cite:cts:`label1,label2,label3```).\n+For more information see: `sphinxcontrib-bibtex`_.\n+\n+Submit Feedback\n+~~~~~~~~~~~~~~~\n+\n+The best way to send feedback is to file an issue at: https://github.com/Ouranosinc/xclim/issues.\n+\n+If you are proposing a feature:\n+\n+* Explain in detail how it would work.\n+* Keep the scope as narrow as possible, to make it easier to implement.\n+* The xclim development team welcomes you and is always on hand to help. :)\n+\n+Get Started!\n+------------\n+\n+Ready to contribute? Here's how to set up `xclim` for local development.\n+\n+#. Fork the `xclim` repo on GitHub.\n+\n+#. Clone your fork locally:\n+\n+   .. code-block:: shell\n+\n+       $ git clone git@github.com:{my_github_username}/xclim.git\n+       $ cd xclim/\n+\n+#. Create a development environment. We recommend using ``conda``:\n+\n+   .. code-block:: shell\n+\n+       $ conda env create --file environment.yml\n+       $ conda activate xclim\n+       $ python -m pip install -e . --no-deps\n+\n+#. Create a branch for local development:\n+\n+   .. code-block:: shell\n+\n+       $ git checkout -b name-of-your-bugfix-or-feature\n+\n+   Now you can make your changes locally!\n+\n+#. Before committing your changes, we ask that you install ``pre-commit`` in your development environment in order to run linting checks when committing code changes.\n+   Pre-commit runs git hooks that ensure that your code adheres to the standards of the project and catches and corrects small errors or inconsistencies when you ``git commit``:\n+\n+   .. code-block:: shell\n+\n+       # To install the necessary pre-commit hooks:\n+       $ pre-commit install\n+       # To run pre-commit hooks manually:\n+       $ pre-commit run --all-files\n+\n+   Instead of ``pre-commit``, you can also verify your changes using the `Make` recipe for code linting checks:\n+\n+   .. code-block:: shell\n+\n+       $ make lint\n+\n+   Or, alternatively, you can check individual hooks manually with  `ruff`, `flake8`, `flake8-rst-docstrings`, `vulture`, `codespell`, `numpydoc`, `deptry`, and `yamllint`:\n+\n+   .. code-block:: shell\n+\n+       # To install the necessary dependencies:\n+       $ python -m pip install --group lint\n+       # To run individual checks\n+       $ ruff check --quiet .\n+       $ flake8 --config=.flake8 src/xclim tests\n+       $ vulture src/xclim tests\n+       $ codespell src/xclim tests docs\n+       $ numpydoc lint src/xclim/*.py src/xclim/ensembles/*.py src/xclim/indices/*.py src/xclim/indicators/*.py src/xclim/testing/*.py\n+       $ deptry src\n+       $ yamllint --config-file=.yamllint.yaml src/xclim\n+\n+   .. note::\n+\n+       `xclim` is fully type-checked with `mypy`_ (`ty`_). If your contributions are failing this check, it means that the type definitions could be better defined.\n+       For some guidance on how to do this, check the `mypy cheat sheet <https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html#cheat-sheet-py3>`_ for examples.\n+       If you are adding a new but similar compute function or indicator, following typing conventions of other similar objects will usually address these issues.\n+\n+       When in doubt, feel free to ping the `xclim` maintainers (`@xclim-core`) if you would like their input on how best to type something.\n+\n+#. When features or bug fixes have been contributed, unit tests and doctests have been added, or notebooks have been updated, use ``$ pytest`` to test them:\n+\n+   .. code-block:: shell\n+\n+       $ pytest --numprocesses=auto --dist=loadscope --no-cov --nbval --rootdir=tests/ docs/notebooks --ignore=docs/notebooks/example.ipynb  # for notebooks, exclusively.\n+       $ pytest --numprocesses=auto --rootdir=src/xclim/testing --doctest-modules src/xclim  # for doctests, exclusively.\n+       $ pytest  # for all unit tests, excluding doctests and notebooks.\n+       $ pytest -m \"not slow\"  # for all unit tests, excluding doctests, notebooks, and \"slow\" marked tests.\n+\n+   Alternatively, one can use ``$ tox`` to run very specific testing configurations, as GitHub Workflows would do when a Pull Request is submitted and new commits are pushed:\n+\n+   .. code-block:: shell\n+\n+       $ tox -e py3.11 # run tests on Python 3.11\n+       $ tox -e upstream  # run tests with upstream dependencies\n+       $ tox -e prefetch -- -m \"not slow\"  # run tests and force download of testing data, ensure tests are all offline, exclude \"slow\" marked tests\n+       $ tox -e py3.12 -- -m \"not slow\"  # run tests on Python 3.12 excluding \"slow\" marked tests\n+       $ tox -e notebooks,doctests  # run the notebook-based tests, then run the doctests\n+\n+       $ tox -m test  # run the standard tests used in GitHub Workflows\n+\n+   .. warning::\n+\n+       When running tests with `tox`, any `pytest` markers passed to `pyXX` builds (e.g. `-m \"not slow\"`) must be passed to `tox` directly. This can be done as follows:\n+\n+       .. code-block:: shell\n+\n+           $ tox -e py3.11 -- -m \"not slow\"\n+\n+       The exceptions to this rule are:\n+         - `notebooks` and `doctests`: these configurations do not pass test markers to its `pytest` call.\n+         - `offline`: this configuration runs by default with the `-m \"not requires_internet\"` test marker. Be aware that running `tox` and manually setting a `pytest` marker will override this default.\n+\n+   .. note::\n+\n+       `xclim` tests are organized to support the `pytest-xdist`_ plugin for distributed testing across workers or CPUs.\n+       In order to benefit from multiple processes, add the flag `--numprocesses=auto` or `-n auto` to your `pytest` calls.\n+\n+       When running tests via `tox`, `numprocesses` is set to the number of logical cores available (`numprocesses=logical`), with a maximum amount of `8`.\n+\n+#. Docs should also be tested to ensure that the documentation will build correctly on ReadTheDocs. This can be performed in a number of ways:\n+\n+   .. code-block:: shell\n+\n+       # To run in a contained virtualenv environment\n+       $ tox -e docs\n+       # or, alternatively, to build the docs directly\n+       $ make docs\n+\n+   .. note::\n+\n+       When building the documentation, the default behaviour is to evaluate notebooks ('`nbsphinx_execute = \"auto\"`'), rather than simply parse the content ('`nbsphinx_execute = \"never\"`').\n+       Due to their complexity, this is a very computationally demanding task and should only be performed when necessary (i.e.: when the notebooks have been modified).\n+\n+       In order to speed up documentation builds, setting a value for the environment variable \"`SKIP_NOTEBOOKS`\" (e.g. \"`$ export SKIP_NOTEBOOKS=1`\") will prevent the notebooks from being evaluated on all subsequent \"`$ tox -e docs`\" or \"`$ make docs`\" invocations.\n+\n+#. After clearing the previous checks, commit your changes and push your branch to GitHub:\n+\n+   .. code-block:: shell\n+\n+       $ git add *\n+       $ git commit -m \"Your detailed description of your changes.\"\n+\n+   If installed, `pre-commit` will run checks at this point:\n+\n+   * If no errors are found, changes will be committed.\n+   * If errors are found, modifications will be made and warnings will be raised if intervention is needed.\n+   * After addressing errors and effecting changes, simply `git commit` again:\n+\n+   .. code-block:: shell\n+\n+       $ git push origin name-of-your-bugfix-or-feature\n+\n+#. Submit a pull request through the GitHub website.\n+\n+Pull Request Guidelines\n+-----------------------\n+\n+Before you submit a pull request, please follow these guidelines:\n+\n+#. Open an *issue* on our `GitHub repository`_ with your issue that you'd like to fix or feature that you'd like to implement.\n+\n+#. Perform the changes, commit and push them either to new a branch within `Ouranosinc/xclim` or to your personal fork of xclim.\n+\n+   .. warning::\n+\n+       Try to keep your contributions within the scope of the issue that you are addressing.\n+       While it might be tempting to fix other aspects of the library as it comes up,\n+       it's better to simply to flag the problems in case others are already working on it.\n+\n+       Consider adding a \"**# TODO:**\" or \"**# FIXME:**\" comment if the need arises.\n+\n+#. Pull requests should raise test coverage for the xclim library. Code coverage is an indicator of how extensively tested the library is.\n+\n+   .. note::\n+\n+       If you are adding a new set of functions, they **must be tested** and **coverage percentage should not significantly decrease.**\n+\n+#. If the pull request adds functionality, your functions should include docstring explanations.\n+   So long as the docstrings are syntactically correct, sphinx-autodoc will be able to automatically parse the information.\n+   Please ensure that the docstrings and documentation adhere to the following standards (badly formed docstrings will fail build tests):\n+\n+   * `numpydoc`_\n+   * `reStructuredText (ReST)`_\n+\n+   .. note::\n+\n+        If you aren't accustomed to writing documentation in reStructuredText (`.rst`), we encourage you to spend a few minutes going over the\n+        incredibly well-summarized `reStructuredText Primer`_ from the sphinx-doc maintainer community.\n+\n+#. The pull request should work for all currently-supported Python versions as well as raise test coverage.\n+   Pull requests are also checked for documentation build status and for `PEP8`_ compliance.\n+   The build statuses and build errors for pull requests can be found at: https://github.com/Ouranosinc/xclim/actions\n+\n+   .. note::\n+\n+       The currently-supported Python versions are loosely based on the Scientific Python Ecosystem's `SPEC 0` schedule.\n+       Generally, when `numpy` and `xarray` drop support for a dependency, `xclim` will follow suit in a subsequent release.\n+       For more information, see the `SPEC 0 Schedule <https://scientific-python.org/specs/spec-0000/>`_\n+\n+   .. warning::\n+\n+       PEP8, black, pytest (with doctest) and pydocstyle (for numpy docstrings) conventions are strongly enforced.\n+       Ensure that your changes pass all tests prior to pushing your final commits to your branch.\n+       Code formatting errors are treated as build errors and will block your pull request from being accepted.\n+\n+#. The version changes (CHANGELOG.rst) should briefly describe changes introduced in the Pull request.\n+   Changes should be organized by type (ie: `New indicators`, `New features and enhancements`, `Breaking changes`, `Bug fixes`, `Internal changes`) and the GitHub Pull Request, GitHub Issue.\n+   Your name and/or GitHub handle should also be listed among the contributors to this version. This can be done as follows:\n+\n+   .. code-block:: restructuredtext\n+\n+       Contributors to this version: John Jacob Jingleheimer Schmidt (:user:`username`).\n+\n+       Internal changes\n+       ^^^^^^^^^^^^^^^^\n+       * Updated the contribution guidelines. (:issue:`868`, :pull:`869`).\n+\n+If this is your first contribution to `Ouranosinc/xclim`, we ask that you also add your name to the `AUTHORS.rst <https://github.com/Ouranosinc/xclim/blob/main/AUTHORS.rst>`_, under *Contributors* as well as to the `.zenodo.json <https://github.com/Ouranosinc/xclim/blob/main/.zenodo.json>`_, at the end of the *creators* block.\n+\n+Updating Testing Data\n+~~~~~~~~~~~~~~~~~~~~~\n+\n+If your code changes require changes to the testing data of `xclim` (i.e.: modifications to existing datasets or new datasets), these changes must be made via a Pull Request at the `xclim-testdata repository`_.\n+\n+`xclim` allows for developers to test specific branches/versions or forks of the `xclim-testdata` repository via the `XCLIM_TESTDATA_BRANCH` and `XCLIM_TESTDATA_REPO` environment variables, respectively, either through export, e.g.:\n+\n+.. code-block:: shell\n+\n+    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n+    $ export XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\"\n+\n+    $ pytest\n+    # or, alternatively:\n+    $ tox\n+\n+or by setting the variable at runtime:\n+\n+.. code-block:: shell\n+\n+    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" pytest\n+    # or, alternatively:\n+    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" tox\n+\n+This will ensure that tests load the appropriate testing data from this branch or repository before running.\n+\n+If you anticipate not having internet access, we suggest prefetching the testing data from `xclim-testdata repository`_ and storing it in your local cache. This can be done by running the following console command:\n+\n+.. code-block:: shell\n+\n+    $ xclim prefetch_testing_data\n+\n+If your development branch relies on a specific branch of `Ouranosinc/xclim-testdata`, you can specify this using environment variables:\n+\n+.. code-block:: shell\n+\n+    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n+    $ xclim prefetch_testing_data\n+\n+or, alternatively, with the `--branch` option:\n+\n+.. code-block:: shell\n+\n+    $ xclim prefetch_testing_data --branch my_new_branch_of_testing_data --repo \"https://github.com/my_username/xclim-testdata\"\n+\n+If you wish to test a specific branch using GitHub CI, this can be set in `.github/workflows/main.yml`:\n+\n+.. code-block:: yaml\n+\n+    env:\n+      XCLIM_TESTDATA_BRANCH: my_new_branch_of_testing_data\n+\n+.. warning::\n+\n+    In order for a Pull Request to be allowed to merge to the `main` development branch, this variable must match the latest tagged commit name on `xclim-testdata repository`_.\n+    We suggest merging changed testing data first, tagging a new version of `xclim-testdata`, then re-running tests on your Pull Request at `Ouranosinc/xclim` with the newest tag.\n+\n+Running Tests in Offline Mode\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+`xclim` testing is designed with the assumption that the machine running the tests has internet access. Many calls to `xclim` functions will attempt to download data or verify checksums from the `Ouranosinc/xclim-testdata` repository.\n+This can be problematic for developers working on features where internet access is not reliably available.\n+\n+If you wish to ensure that your feature or bugfix can be developed without internet access, `xclim` leverages the `pytest-socket`_ plugin so that testing can be run in \"offline\" mode by invoking pytest with the following options:\n+\n+.. code-block:: shell\n+\n+    $ pytest --disable-socket --allow-unix-socket -m \"not requires_internet\"\n+\n+or, alternatively, using `tox` :\n+\n+.. code-block:: shell\n+\n+    $ tox -e offline\n+\n+These options will disable all network calls and skip tests marked with the ``requires_internet`` marker.\n+The ``--allow-unix-socket`` option is required to allow the `pytest-xdist`_ plugin to function properly.\n+\n+AI Assistance Notice\n+--------------------\n+\n+.. note::\n+\n+    The following information has been adapted from AI assistance usage policies developed by `Avocado <https://avocado-framework.readthedocs.io/en/latest/guides/contributor/chapters/ai_policy.html>`_ and `ghostty <https://github.com/ghostty-org/ghostty/blob/main/AI_POLICY.md>`_\n+    with suggestions from the `xclim` developers and maintainers.\n+\n+The `xclim` developers and maintainers will consider Pull Requests that have been aided by artificial intelligence models, tools, or services.\n+For detailed information regarding compliance and operating parameters, refer to the `AI_POLICY.md` and `AGENTS.md` found in the top-level of the code repository.\n+\n+What is AI Assistance ?\n+~~~~~~~~~~~~~~~~~~~~~~~\n+\n+Within the context of `xclim` development, AI assistance constitutess any code, code snippets, configurations, documentation, or other programmatic assets produced, suggested, or significantly modified by an artificial intelligence model, tool, or service.\n+\n+AI assistance can also include code that is heavily adapted from or influenced by outputs from prompts made to generative artificial intelligence models, tools, or services.\n+\n+Usage Disclosure\n+~~~~~~~~~~~~~~~~\n+\n+If you are using any kind of AI assistance while contributing to `xclim`, **this must be disclosed in the pull request**, along with the extent to which AI assistance was used (e.g. documentation, code generation, review comments).\n+Using AI to help draft responses is allowed only if the contributor meaningfully reviews, edits, and takes full responsibility for the content.\n+Submitting AI-generated replies without human verification or understanding is not permitted.\n+Misrepresenting AI-generated content as purely human-authored is considered a violation of the contribution guidelines.",
      "tags": [
        {
          "raw": "#human-responsibility/yes",
          "namespace": "human-responsibility",
          "value": "yes",
          "dimension": "human_responsibility",
          "dimension_label": "Human responsibility",
          "kind": "value",
          "value_label": "Yes \u2014 contributor is responsible for submitted work",
          "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work",
          "filter_key": "human_responsibility:yes"
        },
        {
          "raw": "#guidance/iteration",
          "namespace": "guidance",
          "value": "iteration",
          "dimension": "guidance_type",
          "dimension_label": "Guidance type",
          "kind": "value",
          "value_label": "Iteration (human-AI cycles rather than one-shot)",
          "display": "Guidance type: Iteration (human-AI cycles rather than one-shot)",
          "filter_key": "guidance_type:iteration"
        },
        {
          "raw": "#scope/autonomous-agents:banned",
          "namespace": "scope",
          "value": "autonomous-agents",
          "qualifier": "banned",
          "dimension": "scope",
          "dimension_label": "Scope",
          "kind": "scope",
          "contribution_type": "autonomous-agents",
          "contribution_type_label": "Autonomous agents",
          "position": "banned",
          "position_label": "Banned",
          "value_label": "Autonomous agents: Banned",
          "display": "Scope: Autonomous agents \u2192 Banned",
          "filter_key": "scope:autonomous-agents:banned"
        }
      ],
      "tag_strings": [
        "#human-responsibility/yes",
        "#guidance/iteration",
        "#scope/autonomous-agents:banned"
      ],
      "displays": [
        "Human responsibility: Yes \u2014 contributor is responsible for submitted work",
        "Guidance type: Iteration (human-AI cycles rather than one-shot)",
        "Scope: Autonomous agents \u2192 Banned"
      ],
      "filter_keys": [
        "human_responsibility:yes",
        "guidance_type:iteration",
        "scope:autonomous-agents:banned"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "human_responsibility": [
          {
            "value": "yes",
            "filter_key": "human_responsibility:yes",
            "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
          }
        ],
        "guidance_type": [
          {
            "value": "iteration",
            "filter_key": "guidance_type:iteration",
            "display": "Guidance type: Iteration (human-AI cycles rather than one-shot)"
          }
        ],
        "scope": [
          {
            "contribution_type": "autonomous-agents",
            "position": "banned",
            "filter_key": "scope:autonomous-agents:banned",
            "display": "Scope: Autonomous agents \u2192 Banned"
          }
        ]
      },
      "path": "projects/xclim/CONTRIBUTING.rst",
      "project": "xclim",
      "start_line": 412,
      "line": 414,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4554135056",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T17:44:45Z",
      "updated_at": "2026-11-12T17:45:08Z"
    },
    {
      "id": 4554148068,
      "body": "#guidance-level/substantive-guidance\nfor this entire section",
      "quote": "============\nContributing\n============\n\nContributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.\n\nYou can contribute in many ways:\n\nTypes of Contributions\n----------------------\n\nImplement Features, Indices or Indicators\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n`xclim`'s structure makes it easy to create and register new user-defined indices and indicators.\nFor the general implementation of indices and their wrapping into indicators, refer to :ref:`notebooks/extendxclim:Extending xclim` and :ref:`notebooks/customize:Customizing and controlling xclim`.\n\nLook through the GitHub issues for features; Anything tagged with \"enhancement\" and \"help wanted\" is open to whoever wants to implement it.\n\nGeneral to-do list for implementing a new Indicator:\n\n#. Implement the indice\n\n    * Indices are function wrapped with :py:func:`~xclim.core.units.declare_units`\n    * Their input arguments should have type annotations, as documented in :py:class:`~xclim.core.utils.InputKind`\n    * Their docstring should follow the scheme explained in :ref:`notebooks/extendxclim:Defining new index-like compute functions`.\n    * They should set the units on their outputs, but no other metadata fields.\n    * Their code should be found in the most relevant ``src/xclim/indices/_*.py``  file. Functions are explicitly added to the ``__all__`` at the top of the file.\n\n#. Add unit tests\n\n    * Indices are best tested with made up, idealized data to explicitly test the edge cases. Many pytest fixtures are available to help this data generation.\n    * Tests should be added as one or more functions in ``tests/test_indices.py``, see other tests for inspiration.\n\n#. Add the indicator\n\n    * See :ref:`notebooks/extendxclim:Defining new indicators` for more info and look at the other indicators for inspiration.\n    * They are added in the most relevant ``src/xclim/indicators/{realm}/_*.py`` file.\n    * Indicator are instances of subclasses of :py:class:`xclim.core.indicator.Indicator`.\n      They should use a class declared within the ``{realm}`` folder, creating a dummy one if needed. They are explicitly added to the file's ``__all__``.\n\n#. Add unit tests\n\n    * Indicators are best tested with real data, also looking at missing value propagation and metadata formatting.\n      In addition to the ``atmosds`` fixture, only datasets that can be accessed with :py:func:`xclim.testing.open_dataset` should be used.\n      For convenience, this special function is accessible as the ``open_dataset`` pytest fixture.\n    * Tests are added in the most relevant ``tests/test_{variable}.py`` file.\n\n#. Add French translations\n\n    xclim comes with an internationalization module and all \"official\" indicators\n    (those in ``xclim.atmos.indicators``) must have a french translation added to ``src/xclim/data/fr.json``.\n    This part can be done by the core team after you open a Pull Request.\n\n.. note::\n\n    If you are adding new translations to the library (for languages other than French), please begin by opening a discussion on the `xclim Discussions page`_ to coordinate the scope and implementation of these translations.\n\n\nReport Bugs\n~~~~~~~~~~~\n\nReport bugs at https://github.com/Ouranosinc/xclim/issues.\n\nIf you are reporting a bug, please include:\n\n* Your operating system name and version.\n* Any details about your local setup that might be helpful in troubleshooting.\n* Detailed steps to reproduce the bug.\n\nFix Bugs\n~~~~~~~~\n\nLook through the GitHub issues for bugs. Anything tagged with \"bug\" and \"help wanted\" is open to whoever wants to implement it.\n\nWrite Documentation\n~~~~~~~~~~~~~~~~~~~\n\nxclim could always use more documentation, whether as part of the official `xclim` docs, in docstrings, or even on the web in blog posts, articles, and such.\n\nTo reference documents (article, presentation, thesis, etc) in the documentation or in a docstring, xclim uses `sphinxcontrib-bibtex`_.\nMetadata of the documents is stored as BibTeX entries in the ``docs/references.bib`` file.\nTo properly generate internal reference links, we suggest using the following roles:\n\n- For references cited in the `References` section of function docstrings, use ``:cite:cts:`label```.\n- For in-text references with first author and year, use ``:cite:t:`label```.\n- For reference citations in parentheses, use ``:cite:p:`label```.\n\nMultiple references can be added to a single role using commas (e.g. ``:cite:cts:`label1,label2,label3```).\nFor more information see: `sphinxcontrib-bibtex`_.\n\nSubmit Feedback\n~~~~~~~~~~~~~~~\n\nThe best way to send feedback is to file an issue at: https://github.com/Ouranosinc/xclim/issues.\n\nIf you are proposing a feature:\n\n* Explain in detail how it would work.\n* Keep the scope as narrow as possible, to make it easier to implement.\n* The xclim development team welcomes you and is always on hand to help. :)\n\nGet Started!\n------------\n\nReady to contribute? Here's how to set up `xclim` for local development.\n\n#. Fork the `xclim` repo on GitHub.\n\n#. Clone your fork locally:\n\n   .. code-block:: shell\n\n       $ git clone git@github.com:{my_github_username}/xclim.git\n       $ cd xclim/\n\n#. Create a development environment. We recommend using ``conda``:\n\n   .. code-block:: shell\n\n       $ conda env create --file environment.yml\n       $ conda activate xclim\n       $ python -m pip install -e . --no-deps\n\n#. Create a branch for local development:\n\n   .. code-block:: shell\n\n       $ git checkout -b name-of-your-bugfix-or-feature\n\n   Now you can make your changes locally!\n\n#. Before committing your changes, we ask that you install ``pre-commit`` in your development environment in order to run linting checks when committing code changes.\n   Pre-commit runs git hooks that ensure that your code adheres to the standards of the project and catches and corrects small errors or inconsistencies when you ``git commit``:\n\n   .. code-block:: shell\n\n       # To install the necessary pre-commit hooks:\n       $ pre-commit install\n       # To run pre-commit hooks manually:\n       $ pre-commit run --all-files\n\n   Instead of ``pre-commit``, you can also verify your changes using the `Make` recipe for code linting checks:\n\n   .. code-block:: shell\n\n       $ make lint\n\n   Or, alternatively, you can check individual hooks manually with  `ruff`, `flake8`, `flake8-rst-docstrings`, `vulture`, `codespell`, `numpydoc`, `deptry`, and `yamllint`:\n\n   .. code-block:: shell\n\n       # To install the necessary dependencies:\n       $ python -m pip install --group lint\n       # To run individual checks\n       $ ruff check --quiet .\n       $ flake8 --config=.flake8 src/xclim tests\n       $ vulture src/xclim tests\n       $ codespell src/xclim tests docs\n       $ numpydoc lint src/xclim/*.py src/xclim/ensembles/*.py src/xclim/indices/*.py src/xclim/indicators/*.py src/xclim/testing/*.py\n       $ deptry src\n       $ yamllint --config-file=.yamllint.yaml src/xclim\n\n   .. note::\n\n       `xclim` is fully type-checked with `mypy`_ (`ty`_). If your contributions are failing this check, it means that the type definitions could be better defined.\n       For some guidance on how to do this, check the `mypy cheat sheet <https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html#cheat-sheet-py3>`_ for examples.\n       If you are adding a new but similar compute function or indicator, following typing conventions of other similar objects will usually address these issues.\n\n       When in doubt, feel free to ping the `xclim` maintainers (`@xclim-core`) if you would like their input on how best to type something.\n\n#. When features or bug fixes have been contributed, unit tests and doctests have been added, or notebooks have been updated, use ``$ pytest`` to test them:\n\n   .. code-block:: shell\n\n       $ pytest --numprocesses=auto --dist=loadscope --no-cov --nbval --rootdir=tests/ docs/notebooks --ignore=docs/notebooks/example.ipynb  # for notebooks, exclusively.\n       $ pytest --numprocesses=auto --rootdir=src/xclim/testing --doctest-modules src/xclim  # for doctests, exclusively.\n       $ pytest  # for all unit tests, excluding doctests and notebooks.\n       $ pytest -m \"not slow\"  # for all unit tests, excluding doctests, notebooks, and \"slow\" marked tests.\n\n   Alternatively, one can use ``$ tox`` to run very specific testing configurations, as GitHub Workflows would do when a Pull Request is submitted and new commits are pushed:\n\n   .. code-block:: shell\n\n       $ tox -e py3.11 # run tests on Python 3.11\n       $ tox -e upstream  # run tests with upstream dependencies\n       $ tox -e prefetch -- -m \"not slow\"  # run tests and force download of testing data, ensure tests are all offline, exclude \"slow\" marked tests\n       $ tox -e py3.12 -- -m \"not slow\"  # run tests on Python 3.12 excluding \"slow\" marked tests\n       $ tox -e notebooks,doctests  # run the notebook-based tests, then run the doctests\n\n       $ tox -m test  # run the standard tests used in GitHub Workflows\n\n   .. warning::\n\n       When running tests with `tox`, any `pytest` markers passed to `pyXX` builds (e.g. `-m \"not slow\"`) must be passed to `tox` directly. This can be done as follows:\n\n       .. code-block:: shell\n\n           $ tox -e py3.11 -- -m \"not slow\"\n\n       The exceptions to this rule are:\n         - `notebooks` and `doctests`: these configurations do not pass test markers to its `pytest` call.\n         - `offline`: this configuration runs by default with the `-m \"not requires_internet\"` test marker. Be aware that running `tox` and manually setting a `pytest` marker will override this default.\n\n   .. note::\n\n       `xclim` tests are organized to support the `pytest-xdist`_ plugin for distributed testing across workers or CPUs.\n       In order to benefit from multiple processes, add the flag `--numprocesses=auto` or `-n auto` to your `pytest` calls.\n\n       When running tests via `tox`, `numprocesses` is set to the number of logical cores available (`numprocesses=logical`), with a maximum amount of `8`.\n\n#. Docs should also be tested to ensure that the documentation will build correctly on ReadTheDocs. This can be performed in a number of ways:\n\n   .. code-block:: shell\n\n       # To run in a contained virtualenv environment\n       $ tox -e docs\n       # or, alternatively, to build the docs directly\n       $ make docs\n\n   .. note::\n\n       When building the documentation, the default behaviour is to evaluate notebooks ('`nbsphinx_execute = \"auto\"`'), rather than simply parse the content ('`nbsphinx_execute = \"never\"`').\n       Due to their complexity, this is a very computationally demanding task and should only be performed when necessary (i.e.: when the notebooks have been modified).\n\n       In order to speed up documentation builds, setting a value for the environment variable \"`SKIP_NOTEBOOKS`\" (e.g. \"`$ export SKIP_NOTEBOOKS=1`\") will prevent the notebooks from being evaluated on all subsequent \"`$ tox -e docs`\" or \"`$ make docs`\" invocations.\n\n#. After clearing the previous checks, commit your changes and push your branch to GitHub:\n\n   .. code-block:: shell\n\n       $ git add *\n       $ git commit -m \"Your detailed description of your changes.\"\n\n   If installed, `pre-commit` will run checks at this point:\n\n   * If no errors are found, changes will be committed.\n   * If errors are found, modifications will be made and warnings will be raised if intervention is needed.\n   * After addressing errors and effecting changes, simply `git commit` again:\n\n   .. code-block:: shell\n\n       $ git push origin name-of-your-bugfix-or-feature\n\n#. Submit a pull request through the GitHub website.\n\nPull Request Guidelines\n-----------------------\n\nBefore you submit a pull request, please follow these guidelines:\n\n#. Open an *issue* on our `GitHub repository`_ with your issue that you'd like to fix or feature that you'd like to implement.\n\n#. Perform the changes, commit and push them either to new a branch within `Ouranosinc/xclim` or to your personal fork of xclim.\n\n   .. warning::\n\n       Try to keep your contributions within the scope of the issue that you are addressing.\n       While it might be tempting to fix other aspects of the library as it comes up,\n       it's better to simply to flag the problems in case others are already working on it.\n\n       Consider adding a \"**# TODO:**\" or \"**# FIXME:**\" comment if the need arises.\n\n#. Pull requests should raise test coverage for the xclim library. Code coverage is an indicator of how extensively tested the library is.\n\n   .. note::\n\n       If you are adding a new set of functions, they **must be tested** and **coverage percentage should not significantly decrease.**\n\n#. If the pull request adds functionality, your functions should include docstring explanations.\n   So long as the docstrings are syntactically correct, sphinx-autodoc will be able to automatically parse the information.\n   Please ensure that the docstrings and documentation adhere to the following standards (badly formed docstrings will fail build tests):\n\n   * `numpydoc`_\n   * `reStructuredText (ReST)`_\n\n   .. note::\n\n        If you aren't accustomed to writing documentation in reStructuredText (`.rst`), we encourage you to spend a few minutes going over the\n        incredibly well-summarized `reStructuredText Primer`_ from the sphinx-doc maintainer community.\n\n#. The pull request should work for all currently-supported Python versions as well as raise test coverage.\n   Pull requests are also checked for documentation build status and for `PEP8`_ compliance.\n   The build statuses and build errors for pull requests can be found at: https://github.com/Ouranosinc/xclim/actions\n\n   .. note::\n\n       The currently-supported Python versions are loosely based on the Scientific Python Ecosystem's `SPEC 0` schedule.\n       Generally, when `numpy` and `xarray` drop support for a dependency, `xclim` will follow suit in a subsequent release.\n       For more information, see the `SPEC 0 Schedule <https://scientific-python.org/specs/spec-0000/>`_\n\n   .. warning::\n\n       PEP8, black, pytest (with doctest) and pydocstyle (for numpy docstrings) conventions are strongly enforced.\n       Ensure that your changes pass all tests prior to pushing your final commits to your branch.\n       Code formatting errors are treated as build errors and will block your pull request from being accepted.\n\n#. The version changes (CHANGELOG.rst) should briefly describe changes introduced in the Pull request.\n   Changes should be organized by type (ie: `New indicators`, `New features and enhancements`, `Breaking changes`, `Bug fixes`, `Internal changes`) and the GitHub Pull Request, GitHub Issue.\n   Your name and/or GitHub handle should also be listed among the contributors to this version. This can be done as follows:\n\n   .. code-block:: restructuredtext\n\n       Contributors to this version: John Jacob Jingleheimer Schmidt (:user:`username`).\n\n       Internal changes\n       ^^^^^^^^^^^^^^^^\n       * Updated the contribution guidelines. (:issue:`868`, :pull:`869`).\n\nIf this is your first contribution to `Ouranosinc/xclim`, we ask that you also add your name to the `AUTHORS.rst <https://github.com/Ouranosinc/xclim/blob/main/AUTHORS.rst>`_, under *Contributors* as well as to the `.zenodo.json <https://github.com/Ouranosinc/xclim/blob/main/.zenodo.json>`_, at the end of the *creators* block.\n\nUpdating Testing Data\n~~~~~~~~~~~~~~~~~~~~~\n\nIf your code changes require changes to the testing data of `xclim` (i.e.: modifications to existing datasets or new datasets), these changes must be made via a Pull Request at the `xclim-testdata repository`_.\n\n`xclim` allows for developers to test specific branches/versions or forks of the `xclim-testdata` repository via the `XCLIM_TESTDATA_BRANCH` and `XCLIM_TESTDATA_REPO` environment variables, respectively, either through export, e.g.:\n\n.. code-block:: shell\n\n    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n    $ export XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\"\n\n    $ pytest\n    # or, alternatively:\n    $ tox\n\nor by setting the variable at runtime:\n\n.. code-block:: shell\n\n    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" pytest\n    # or, alternatively:\n    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" tox\n\nThis will ensure that tests load the appropriate testing data from this branch or repository before running.\n\nIf you anticipate not having internet access, we suggest prefetching the testing data from `xclim-testdata repository`_ and storing it in your local cache. This can be done by running the following console command:\n\n.. code-block:: shell\n\n    $ xclim prefetch_testing_data\n\nIf your development branch relies on a specific branch of `Ouranosinc/xclim-testdata`, you can specify this using environment variables:\n\n.. code-block:: shell\n\n    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n    $ xclim prefetch_testing_data\n\nor, alternatively, with the `--branch` option:\n\n.. code-block:: shell\n\n    $ xclim prefetch_testing_data --branch my_new_branch_of_testing_data --repo \"https://github.com/my_username/xclim-testdata\"\n\nIf you wish to test a specific branch using GitHub CI, this can be set in `.github/workflows/main.yml`:\n\n.. code-block:: yaml\n\n    env:\n      XCLIM_TESTDATA_BRANCH: my_new_branch_of_testing_data\n\n.. warning::\n\n    In order for a Pull Request to be allowed to merge to the `main` development branch, this variable must match the latest tagged commit name on `xclim-testdata repository`_.\n    We suggest merging changed testing data first, tagging a new version of `xclim-testdata`, then re-running tests on your Pull Request at `Ouranosinc/xclim` with the newest tag.\n\nRunning Tests in Offline Mode\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n`xclim` testing is designed with the assumption that the machine running the tests has internet access. Many calls to `xclim` functions will attempt to download data or verify checksums from the `Ouranosinc/xclim-testdata` repository.\nThis can be problematic for developers working on features where internet access is not reliably available.\n\nIf you wish to ensure that your feature or bugfix can be developed without internet access, `xclim` leverages the `pytest-socket`_ plugin so that testing can be run in \"offline\" mode by invoking pytest with the following options:\n\n.. code-block:: shell\n\n    $ pytest --disable-socket --allow-unix-socket -m \"not requires_internet\"\n\nor, alternatively, using `tox` :\n\n.. code-block:: shell\n\n    $ tox -e offline\n\nThese options will disable all network calls and skip tests marked with the ``requires_internet`` marker.\nThe ``--allow-unix-socket`` option is required to allow the `pytest-xdist`_ plugin to function properly.\n\nAI Assistance Notice\n--------------------\n\n.. note::\n\n    The following information has been adapted from AI assistance usage policies developed by `Avocado <https://avocado-framework.readthedocs.io/en/latest/guides/contributor/chapters/ai_policy.html>`_ and `ghostty <https://github.com/ghostty-org/ghostty/blob/main/AI_POLICY.md>`_\n    with suggestions from the `xclim` developers and maintainers.\n\nThe `xclim` developers and maintainers will consider Pull Requests that have been aided by artificial intelligence models, tools, or services.\nFor detailed information regarding compliance and operating parameters, refer to the `AI_POLICY.md` and `AGENTS.md` found in the top-level of the code repository.\n\nWhat is AI Assistance ?\n~~~~~~~~~~~~~~~~~~~~~~~\n\nWithin the context of `xclim` development, AI assistance constitutess any code, code snippets, configurations, documentation, or other programmatic assets produced, suggested, or significantly modified by an artificial intelligence model, tool, or service.\n\nAI assistance can also include code that is heavily adapted from or influenced by outputs from prompts made to generative artificial intelligence models, tools, or services.\n\nUsage Disclosure",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,630 @@\n+============\n+Contributing\n+============\n+\n+Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.\n+\n+You can contribute in many ways:\n+\n+Types of Contributions\n+----------------------\n+\n+Implement Features, Indices or Indicators\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+`xclim`'s structure makes it easy to create and register new user-defined indices and indicators.\n+For the general implementation of indices and their wrapping into indicators, refer to :ref:`notebooks/extendxclim:Extending xclim` and :ref:`notebooks/customize:Customizing and controlling xclim`.\n+\n+Look through the GitHub issues for features; Anything tagged with \"enhancement\" and \"help wanted\" is open to whoever wants to implement it.\n+\n+General to-do list for implementing a new Indicator:\n+\n+#. Implement the indice\n+\n+    * Indices are function wrapped with :py:func:`~xclim.core.units.declare_units`\n+    * Their input arguments should have type annotations, as documented in :py:class:`~xclim.core.utils.InputKind`\n+    * Their docstring should follow the scheme explained in :ref:`notebooks/extendxclim:Defining new index-like compute functions`.\n+    * They should set the units on their outputs, but no other metadata fields.\n+    * Their code should be found in the most relevant ``src/xclim/indices/_*.py``  file. Functions are explicitly added to the ``__all__`` at the top of the file.\n+\n+#. Add unit tests\n+\n+    * Indices are best tested with made up, idealized data to explicitly test the edge cases. Many pytest fixtures are available to help this data generation.\n+    * Tests should be added as one or more functions in ``tests/test_indices.py``, see other tests for inspiration.\n+\n+#. Add the indicator\n+\n+    * See :ref:`notebooks/extendxclim:Defining new indicators` for more info and look at the other indicators for inspiration.\n+    * They are added in the most relevant ``src/xclim/indicators/{realm}/_*.py`` file.\n+    * Indicator are instances of subclasses of :py:class:`xclim.core.indicator.Indicator`.\n+      They should use a class declared within the ``{realm}`` folder, creating a dummy one if needed. They are explicitly added to the file's ``__all__``.\n+\n+#. Add unit tests\n+\n+    * Indicators are best tested with real data, also looking at missing value propagation and metadata formatting.\n+      In addition to the ``atmosds`` fixture, only datasets that can be accessed with :py:func:`xclim.testing.open_dataset` should be used.\n+      For convenience, this special function is accessible as the ``open_dataset`` pytest fixture.\n+    * Tests are added in the most relevant ``tests/test_{variable}.py`` file.\n+\n+#. Add French translations\n+\n+    xclim comes with an internationalization module and all \"official\" indicators\n+    (those in ``xclim.atmos.indicators``) must have a french translation added to ``src/xclim/data/fr.json``.\n+    This part can be done by the core team after you open a Pull Request.\n+\n+.. note::\n+\n+    If you are adding new translations to the library (for languages other than French), please begin by opening a discussion on the `xclim Discussions page`_ to coordinate the scope and implementation of these translations.\n+\n+\n+Report Bugs\n+~~~~~~~~~~~\n+\n+Report bugs at https://github.com/Ouranosinc/xclim/issues.\n+\n+If you are reporting a bug, please include:\n+\n+* Your operating system name and version.\n+* Any details about your local setup that might be helpful in troubleshooting.\n+* Detailed steps to reproduce the bug.\n+\n+Fix Bugs\n+~~~~~~~~\n+\n+Look through the GitHub issues for bugs. Anything tagged with \"bug\" and \"help wanted\" is open to whoever wants to implement it.\n+\n+Write Documentation\n+~~~~~~~~~~~~~~~~~~~\n+\n+xclim could always use more documentation, whether as part of the official `xclim` docs, in docstrings, or even on the web in blog posts, articles, and such.\n+\n+To reference documents (article, presentation, thesis, etc) in the documentation or in a docstring, xclim uses `sphinxcontrib-bibtex`_.\n+Metadata of the documents is stored as BibTeX entries in the ``docs/references.bib`` file.\n+To properly generate internal reference links, we suggest using the following roles:\n+\n+- For references cited in the `References` section of function docstrings, use ``:cite:cts:`label```.\n+- For in-text references with first author and year, use ``:cite:t:`label```.\n+- For reference citations in parentheses, use ``:cite:p:`label```.\n+\n+Multiple references can be added to a single role using commas (e.g. ``:cite:cts:`label1,label2,label3```).\n+For more information see: `sphinxcontrib-bibtex`_.\n+\n+Submit Feedback\n+~~~~~~~~~~~~~~~\n+\n+The best way to send feedback is to file an issue at: https://github.com/Ouranosinc/xclim/issues.\n+\n+If you are proposing a feature:\n+\n+* Explain in detail how it would work.\n+* Keep the scope as narrow as possible, to make it easier to implement.\n+* The xclim development team welcomes you and is always on hand to help. :)\n+\n+Get Started!\n+------------\n+\n+Ready to contribute? Here's how to set up `xclim` for local development.\n+\n+#. Fork the `xclim` repo on GitHub.\n+\n+#. Clone your fork locally:\n+\n+   .. code-block:: shell\n+\n+       $ git clone git@github.com:{my_github_username}/xclim.git\n+       $ cd xclim/\n+\n+#. Create a development environment. We recommend using ``conda``:\n+\n+   .. code-block:: shell\n+\n+       $ conda env create --file environment.yml\n+       $ conda activate xclim\n+       $ python -m pip install -e . --no-deps\n+\n+#. Create a branch for local development:\n+\n+   .. code-block:: shell\n+\n+       $ git checkout -b name-of-your-bugfix-or-feature\n+\n+   Now you can make your changes locally!\n+\n+#. Before committing your changes, we ask that you install ``pre-commit`` in your development environment in order to run linting checks when committing code changes.\n+   Pre-commit runs git hooks that ensure that your code adheres to the standards of the project and catches and corrects small errors or inconsistencies when you ``git commit``:\n+\n+   .. code-block:: shell\n+\n+       # To install the necessary pre-commit hooks:\n+       $ pre-commit install\n+       # To run pre-commit hooks manually:\n+       $ pre-commit run --all-files\n+\n+   Instead of ``pre-commit``, you can also verify your changes using the `Make` recipe for code linting checks:\n+\n+   .. code-block:: shell\n+\n+       $ make lint\n+\n+   Or, alternatively, you can check individual hooks manually with  `ruff`, `flake8`, `flake8-rst-docstrings`, `vulture`, `codespell`, `numpydoc`, `deptry`, and `yamllint`:\n+\n+   .. code-block:: shell\n+\n+       # To install the necessary dependencies:\n+       $ python -m pip install --group lint\n+       # To run individual checks\n+       $ ruff check --quiet .\n+       $ flake8 --config=.flake8 src/xclim tests\n+       $ vulture src/xclim tests\n+       $ codespell src/xclim tests docs\n+       $ numpydoc lint src/xclim/*.py src/xclim/ensembles/*.py src/xclim/indices/*.py src/xclim/indicators/*.py src/xclim/testing/*.py\n+       $ deptry src\n+       $ yamllint --config-file=.yamllint.yaml src/xclim\n+\n+   .. note::\n+\n+       `xclim` is fully type-checked with `mypy`_ (`ty`_). If your contributions are failing this check, it means that the type definitions could be better defined.\n+       For some guidance on how to do this, check the `mypy cheat sheet <https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html#cheat-sheet-py3>`_ for examples.\n+       If you are adding a new but similar compute function or indicator, following typing conventions of other similar objects will usually address these issues.\n+\n+       When in doubt, feel free to ping the `xclim` maintainers (`@xclim-core`) if you would like their input on how best to type something.\n+\n+#. When features or bug fixes have been contributed, unit tests and doctests have been added, or notebooks have been updated, use ``$ pytest`` to test them:\n+\n+   .. code-block:: shell\n+\n+       $ pytest --numprocesses=auto --dist=loadscope --no-cov --nbval --rootdir=tests/ docs/notebooks --ignore=docs/notebooks/example.ipynb  # for notebooks, exclusively.\n+       $ pytest --numprocesses=auto --rootdir=src/xclim/testing --doctest-modules src/xclim  # for doctests, exclusively.\n+       $ pytest  # for all unit tests, excluding doctests and notebooks.\n+       $ pytest -m \"not slow\"  # for all unit tests, excluding doctests, notebooks, and \"slow\" marked tests.\n+\n+   Alternatively, one can use ``$ tox`` to run very specific testing configurations, as GitHub Workflows would do when a Pull Request is submitted and new commits are pushed:\n+\n+   .. code-block:: shell\n+\n+       $ tox -e py3.11 # run tests on Python 3.11\n+       $ tox -e upstream  # run tests with upstream dependencies\n+       $ tox -e prefetch -- -m \"not slow\"  # run tests and force download of testing data, ensure tests are all offline, exclude \"slow\" marked tests\n+       $ tox -e py3.12 -- -m \"not slow\"  # run tests on Python 3.12 excluding \"slow\" marked tests\n+       $ tox -e notebooks,doctests  # run the notebook-based tests, then run the doctests\n+\n+       $ tox -m test  # run the standard tests used in GitHub Workflows\n+\n+   .. warning::\n+\n+       When running tests with `tox`, any `pytest` markers passed to `pyXX` builds (e.g. `-m \"not slow\"`) must be passed to `tox` directly. This can be done as follows:\n+\n+       .. code-block:: shell\n+\n+           $ tox -e py3.11 -- -m \"not slow\"\n+\n+       The exceptions to this rule are:\n+         - `notebooks` and `doctests`: these configurations do not pass test markers to its `pytest` call.\n+         - `offline`: this configuration runs by default with the `-m \"not requires_internet\"` test marker. Be aware that running `tox` and manually setting a `pytest` marker will override this default.\n+\n+   .. note::\n+\n+       `xclim` tests are organized to support the `pytest-xdist`_ plugin for distributed testing across workers or CPUs.\n+       In order to benefit from multiple processes, add the flag `--numprocesses=auto` or `-n auto` to your `pytest` calls.\n+\n+       When running tests via `tox`, `numprocesses` is set to the number of logical cores available (`numprocesses=logical`), with a maximum amount of `8`.\n+\n+#. Docs should also be tested to ensure that the documentation will build correctly on ReadTheDocs. This can be performed in a number of ways:\n+\n+   .. code-block:: shell\n+\n+       # To run in a contained virtualenv environment\n+       $ tox -e docs\n+       # or, alternatively, to build the docs directly\n+       $ make docs\n+\n+   .. note::\n+\n+       When building the documentation, the default behaviour is to evaluate notebooks ('`nbsphinx_execute = \"auto\"`'), rather than simply parse the content ('`nbsphinx_execute = \"never\"`').\n+       Due to their complexity, this is a very computationally demanding task and should only be performed when necessary (i.e.: when the notebooks have been modified).\n+\n+       In order to speed up documentation builds, setting a value for the environment variable \"`SKIP_NOTEBOOKS`\" (e.g. \"`$ export SKIP_NOTEBOOKS=1`\") will prevent the notebooks from being evaluated on all subsequent \"`$ tox -e docs`\" or \"`$ make docs`\" invocations.\n+\n+#. After clearing the previous checks, commit your changes and push your branch to GitHub:\n+\n+   .. code-block:: shell\n+\n+       $ git add *\n+       $ git commit -m \"Your detailed description of your changes.\"\n+\n+   If installed, `pre-commit` will run checks at this point:\n+\n+   * If no errors are found, changes will be committed.\n+   * If errors are found, modifications will be made and warnings will be raised if intervention is needed.\n+   * After addressing errors and effecting changes, simply `git commit` again:\n+\n+   .. code-block:: shell\n+\n+       $ git push origin name-of-your-bugfix-or-feature\n+\n+#. Submit a pull request through the GitHub website.\n+\n+Pull Request Guidelines\n+-----------------------\n+\n+Before you submit a pull request, please follow these guidelines:\n+\n+#. Open an *issue* on our `GitHub repository`_ with your issue that you'd like to fix or feature that you'd like to implement.\n+\n+#. Perform the changes, commit and push them either to new a branch within `Ouranosinc/xclim` or to your personal fork of xclim.\n+\n+   .. warning::\n+\n+       Try to keep your contributions within the scope of the issue that you are addressing.\n+       While it might be tempting to fix other aspects of the library as it comes up,\n+       it's better to simply to flag the problems in case others are already working on it.\n+\n+       Consider adding a \"**# TODO:**\" or \"**# FIXME:**\" comment if the need arises.\n+\n+#. Pull requests should raise test coverage for the xclim library. Code coverage is an indicator of how extensively tested the library is.\n+\n+   .. note::\n+\n+       If you are adding a new set of functions, they **must be tested** and **coverage percentage should not significantly decrease.**\n+\n+#. If the pull request adds functionality, your functions should include docstring explanations.\n+   So long as the docstrings are syntactically correct, sphinx-autodoc will be able to automatically parse the information.\n+   Please ensure that the docstrings and documentation adhere to the following standards (badly formed docstrings will fail build tests):\n+\n+   * `numpydoc`_\n+   * `reStructuredText (ReST)`_\n+\n+   .. note::\n+\n+        If you aren't accustomed to writing documentation in reStructuredText (`.rst`), we encourage you to spend a few minutes going over the\n+        incredibly well-summarized `reStructuredText Primer`_ from the sphinx-doc maintainer community.\n+\n+#. The pull request should work for all currently-supported Python versions as well as raise test coverage.\n+   Pull requests are also checked for documentation build status and for `PEP8`_ compliance.\n+   The build statuses and build errors for pull requests can be found at: https://github.com/Ouranosinc/xclim/actions\n+\n+   .. note::\n+\n+       The currently-supported Python versions are loosely based on the Scientific Python Ecosystem's `SPEC 0` schedule.\n+       Generally, when `numpy` and `xarray` drop support for a dependency, `xclim` will follow suit in a subsequent release.\n+       For more information, see the `SPEC 0 Schedule <https://scientific-python.org/specs/spec-0000/>`_\n+\n+   .. warning::\n+\n+       PEP8, black, pytest (with doctest) and pydocstyle (for numpy docstrings) conventions are strongly enforced.\n+       Ensure that your changes pass all tests prior to pushing your final commits to your branch.\n+       Code formatting errors are treated as build errors and will block your pull request from being accepted.\n+\n+#. The version changes (CHANGELOG.rst) should briefly describe changes introduced in the Pull request.\n+   Changes should be organized by type (ie: `New indicators`, `New features and enhancements`, `Breaking changes`, `Bug fixes`, `Internal changes`) and the GitHub Pull Request, GitHub Issue.\n+   Your name and/or GitHub handle should also be listed among the contributors to this version. This can be done as follows:\n+\n+   .. code-block:: restructuredtext\n+\n+       Contributors to this version: John Jacob Jingleheimer Schmidt (:user:`username`).\n+\n+       Internal changes\n+       ^^^^^^^^^^^^^^^^\n+       * Updated the contribution guidelines. (:issue:`868`, :pull:`869`).\n+\n+If this is your first contribution to `Ouranosinc/xclim`, we ask that you also add your name to the `AUTHORS.rst <https://github.com/Ouranosinc/xclim/blob/main/AUTHORS.rst>`_, under *Contributors* as well as to the `.zenodo.json <https://github.com/Ouranosinc/xclim/blob/main/.zenodo.json>`_, at the end of the *creators* block.\n+\n+Updating Testing Data\n+~~~~~~~~~~~~~~~~~~~~~\n+\n+If your code changes require changes to the testing data of `xclim` (i.e.: modifications to existing datasets or new datasets), these changes must be made via a Pull Request at the `xclim-testdata repository`_.\n+\n+`xclim` allows for developers to test specific branches/versions or forks of the `xclim-testdata` repository via the `XCLIM_TESTDATA_BRANCH` and `XCLIM_TESTDATA_REPO` environment variables, respectively, either through export, e.g.:\n+\n+.. code-block:: shell\n+\n+    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n+    $ export XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\"\n+\n+    $ pytest\n+    # or, alternatively:\n+    $ tox\n+\n+or by setting the variable at runtime:\n+\n+.. code-block:: shell\n+\n+    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" pytest\n+    # or, alternatively:\n+    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" tox\n+\n+This will ensure that tests load the appropriate testing data from this branch or repository before running.\n+\n+If you anticipate not having internet access, we suggest prefetching the testing data from `xclim-testdata repository`_ and storing it in your local cache. This can be done by running the following console command:\n+\n+.. code-block:: shell\n+\n+    $ xclim prefetch_testing_data\n+\n+If your development branch relies on a specific branch of `Ouranosinc/xclim-testdata`, you can specify this using environment variables:\n+\n+.. code-block:: shell\n+\n+    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n+    $ xclim prefetch_testing_data\n+\n+or, alternatively, with the `--branch` option:\n+\n+.. code-block:: shell\n+\n+    $ xclim prefetch_testing_data --branch my_new_branch_of_testing_data --repo \"https://github.com/my_username/xclim-testdata\"\n+\n+If you wish to test a specific branch using GitHub CI, this can be set in `.github/workflows/main.yml`:\n+\n+.. code-block:: yaml\n+\n+    env:\n+      XCLIM_TESTDATA_BRANCH: my_new_branch_of_testing_data\n+\n+.. warning::\n+\n+    In order for a Pull Request to be allowed to merge to the `main` development branch, this variable must match the latest tagged commit name on `xclim-testdata repository`_.\n+    We suggest merging changed testing data first, tagging a new version of `xclim-testdata`, then re-running tests on your Pull Request at `Ouranosinc/xclim` with the newest tag.\n+\n+Running Tests in Offline Mode\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+`xclim` testing is designed with the assumption that the machine running the tests has internet access. Many calls to `xclim` functions will attempt to download data or verify checksums from the `Ouranosinc/xclim-testdata` repository.\n+This can be problematic for developers working on features where internet access is not reliably available.\n+\n+If you wish to ensure that your feature or bugfix can be developed without internet access, `xclim` leverages the `pytest-socket`_ plugin so that testing can be run in \"offline\" mode by invoking pytest with the following options:\n+\n+.. code-block:: shell\n+\n+    $ pytest --disable-socket --allow-unix-socket -m \"not requires_internet\"\n+\n+or, alternatively, using `tox` :\n+\n+.. code-block:: shell\n+\n+    $ tox -e offline\n+\n+These options will disable all network calls and skip tests marked with the ``requires_internet`` marker.\n+The ``--allow-unix-socket`` option is required to allow the `pytest-xdist`_ plugin to function properly.\n+\n+AI Assistance Notice\n+--------------------\n+\n+.. note::\n+\n+    The following information has been adapted from AI assistance usage policies developed by `Avocado <https://avocado-framework.readthedocs.io/en/latest/guides/contributor/chapters/ai_policy.html>`_ and `ghostty <https://github.com/ghostty-org/ghostty/blob/main/AI_POLICY.md>`_\n+    with suggestions from the `xclim` developers and maintainers.\n+\n+The `xclim` developers and maintainers will consider Pull Requests that have been aided by artificial intelligence models, tools, or services.\n+For detailed information regarding compliance and operating parameters, refer to the `AI_POLICY.md` and `AGENTS.md` found in the top-level of the code repository.\n+\n+What is AI Assistance ?\n+~~~~~~~~~~~~~~~~~~~~~~~\n+\n+Within the context of `xclim` development, AI assistance constitutess any code, code snippets, configurations, documentation, or other programmatic assets produced, suggested, or significantly modified by an artificial intelligence model, tool, or service.\n+\n+AI assistance can also include code that is heavily adapted from or influenced by outputs from prompts made to generative artificial intelligence models, tools, or services.\n+\n+Usage Disclosure",
      "tags": [
        {
          "raw": "#guidance-level/substantive-guidance",
          "namespace": "guidance-level",
          "value": "substantive-guidance",
          "dimension": "guidance_level",
          "dimension_label": "Guidance level",
          "kind": "value",
          "value_label": "Substantive guidance",
          "display": "Guidance level: Substantive guidance",
          "filter_key": "guidance_level:substantive-guidance"
        }
      ],
      "tag_strings": [
        "#guidance-level/substantive-guidance"
      ],
      "displays": [
        "Guidance level: Substantive guidance"
      ],
      "filter_keys": [
        "guidance_level:substantive-guidance"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "guidance_level": [
          {
            "value": "substantive-guidance",
            "filter_key": "guidance_level:substantive-guidance",
            "display": "Guidance level: Substantive guidance"
          }
        ]
      },
      "path": "projects/xclim/CONTRIBUTING.rst",
      "project": "xclim",
      "start_line": 408,
      "line": 408,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4554148068",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T17:45:57Z",
      "updated_at": "2026-11-12T17:45:57Z"
    },
    {
      "id": 4554157927,
      "body": "#stance/permissive-with-conditions\n#guidance/iteration\n#human-responsibility/yes",
      "quote": "============\nContributing\n============\n\nContributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.\n\nYou can contribute in many ways:\n\nTypes of Contributions\n----------------------\n\nImplement Features, Indices or Indicators\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n`xclim`'s structure makes it easy to create and register new user-defined indices and indicators.\nFor the general implementation of indices and their wrapping into indicators, refer to :ref:`notebooks/extendxclim:Extending xclim` and :ref:`notebooks/customize:Customizing and controlling xclim`.\n\nLook through the GitHub issues for features; Anything tagged with \"enhancement\" and \"help wanted\" is open to whoever wants to implement it.\n\nGeneral to-do list for implementing a new Indicator:\n\n#. Implement the indice\n\n    * Indices are function wrapped with :py:func:`~xclim.core.units.declare_units`\n    * Their input arguments should have type annotations, as documented in :py:class:`~xclim.core.utils.InputKind`\n    * Their docstring should follow the scheme explained in :ref:`notebooks/extendxclim:Defining new index-like compute functions`.\n    * They should set the units on their outputs, but no other metadata fields.\n    * Their code should be found in the most relevant ``src/xclim/indices/_*.py``  file. Functions are explicitly added to the ``__all__`` at the top of the file.\n\n#. Add unit tests\n\n    * Indices are best tested with made up, idealized data to explicitly test the edge cases. Many pytest fixtures are available to help this data generation.\n    * Tests should be added as one or more functions in ``tests/test_indices.py``, see other tests for inspiration.\n\n#. Add the indicator\n\n    * See :ref:`notebooks/extendxclim:Defining new indicators` for more info and look at the other indicators for inspiration.\n    * They are added in the most relevant ``src/xclim/indicators/{realm}/_*.py`` file.\n    * Indicator are instances of subclasses of :py:class:`xclim.core.indicator.Indicator`.\n      They should use a class declared within the ``{realm}`` folder, creating a dummy one if needed. They are explicitly added to the file's ``__all__``.\n\n#. Add unit tests\n\n    * Indicators are best tested with real data, also looking at missing value propagation and metadata formatting.\n      In addition to the ``atmosds`` fixture, only datasets that can be accessed with :py:func:`xclim.testing.open_dataset` should be used.\n      For convenience, this special function is accessible as the ``open_dataset`` pytest fixture.\n    * Tests are added in the most relevant ``tests/test_{variable}.py`` file.\n\n#. Add French translations\n\n    xclim comes with an internationalization module and all \"official\" indicators\n    (those in ``xclim.atmos.indicators``) must have a french translation added to ``src/xclim/data/fr.json``.\n    This part can be done by the core team after you open a Pull Request.\n\n.. note::\n\n    If you are adding new translations to the library (for languages other than French), please begin by opening a discussion on the `xclim Discussions page`_ to coordinate the scope and implementation of these translations.\n\n\nReport Bugs\n~~~~~~~~~~~\n\nReport bugs at https://github.com/Ouranosinc/xclim/issues.\n\nIf you are reporting a bug, please include:\n\n* Your operating system name and version.\n* Any details about your local setup that might be helpful in troubleshooting.\n* Detailed steps to reproduce the bug.\n\nFix Bugs\n~~~~~~~~\n\nLook through the GitHub issues for bugs. Anything tagged with \"bug\" and \"help wanted\" is open to whoever wants to implement it.\n\nWrite Documentation\n~~~~~~~~~~~~~~~~~~~\n\nxclim could always use more documentation, whether as part of the official `xclim` docs, in docstrings, or even on the web in blog posts, articles, and such.\n\nTo reference documents (article, presentation, thesis, etc) in the documentation or in a docstring, xclim uses `sphinxcontrib-bibtex`_.\nMetadata of the documents is stored as BibTeX entries in the ``docs/references.bib`` file.\nTo properly generate internal reference links, we suggest using the following roles:\n\n- For references cited in the `References` section of function docstrings, use ``:cite:cts:`label```.\n- For in-text references with first author and year, use ``:cite:t:`label```.\n- For reference citations in parentheses, use ``:cite:p:`label```.\n\nMultiple references can be added to a single role using commas (e.g. ``:cite:cts:`label1,label2,label3```).\nFor more information see: `sphinxcontrib-bibtex`_.\n\nSubmit Feedback\n~~~~~~~~~~~~~~~\n\nThe best way to send feedback is to file an issue at: https://github.com/Ouranosinc/xclim/issues.\n\nIf you are proposing a feature:\n\n* Explain in detail how it would work.\n* Keep the scope as narrow as possible, to make it easier to implement.\n* The xclim development team welcomes you and is always on hand to help. :)\n\nGet Started!\n------------\n\nReady to contribute? Here's how to set up `xclim` for local development.\n\n#. Fork the `xclim` repo on GitHub.\n\n#. Clone your fork locally:\n\n   .. code-block:: shell\n\n       $ git clone git@github.com:{my_github_username}/xclim.git\n       $ cd xclim/\n\n#. Create a development environment. We recommend using ``conda``:\n\n   .. code-block:: shell\n\n       $ conda env create --file environment.yml\n       $ conda activate xclim\n       $ python -m pip install -e . --no-deps\n\n#. Create a branch for local development:\n\n   .. code-block:: shell\n\n       $ git checkout -b name-of-your-bugfix-or-feature\n\n   Now you can make your changes locally!\n\n#. Before committing your changes, we ask that you install ``pre-commit`` in your development environment in order to run linting checks when committing code changes.\n   Pre-commit runs git hooks that ensure that your code adheres to the standards of the project and catches and corrects small errors or inconsistencies when you ``git commit``:\n\n   .. code-block:: shell\n\n       # To install the necessary pre-commit hooks:\n       $ pre-commit install\n       # To run pre-commit hooks manually:\n       $ pre-commit run --all-files\n\n   Instead of ``pre-commit``, you can also verify your changes using the `Make` recipe for code linting checks:\n\n   .. code-block:: shell\n\n       $ make lint\n\n   Or, alternatively, you can check individual hooks manually with  `ruff`, `flake8`, `flake8-rst-docstrings`, `vulture`, `codespell`, `numpydoc`, `deptry`, and `yamllint`:\n\n   .. code-block:: shell\n\n       # To install the necessary dependencies:\n       $ python -m pip install --group lint\n       # To run individual checks\n       $ ruff check --quiet .\n       $ flake8 --config=.flake8 src/xclim tests\n       $ vulture src/xclim tests\n       $ codespell src/xclim tests docs\n       $ numpydoc lint src/xclim/*.py src/xclim/ensembles/*.py src/xclim/indices/*.py src/xclim/indicators/*.py src/xclim/testing/*.py\n       $ deptry src\n       $ yamllint --config-file=.yamllint.yaml src/xclim\n\n   .. note::\n\n       `xclim` is fully type-checked with `mypy`_ (`ty`_). If your contributions are failing this check, it means that the type definitions could be better defined.\n       For some guidance on how to do this, check the `mypy cheat sheet <https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html#cheat-sheet-py3>`_ for examples.\n       If you are adding a new but similar compute function or indicator, following typing conventions of other similar objects will usually address these issues.\n\n       When in doubt, feel free to ping the `xclim` maintainers (`@xclim-core`) if you would like their input on how best to type something.\n\n#. When features or bug fixes have been contributed, unit tests and doctests have been added, or notebooks have been updated, use ``$ pytest`` to test them:\n\n   .. code-block:: shell\n\n       $ pytest --numprocesses=auto --dist=loadscope --no-cov --nbval --rootdir=tests/ docs/notebooks --ignore=docs/notebooks/example.ipynb  # for notebooks, exclusively.\n       $ pytest --numprocesses=auto --rootdir=src/xclim/testing --doctest-modules src/xclim  # for doctests, exclusively.\n       $ pytest  # for all unit tests, excluding doctests and notebooks.\n       $ pytest -m \"not slow\"  # for all unit tests, excluding doctests, notebooks, and \"slow\" marked tests.\n\n   Alternatively, one can use ``$ tox`` to run very specific testing configurations, as GitHub Workflows would do when a Pull Request is submitted and new commits are pushed:\n\n   .. code-block:: shell\n\n       $ tox -e py3.11 # run tests on Python 3.11\n       $ tox -e upstream  # run tests with upstream dependencies\n       $ tox -e prefetch -- -m \"not slow\"  # run tests and force download of testing data, ensure tests are all offline, exclude \"slow\" marked tests\n       $ tox -e py3.12 -- -m \"not slow\"  # run tests on Python 3.12 excluding \"slow\" marked tests\n       $ tox -e notebooks,doctests  # run the notebook-based tests, then run the doctests\n\n       $ tox -m test  # run the standard tests used in GitHub Workflows\n\n   .. warning::\n\n       When running tests with `tox`, any `pytest` markers passed to `pyXX` builds (e.g. `-m \"not slow\"`) must be passed to `tox` directly. This can be done as follows:\n\n       .. code-block:: shell\n\n           $ tox -e py3.11 -- -m \"not slow\"\n\n       The exceptions to this rule are:\n         - `notebooks` and `doctests`: these configurations do not pass test markers to its `pytest` call.\n         - `offline`: this configuration runs by default with the `-m \"not requires_internet\"` test marker. Be aware that running `tox` and manually setting a `pytest` marker will override this default.\n\n   .. note::\n\n       `xclim` tests are organized to support the `pytest-xdist`_ plugin for distributed testing across workers or CPUs.\n       In order to benefit from multiple processes, add the flag `--numprocesses=auto` or `-n auto` to your `pytest` calls.\n\n       When running tests via `tox`, `numprocesses` is set to the number of logical cores available (`numprocesses=logical`), with a maximum amount of `8`.\n\n#. Docs should also be tested to ensure that the documentation will build correctly on ReadTheDocs. This can be performed in a number of ways:\n\n   .. code-block:: shell\n\n       # To run in a contained virtualenv environment\n       $ tox -e docs\n       # or, alternatively, to build the docs directly\n       $ make docs\n\n   .. note::\n\n       When building the documentation, the default behaviour is to evaluate notebooks ('`nbsphinx_execute = \"auto\"`'), rather than simply parse the content ('`nbsphinx_execute = \"never\"`').\n       Due to their complexity, this is a very computationally demanding task and should only be performed when necessary (i.e.: when the notebooks have been modified).\n\n       In order to speed up documentation builds, setting a value for the environment variable \"`SKIP_NOTEBOOKS`\" (e.g. \"`$ export SKIP_NOTEBOOKS=1`\") will prevent the notebooks from being evaluated on all subsequent \"`$ tox -e docs`\" or \"`$ make docs`\" invocations.\n\n#. After clearing the previous checks, commit your changes and push your branch to GitHub:\n\n   .. code-block:: shell\n\n       $ git add *\n       $ git commit -m \"Your detailed description of your changes.\"\n\n   If installed, `pre-commit` will run checks at this point:\n\n   * If no errors are found, changes will be committed.\n   * If errors are found, modifications will be made and warnings will be raised if intervention is needed.\n   * After addressing errors and effecting changes, simply `git commit` again:\n\n   .. code-block:: shell\n\n       $ git push origin name-of-your-bugfix-or-feature\n\n#. Submit a pull request through the GitHub website.\n\nPull Request Guidelines\n-----------------------\n\nBefore you submit a pull request, please follow these guidelines:\n\n#. Open an *issue* on our `GitHub repository`_ with your issue that you'd like to fix or feature that you'd like to implement.\n\n#. Perform the changes, commit and push them either to new a branch within `Ouranosinc/xclim` or to your personal fork of xclim.\n\n   .. warning::\n\n       Try to keep your contributions within the scope of the issue that you are addressing.\n       While it might be tempting to fix other aspects of the library as it comes up,\n       it's better to simply to flag the problems in case others are already working on it.\n\n       Consider adding a \"**# TODO:**\" or \"**# FIXME:**\" comment if the need arises.\n\n#. Pull requests should raise test coverage for the xclim library. Code coverage is an indicator of how extensively tested the library is.\n\n   .. note::\n\n       If you are adding a new set of functions, they **must be tested** and **coverage percentage should not significantly decrease.**\n\n#. If the pull request adds functionality, your functions should include docstring explanations.\n   So long as the docstrings are syntactically correct, sphinx-autodoc will be able to automatically parse the information.\n   Please ensure that the docstrings and documentation adhere to the following standards (badly formed docstrings will fail build tests):\n\n   * `numpydoc`_\n   * `reStructuredText (ReST)`_\n\n   .. note::\n\n        If you aren't accustomed to writing documentation in reStructuredText (`.rst`), we encourage you to spend a few minutes going over the\n        incredibly well-summarized `reStructuredText Primer`_ from the sphinx-doc maintainer community.\n\n#. The pull request should work for all currently-supported Python versions as well as raise test coverage.\n   Pull requests are also checked for documentation build status and for `PEP8`_ compliance.\n   The build statuses and build errors for pull requests can be found at: https://github.com/Ouranosinc/xclim/actions\n\n   .. note::\n\n       The currently-supported Python versions are loosely based on the Scientific Python Ecosystem's `SPEC 0` schedule.\n       Generally, when `numpy` and `xarray` drop support for a dependency, `xclim` will follow suit in a subsequent release.\n       For more information, see the `SPEC 0 Schedule <https://scientific-python.org/specs/spec-0000/>`_\n\n   .. warning::\n\n       PEP8, black, pytest (with doctest) and pydocstyle (for numpy docstrings) conventions are strongly enforced.\n       Ensure that your changes pass all tests prior to pushing your final commits to your branch.\n       Code formatting errors are treated as build errors and will block your pull request from being accepted.\n\n#. The version changes (CHANGELOG.rst) should briefly describe changes introduced in the Pull request.\n   Changes should be organized by type (ie: `New indicators`, `New features and enhancements`, `Breaking changes`, `Bug fixes`, `Internal changes`) and the GitHub Pull Request, GitHub Issue.\n   Your name and/or GitHub handle should also be listed among the contributors to this version. This can be done as follows:\n\n   .. code-block:: restructuredtext\n\n       Contributors to this version: John Jacob Jingleheimer Schmidt (:user:`username`).\n\n       Internal changes\n       ^^^^^^^^^^^^^^^^\n       * Updated the contribution guidelines. (:issue:`868`, :pull:`869`).\n\nIf this is your first contribution to `Ouranosinc/xclim`, we ask that you also add your name to the `AUTHORS.rst <https://github.com/Ouranosinc/xclim/blob/main/AUTHORS.rst>`_, under *Contributors* as well as to the `.zenodo.json <https://github.com/Ouranosinc/xclim/blob/main/.zenodo.json>`_, at the end of the *creators* block.\n\nUpdating Testing Data\n~~~~~~~~~~~~~~~~~~~~~\n\nIf your code changes require changes to the testing data of `xclim` (i.e.: modifications to existing datasets or new datasets), these changes must be made via a Pull Request at the `xclim-testdata repository`_.\n\n`xclim` allows for developers to test specific branches/versions or forks of the `xclim-testdata` repository via the `XCLIM_TESTDATA_BRANCH` and `XCLIM_TESTDATA_REPO` environment variables, respectively, either through export, e.g.:\n\n.. code-block:: shell\n\n    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n    $ export XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\"\n\n    $ pytest\n    # or, alternatively:\n    $ tox\n\nor by setting the variable at runtime:\n\n.. code-block:: shell\n\n    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" pytest\n    # or, alternatively:\n    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" tox\n\nThis will ensure that tests load the appropriate testing data from this branch or repository before running.\n\nIf you anticipate not having internet access, we suggest prefetching the testing data from `xclim-testdata repository`_ and storing it in your local cache. This can be done by running the following console command:\n\n.. code-block:: shell\n\n    $ xclim prefetch_testing_data\n\nIf your development branch relies on a specific branch of `Ouranosinc/xclim-testdata`, you can specify this using environment variables:\n\n.. code-block:: shell\n\n    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n    $ xclim prefetch_testing_data\n\nor, alternatively, with the `--branch` option:\n\n.. code-block:: shell\n\n    $ xclim prefetch_testing_data --branch my_new_branch_of_testing_data --repo \"https://github.com/my_username/xclim-testdata\"\n\nIf you wish to test a specific branch using GitHub CI, this can be set in `.github/workflows/main.yml`:\n\n.. code-block:: yaml\n\n    env:\n      XCLIM_TESTDATA_BRANCH: my_new_branch_of_testing_data\n\n.. warning::\n\n    In order for a Pull Request to be allowed to merge to the `main` development branch, this variable must match the latest tagged commit name on `xclim-testdata repository`_.\n    We suggest merging changed testing data first, tagging a new version of `xclim-testdata`, then re-running tests on your Pull Request at `Ouranosinc/xclim` with the newest tag.\n\nRunning Tests in Offline Mode\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n`xclim` testing is designed with the assumption that the machine running the tests has internet access. Many calls to `xclim` functions will attempt to download data or verify checksums from the `Ouranosinc/xclim-testdata` repository.\nThis can be problematic for developers working on features where internet access is not reliably available.\n\nIf you wish to ensure that your feature or bugfix can be developed without internet access, `xclim` leverages the `pytest-socket`_ plugin so that testing can be run in \"offline\" mode by invoking pytest with the following options:\n\n.. code-block:: shell\n\n    $ pytest --disable-socket --allow-unix-socket -m \"not requires_internet\"\n\nor, alternatively, using `tox` :\n\n.. code-block:: shell\n\n    $ tox -e offline\n\nThese options will disable all network calls and skip tests marked with the ``requires_internet`` marker.\nThe ``--allow-unix-socket`` option is required to allow the `pytest-xdist`_ plugin to function properly.\n\nAI Assistance Notice\n--------------------\n\n.. note::\n\n    The following information has been adapted from AI assistance usage policies developed by `Avocado <https://avocado-framework.readthedocs.io/en/latest/guides/contributor/chapters/ai_policy.html>`_ and `ghostty <https://github.com/ghostty-org/ghostty/blob/main/AI_POLICY.md>`_\n    with suggestions from the `xclim` developers and maintainers.\n\nThe `xclim` developers and maintainers will consider Pull Requests that have been aided by artificial intelligence models, tools, or services.\nFor detailed information regarding compliance and operating parameters, refer to the `AI_POLICY.md` and `AGENTS.md` found in the top-level of the code repository.\n\nWhat is AI Assistance ?\n~~~~~~~~~~~~~~~~~~~~~~~\n\nWithin the context of `xclim` development, AI assistance constitutess any code, code snippets, configurations, documentation, or other programmatic assets produced, suggested, or significantly modified by an artificial intelligence model, tool, or service.\n\nAI assistance can also include code that is heavily adapted from or influenced by outputs from prompts made to generative artificial intelligence models, tools, or services.\n\nUsage Disclosure\n~~~~~~~~~~~~~~~~\n\nIf you are using any kind of AI assistance while contributing to `xclim`, **this must be disclosed in the pull request**, along with the extent to which AI assistance was used (e.g. documentation, code generation, review comments).\nUsing AI to help draft responses is allowed only if the contributor meaningfully reviews, edits, and takes full responsibility for the content.\nSubmitting AI-generated replies without human verification or understanding is not permitted.\nMisrepresenting AI-generated content as purely human-authored is considered a violation of the contribution guidelines.\n\nSome example disclosures:\n\n.. admonition:: Pull Request Description\n\n    ### Other information:\n\n    * This PR was primarily written using a combination of OpenClaw (Kimi K2.5) and ChatGPT (GPT-o4-mini). After using these tools, I reviewed the content.\n\n    <!-- or -->\n\n    * This PR was primarily written by me with small code snippets copy-pasted from chats with Claude (Sonnet 4.6).\n\n    <!-- or -->\n\n    * I asked GitHub Copilot to clean up and improve code I had written. I then reviewed the final product.\n\nAs a small exception, trivial tab-completion doesn't need to be disclosed, so long as it is limited to single keywords or short phrases.\n\nFor commits originating exclusively from AI, we also ask that their commits are signed with \"Assisted-by: <tool name>\" disclosure (this demand is repeated in `AGENTS.md`):\n\n.. admonition:: Commit Message\n\n    Added new indicator for sub-tropical Easter snowstorm events\n\n    Assisted-by: Claude Opus 4.5\n\nFailing to disclose the use of artificial intelligence models, tools, or services is disrespectful to the developers and maintainers of open source software projects.\nWe ask that contributors are forthcoming with this information so that the effort and scrutiny applied to Pull Request reviews can be adjusted accordingly.\n\nCode Review\n~~~~~~~~~~~\n\nAll AI-assisted code contributions must be reviewed by both the human contributor prior to opening the Pull Request as well as by a human reviewer prior to approval and merging to the `main` branch.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,630 @@\n+============\n+Contributing\n+============\n+\n+Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.\n+\n+You can contribute in many ways:\n+\n+Types of Contributions\n+----------------------\n+\n+Implement Features, Indices or Indicators\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+`xclim`'s structure makes it easy to create and register new user-defined indices and indicators.\n+For the general implementation of indices and their wrapping into indicators, refer to :ref:`notebooks/extendxclim:Extending xclim` and :ref:`notebooks/customize:Customizing and controlling xclim`.\n+\n+Look through the GitHub issues for features; Anything tagged with \"enhancement\" and \"help wanted\" is open to whoever wants to implement it.\n+\n+General to-do list for implementing a new Indicator:\n+\n+#. Implement the indice\n+\n+    * Indices are function wrapped with :py:func:`~xclim.core.units.declare_units`\n+    * Their input arguments should have type annotations, as documented in :py:class:`~xclim.core.utils.InputKind`\n+    * Their docstring should follow the scheme explained in :ref:`notebooks/extendxclim:Defining new index-like compute functions`.\n+    * They should set the units on their outputs, but no other metadata fields.\n+    * Their code should be found in the most relevant ``src/xclim/indices/_*.py``  file. Functions are explicitly added to the ``__all__`` at the top of the file.\n+\n+#. Add unit tests\n+\n+    * Indices are best tested with made up, idealized data to explicitly test the edge cases. Many pytest fixtures are available to help this data generation.\n+    * Tests should be added as one or more functions in ``tests/test_indices.py``, see other tests for inspiration.\n+\n+#. Add the indicator\n+\n+    * See :ref:`notebooks/extendxclim:Defining new indicators` for more info and look at the other indicators for inspiration.\n+    * They are added in the most relevant ``src/xclim/indicators/{realm}/_*.py`` file.\n+    * Indicator are instances of subclasses of :py:class:`xclim.core.indicator.Indicator`.\n+      They should use a class declared within the ``{realm}`` folder, creating a dummy one if needed. They are explicitly added to the file's ``__all__``.\n+\n+#. Add unit tests\n+\n+    * Indicators are best tested with real data, also looking at missing value propagation and metadata formatting.\n+      In addition to the ``atmosds`` fixture, only datasets that can be accessed with :py:func:`xclim.testing.open_dataset` should be used.\n+      For convenience, this special function is accessible as the ``open_dataset`` pytest fixture.\n+    * Tests are added in the most relevant ``tests/test_{variable}.py`` file.\n+\n+#. Add French translations\n+\n+    xclim comes with an internationalization module and all \"official\" indicators\n+    (those in ``xclim.atmos.indicators``) must have a french translation added to ``src/xclim/data/fr.json``.\n+    This part can be done by the core team after you open a Pull Request.\n+\n+.. note::\n+\n+    If you are adding new translations to the library (for languages other than French), please begin by opening a discussion on the `xclim Discussions page`_ to coordinate the scope and implementation of these translations.\n+\n+\n+Report Bugs\n+~~~~~~~~~~~\n+\n+Report bugs at https://github.com/Ouranosinc/xclim/issues.\n+\n+If you are reporting a bug, please include:\n+\n+* Your operating system name and version.\n+* Any details about your local setup that might be helpful in troubleshooting.\n+* Detailed steps to reproduce the bug.\n+\n+Fix Bugs\n+~~~~~~~~\n+\n+Look through the GitHub issues for bugs. Anything tagged with \"bug\" and \"help wanted\" is open to whoever wants to implement it.\n+\n+Write Documentation\n+~~~~~~~~~~~~~~~~~~~\n+\n+xclim could always use more documentation, whether as part of the official `xclim` docs, in docstrings, or even on the web in blog posts, articles, and such.\n+\n+To reference documents (article, presentation, thesis, etc) in the documentation or in a docstring, xclim uses `sphinxcontrib-bibtex`_.\n+Metadata of the documents is stored as BibTeX entries in the ``docs/references.bib`` file.\n+To properly generate internal reference links, we suggest using the following roles:\n+\n+- For references cited in the `References` section of function docstrings, use ``:cite:cts:`label```.\n+- For in-text references with first author and year, use ``:cite:t:`label```.\n+- For reference citations in parentheses, use ``:cite:p:`label```.\n+\n+Multiple references can be added to a single role using commas (e.g. ``:cite:cts:`label1,label2,label3```).\n+For more information see: `sphinxcontrib-bibtex`_.\n+\n+Submit Feedback\n+~~~~~~~~~~~~~~~\n+\n+The best way to send feedback is to file an issue at: https://github.com/Ouranosinc/xclim/issues.\n+\n+If you are proposing a feature:\n+\n+* Explain in detail how it would work.\n+* Keep the scope as narrow as possible, to make it easier to implement.\n+* The xclim development team welcomes you and is always on hand to help. :)\n+\n+Get Started!\n+------------\n+\n+Ready to contribute? Here's how to set up `xclim` for local development.\n+\n+#. Fork the `xclim` repo on GitHub.\n+\n+#. Clone your fork locally:\n+\n+   .. code-block:: shell\n+\n+       $ git clone git@github.com:{my_github_username}/xclim.git\n+       $ cd xclim/\n+\n+#. Create a development environment. We recommend using ``conda``:\n+\n+   .. code-block:: shell\n+\n+       $ conda env create --file environment.yml\n+       $ conda activate xclim\n+       $ python -m pip install -e . --no-deps\n+\n+#. Create a branch for local development:\n+\n+   .. code-block:: shell\n+\n+       $ git checkout -b name-of-your-bugfix-or-feature\n+\n+   Now you can make your changes locally!\n+\n+#. Before committing your changes, we ask that you install ``pre-commit`` in your development environment in order to run linting checks when committing code changes.\n+   Pre-commit runs git hooks that ensure that your code adheres to the standards of the project and catches and corrects small errors or inconsistencies when you ``git commit``:\n+\n+   .. code-block:: shell\n+\n+       # To install the necessary pre-commit hooks:\n+       $ pre-commit install\n+       # To run pre-commit hooks manually:\n+       $ pre-commit run --all-files\n+\n+   Instead of ``pre-commit``, you can also verify your changes using the `Make` recipe for code linting checks:\n+\n+   .. code-block:: shell\n+\n+       $ make lint\n+\n+   Or, alternatively, you can check individual hooks manually with  `ruff`, `flake8`, `flake8-rst-docstrings`, `vulture`, `codespell`, `numpydoc`, `deptry`, and `yamllint`:\n+\n+   .. code-block:: shell\n+\n+       # To install the necessary dependencies:\n+       $ python -m pip install --group lint\n+       # To run individual checks\n+       $ ruff check --quiet .\n+       $ flake8 --config=.flake8 src/xclim tests\n+       $ vulture src/xclim tests\n+       $ codespell src/xclim tests docs\n+       $ numpydoc lint src/xclim/*.py src/xclim/ensembles/*.py src/xclim/indices/*.py src/xclim/indicators/*.py src/xclim/testing/*.py\n+       $ deptry src\n+       $ yamllint --config-file=.yamllint.yaml src/xclim\n+\n+   .. note::\n+\n+       `xclim` is fully type-checked with `mypy`_ (`ty`_). If your contributions are failing this check, it means that the type definitions could be better defined.\n+       For some guidance on how to do this, check the `mypy cheat sheet <https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html#cheat-sheet-py3>`_ for examples.\n+       If you are adding a new but similar compute function or indicator, following typing conventions of other similar objects will usually address these issues.\n+\n+       When in doubt, feel free to ping the `xclim` maintainers (`@xclim-core`) if you would like their input on how best to type something.\n+\n+#. When features or bug fixes have been contributed, unit tests and doctests have been added, or notebooks have been updated, use ``$ pytest`` to test them:\n+\n+   .. code-block:: shell\n+\n+       $ pytest --numprocesses=auto --dist=loadscope --no-cov --nbval --rootdir=tests/ docs/notebooks --ignore=docs/notebooks/example.ipynb  # for notebooks, exclusively.\n+       $ pytest --numprocesses=auto --rootdir=src/xclim/testing --doctest-modules src/xclim  # for doctests, exclusively.\n+       $ pytest  # for all unit tests, excluding doctests and notebooks.\n+       $ pytest -m \"not slow\"  # for all unit tests, excluding doctests, notebooks, and \"slow\" marked tests.\n+\n+   Alternatively, one can use ``$ tox`` to run very specific testing configurations, as GitHub Workflows would do when a Pull Request is submitted and new commits are pushed:\n+\n+   .. code-block:: shell\n+\n+       $ tox -e py3.11 # run tests on Python 3.11\n+       $ tox -e upstream  # run tests with upstream dependencies\n+       $ tox -e prefetch -- -m \"not slow\"  # run tests and force download of testing data, ensure tests are all offline, exclude \"slow\" marked tests\n+       $ tox -e py3.12 -- -m \"not slow\"  # run tests on Python 3.12 excluding \"slow\" marked tests\n+       $ tox -e notebooks,doctests  # run the notebook-based tests, then run the doctests\n+\n+       $ tox -m test  # run the standard tests used in GitHub Workflows\n+\n+   .. warning::\n+\n+       When running tests with `tox`, any `pytest` markers passed to `pyXX` builds (e.g. `-m \"not slow\"`) must be passed to `tox` directly. This can be done as follows:\n+\n+       .. code-block:: shell\n+\n+           $ tox -e py3.11 -- -m \"not slow\"\n+\n+       The exceptions to this rule are:\n+         - `notebooks` and `doctests`: these configurations do not pass test markers to its `pytest` call.\n+         - `offline`: this configuration runs by default with the `-m \"not requires_internet\"` test marker. Be aware that running `tox` and manually setting a `pytest` marker will override this default.\n+\n+   .. note::\n+\n+       `xclim` tests are organized to support the `pytest-xdist`_ plugin for distributed testing across workers or CPUs.\n+       In order to benefit from multiple processes, add the flag `--numprocesses=auto` or `-n auto` to your `pytest` calls.\n+\n+       When running tests via `tox`, `numprocesses` is set to the number of logical cores available (`numprocesses=logical`), with a maximum amount of `8`.\n+\n+#. Docs should also be tested to ensure that the documentation will build correctly on ReadTheDocs. This can be performed in a number of ways:\n+\n+   .. code-block:: shell\n+\n+       # To run in a contained virtualenv environment\n+       $ tox -e docs\n+       # or, alternatively, to build the docs directly\n+       $ make docs\n+\n+   .. note::\n+\n+       When building the documentation, the default behaviour is to evaluate notebooks ('`nbsphinx_execute = \"auto\"`'), rather than simply parse the content ('`nbsphinx_execute = \"never\"`').\n+       Due to their complexity, this is a very computationally demanding task and should only be performed when necessary (i.e.: when the notebooks have been modified).\n+\n+       In order to speed up documentation builds, setting a value for the environment variable \"`SKIP_NOTEBOOKS`\" (e.g. \"`$ export SKIP_NOTEBOOKS=1`\") will prevent the notebooks from being evaluated on all subsequent \"`$ tox -e docs`\" or \"`$ make docs`\" invocations.\n+\n+#. After clearing the previous checks, commit your changes and push your branch to GitHub:\n+\n+   .. code-block:: shell\n+\n+       $ git add *\n+       $ git commit -m \"Your detailed description of your changes.\"\n+\n+   If installed, `pre-commit` will run checks at this point:\n+\n+   * If no errors are found, changes will be committed.\n+   * If errors are found, modifications will be made and warnings will be raised if intervention is needed.\n+   * After addressing errors and effecting changes, simply `git commit` again:\n+\n+   .. code-block:: shell\n+\n+       $ git push origin name-of-your-bugfix-or-feature\n+\n+#. Submit a pull request through the GitHub website.\n+\n+Pull Request Guidelines\n+-----------------------\n+\n+Before you submit a pull request, please follow these guidelines:\n+\n+#. Open an *issue* on our `GitHub repository`_ with your issue that you'd like to fix or feature that you'd like to implement.\n+\n+#. Perform the changes, commit and push them either to new a branch within `Ouranosinc/xclim` or to your personal fork of xclim.\n+\n+   .. warning::\n+\n+       Try to keep your contributions within the scope of the issue that you are addressing.\n+       While it might be tempting to fix other aspects of the library as it comes up,\n+       it's better to simply to flag the problems in case others are already working on it.\n+\n+       Consider adding a \"**# TODO:**\" or \"**# FIXME:**\" comment if the need arises.\n+\n+#. Pull requests should raise test coverage for the xclim library. Code coverage is an indicator of how extensively tested the library is.\n+\n+   .. note::\n+\n+       If you are adding a new set of functions, they **must be tested** and **coverage percentage should not significantly decrease.**\n+\n+#. If the pull request adds functionality, your functions should include docstring explanations.\n+   So long as the docstrings are syntactically correct, sphinx-autodoc will be able to automatically parse the information.\n+   Please ensure that the docstrings and documentation adhere to the following standards (badly formed docstrings will fail build tests):\n+\n+   * `numpydoc`_\n+   * `reStructuredText (ReST)`_\n+\n+   .. note::\n+\n+        If you aren't accustomed to writing documentation in reStructuredText (`.rst`), we encourage you to spend a few minutes going over the\n+        incredibly well-summarized `reStructuredText Primer`_ from the sphinx-doc maintainer community.\n+\n+#. The pull request should work for all currently-supported Python versions as well as raise test coverage.\n+   Pull requests are also checked for documentation build status and for `PEP8`_ compliance.\n+   The build statuses and build errors for pull requests can be found at: https://github.com/Ouranosinc/xclim/actions\n+\n+   .. note::\n+\n+       The currently-supported Python versions are loosely based on the Scientific Python Ecosystem's `SPEC 0` schedule.\n+       Generally, when `numpy` and `xarray` drop support for a dependency, `xclim` will follow suit in a subsequent release.\n+       For more information, see the `SPEC 0 Schedule <https://scientific-python.org/specs/spec-0000/>`_\n+\n+   .. warning::\n+\n+       PEP8, black, pytest (with doctest) and pydocstyle (for numpy docstrings) conventions are strongly enforced.\n+       Ensure that your changes pass all tests prior to pushing your final commits to your branch.\n+       Code formatting errors are treated as build errors and will block your pull request from being accepted.\n+\n+#. The version changes (CHANGELOG.rst) should briefly describe changes introduced in the Pull request.\n+   Changes should be organized by type (ie: `New indicators`, `New features and enhancements`, `Breaking changes`, `Bug fixes`, `Internal changes`) and the GitHub Pull Request, GitHub Issue.\n+   Your name and/or GitHub handle should also be listed among the contributors to this version. This can be done as follows:\n+\n+   .. code-block:: restructuredtext\n+\n+       Contributors to this version: John Jacob Jingleheimer Schmidt (:user:`username`).\n+\n+       Internal changes\n+       ^^^^^^^^^^^^^^^^\n+       * Updated the contribution guidelines. (:issue:`868`, :pull:`869`).\n+\n+If this is your first contribution to `Ouranosinc/xclim`, we ask that you also add your name to the `AUTHORS.rst <https://github.com/Ouranosinc/xclim/blob/main/AUTHORS.rst>`_, under *Contributors* as well as to the `.zenodo.json <https://github.com/Ouranosinc/xclim/blob/main/.zenodo.json>`_, at the end of the *creators* block.\n+\n+Updating Testing Data\n+~~~~~~~~~~~~~~~~~~~~~\n+\n+If your code changes require changes to the testing data of `xclim` (i.e.: modifications to existing datasets or new datasets), these changes must be made via a Pull Request at the `xclim-testdata repository`_.\n+\n+`xclim` allows for developers to test specific branches/versions or forks of the `xclim-testdata` repository via the `XCLIM_TESTDATA_BRANCH` and `XCLIM_TESTDATA_REPO` environment variables, respectively, either through export, e.g.:\n+\n+.. code-block:: shell\n+\n+    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n+    $ export XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\"\n+\n+    $ pytest\n+    # or, alternatively:\n+    $ tox\n+\n+or by setting the variable at runtime:\n+\n+.. code-block:: shell\n+\n+    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" pytest\n+    # or, alternatively:\n+    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" tox\n+\n+This will ensure that tests load the appropriate testing data from this branch or repository before running.\n+\n+If you anticipate not having internet access, we suggest prefetching the testing data from `xclim-testdata repository`_ and storing it in your local cache. This can be done by running the following console command:\n+\n+.. code-block:: shell\n+\n+    $ xclim prefetch_testing_data\n+\n+If your development branch relies on a specific branch of `Ouranosinc/xclim-testdata`, you can specify this using environment variables:\n+\n+.. code-block:: shell\n+\n+    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n+    $ xclim prefetch_testing_data\n+\n+or, alternatively, with the `--branch` option:\n+\n+.. code-block:: shell\n+\n+    $ xclim prefetch_testing_data --branch my_new_branch_of_testing_data --repo \"https://github.com/my_username/xclim-testdata\"\n+\n+If you wish to test a specific branch using GitHub CI, this can be set in `.github/workflows/main.yml`:\n+\n+.. code-block:: yaml\n+\n+    env:\n+      XCLIM_TESTDATA_BRANCH: my_new_branch_of_testing_data\n+\n+.. warning::\n+\n+    In order for a Pull Request to be allowed to merge to the `main` development branch, this variable must match the latest tagged commit name on `xclim-testdata repository`_.\n+    We suggest merging changed testing data first, tagging a new version of `xclim-testdata`, then re-running tests on your Pull Request at `Ouranosinc/xclim` with the newest tag.\n+\n+Running Tests in Offline Mode\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+`xclim` testing is designed with the assumption that the machine running the tests has internet access. Many calls to `xclim` functions will attempt to download data or verify checksums from the `Ouranosinc/xclim-testdata` repository.\n+This can be problematic for developers working on features where internet access is not reliably available.\n+\n+If you wish to ensure that your feature or bugfix can be developed without internet access, `xclim` leverages the `pytest-socket`_ plugin so that testing can be run in \"offline\" mode by invoking pytest with the following options:\n+\n+.. code-block:: shell\n+\n+    $ pytest --disable-socket --allow-unix-socket -m \"not requires_internet\"\n+\n+or, alternatively, using `tox` :\n+\n+.. code-block:: shell\n+\n+    $ tox -e offline\n+\n+These options will disable all network calls and skip tests marked with the ``requires_internet`` marker.\n+The ``--allow-unix-socket`` option is required to allow the `pytest-xdist`_ plugin to function properly.\n+\n+AI Assistance Notice\n+--------------------\n+\n+.. note::\n+\n+    The following information has been adapted from AI assistance usage policies developed by `Avocado <https://avocado-framework.readthedocs.io/en/latest/guides/contributor/chapters/ai_policy.html>`_ and `ghostty <https://github.com/ghostty-org/ghostty/blob/main/AI_POLICY.md>`_\n+    with suggestions from the `xclim` developers and maintainers.\n+\n+The `xclim` developers and maintainers will consider Pull Requests that have been aided by artificial intelligence models, tools, or services.\n+For detailed information regarding compliance and operating parameters, refer to the `AI_POLICY.md` and `AGENTS.md` found in the top-level of the code repository.\n+\n+What is AI Assistance ?\n+~~~~~~~~~~~~~~~~~~~~~~~\n+\n+Within the context of `xclim` development, AI assistance constitutess any code, code snippets, configurations, documentation, or other programmatic assets produced, suggested, or significantly modified by an artificial intelligence model, tool, or service.\n+\n+AI assistance can also include code that is heavily adapted from or influenced by outputs from prompts made to generative artificial intelligence models, tools, or services.\n+\n+Usage Disclosure\n+~~~~~~~~~~~~~~~~\n+\n+If you are using any kind of AI assistance while contributing to `xclim`, **this must be disclosed in the pull request**, along with the extent to which AI assistance was used (e.g. documentation, code generation, review comments).\n+Using AI to help draft responses is allowed only if the contributor meaningfully reviews, edits, and takes full responsibility for the content.\n+Submitting AI-generated replies without human verification or understanding is not permitted.\n+Misrepresenting AI-generated content as purely human-authored is considered a violation of the contribution guidelines.\n+\n+Some example disclosures:\n+\n+.. admonition:: Pull Request Description\n+\n+    ### Other information:\n+\n+    * This PR was primarily written using a combination of OpenClaw (Kimi K2.5) and ChatGPT (GPT-o4-mini). After using these tools, I reviewed the content.\n+\n+    <!-- or -->\n+\n+    * This PR was primarily written by me with small code snippets copy-pasted from chats with Claude (Sonnet 4.6).\n+\n+    <!-- or -->\n+\n+    * I asked GitHub Copilot to clean up and improve code I had written. I then reviewed the final product.\n+\n+As a small exception, trivial tab-completion doesn't need to be disclosed, so long as it is limited to single keywords or short phrases.\n+\n+For commits originating exclusively from AI, we also ask that their commits are signed with \"Assisted-by: <tool name>\" disclosure (this demand is repeated in `AGENTS.md`):\n+\n+.. admonition:: Commit Message\n+\n+    Added new indicator for sub-tropical Easter snowstorm events\n+\n+    Assisted-by: Claude Opus 4.5\n+\n+Failing to disclose the use of artificial intelligence models, tools, or services is disrespectful to the developers and maintainers of open source software projects.\n+We ask that contributors are forthcoming with this information so that the effort and scrutiny applied to Pull Request reviews can be adjusted accordingly.\n+\n+Code Review\n+~~~~~~~~~~~\n+\n+All AI-assisted code contributions must be reviewed by both the human contributor prior to opening the Pull Request as well as by a human reviewer prior to approval and merging to the `main` branch.",
      "tags": [
        {
          "raw": "#stance/permissive-with-conditions",
          "namespace": "stance",
          "value": "permissive-with-conditions",
          "dimension": "stance",
          "dimension_label": "Stance",
          "kind": "value",
          "value_label": "Permissive with conditions",
          "display": "Stance: Permissive with conditions",
          "filter_key": "stance:permissive-with-conditions"
        },
        {
          "raw": "#guidance/iteration",
          "namespace": "guidance",
          "value": "iteration",
          "dimension": "guidance_type",
          "dimension_label": "Guidance type",
          "kind": "value",
          "value_label": "Iteration (human-AI cycles rather than one-shot)",
          "display": "Guidance type: Iteration (human-AI cycles rather than one-shot)",
          "filter_key": "guidance_type:iteration"
        },
        {
          "raw": "#human-responsibility/yes",
          "namespace": "human-responsibility",
          "value": "yes",
          "dimension": "human_responsibility",
          "dimension_label": "Human responsibility",
          "kind": "value",
          "value_label": "Yes \u2014 contributor is responsible for submitted work",
          "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work",
          "filter_key": "human_responsibility:yes"
        }
      ],
      "tag_strings": [
        "#stance/permissive-with-conditions",
        "#guidance/iteration",
        "#human-responsibility/yes"
      ],
      "displays": [
        "Stance: Permissive with conditions",
        "Guidance type: Iteration (human-AI cycles rather than one-shot)",
        "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
      ],
      "filter_keys": [
        "stance:permissive-with-conditions",
        "guidance_type:iteration",
        "human_responsibility:yes"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "stance": [
          {
            "value": "permissive-with-conditions",
            "filter_key": "stance:permissive-with-conditions",
            "display": "Stance: Permissive with conditions"
          }
        ],
        "guidance_type": [
          {
            "value": "iteration",
            "filter_key": "guidance_type:iteration",
            "display": "Guidance type: Iteration (human-AI cycles rather than one-shot)"
          }
        ],
        "human_responsibility": [
          {
            "value": "yes",
            "filter_key": "human_responsibility:yes",
            "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
          }
        ]
      },
      "path": "projects/xclim/CONTRIBUTING.rst",
      "project": "xclim",
      "start_line": 448,
      "line": 448,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4554157927",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T17:46:51Z",
      "updated_at": "2026-11-12T17:46:52Z"
    },
    {
      "id": 4554161335,
      "body": "#human-responsibility/yes",
      "quote": "============\nContributing\n============\n\nContributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.\n\nYou can contribute in many ways:\n\nTypes of Contributions\n----------------------\n\nImplement Features, Indices or Indicators\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n`xclim`'s structure makes it easy to create and register new user-defined indices and indicators.\nFor the general implementation of indices and their wrapping into indicators, refer to :ref:`notebooks/extendxclim:Extending xclim` and :ref:`notebooks/customize:Customizing and controlling xclim`.\n\nLook through the GitHub issues for features; Anything tagged with \"enhancement\" and \"help wanted\" is open to whoever wants to implement it.\n\nGeneral to-do list for implementing a new Indicator:\n\n#. Implement the indice\n\n    * Indices are function wrapped with :py:func:`~xclim.core.units.declare_units`\n    * Their input arguments should have type annotations, as documented in :py:class:`~xclim.core.utils.InputKind`\n    * Their docstring should follow the scheme explained in :ref:`notebooks/extendxclim:Defining new index-like compute functions`.\n    * They should set the units on their outputs, but no other metadata fields.\n    * Their code should be found in the most relevant ``src/xclim/indices/_*.py``  file. Functions are explicitly added to the ``__all__`` at the top of the file.\n\n#. Add unit tests\n\n    * Indices are best tested with made up, idealized data to explicitly test the edge cases. Many pytest fixtures are available to help this data generation.\n    * Tests should be added as one or more functions in ``tests/test_indices.py``, see other tests for inspiration.\n\n#. Add the indicator\n\n    * See :ref:`notebooks/extendxclim:Defining new indicators` for more info and look at the other indicators for inspiration.\n    * They are added in the most relevant ``src/xclim/indicators/{realm}/_*.py`` file.\n    * Indicator are instances of subclasses of :py:class:`xclim.core.indicator.Indicator`.\n      They should use a class declared within the ``{realm}`` folder, creating a dummy one if needed. They are explicitly added to the file's ``__all__``.\n\n#. Add unit tests\n\n    * Indicators are best tested with real data, also looking at missing value propagation and metadata formatting.\n      In addition to the ``atmosds`` fixture, only datasets that can be accessed with :py:func:`xclim.testing.open_dataset` should be used.\n      For convenience, this special function is accessible as the ``open_dataset`` pytest fixture.\n    * Tests are added in the most relevant ``tests/test_{variable}.py`` file.\n\n#. Add French translations\n\n    xclim comes with an internationalization module and all \"official\" indicators\n    (those in ``xclim.atmos.indicators``) must have a french translation added to ``src/xclim/data/fr.json``.\n    This part can be done by the core team after you open a Pull Request.\n\n.. note::\n\n    If you are adding new translations to the library (for languages other than French), please begin by opening a discussion on the `xclim Discussions page`_ to coordinate the scope and implementation of these translations.\n\n\nReport Bugs\n~~~~~~~~~~~\n\nReport bugs at https://github.com/Ouranosinc/xclim/issues.\n\nIf you are reporting a bug, please include:\n\n* Your operating system name and version.\n* Any details about your local setup that might be helpful in troubleshooting.\n* Detailed steps to reproduce the bug.\n\nFix Bugs\n~~~~~~~~\n\nLook through the GitHub issues for bugs. Anything tagged with \"bug\" and \"help wanted\" is open to whoever wants to implement it.\n\nWrite Documentation\n~~~~~~~~~~~~~~~~~~~\n\nxclim could always use more documentation, whether as part of the official `xclim` docs, in docstrings, or even on the web in blog posts, articles, and such.\n\nTo reference documents (article, presentation, thesis, etc) in the documentation or in a docstring, xclim uses `sphinxcontrib-bibtex`_.\nMetadata of the documents is stored as BibTeX entries in the ``docs/references.bib`` file.\nTo properly generate internal reference links, we suggest using the following roles:\n\n- For references cited in the `References` section of function docstrings, use ``:cite:cts:`label```.\n- For in-text references with first author and year, use ``:cite:t:`label```.\n- For reference citations in parentheses, use ``:cite:p:`label```.\n\nMultiple references can be added to a single role using commas (e.g. ``:cite:cts:`label1,label2,label3```).\nFor more information see: `sphinxcontrib-bibtex`_.\n\nSubmit Feedback\n~~~~~~~~~~~~~~~\n\nThe best way to send feedback is to file an issue at: https://github.com/Ouranosinc/xclim/issues.\n\nIf you are proposing a feature:\n\n* Explain in detail how it would work.\n* Keep the scope as narrow as possible, to make it easier to implement.\n* The xclim development team welcomes you and is always on hand to help. :)\n\nGet Started!\n------------\n\nReady to contribute? Here's how to set up `xclim` for local development.\n\n#. Fork the `xclim` repo on GitHub.\n\n#. Clone your fork locally:\n\n   .. code-block:: shell\n\n       $ git clone git@github.com:{my_github_username}/xclim.git\n       $ cd xclim/\n\n#. Create a development environment. We recommend using ``conda``:\n\n   .. code-block:: shell\n\n       $ conda env create --file environment.yml\n       $ conda activate xclim\n       $ python -m pip install -e . --no-deps\n\n#. Create a branch for local development:\n\n   .. code-block:: shell\n\n       $ git checkout -b name-of-your-bugfix-or-feature\n\n   Now you can make your changes locally!\n\n#. Before committing your changes, we ask that you install ``pre-commit`` in your development environment in order to run linting checks when committing code changes.\n   Pre-commit runs git hooks that ensure that your code adheres to the standards of the project and catches and corrects small errors or inconsistencies when you ``git commit``:\n\n   .. code-block:: shell\n\n       # To install the necessary pre-commit hooks:\n       $ pre-commit install\n       # To run pre-commit hooks manually:\n       $ pre-commit run --all-files\n\n   Instead of ``pre-commit``, you can also verify your changes using the `Make` recipe for code linting checks:\n\n   .. code-block:: shell\n\n       $ make lint\n\n   Or, alternatively, you can check individual hooks manually with  `ruff`, `flake8`, `flake8-rst-docstrings`, `vulture`, `codespell`, `numpydoc`, `deptry`, and `yamllint`:\n\n   .. code-block:: shell\n\n       # To install the necessary dependencies:\n       $ python -m pip install --group lint\n       # To run individual checks\n       $ ruff check --quiet .\n       $ flake8 --config=.flake8 src/xclim tests\n       $ vulture src/xclim tests\n       $ codespell src/xclim tests docs\n       $ numpydoc lint src/xclim/*.py src/xclim/ensembles/*.py src/xclim/indices/*.py src/xclim/indicators/*.py src/xclim/testing/*.py\n       $ deptry src\n       $ yamllint --config-file=.yamllint.yaml src/xclim\n\n   .. note::\n\n       `xclim` is fully type-checked with `mypy`_ (`ty`_). If your contributions are failing this check, it means that the type definitions could be better defined.\n       For some guidance on how to do this, check the `mypy cheat sheet <https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html#cheat-sheet-py3>`_ for examples.\n       If you are adding a new but similar compute function or indicator, following typing conventions of other similar objects will usually address these issues.\n\n       When in doubt, feel free to ping the `xclim` maintainers (`@xclim-core`) if you would like their input on how best to type something.\n\n#. When features or bug fixes have been contributed, unit tests and doctests have been added, or notebooks have been updated, use ``$ pytest`` to test them:\n\n   .. code-block:: shell\n\n       $ pytest --numprocesses=auto --dist=loadscope --no-cov --nbval --rootdir=tests/ docs/notebooks --ignore=docs/notebooks/example.ipynb  # for notebooks, exclusively.\n       $ pytest --numprocesses=auto --rootdir=src/xclim/testing --doctest-modules src/xclim  # for doctests, exclusively.\n       $ pytest  # for all unit tests, excluding doctests and notebooks.\n       $ pytest -m \"not slow\"  # for all unit tests, excluding doctests, notebooks, and \"slow\" marked tests.\n\n   Alternatively, one can use ``$ tox`` to run very specific testing configurations, as GitHub Workflows would do when a Pull Request is submitted and new commits are pushed:\n\n   .. code-block:: shell\n\n       $ tox -e py3.11 # run tests on Python 3.11\n       $ tox -e upstream  # run tests with upstream dependencies\n       $ tox -e prefetch -- -m \"not slow\"  # run tests and force download of testing data, ensure tests are all offline, exclude \"slow\" marked tests\n       $ tox -e py3.12 -- -m \"not slow\"  # run tests on Python 3.12 excluding \"slow\" marked tests\n       $ tox -e notebooks,doctests  # run the notebook-based tests, then run the doctests\n\n       $ tox -m test  # run the standard tests used in GitHub Workflows\n\n   .. warning::\n\n       When running tests with `tox`, any `pytest` markers passed to `pyXX` builds (e.g. `-m \"not slow\"`) must be passed to `tox` directly. This can be done as follows:\n\n       .. code-block:: shell\n\n           $ tox -e py3.11 -- -m \"not slow\"\n\n       The exceptions to this rule are:\n         - `notebooks` and `doctests`: these configurations do not pass test markers to its `pytest` call.\n         - `offline`: this configuration runs by default with the `-m \"not requires_internet\"` test marker. Be aware that running `tox` and manually setting a `pytest` marker will override this default.\n\n   .. note::\n\n       `xclim` tests are organized to support the `pytest-xdist`_ plugin for distributed testing across workers or CPUs.\n       In order to benefit from multiple processes, add the flag `--numprocesses=auto` or `-n auto` to your `pytest` calls.\n\n       When running tests via `tox`, `numprocesses` is set to the number of logical cores available (`numprocesses=logical`), with a maximum amount of `8`.\n\n#. Docs should also be tested to ensure that the documentation will build correctly on ReadTheDocs. This can be performed in a number of ways:\n\n   .. code-block:: shell\n\n       # To run in a contained virtualenv environment\n       $ tox -e docs\n       # or, alternatively, to build the docs directly\n       $ make docs\n\n   .. note::\n\n       When building the documentation, the default behaviour is to evaluate notebooks ('`nbsphinx_execute = \"auto\"`'), rather than simply parse the content ('`nbsphinx_execute = \"never\"`').\n       Due to their complexity, this is a very computationally demanding task and should only be performed when necessary (i.e.: when the notebooks have been modified).\n\n       In order to speed up documentation builds, setting a value for the environment variable \"`SKIP_NOTEBOOKS`\" (e.g. \"`$ export SKIP_NOTEBOOKS=1`\") will prevent the notebooks from being evaluated on all subsequent \"`$ tox -e docs`\" or \"`$ make docs`\" invocations.\n\n#. After clearing the previous checks, commit your changes and push your branch to GitHub:\n\n   .. code-block:: shell\n\n       $ git add *\n       $ git commit -m \"Your detailed description of your changes.\"\n\n   If installed, `pre-commit` will run checks at this point:\n\n   * If no errors are found, changes will be committed.\n   * If errors are found, modifications will be made and warnings will be raised if intervention is needed.\n   * After addressing errors and effecting changes, simply `git commit` again:\n\n   .. code-block:: shell\n\n       $ git push origin name-of-your-bugfix-or-feature\n\n#. Submit a pull request through the GitHub website.\n\nPull Request Guidelines\n-----------------------\n\nBefore you submit a pull request, please follow these guidelines:\n\n#. Open an *issue* on our `GitHub repository`_ with your issue that you'd like to fix or feature that you'd like to implement.\n\n#. Perform the changes, commit and push them either to new a branch within `Ouranosinc/xclim` or to your personal fork of xclim.\n\n   .. warning::\n\n       Try to keep your contributions within the scope of the issue that you are addressing.\n       While it might be tempting to fix other aspects of the library as it comes up,\n       it's better to simply to flag the problems in case others are already working on it.\n\n       Consider adding a \"**# TODO:**\" or \"**# FIXME:**\" comment if the need arises.\n\n#. Pull requests should raise test coverage for the xclim library. Code coverage is an indicator of how extensively tested the library is.\n\n   .. note::\n\n       If you are adding a new set of functions, they **must be tested** and **coverage percentage should not significantly decrease.**\n\n#. If the pull request adds functionality, your functions should include docstring explanations.\n   So long as the docstrings are syntactically correct, sphinx-autodoc will be able to automatically parse the information.\n   Please ensure that the docstrings and documentation adhere to the following standards (badly formed docstrings will fail build tests):\n\n   * `numpydoc`_\n   * `reStructuredText (ReST)`_\n\n   .. note::\n\n        If you aren't accustomed to writing documentation in reStructuredText (`.rst`), we encourage you to spend a few minutes going over the\n        incredibly well-summarized `reStructuredText Primer`_ from the sphinx-doc maintainer community.\n\n#. The pull request should work for all currently-supported Python versions as well as raise test coverage.\n   Pull requests are also checked for documentation build status and for `PEP8`_ compliance.\n   The build statuses and build errors for pull requests can be found at: https://github.com/Ouranosinc/xclim/actions\n\n   .. note::\n\n       The currently-supported Python versions are loosely based on the Scientific Python Ecosystem's `SPEC 0` schedule.\n       Generally, when `numpy` and `xarray` drop support for a dependency, `xclim` will follow suit in a subsequent release.\n       For more information, see the `SPEC 0 Schedule <https://scientific-python.org/specs/spec-0000/>`_\n\n   .. warning::\n\n       PEP8, black, pytest (with doctest) and pydocstyle (for numpy docstrings) conventions are strongly enforced.\n       Ensure that your changes pass all tests prior to pushing your final commits to your branch.\n       Code formatting errors are treated as build errors and will block your pull request from being accepted.\n\n#. The version changes (CHANGELOG.rst) should briefly describe changes introduced in the Pull request.\n   Changes should be organized by type (ie: `New indicators`, `New features and enhancements`, `Breaking changes`, `Bug fixes`, `Internal changes`) and the GitHub Pull Request, GitHub Issue.\n   Your name and/or GitHub handle should also be listed among the contributors to this version. This can be done as follows:\n\n   .. code-block:: restructuredtext\n\n       Contributors to this version: John Jacob Jingleheimer Schmidt (:user:`username`).\n\n       Internal changes\n       ^^^^^^^^^^^^^^^^\n       * Updated the contribution guidelines. (:issue:`868`, :pull:`869`).\n\nIf this is your first contribution to `Ouranosinc/xclim`, we ask that you also add your name to the `AUTHORS.rst <https://github.com/Ouranosinc/xclim/blob/main/AUTHORS.rst>`_, under *Contributors* as well as to the `.zenodo.json <https://github.com/Ouranosinc/xclim/blob/main/.zenodo.json>`_, at the end of the *creators* block.\n\nUpdating Testing Data\n~~~~~~~~~~~~~~~~~~~~~\n\nIf your code changes require changes to the testing data of `xclim` (i.e.: modifications to existing datasets or new datasets), these changes must be made via a Pull Request at the `xclim-testdata repository`_.\n\n`xclim` allows for developers to test specific branches/versions or forks of the `xclim-testdata` repository via the `XCLIM_TESTDATA_BRANCH` and `XCLIM_TESTDATA_REPO` environment variables, respectively, either through export, e.g.:\n\n.. code-block:: shell\n\n    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n    $ export XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\"\n\n    $ pytest\n    # or, alternatively:\n    $ tox\n\nor by setting the variable at runtime:\n\n.. code-block:: shell\n\n    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" pytest\n    # or, alternatively:\n    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" tox\n\nThis will ensure that tests load the appropriate testing data from this branch or repository before running.\n\nIf you anticipate not having internet access, we suggest prefetching the testing data from `xclim-testdata repository`_ and storing it in your local cache. This can be done by running the following console command:\n\n.. code-block:: shell\n\n    $ xclim prefetch_testing_data\n\nIf your development branch relies on a specific branch of `Ouranosinc/xclim-testdata`, you can specify this using environment variables:\n\n.. code-block:: shell\n\n    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n    $ xclim prefetch_testing_data\n\nor, alternatively, with the `--branch` option:\n\n.. code-block:: shell\n\n    $ xclim prefetch_testing_data --branch my_new_branch_of_testing_data --repo \"https://github.com/my_username/xclim-testdata\"\n\nIf you wish to test a specific branch using GitHub CI, this can be set in `.github/workflows/main.yml`:\n\n.. code-block:: yaml\n\n    env:\n      XCLIM_TESTDATA_BRANCH: my_new_branch_of_testing_data\n\n.. warning::\n\n    In order for a Pull Request to be allowed to merge to the `main` development branch, this variable must match the latest tagged commit name on `xclim-testdata repository`_.\n    We suggest merging changed testing data first, tagging a new version of `xclim-testdata`, then re-running tests on your Pull Request at `Ouranosinc/xclim` with the newest tag.\n\nRunning Tests in Offline Mode\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n`xclim` testing is designed with the assumption that the machine running the tests has internet access. Many calls to `xclim` functions will attempt to download data or verify checksums from the `Ouranosinc/xclim-testdata` repository.\nThis can be problematic for developers working on features where internet access is not reliably available.\n\nIf you wish to ensure that your feature or bugfix can be developed without internet access, `xclim` leverages the `pytest-socket`_ plugin so that testing can be run in \"offline\" mode by invoking pytest with the following options:\n\n.. code-block:: shell\n\n    $ pytest --disable-socket --allow-unix-socket -m \"not requires_internet\"\n\nor, alternatively, using `tox` :\n\n.. code-block:: shell\n\n    $ tox -e offline\n\nThese options will disable all network calls and skip tests marked with the ``requires_internet`` marker.\nThe ``--allow-unix-socket`` option is required to allow the `pytest-xdist`_ plugin to function properly.\n\nAI Assistance Notice\n--------------------\n\n.. note::\n\n    The following information has been adapted from AI assistance usage policies developed by `Avocado <https://avocado-framework.readthedocs.io/en/latest/guides/contributor/chapters/ai_policy.html>`_ and `ghostty <https://github.com/ghostty-org/ghostty/blob/main/AI_POLICY.md>`_\n    with suggestions from the `xclim` developers and maintainers.\n\nThe `xclim` developers and maintainers will consider Pull Requests that have been aided by artificial intelligence models, tools, or services.\nFor detailed information regarding compliance and operating parameters, refer to the `AI_POLICY.md` and `AGENTS.md` found in the top-level of the code repository.\n\nWhat is AI Assistance ?\n~~~~~~~~~~~~~~~~~~~~~~~\n\nWithin the context of `xclim` development, AI assistance constitutess any code, code snippets, configurations, documentation, or other programmatic assets produced, suggested, or significantly modified by an artificial intelligence model, tool, or service.\n\nAI assistance can also include code that is heavily adapted from or influenced by outputs from prompts made to generative artificial intelligence models, tools, or services.\n\nUsage Disclosure\n~~~~~~~~~~~~~~~~\n\nIf you are using any kind of AI assistance while contributing to `xclim`, **this must be disclosed in the pull request**, along with the extent to which AI assistance was used (e.g. documentation, code generation, review comments).\nUsing AI to help draft responses is allowed only if the contributor meaningfully reviews, edits, and takes full responsibility for the content.\nSubmitting AI-generated replies without human verification or understanding is not permitted.\nMisrepresenting AI-generated content as purely human-authored is considered a violation of the contribution guidelines.\n\nSome example disclosures:\n\n.. admonition:: Pull Request Description\n\n    ### Other information:\n\n    * This PR was primarily written using a combination of OpenClaw (Kimi K2.5) and ChatGPT (GPT-o4-mini). After using these tools, I reviewed the content.\n\n    <!-- or -->\n\n    * This PR was primarily written by me with small code snippets copy-pasted from chats with Claude (Sonnet 4.6).\n\n    <!-- or -->\n\n    * I asked GitHub Copilot to clean up and improve code I had written. I then reviewed the final product.\n\nAs a small exception, trivial tab-completion doesn't need to be disclosed, so long as it is limited to single keywords or short phrases.\n\nFor commits originating exclusively from AI, we also ask that their commits are signed with \"Assisted-by: <tool name>\" disclosure (this demand is repeated in `AGENTS.md`):\n\n.. admonition:: Commit Message\n\n    Added new indicator for sub-tropical Easter snowstorm events\n\n    Assisted-by: Claude Opus 4.5\n\nFailing to disclose the use of artificial intelligence models, tools, or services is disrespectful to the developers and maintainers of open source software projects.\nWe ask that contributors are forthcoming with this information so that the effort and scrutiny applied to Pull Request reviews can be adjusted accordingly.\n\nCode Review\n~~~~~~~~~~~\n\nAll AI-assisted code contributions must be reviewed by both the human contributor prior to opening the Pull Request as well as by a human reviewer prior to approval and merging to the `main` branch.\n\nLow Effort Contributions\n~~~~~~~~~~~~~~~~~~~~~~~~\n\nAI-generated low-effort contributions are unacceptable; Human contributors must be capable of explaining their changes, responding to review comments, and precisely adapting their contributions as requested.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,630 @@\n+============\n+Contributing\n+============\n+\n+Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.\n+\n+You can contribute in many ways:\n+\n+Types of Contributions\n+----------------------\n+\n+Implement Features, Indices or Indicators\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+`xclim`'s structure makes it easy to create and register new user-defined indices and indicators.\n+For the general implementation of indices and their wrapping into indicators, refer to :ref:`notebooks/extendxclim:Extending xclim` and :ref:`notebooks/customize:Customizing and controlling xclim`.\n+\n+Look through the GitHub issues for features; Anything tagged with \"enhancement\" and \"help wanted\" is open to whoever wants to implement it.\n+\n+General to-do list for implementing a new Indicator:\n+\n+#. Implement the indice\n+\n+    * Indices are function wrapped with :py:func:`~xclim.core.units.declare_units`\n+    * Their input arguments should have type annotations, as documented in :py:class:`~xclim.core.utils.InputKind`\n+    * Their docstring should follow the scheme explained in :ref:`notebooks/extendxclim:Defining new index-like compute functions`.\n+    * They should set the units on their outputs, but no other metadata fields.\n+    * Their code should be found in the most relevant ``src/xclim/indices/_*.py``  file. Functions are explicitly added to the ``__all__`` at the top of the file.\n+\n+#. Add unit tests\n+\n+    * Indices are best tested with made up, idealized data to explicitly test the edge cases. Many pytest fixtures are available to help this data generation.\n+    * Tests should be added as one or more functions in ``tests/test_indices.py``, see other tests for inspiration.\n+\n+#. Add the indicator\n+\n+    * See :ref:`notebooks/extendxclim:Defining new indicators` for more info and look at the other indicators for inspiration.\n+    * They are added in the most relevant ``src/xclim/indicators/{realm}/_*.py`` file.\n+    * Indicator are instances of subclasses of :py:class:`xclim.core.indicator.Indicator`.\n+      They should use a class declared within the ``{realm}`` folder, creating a dummy one if needed. They are explicitly added to the file's ``__all__``.\n+\n+#. Add unit tests\n+\n+    * Indicators are best tested with real data, also looking at missing value propagation and metadata formatting.\n+      In addition to the ``atmosds`` fixture, only datasets that can be accessed with :py:func:`xclim.testing.open_dataset` should be used.\n+      For convenience, this special function is accessible as the ``open_dataset`` pytest fixture.\n+    * Tests are added in the most relevant ``tests/test_{variable}.py`` file.\n+\n+#. Add French translations\n+\n+    xclim comes with an internationalization module and all \"official\" indicators\n+    (those in ``xclim.atmos.indicators``) must have a french translation added to ``src/xclim/data/fr.json``.\n+    This part can be done by the core team after you open a Pull Request.\n+\n+.. note::\n+\n+    If you are adding new translations to the library (for languages other than French), please begin by opening a discussion on the `xclim Discussions page`_ to coordinate the scope and implementation of these translations.\n+\n+\n+Report Bugs\n+~~~~~~~~~~~\n+\n+Report bugs at https://github.com/Ouranosinc/xclim/issues.\n+\n+If you are reporting a bug, please include:\n+\n+* Your operating system name and version.\n+* Any details about your local setup that might be helpful in troubleshooting.\n+* Detailed steps to reproduce the bug.\n+\n+Fix Bugs\n+~~~~~~~~\n+\n+Look through the GitHub issues for bugs. Anything tagged with \"bug\" and \"help wanted\" is open to whoever wants to implement it.\n+\n+Write Documentation\n+~~~~~~~~~~~~~~~~~~~\n+\n+xclim could always use more documentation, whether as part of the official `xclim` docs, in docstrings, or even on the web in blog posts, articles, and such.\n+\n+To reference documents (article, presentation, thesis, etc) in the documentation or in a docstring, xclim uses `sphinxcontrib-bibtex`_.\n+Metadata of the documents is stored as BibTeX entries in the ``docs/references.bib`` file.\n+To properly generate internal reference links, we suggest using the following roles:\n+\n+- For references cited in the `References` section of function docstrings, use ``:cite:cts:`label```.\n+- For in-text references with first author and year, use ``:cite:t:`label```.\n+- For reference citations in parentheses, use ``:cite:p:`label```.\n+\n+Multiple references can be added to a single role using commas (e.g. ``:cite:cts:`label1,label2,label3```).\n+For more information see: `sphinxcontrib-bibtex`_.\n+\n+Submit Feedback\n+~~~~~~~~~~~~~~~\n+\n+The best way to send feedback is to file an issue at: https://github.com/Ouranosinc/xclim/issues.\n+\n+If you are proposing a feature:\n+\n+* Explain in detail how it would work.\n+* Keep the scope as narrow as possible, to make it easier to implement.\n+* The xclim development team welcomes you and is always on hand to help. :)\n+\n+Get Started!\n+------------\n+\n+Ready to contribute? Here's how to set up `xclim` for local development.\n+\n+#. Fork the `xclim` repo on GitHub.\n+\n+#. Clone your fork locally:\n+\n+   .. code-block:: shell\n+\n+       $ git clone git@github.com:{my_github_username}/xclim.git\n+       $ cd xclim/\n+\n+#. Create a development environment. We recommend using ``conda``:\n+\n+   .. code-block:: shell\n+\n+       $ conda env create --file environment.yml\n+       $ conda activate xclim\n+       $ python -m pip install -e . --no-deps\n+\n+#. Create a branch for local development:\n+\n+   .. code-block:: shell\n+\n+       $ git checkout -b name-of-your-bugfix-or-feature\n+\n+   Now you can make your changes locally!\n+\n+#. Before committing your changes, we ask that you install ``pre-commit`` in your development environment in order to run linting checks when committing code changes.\n+   Pre-commit runs git hooks that ensure that your code adheres to the standards of the project and catches and corrects small errors or inconsistencies when you ``git commit``:\n+\n+   .. code-block:: shell\n+\n+       # To install the necessary pre-commit hooks:\n+       $ pre-commit install\n+       # To run pre-commit hooks manually:\n+       $ pre-commit run --all-files\n+\n+   Instead of ``pre-commit``, you can also verify your changes using the `Make` recipe for code linting checks:\n+\n+   .. code-block:: shell\n+\n+       $ make lint\n+\n+   Or, alternatively, you can check individual hooks manually with  `ruff`, `flake8`, `flake8-rst-docstrings`, `vulture`, `codespell`, `numpydoc`, `deptry`, and `yamllint`:\n+\n+   .. code-block:: shell\n+\n+       # To install the necessary dependencies:\n+       $ python -m pip install --group lint\n+       # To run individual checks\n+       $ ruff check --quiet .\n+       $ flake8 --config=.flake8 src/xclim tests\n+       $ vulture src/xclim tests\n+       $ codespell src/xclim tests docs\n+       $ numpydoc lint src/xclim/*.py src/xclim/ensembles/*.py src/xclim/indices/*.py src/xclim/indicators/*.py src/xclim/testing/*.py\n+       $ deptry src\n+       $ yamllint --config-file=.yamllint.yaml src/xclim\n+\n+   .. note::\n+\n+       `xclim` is fully type-checked with `mypy`_ (`ty`_). If your contributions are failing this check, it means that the type definitions could be better defined.\n+       For some guidance on how to do this, check the `mypy cheat sheet <https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html#cheat-sheet-py3>`_ for examples.\n+       If you are adding a new but similar compute function or indicator, following typing conventions of other similar objects will usually address these issues.\n+\n+       When in doubt, feel free to ping the `xclim` maintainers (`@xclim-core`) if you would like their input on how best to type something.\n+\n+#. When features or bug fixes have been contributed, unit tests and doctests have been added, or notebooks have been updated, use ``$ pytest`` to test them:\n+\n+   .. code-block:: shell\n+\n+       $ pytest --numprocesses=auto --dist=loadscope --no-cov --nbval --rootdir=tests/ docs/notebooks --ignore=docs/notebooks/example.ipynb  # for notebooks, exclusively.\n+       $ pytest --numprocesses=auto --rootdir=src/xclim/testing --doctest-modules src/xclim  # for doctests, exclusively.\n+       $ pytest  # for all unit tests, excluding doctests and notebooks.\n+       $ pytest -m \"not slow\"  # for all unit tests, excluding doctests, notebooks, and \"slow\" marked tests.\n+\n+   Alternatively, one can use ``$ tox`` to run very specific testing configurations, as GitHub Workflows would do when a Pull Request is submitted and new commits are pushed:\n+\n+   .. code-block:: shell\n+\n+       $ tox -e py3.11 # run tests on Python 3.11\n+       $ tox -e upstream  # run tests with upstream dependencies\n+       $ tox -e prefetch -- -m \"not slow\"  # run tests and force download of testing data, ensure tests are all offline, exclude \"slow\" marked tests\n+       $ tox -e py3.12 -- -m \"not slow\"  # run tests on Python 3.12 excluding \"slow\" marked tests\n+       $ tox -e notebooks,doctests  # run the notebook-based tests, then run the doctests\n+\n+       $ tox -m test  # run the standard tests used in GitHub Workflows\n+\n+   .. warning::\n+\n+       When running tests with `tox`, any `pytest` markers passed to `pyXX` builds (e.g. `-m \"not slow\"`) must be passed to `tox` directly. This can be done as follows:\n+\n+       .. code-block:: shell\n+\n+           $ tox -e py3.11 -- -m \"not slow\"\n+\n+       The exceptions to this rule are:\n+         - `notebooks` and `doctests`: these configurations do not pass test markers to its `pytest` call.\n+         - `offline`: this configuration runs by default with the `-m \"not requires_internet\"` test marker. Be aware that running `tox` and manually setting a `pytest` marker will override this default.\n+\n+   .. note::\n+\n+       `xclim` tests are organized to support the `pytest-xdist`_ plugin for distributed testing across workers or CPUs.\n+       In order to benefit from multiple processes, add the flag `--numprocesses=auto` or `-n auto` to your `pytest` calls.\n+\n+       When running tests via `tox`, `numprocesses` is set to the number of logical cores available (`numprocesses=logical`), with a maximum amount of `8`.\n+\n+#. Docs should also be tested to ensure that the documentation will build correctly on ReadTheDocs. This can be performed in a number of ways:\n+\n+   .. code-block:: shell\n+\n+       # To run in a contained virtualenv environment\n+       $ tox -e docs\n+       # or, alternatively, to build the docs directly\n+       $ make docs\n+\n+   .. note::\n+\n+       When building the documentation, the default behaviour is to evaluate notebooks ('`nbsphinx_execute = \"auto\"`'), rather than simply parse the content ('`nbsphinx_execute = \"never\"`').\n+       Due to their complexity, this is a very computationally demanding task and should only be performed when necessary (i.e.: when the notebooks have been modified).\n+\n+       In order to speed up documentation builds, setting a value for the environment variable \"`SKIP_NOTEBOOKS`\" (e.g. \"`$ export SKIP_NOTEBOOKS=1`\") will prevent the notebooks from being evaluated on all subsequent \"`$ tox -e docs`\" or \"`$ make docs`\" invocations.\n+\n+#. After clearing the previous checks, commit your changes and push your branch to GitHub:\n+\n+   .. code-block:: shell\n+\n+       $ git add *\n+       $ git commit -m \"Your detailed description of your changes.\"\n+\n+   If installed, `pre-commit` will run checks at this point:\n+\n+   * If no errors are found, changes will be committed.\n+   * If errors are found, modifications will be made and warnings will be raised if intervention is needed.\n+   * After addressing errors and effecting changes, simply `git commit` again:\n+\n+   .. code-block:: shell\n+\n+       $ git push origin name-of-your-bugfix-or-feature\n+\n+#. Submit a pull request through the GitHub website.\n+\n+Pull Request Guidelines\n+-----------------------\n+\n+Before you submit a pull request, please follow these guidelines:\n+\n+#. Open an *issue* on our `GitHub repository`_ with your issue that you'd like to fix or feature that you'd like to implement.\n+\n+#. Perform the changes, commit and push them either to new a branch within `Ouranosinc/xclim` or to your personal fork of xclim.\n+\n+   .. warning::\n+\n+       Try to keep your contributions within the scope of the issue that you are addressing.\n+       While it might be tempting to fix other aspects of the library as it comes up,\n+       it's better to simply to flag the problems in case others are already working on it.\n+\n+       Consider adding a \"**# TODO:**\" or \"**# FIXME:**\" comment if the need arises.\n+\n+#. Pull requests should raise test coverage for the xclim library. Code coverage is an indicator of how extensively tested the library is.\n+\n+   .. note::\n+\n+       If you are adding a new set of functions, they **must be tested** and **coverage percentage should not significantly decrease.**\n+\n+#. If the pull request adds functionality, your functions should include docstring explanations.\n+   So long as the docstrings are syntactically correct, sphinx-autodoc will be able to automatically parse the information.\n+   Please ensure that the docstrings and documentation adhere to the following standards (badly formed docstrings will fail build tests):\n+\n+   * `numpydoc`_\n+   * `reStructuredText (ReST)`_\n+\n+   .. note::\n+\n+        If you aren't accustomed to writing documentation in reStructuredText (`.rst`), we encourage you to spend a few minutes going over the\n+        incredibly well-summarized `reStructuredText Primer`_ from the sphinx-doc maintainer community.\n+\n+#. The pull request should work for all currently-supported Python versions as well as raise test coverage.\n+   Pull requests are also checked for documentation build status and for `PEP8`_ compliance.\n+   The build statuses and build errors for pull requests can be found at: https://github.com/Ouranosinc/xclim/actions\n+\n+   .. note::\n+\n+       The currently-supported Python versions are loosely based on the Scientific Python Ecosystem's `SPEC 0` schedule.\n+       Generally, when `numpy` and `xarray` drop support for a dependency, `xclim` will follow suit in a subsequent release.\n+       For more information, see the `SPEC 0 Schedule <https://scientific-python.org/specs/spec-0000/>`_\n+\n+   .. warning::\n+\n+       PEP8, black, pytest (with doctest) and pydocstyle (for numpy docstrings) conventions are strongly enforced.\n+       Ensure that your changes pass all tests prior to pushing your final commits to your branch.\n+       Code formatting errors are treated as build errors and will block your pull request from being accepted.\n+\n+#. The version changes (CHANGELOG.rst) should briefly describe changes introduced in the Pull request.\n+   Changes should be organized by type (ie: `New indicators`, `New features and enhancements`, `Breaking changes`, `Bug fixes`, `Internal changes`) and the GitHub Pull Request, GitHub Issue.\n+   Your name and/or GitHub handle should also be listed among the contributors to this version. This can be done as follows:\n+\n+   .. code-block:: restructuredtext\n+\n+       Contributors to this version: John Jacob Jingleheimer Schmidt (:user:`username`).\n+\n+       Internal changes\n+       ^^^^^^^^^^^^^^^^\n+       * Updated the contribution guidelines. (:issue:`868`, :pull:`869`).\n+\n+If this is your first contribution to `Ouranosinc/xclim`, we ask that you also add your name to the `AUTHORS.rst <https://github.com/Ouranosinc/xclim/blob/main/AUTHORS.rst>`_, under *Contributors* as well as to the `.zenodo.json <https://github.com/Ouranosinc/xclim/blob/main/.zenodo.json>`_, at the end of the *creators* block.\n+\n+Updating Testing Data\n+~~~~~~~~~~~~~~~~~~~~~\n+\n+If your code changes require changes to the testing data of `xclim` (i.e.: modifications to existing datasets or new datasets), these changes must be made via a Pull Request at the `xclim-testdata repository`_.\n+\n+`xclim` allows for developers to test specific branches/versions or forks of the `xclim-testdata` repository via the `XCLIM_TESTDATA_BRANCH` and `XCLIM_TESTDATA_REPO` environment variables, respectively, either through export, e.g.:\n+\n+.. code-block:: shell\n+\n+    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n+    $ export XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\"\n+\n+    $ pytest\n+    # or, alternatively:\n+    $ tox\n+\n+or by setting the variable at runtime:\n+\n+.. code-block:: shell\n+\n+    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" pytest\n+    # or, alternatively:\n+    $ env XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\" XCLIM_TESTDATA_REPO=\"https://github.com/my_username/xclim-testdata\" tox\n+\n+This will ensure that tests load the appropriate testing data from this branch or repository before running.\n+\n+If you anticipate not having internet access, we suggest prefetching the testing data from `xclim-testdata repository`_ and storing it in your local cache. This can be done by running the following console command:\n+\n+.. code-block:: shell\n+\n+    $ xclim prefetch_testing_data\n+\n+If your development branch relies on a specific branch of `Ouranosinc/xclim-testdata`, you can specify this using environment variables:\n+\n+.. code-block:: shell\n+\n+    $ export XCLIM_TESTDATA_BRANCH=\"my_new_branch_of_testing_data\"\n+    $ xclim prefetch_testing_data\n+\n+or, alternatively, with the `--branch` option:\n+\n+.. code-block:: shell\n+\n+    $ xclim prefetch_testing_data --branch my_new_branch_of_testing_data --repo \"https://github.com/my_username/xclim-testdata\"\n+\n+If you wish to test a specific branch using GitHub CI, this can be set in `.github/workflows/main.yml`:\n+\n+.. code-block:: yaml\n+\n+    env:\n+      XCLIM_TESTDATA_BRANCH: my_new_branch_of_testing_data\n+\n+.. warning::\n+\n+    In order for a Pull Request to be allowed to merge to the `main` development branch, this variable must match the latest tagged commit name on `xclim-testdata repository`_.\n+    We suggest merging changed testing data first, tagging a new version of `xclim-testdata`, then re-running tests on your Pull Request at `Ouranosinc/xclim` with the newest tag.\n+\n+Running Tests in Offline Mode\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+`xclim` testing is designed with the assumption that the machine running the tests has internet access. Many calls to `xclim` functions will attempt to download data or verify checksums from the `Ouranosinc/xclim-testdata` repository.\n+This can be problematic for developers working on features where internet access is not reliably available.\n+\n+If you wish to ensure that your feature or bugfix can be developed without internet access, `xclim` leverages the `pytest-socket`_ plugin so that testing can be run in \"offline\" mode by invoking pytest with the following options:\n+\n+.. code-block:: shell\n+\n+    $ pytest --disable-socket --allow-unix-socket -m \"not requires_internet\"\n+\n+or, alternatively, using `tox` :\n+\n+.. code-block:: shell\n+\n+    $ tox -e offline\n+\n+These options will disable all network calls and skip tests marked with the ``requires_internet`` marker.\n+The ``--allow-unix-socket`` option is required to allow the `pytest-xdist`_ plugin to function properly.\n+\n+AI Assistance Notice\n+--------------------\n+\n+.. note::\n+\n+    The following information has been adapted from AI assistance usage policies developed by `Avocado <https://avocado-framework.readthedocs.io/en/latest/guides/contributor/chapters/ai_policy.html>`_ and `ghostty <https://github.com/ghostty-org/ghostty/blob/main/AI_POLICY.md>`_\n+    with suggestions from the `xclim` developers and maintainers.\n+\n+The `xclim` developers and maintainers will consider Pull Requests that have been aided by artificial intelligence models, tools, or services.\n+For detailed information regarding compliance and operating parameters, refer to the `AI_POLICY.md` and `AGENTS.md` found in the top-level of the code repository.\n+\n+What is AI Assistance ?\n+~~~~~~~~~~~~~~~~~~~~~~~\n+\n+Within the context of `xclim` development, AI assistance constitutess any code, code snippets, configurations, documentation, or other programmatic assets produced, suggested, or significantly modified by an artificial intelligence model, tool, or service.\n+\n+AI assistance can also include code that is heavily adapted from or influenced by outputs from prompts made to generative artificial intelligence models, tools, or services.\n+\n+Usage Disclosure\n+~~~~~~~~~~~~~~~~\n+\n+If you are using any kind of AI assistance while contributing to `xclim`, **this must be disclosed in the pull request**, along with the extent to which AI assistance was used (e.g. documentation, code generation, review comments).\n+Using AI to help draft responses is allowed only if the contributor meaningfully reviews, edits, and takes full responsibility for the content.\n+Submitting AI-generated replies without human verification or understanding is not permitted.\n+Misrepresenting AI-generated content as purely human-authored is considered a violation of the contribution guidelines.\n+\n+Some example disclosures:\n+\n+.. admonition:: Pull Request Description\n+\n+    ### Other information:\n+\n+    * This PR was primarily written using a combination of OpenClaw (Kimi K2.5) and ChatGPT (GPT-o4-mini). After using these tools, I reviewed the content.\n+\n+    <!-- or -->\n+\n+    * This PR was primarily written by me with small code snippets copy-pasted from chats with Claude (Sonnet 4.6).\n+\n+    <!-- or -->\n+\n+    * I asked GitHub Copilot to clean up and improve code I had written. I then reviewed the final product.\n+\n+As a small exception, trivial tab-completion doesn't need to be disclosed, so long as it is limited to single keywords or short phrases.\n+\n+For commits originating exclusively from AI, we also ask that their commits are signed with \"Assisted-by: <tool name>\" disclosure (this demand is repeated in `AGENTS.md`):\n+\n+.. admonition:: Commit Message\n+\n+    Added new indicator for sub-tropical Easter snowstorm events\n+\n+    Assisted-by: Claude Opus 4.5\n+\n+Failing to disclose the use of artificial intelligence models, tools, or services is disrespectful to the developers and maintainers of open source software projects.\n+We ask that contributors are forthcoming with this information so that the effort and scrutiny applied to Pull Request reviews can be adjusted accordingly.\n+\n+Code Review\n+~~~~~~~~~~~\n+\n+All AI-assisted code contributions must be reviewed by both the human contributor prior to opening the Pull Request as well as by a human reviewer prior to approval and merging to the `main` branch.\n+\n+Low Effort Contributions\n+~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+AI-generated low-effort contributions are unacceptable; Human contributors must be capable of explaining their changes, responding to review comments, and precisely adapting their contributions as requested.",
      "tags": [
        {
          "raw": "#human-responsibility/yes",
          "namespace": "human-responsibility",
          "value": "yes",
          "dimension": "human_responsibility",
          "dimension_label": "Human responsibility",
          "kind": "value",
          "value_label": "Yes \u2014 contributor is responsible for submitted work",
          "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work",
          "filter_key": "human_responsibility:yes"
        }
      ],
      "tag_strings": [
        "#human-responsibility/yes"
      ],
      "displays": [
        "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
      ],
      "filter_keys": [
        "human_responsibility:yes"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "human_responsibility": [
          {
            "value": "yes",
            "filter_key": "human_responsibility:yes",
            "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
          }
        ]
      },
      "path": "projects/xclim/CONTRIBUTING.rst",
      "project": "xclim",
      "start_line": 450,
      "line": 453,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4554161335",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T17:47:11Z",
      "updated_at": "2026-11-12T17:47:11Z"
    },
    {
      "id": 4554169821,
      "body": "#human-responsibility/yes",
      "quote": "==========\nGovernance\n==========\n\nDecision-Making in xclim\n------------------------\n\nDevelopment priorities and the future direction of ``xclim`` are discussed by the maintainers during regular meetings, typically held once per month.\nBetween meetings, maintainers review GitHub issues and discussions as time permits, identifying priorities based on community needs, implementation effort, and the availability of contributors.\n\nThe maintainers are responsible for reviewing and merging pull requests, making release decisions, and resolving disagreements when consensus cannot otherwise be reached.",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,24 @@\n+==========\n+Governance\n+==========\n+\n+Decision-Making in xclim\n+------------------------\n+\n+Development priorities and the future direction of ``xclim`` are discussed by the maintainers during regular meetings, typically held once per month.\n+Between meetings, maintainers review GitHub issues and discussions as time permits, identifying priorities based on community needs, implementation effort, and the availability of contributors.\n+\n+The maintainers are responsible for reviewing and merging pull requests, making release decisions, and resolving disagreements when consensus cannot otherwise be reached.",
      "tags": [
        {
          "raw": "#human-responsibility/yes",
          "namespace": "human-responsibility",
          "value": "yes",
          "dimension": "human_responsibility",
          "dimension_label": "Human responsibility",
          "kind": "value",
          "value_label": "Yes \u2014 contributor is responsible for submitted work",
          "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work",
          "filter_key": "human_responsibility:yes"
        }
      ],
      "tag_strings": [
        "#human-responsibility/yes"
      ],
      "displays": [
        "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
      ],
      "filter_keys": [
        "human_responsibility:yes"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "human_responsibility": [
          {
            "value": "yes",
            "filter_key": "human_responsibility:yes",
            "display": "Human responsibility: Yes \u2014 contributor is responsible for submitted work"
          }
        ]
      },
      "path": "projects/xclim/governance.rst",
      "project": "xclim",
      "start_line": 11,
      "line": 11,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4554169821",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T17:47:55Z",
      "updated_at": "2026-11-12T17:47:55Z"
    },
    {
      "id": 4554216842,
      "body": "#disclosure/required",
      "quote": "<!--\nPlease ensure the PR fulfills the following requirements!\n\n- If this is your first PR, make sure to add your details to the AUTHORS.rst and .zenodo.json!\n- If AI was used in the development of this contribution, please detail this information under \"Other information\"",
      "quote_source": "diff_hunk",
      "diff_hunk": "@@ -0,0 +1,22 @@\n+<!--\n+Please ensure the PR fulfills the following requirements!\n+\n+- If this is your first PR, make sure to add your details to the AUTHORS.rst and .zenodo.json!\n+- If AI was used in the development of this contribution, please detail this information under \"Other information\"",
      "tags": [
        {
          "raw": "#disclosure/required",
          "namespace": "disclosure",
          "value": "required",
          "dimension": "disclosure",
          "dimension_label": "Disclosure",
          "kind": "value",
          "value_label": "Required",
          "display": "Disclosure: Required",
          "filter_key": "disclosure:required"
        }
      ],
      "tag_strings": [
        "#disclosure/required"
      ],
      "displays": [
        "Disclosure: Required"
      ],
      "filter_keys": [
        "disclosure:required"
      ],
      "parse_warnings": [],
      "needs_tag_review": false,
      "codes": {
        "disclosure": [
          {
            "value": "required",
            "filter_key": "disclosure:required",
            "display": "Disclosure: Required"
          }
        ]
      },
      "path": "projects/xclim/PULL_REQUEST_TEMPLATE.md",
      "project": "xclim",
      "start_line": 5,
      "line": 5,
      "side": "RIGHT",
      "user": "chendaniely",
      "pr_number": 6,
      "html_url": "https://github.com/pyOpenSci/open-research-tagging/pull/6#discussion_r4554216842",
      "commit_id": "c19fa82f4b9faccd57da6d0f4dc5858e5fcfa41a",
      "created_at": "2026-11-12T17:52:10Z",
      "updated_at": "2026-11-12T17:52:10Z"
    }
  ]
}
