---
id: change/bcquality/227
type: change
title: "#227 Evaluation: keep sample comments for the two articles whose rule is about comments"
summary: Added optional keepComments list to evaluation fixtures so articles about comments themselves retain full-line comments in samples during preparation, enabling proper rule evaluation for the two affected articles.
tier: official
language: en
tags:
  - feature
  - main
system: development
review:
  state: reviewed
  by: opus
  at: "2026-11-04T00:58:50.679Z"
  flags: []
generated:
  at: "2026-11-04T00:16:32.194Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: ce3ae03742d6652757bc7308cb068e06d19bc53e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCQuality/pull/227
    title: "microsoft/BCQuality#227: Evaluation: keep sample comments for the two articles whose rule is about comments"
    date: "2026-11-03"
    commit: ce3ae03742d6652757bc7308cb068e06d19bc53e
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 227
repo: microsoft/BCQuality
source_id: bcquality-prs
url: https://github.com/microsoft/BCQuality/pull/227
kind: pr
base_branch: main
major: null
merged_at: "2026-11-03T09:42:09Z"
author: Nikolaj1407
author_type: User
community_contribution: false
labels: []
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 4
  additions: 44
  deletions: 2
  al: 1
apps: []
objects_touched: []
objects_unjoined:
  - path: microsoft/knowledge/testing/test-feature-scenario-tags.bad.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items: []
systems:
  - development
quote: null
joined_against:
  major: null
  commit: null
---

# #227 Evaluation: keep sample comments for the two articles whose rule is about comments

> Added optional keepComments list to evaluation fixtures so articles about comments themselves retain full-line comments in samples during preparation, enabling proper rule evaluation for the two affected articles.

[Pull request](https://github.com/microsoft/BCQuality/pull/227) · merged into `main` on 2026-11-03 by Nikolaj1407 · 4 files (+44 -2), 1 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- New optional keepComments field in review-fixtures.json lets specific articles preserve full-line comments in samples
- Addresses limitation where comment removal prevented evaluation of rules focused on commenting practices
- Sample for test-feature-scenario-tags.bad.al was cleaned to remove comments that revealed expected outcome
- Preparation still applies Good/Bad token neutralisation even with comments kept
- Both affected articles (test-feature-scenario-tags and al-comments-must-not-restate) documented with keepComments entries
- Behaviour changes for users or extensions.

## AL objects touched

- `microsoft/knowledge/testing/test-feature-scenario-tags.bad.al`: modified, not in the BC? snapshot

## Context

- Systems: development

Source: metadata of a merged pull request in microsoft/BCQuality (bcquality): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
