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 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 Status Result
2026-01-14 00:00 #250 in_progress Biased Biased
2026-01-13 00:00 #246 completed Biased Biased
2026-01-11 00:00 #240 completed Biased Biased
2026-01-10 00:00 #237 completed Biased Biased
2026-01-09 00:34 #234 completed Biased Biased
2026-01-08 00:53 #231 completed Biased Biased
2026-01-06 18:15 #225 cancelled Clean Clean
2025-08-17 00:01 #83 cancelled Clean Clean
2025-07-13 21:37 #48 completed Biased Biased
2025-07-12 23:44 #41 cancelled Biased 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)