Repository navigation
AI generated code quality framework - #347
BugShredder wants to merge 9 commits into
Conversation
Updated the AI Testing and AI-Generated Code Quality Framework document to enhance clarity and structure, including new sections and guidelines on AI usage in testing and code validation.
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
🟡 Changes recommended
The framework’s approval-based exceptions conflict with existing prohibitions on above-Official documents, personal information, and credentials, leaving testers with contradictory instructions about what data may be submitted to AI tools.
2 open issues
What changed in this PR
Adds a framework for using AI in testing and validating AI-generated code, connecting quality-assurance practices with the existing engineering AI strategy and delivery controls.
Changes:
- Defines validation layers, test requirements and coverage expectations.
- Sets out test-data restrictions, approval controls, responsibilities and evidence requirements.
- Describes risk mitigations and plans to refine training and maturity guidance after the AI testing proof of concept.
| File | Description |
|---|---|
| quality-assurance/AI Testing and AI-Generated Code Quality Framework.md | Introduces the AI-assisted testing and code quality framework. |
Review effort: Balanced
Clarified data exposure guidelines for AI tools, emphasizing the prohibition of personal information and credentials. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Updated data usage policies for AI tools, clarifying restrictions on sensitive and classified information. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
The Official+ data row contradicts the prohibition on documents above Official and weakens sensitive-data approval requirements, creating an ambiguous exception to security controls.
1 open issue
2 resolved since last review
Review effort: Balanced
Updated data usage policies for AI tools, clarifying restrictions on sensitive data and approval requirements. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
The “Official+” exception could be read as overriding the ban on data above Official, while broken table formatting separates sensitive-data and credential controls from their headers.
2 open issues
1 resolved since last review
Review effort: Balanced
Updated guidelines for data usage with AI tools in testing. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Updated guidance for the usage of anonymised or masked production-like data, emphasizing the need for validated sanitisation and approval. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>



This document provides a practical framework for using AI safely and effectively in testing and AI-generated code quality assurance. It is intended for test leads, test engineers, developers, delivery teams and governance stakeholders who need clear guidance on reviewing, validating, evidencing and controlling AI-assisted outputs before they inform delivery decisions.