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
powershell_heavy
windows_tools
windows_first
missing_linux_example
Summary
The documentation provides both shell (Linux/Unix) and PowerShell (Windows) examples for uploading files and running jobs on HDInsight. However, PowerShell examples are more detailed, cover more scenarios (including error handling and job output retrieval), and are presented in full script form. There are multiple references to Windows-specific issues (e.g., CRLF line endings) and solutions using PowerShell. In troubleshooting, only PowerShell solutions are given for line ending problems, with no mention of Linux tools (e.g., dos2unix). The PowerShell workflow is described as the main remote submission method, and some limitations (e.g., inability to use C Python remotely) are only discussed in the PowerShell context. Windows tools and patterns (PowerShell, Azure modules) are mentioned before or more prominently than Linux equivalents.
Recommendations
  • Provide equivalent Bash scripts for all PowerShell examples, including job submission, error retrieval, and file upload, using Azure CLI or REST API.
  • Include troubleshooting steps for CRLF issues using Linux tools (e.g., dos2unix, sed) alongside PowerShell solutions.
  • Clarify that both Linux and Windows environments are supported, and ensure that instructions for Linux users are as detailed and complete as those for Windows/PowerShell users.
  • Mention Azure CLI as a cross-platform alternative to PowerShell for remote job submission and management.
  • Where limitations exist (e.g., remote submission with C Python), explain if/how Linux users can work around them or provide parity.
  • Balance the order of presentation so that Linux/Bash workflows are not secondary to Windows/PowerShell workflows.
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 Clean Clean
2025-07-12 23:44 #41 cancelled Biased Biased

Flagged Code Snippets