Skip to content

AI generated code quality framework - #347

Open
BugShredder wants to merge 9 commits into
mainfrom
AI-Generated-Code-Quality-Framework
Open

BugShredder wants to merge 9 commits into
mainfrom
AI-Generated-Code-Quality-Framework

Conversation

@BugShredder

Copy link
Copy Markdown
Contributor

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.

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.
Copilot AI balanced review requested due to automatic review settings November 18, 2026 14:53
@snyk-io-eu

snyk-io-eu Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 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>
Copilot AI balanced review requested due to automatic review settings November 18, 2026 14:59
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>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 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>
Copilot AI balanced review requested due to automatic review settings November 18, 2026 15:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 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>
Copilot AI balanced review requested due to automatic review settings November 18, 2026 15:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Human assessment is needed because masking and low re-identification risk do not establish that production-derived data complies with the prohibition on personal information.

1 open issue
1 resolved since last review

Review effort: Balanced

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The data-use exceptions could permit personal information or above-Official documents in AI tools, conflicting with absolute policy prohibitions and requiring explicit exclusions.

2 open issues

Review effort: Balanced

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 18, 2026 15:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the AI-assisted testing and generated-code quality framework.

1 open issue
1 resolved since last review

Review effort: Balanced

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>
Copilot AI balanced review requested due to automatic review settings November 18, 2026 15:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The review identifies no active issues requiring changes to the AI testing and code-quality framework.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 18, 2026 15:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

There are no active review issues for the proposed AI-assisted testing and AI-generated code quality framework.

No open issues 🎉

Review effort: Balanced

@BugShredder BugShredder removed their assignment Nov 18, 2026

This branch has not been deployed

No deployments
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.

7 participants