---
id: change/bcquality/109
type: change
title: "#109 style-review: calibrate variable-declaration order (AA0021) to info"
summary: The variable-declaration-order rule (AA0021) severity is calibrated down from minor to info level in quality reviews because it is redundant with the CodeCop analyzer.
tier: official
language: en
tags:
  - other
  - main
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:12:20.334Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 712dee9ec1f0b098f859753e083e8c6efa903d01
evidence:
  - kind: code
    url: https://github.com/microsoft/BCQuality/pull/109
    title: "microsoft/BCQuality#109: style-review: calibrate variable-declaration order (AA0021) to info"
    date: "2026-07-17"
    commit: 712dee9ec1f0b098f859753e083e8c6efa903d01
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 109
repo: microsoft/BCQuality
source_id: bcquality-prs
url: https://github.com/microsoft/BCQuality/pull/109
kind: pr
base_branch: main
major: null
merged_at: "2026-07-17T12:17:33Z"
author: gggdttt
author_type: User
community_contribution: false
labels: []
change_class: code
change_kind: other
behavior_change: true
breaking: false
files:
  count: 1
  additions: 1
  deletions: 1
  al: 1
apps: []
objects_touched: []
objects_unjoined:
  - path: microsoft/skills/review/al-style-review.md
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items: []
systems:
  - development
quote: null
joined_against:
  major: null
  commit: null
---

# #109 style-review: calibrate variable-declaration order (AA0021) to info

> The variable-declaration-order rule (AA0021) severity is calibrated down from minor to info level in quality reviews because it is redundant with the CodeCop analyzer.

[Pull request](https://github.com/microsoft/BCQuality/pull/109) · merged into `main` on 2026-07-17 by gggdttt · 1 file (+1 -1), 1 AL · other · tier official · reviewed (checked by Opus)

## What changed

- AA0021 rule severity changes from minor to info to stop competing with substantive style checks
- Rule is purely analyzer-redundant and already covered by CodeCop
- Aligns with similar analyzer-redundant rules (AA0248, AA0074) already at info level
- Online evaluation showed false positive rate, justifying the downgrade
- Text-only change to severity calibration documentation
- Behaviour changes for users or extensions.

## AL objects touched

- `microsoft/skills/review/al-style-review.md`: 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).
