Skip to content

Add AI policy #424

@ehogan

Description

@ehogan

The ANTS team have documented the following related to AI:

  • ANTS: Developer guide: Licence, copyright, and IPR:

    Code contributions must not violate intellectual property rights. For example:

    • Ensure that when using Generative AI tools, appropriate guardrails are in place and contributions have correct attribution. For Met Office contributors, this includes adhering to the Use of Generative AI policy. Contributors from other institutions should check if their institution has similar policies, and follow the local policy.
  • ANTS: Developer guide: AI assistance and attribution:

    Code where Generative AI tools have been used needs to have clear attribution to meet the Met Office Generative AI policy. This includes attribution in the commit message and in each modified file. Any file where a modification has been made with Generative AI assistance must have a comment immediately before the module level docstring, containing:
    # Some of the content of this file has been produced with the assistance of <Generative AI tool name>."
    where should be replaced with the specific name of the tool such as Github Copilot Enterprise (e.g. Met Office Github Copilot Enterprise), Github Copilot Personal, ChatGPT GPT-4, etc. For Met Office contributors, Met Office Github Copilot Enterprise is the only approved Generative AI tool.

  • ANTS: Developer guide: Making changes:

    Every commit made with the assistance of Generative AI tools need to be flagged in the commit message. The second line of the commit should be blank, but the third line should be:
    Some of the content of this commit has been produced with the assistance of <Generative AI tool name>

  • ANTS: PR checklist

    I confirm I have not knowingly violated intellectual property rights (IPR) and have taken sensible measures to prevent doing so, including appropriate attribution for usage of Generative AI. I confirm that this work is my own, and I understand that it is my responsibility to ensure I am not violating others’ IPR. This includes taking reasonable steps to ensure that all tools used while creating this contribution did not infringe IPR.

The Use of Generative AI Policy v2.0 states "You must clearly attribute the use of these tools if significant output is incorporated into your work. For example, including a note at the top of a Word document, or in a README for a code repository.".

We should decide what to document for CMEW.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestneeds refinementThis issue needs to be refined

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions