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
⚠️ missing_linux_example
⚠️ windows_tools
Summary:
The documentation demonstrates a strong Windows bias: all setup and file manipulation commands use Windows Command Prompt (cmd) syntax, file paths are Windows-style, and Notepad is used as the default editor. The troubleshooting section provides only PowerShell solutions for line ending issues. There are no equivalent Linux/bash commands or instructions, despite HDInsight clusters being Linux-based.
Recommendations:
  • Provide parallel Linux/bash command examples for all steps (e.g., mkdir, cd, rm -rf, nano/vim for editing files).
  • Include Linux file path examples alongside Windows paths.
  • Offer troubleshooting steps using Linux tools (e.g., dos2unix, sed) for line ending issues.
  • State explicitly that the instructions apply to both Windows and Linux, and indicate which commands are for which OS.
  • Consider presenting Linux examples first, given that HDInsight clusters are Linux-based.
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 ❌ Biased
2025-07-12 23:44 #41 in_progress ❌ Biased

Flagged Code Snippets

IF NOT EXIST C:\HDI MKDIR C:\HDI cd C:\HDI
cd ExampleUDF rmdir /S /Q "src/test"
notepad pom.xml
notepad src/main/java/com/microsoft/examples/ExampleUDF.java
# Set $original_file to the Python file path $text = [IO.File]::ReadAllText($original_file) -replace "`r`n", "`n" [IO.File]::WriteAllText($original_file, $text)