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 page demonstrates a Windows bias by exclusively using PowerShell commands for project setup and environment variable configuration. There are no Linux/macOS shell (bash) equivalents provided for creating directories, files, or setting environment variables. This may hinder Linux and macOS users, as the instructions are not directly applicable to their platforms.
Recommendations:
  • Provide equivalent bash (Linux/macOS) commands alongside PowerShell for all shell-based instructions, such as project directory creation and environment variable setting.
  • When showing how to set environment variables, include both PowerShell and bash/zsh syntax (e.g., export VAR=value).
  • Consider using platform-agnostic language or clearly labeling which commands are for Windows and which are for Linux/macOS.
  • Add a note or section addressing cross-platform usage, ensuring parity and clarity for users on non-Windows systems.
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-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ Biased

Flagged Code Snippets

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"
$Env:SUBSCRIPTION_KEY="your subscription key"