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

Bias Types:
⚠️ windows_first
⚠️ powershell_heavy
⚠️ windows_tools
Summary:
The documentation demonstrates a Windows bias by listing Windows-specific tools and workflows first (e.g., PowerShell, WebMatrix), providing explicit PowerShell/Windows CLI commands, and referencing Windows-centric development environments before their Linux or cross-platform equivalents. Linux and Mac alternatives are mentioned but not given equal prominence or detailed examples.
Recommendations:
  • Ensure that instructions for creating and deploying Node.js applications include Linux and macOS workflows (e.g., using Bash, Terminal, or cross-platform editors like VS Code) alongside or before Windows-specific tools.
  • When mentioning command-line interfaces, list Bash (Linux), Terminal (macOS), and PowerShell (Windows) in a neutral or rotating order, and provide equivalent command examples for each where relevant.
  • For retrieving connection strings or performing Azure operations, provide Azure CLI examples (which are cross-platform) before or alongside PowerShell commands.
  • Avoid referencing Windows-only tools (such as WebMatrix) without offering cross-platform alternatives.
  • Audit all step-by-step instructions to ensure Linux users are not left to infer steps or commands that are only explicitly shown for Windows.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ✅ Clean
2025-07-12 23:44 #41 in_progress ❌ Biased

Flagged Code Snippets

var payload = '<?xml version="1.0" encoding="utf-8"?><wp:Notification xmlns:wp="WPNotification"><wp:Toast><wp:Text1>string</wp:Text1><wp:Text2>string</wp:Text2></wp:Toast></wp:Notification>'; notificationHubService.mpns.send(null, payload, 'toast', 22, function(error){ if(!error){ //notification sent } });
var payload = '<toast><visual><binding template="ToastText01"><text id="1">Hello!</text></binding></visual></toast>'; notificationHubService.wns.send(null, payload , 'wns/toast', function(error){ if(!error){ // notification sent } });