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
windows_tools
missing_linux_example
Summary
The documentation is heavily oriented towards Windows users: all file and directory commands use Windows Command Prompt syntax, file editing is done with Notepad, and troubleshooting uses PowerShell scripts. There are no equivalent Linux/macOS commands or editor suggestions, despite HDInsight clusters being Linux-based. Linux command-line patterns (e.g., mkdir, rm, nano/vi) are missing, and Windows tools are mentioned exclusively or first.
Recommendations
  • Provide Linux/macOS equivalents for all command-line instructions (e.g., use mkdir, cd, rm -rf, nano/vi for file editing).
  • Include both Windows and Linux/macOS command blocks side by side or in tabs for each step.
  • Suggest cross-platform editors (e.g., VS Code, nano, vi) instead of only Notepad.
  • For troubleshooting, provide Linux command-line solutions (e.g., dos2unix, sed) for fixing line endings, not just PowerShell.
  • Clarify at the start that instructions are for Windows and provide a parallel set for Linux/macOS users.
  • Where possible, use platform-neutral language and tools, especially since 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

# Set $original_file to the Python file path
$text = [IO.File]::ReadAllText($original_file) -replace "`r`n", "`n"
[IO.File]::WriteAllText($original_file, $text)