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
windows_tools
Summary
The documentation consistently uses the Windows-specific 'setx' command for setting environment variables, without providing equivalent commands for Linux or macOS (e.g., 'export' for bash/zsh). All environment variable instructions and examples are Windows-centric, and there is no mention of Linux or cross-platform alternatives. Additionally, references to restarting Visual Studio reinforce a Windows development environment bias.
Recommendations
  • For every environment variable example using 'setx', provide equivalent Linux/macOS commands (e.g., 'export VAR=value' for bash/zsh, or instructions for adding to ~/.bashrc or ~/.zshrc).
  • Explicitly mention that the instructions apply to Windows, and provide parallel instructions for Linux/macOS users.
  • Include notes or tabs for different operating systems, so users can select their platform and see relevant commands.
  • When referencing tools like Visual Studio, also mention cross-platform editors (e.g., VS Code) and clarify any platform-specific steps.
  • Link to official Microsoft documentation on setting environment variables for all supported operating systems.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-12 00:00 #99 completed Clean Clean
2026-01-11 06:20 #98 completed Clean Clean
2026-01-10 00:00 #92 completed Clean Clean
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

setx COMMUNICATION_SERVICES_CONNECTION_STRING "<your connection string>"
    setx AZURE_CLIENT_ID "<your app's appId>"
    setx AZURE_CLIENT_SECRET "<your app's password>"
    setx AZURE_TENANT_ID "<your app's tenant>"
    
setx COMMUNICATION_SERVICES_KEY "<your key>"