Skip to content

Update AI Policy - #664

Open
Yaswant Pradhan (yaswant) wants to merge 3 commits into
MetOffice:mainfrom
yaswant:tidy
Open

Update AI Policy#664
Yaswant Pradhan (yaswant) wants to merge 3 commits into
MetOffice:mainfrom
yaswant:tidy

Conversation

@yaswant

@yaswant Yaswant Pradhan (yaswant) commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

PR Summary

Update AI policy and tidy some typographical errors.

Code Reviewer: Pierre Siddall (@Pierre-siddall)

Code Quality Checklist

Code Review

  • The changes are coherent and valid

Comment thread source/FurtherDetails/ai.rst Outdated
indemnity or legal protection for generated code. Its use is *strictly
prohibited* for any contributions to our simulation systems.
* **Contributor Liability**: Under all circumstances, individual *contributors bear
full legal and professional responsibility* for the integrity of the code they

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have been challenged by a contributor on the wording "bear full [] legal responsibility". Is this backed up by guidance from the legal team or a wider corporate guidance on Gen AI ?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Certainly in the ancillary space we've been advised in past (in a ever and rapidly evolving set of opinions and guidance) that it is the submitter's responsibility to ensure they're not violating someone else's IPR and that they've taken appropriate steps to avoid that. We ask the question explicitly regarding IPR in our submission templates, at which point the ANTS team is "acting in good faith" based on the information provided by the submitter who has confirmed that they've taken steps to avoid IPR violations, so the legal question would ultimately fall on the developer.

Our wider (Met Office) guidance only seems to consider the Met Office scope though. It's been somewhat grey in terms of how we interact with external bodies and international partners.

Something to take to the Science Codes Owner and Legal though.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My question was precisely if this guidance is written down somewhere and approved by legal. If yes, maybe let's refer to it in the text.

Another point is that for me "integrity of the code" can be construed as wider than IPR issues.

@arjclark Andrew Clark (arjclark) Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another point is that for me "integrity of the code" can be construed as wider than IPR issues.

Indeed. On that point, if this policy addition applies to the repositories you're using this license across: https://github.com/MetOffice/simulation-systems/blob/main/LICENSE then integrity itself probably needs defining very clearly. That license is a BSD 3-clause that says:

"THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."

A contributor would not be able to be made liable by anyone accepting and running codebases with that license for quite a lot of things, regardless of whether they used generative AI or otherwise.

Comment thread source/FurtherDetails/ai.rst Outdated
| 1 | Check file header | Explicitly names an approved | Reject immediately if |
| | and commit message | enterprise-tier tool | free/personal tier |
+------+--------------------+------------------------------+------------------------+
| 2 | Check licence | Code contains no proprietary | Request rewrite/proof |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What exactly is the responsibility of the reviewer here ? How can they assert that a code hasn't been plagiarised ? It is not necessarily obvious.

Should we change the text to code contains no obvious proprietary or restrictively licensed snippet.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's a good point. Slightly rewarded the content in the table.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the text cleaning is fine but I have added two comments in the code changes

  • one about legal responsibility
  • one about reviewer responsibility

@arjclark Andrew Clark (arjclark) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these look sensible adjustments to me.

@jamesp

Copy link
Copy Markdown

Thanks Yaswant Pradhan (@yaswant) for tagging me on the PR and raising its awareness. I think the wording looks like a sensible and pragmatic approach. I agree with Andrew Clark (@arjclark) suggestion above and would welcome further advice from our legal team on whether the stronger wording of previous iterations helps in any potential liability. From my reading of it I don't think you are expecting any greater level of responsibility from contributors than in any other open source code contribution context, only reminding them of their existing obligations to not violate IPR and license stipulations, and adding a requirement to attribute AI usage. It would be good to ensure that agrees with legal view.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am happy with the current iteration. It's important that we get this right so thank you for leading on this. I think we have to accept that it's an evolving picture and that there are still some grey zones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants