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 Azure PowerShell examples for all CLI steps, but PowerShell is given equal prominence to Bash, and is mentioned in prerequisites and throughout the guide. There is a slight Windows bias in the explicit inclusion of PowerShell examples and instructions, while Linux-specific shells or tools (e.g., zsh, fish) are not mentioned. The guide does not provide Windows-only tools, but the parity between Bash and PowerShell may suggest a prioritization of Windows users, as PowerShell is primarily a Windows shell (though available on Linux).
Recommendations
  • Clarify that Bash instructions work on Linux, macOS, and Windows (with WSL or Git Bash), while PowerShell is primarily for Windows users.
  • Add explicit notes about running Bash commands on Linux/macOS, and provide troubleshooting tips for those platforms.
  • Consider including examples for other common Linux shells if relevant (e.g., zsh), or at least mention their compatibility.
  • Ensure that all prerequisites and steps are equally clear for Linux users, including installation instructions for dependencies on Linux.
  • If PowerShell is included for Windows parity, consider adding a note that Bash is the default shell on most Linux distributions.
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

$ResourceGroupName = 'webpubsub-resource-group'
$Location = 'EastUS'
$WebPubSubName = '<YourUniqueName>'
az webpubsub create `
  --name $WebPubSubName `
  --location $Location `
  --resource-group $ResourceGroupName `
  --sku Free_F1
az webpubsub client start `
  --name $WebPubSubName `
  --resource-group $ResourceGroupName `
  --hub-name 'myHub1' `
  --user-id 'user1' 
    $connection_string = "<your_connection_string>"
    
    mvn exec:java -Dexec.mainClass="com.webpubsub.quickstart.App" -Dexec.cleanupDaemonThreads=false -Dexec.args=" '$connection_string' 'myHub1' 'Hello World'"