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:
⚠️ powershell_heavy
⚠️ windows_first
⚠️ missing_linux_example
Summary:
The documentation demonstrates a Windows bias by exclusively using PowerShell commands for project setup, environment variable configuration, and package installation. There are no equivalent Linux/macOS (bash/sh) commands or instructions provided, which may hinder users on non-Windows platforms. This is especially notable in the sections for creating a project directory, installing packages, and setting environment variables.
Recommendations:
  • Provide equivalent bash (Linux/macOS) commands alongside PowerShell examples for all shell operations, such as directory creation (e.g., 'mkdir', 'cd', 'touch'), package installation ('pip install ...'), and setting environment variables (e.g., 'export VAR=value').
  • When presenting shell commands, either show both Windows and Linux/macOS versions together or default to cross-platform syntax where possible.
  • Explicitly mention that the examples are shown in PowerShell and provide a note or tabbed interface for users to select their platform.
  • Review all code snippets and instructions to ensure Linux and macOS users can follow along without ambiguity or additional research.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-07-12 23:44 #41 in_progress ❌ Biased
2025-07-12 00:58 #8 cancelled ✅ Clean
2025-07-10 05:06 #7 processing ✅ Clean

Flagged Code Snippets

$Env:SUBSCRIPTION_KEY="your subscription key"
mkdir mapsDemo cd mapsDemo New-Item demo.py
$Env:AZURE_CLIENT_ID="Application (client) ID" $Env:AZURE_CLIENT_SECRET="your client secret" $Env:AZURE_TENANT_ID="your Directory (tenant) ID" $Env:MAPS_CLIENT_ID="your Azure Maps client ID"