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
missing_linux_example
Summary
The documentation provides both Bash and PowerShell examples for querying logs via Azure CLI, but PowerShell examples are consistently shown after Bash. However, there are subtle signs of Windows bias: the Bash examples use 'SET' (a Windows CMD command) instead of 'export' (the standard for Bash on Linux/macOS), and the PowerShell examples use Windows-specific cmdlets (Invoke-AzOperationalInsightsQuery). There is no explicit mention of Linux/macOS tools or shell environments, and the use of 'SET' in Bash examples may confuse Linux users. No Linux/macOS-specific troubleshooting or parity notes are present.
Recommendations
  • Replace 'SET' with 'export' in Bash examples to match standard Linux/macOS usage.
  • Add explicit notes clarifying that Bash examples are intended for Linux/macOS and CMD examples for Windows.
  • Provide troubleshooting tips or environment notes for Linux/macOS users (e.g., Azure CLI installation, shell compatibility).
  • Ensure parity in example order (sometimes show Bash first, sometimes PowerShell) or clarify that both are equally supported.
  • Include a brief section on running Azure CLI commands in Linux/macOS terminals.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-12 00:00 #99 completed Biased Biased
2026-01-11 06:20 #98 completed Biased Biased
2026-01-10 00:00 #92 completed Biased Biased
2026-01-06 22:28 #78 completed Clean Clean
2025-12-29 18:00 #48 cancelled Biased Biased
2025-12-15 00:00 #7 completed Clean Clean
2025-12-14 05:05 #6 completed Clean Clean

Flagged Code Snippets