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 variable assignment uses 'SET' (which is a Windows command, not standard Bash). There is a subtle preference for Windows tooling and patterns, such as the use of PowerShell and 'SET' for Bash, which may confuse Linux users. No Linux-specific tools or patterns (e.g., export, shell scripting, grep) are mentioned, and the Bash examples use syntax that is not idiomatic for Linux environments.
Recommendations
  • Replace 'SET' with 'export' for Bash variable assignment to match Linux conventions.
  • Ensure Bash examples use idiomatic Linux shell syntax and commands.
  • Consider presenting Bash (Linux) examples before PowerShell (Windows) to avoid implicit Windows-first bias.
  • Add notes clarifying differences between Bash on Linux/macOS and PowerShell on Windows, especially for variable assignment and command usage.
  • Include troubleshooting tips or alternative commands for common Linux shells (e.g., zsh, sh) if relevant.
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