Sad Tux - Windows bias detected
This page contains Windows bias

About This Page

This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.

Bias Analysis

Detected Bias Types
windows_first
powershell_heavy
Summary
The documentation presents PowerShell (Windows-centric) examples before Azure CLI (cross-platform) examples when describing how to create diagnostic settings for Azure Load Balancer. The PowerShell section is more detailed, with multiple scenarios (Log Analytics, Storage Account, Event Hub) and step-by-step variable assignments, while the Azure CLI section, though present, is listed after PowerShell. There are no Linux-specific shell examples (e.g., bash scripts), nor is there mention of platform-specific considerations for Linux users. The documentation implicitly prioritizes Windows tooling and patterns by leading with PowerShell.
Recommendations
  • Present Azure CLI examples before PowerShell, or interleave them so that each scenario (Log Analytics, Storage, Event Hub) shows both CLI and PowerShell side-by-side.
  • Explicitly state that Azure CLI is cross-platform and suitable for Linux, macOS, and Windows users.
  • Add bash script examples or notes for Linux users, especially for common automation scenarios.
  • Include a brief section or note on platform parity, clarifying that all operations can be performed from Linux, macOS, or Windows using Azure CLI.
  • Avoid language or ordering that implies PowerShell is the default or preferred method unless there is a technical reason.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Clean Clean
2026-01-13 00:00 #246 completed Clean Clean
2026-01-11 00:00 #240 completed Biased Biased
2026-01-10 00:00 #237 completed Biased Biased
2026-01-09 00:34 #234 completed Biased Biased
2026-01-08 00:53 #231 completed Biased Biased
2026-01-06 18:15 #225 cancelled Clean Clean
2025-08-17 00:01 #83 cancelled Clean Clean
2025-07-13 21:37 #48 completed Clean Clean
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Clean Clean

Flagged Code Snippets