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 provides both Bash and PowerShell examples for querying logs via Azure CLI, but in each case, the PowerShell example is presented immediately after Bash and is more detailed, using specific PowerShell cmdlets (Invoke-AzOperationalInsightsQuery) that are Windows-centric. The variable assignment uses 'SET' in Bash, which is a Windows command, not standard in Linux Bash, suggesting a Windows-first approach. There are no Linux-specific tools or patterns mentioned, and the documentation does not clarify platform differences or recommend Linux-native alternatives.
Recommendations
  • Replace 'SET' with 'export' for Bash variable assignment to reflect standard Linux usage.
  • Clarify platform differences in variable assignment and command syntax (e.g., use 'export WORKSPACE_ID=...' for Bash, '$WORKSPACE_ID = ...' for PowerShell).
  • Provide Linux-native CLI examples and explicitly mention compatibility with Linux shells.
  • Avoid using Windows-centric terminology or tools unless necessary, and ensure parity in example detail for both platforms.
  • Add notes or sections for troubleshooting or usage on Linux systems, including common shell environments (bash, zsh, etc.).
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Biased Biased
2026-01-13 00:00 #246 completed Biased Biased
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 Biased Biased
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets