#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.
- 4files
- 1AL files
- 0objects
Pull request · 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).