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 demonstrates a Windows bias by presenting .NET (C#) and Windows-specific examples and references before Linux or cross-platform alternatives. The .NET example uses a Windows Server image, and PowerShell cmdlets are mentioned as a primary tool. While a Python example with Ubuntu is included, it appears after the Windows/.NET example. There are no explicit Linux shell or CLI examples, and the documentation does not provide parity in tool coverage or ordering.
Recommendations
  • Provide Linux/Bash CLI examples alongside or before Windows/PowerShell/.NET examples.
  • Include explicit instructions and code samples for creating and managing autoscale pools using Azure CLI and Bash scripts, not just PowerShell or .NET.
  • When referencing VM images, alternate or equally present Ubuntu/Linux and Windows images in code samples.
  • Mention cross-platform tools (e.g., Azure CLI) before or alongside platform-specific tools (e.g., PowerShell).
  • Ensure that all SDK and API references (Python, Java, CLI) are given equal prominence and ordering as .NET/Windows.
  • Add a section or callout for Linux users, highlighting any differences or considerations.
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-12 00:00 #243 cancelled 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-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets

$runningTasksSample = $RunningTasks.GetSample(1 * TimeInterval_Minute, 6 * TimeInterval_Minute);
$totalDedicatedNodes =
    (min($CPUPercent.GetSample(TimeInterval_Minute * 10)) > 0.7) ?
    ($CurrentDedicatedNodes * 1.1) : $CurrentDedicatedNodes;
$totalDedicatedNodes =
    (min($CPUPercent.GetSample(TimeInterval_Minute * 10)) > 0.7) ?
    ($CurrentDedicatedNodes * 1.1) : $CurrentDedicatedNodes;
$totalDedicatedNodes =
    (avg($CPUPercent.GetSample(TimeInterval_Minute * 60)) < 0.2) ?
    ($CurrentDedicatedNodes * 0.9) : $totalDedicatedNodes;
$TargetDedicatedNodes = min(400, $totalDedicatedNodes);
$NodeDeallocationOption = taskcompletion;