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
Summary
The documentation provides both Bash (Linux) and PowerShell (Windows) examples for retrieving host names via the Ambari REST API, but the PowerShell example is given immediately after the Bash example, and Windows-specific tools (ConvertFrom-Json) are mentioned alongside Linux tools (jq). There is a slight Windows-first bias in mentioning Windows tools and patterns (PowerShell, ConvertFrom-Json) at parity with Linux tools, rather than prioritizing Linux, which is more common in HDInsight clusters.
Recommendations
  • Explicitly state which example is for Linux/macOS and which is for Windows, rather than presenting them as equal alternatives.
  • Provide the Linux/Bash example first, as HDInsight clusters are typically Linux-based.
  • Add a note clarifying that most HDInsight clusters run on Linux and that the Bash/jq example is the default approach.
  • If possible, provide additional Linux-native tools or commands (e.g., Python, curl with grep/sed/awk) to increase parity.
  • Consider including troubleshooting tips or environment setup instructions for Linux users (e.g., installing jq).
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-09-16 00:00 #113 completed Clean Clean
2025-09-15 00:00 #112 completed Clean Clean
2025-09-14 00:00 #111 completed Clean Clean
2025-09-13 00:00 #110 completed Clean Clean
2025-09-12 00:00 #109 completed Clean Clean
2025-09-11 00:00 #108 completed Clean Clean
2025-09-10 00:00 #107 completed Clean Clean
2025-09-09 00:00 #106 completed Clean Clean
2025-09-08 00:00 #105 completed Clean Clean
2025-09-07 00:00 #104 completed Clean Clean
2025-09-06 00:00 #103 completed 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
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets