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
missing_linux_example
windows_tools
powershell_heavy
Summary
The documentation page demonstrates a Windows bias in several ways. Code examples for deploying and running application packages on Azure Batch are exclusively in C# and use Windows-centric command lines (e.g., 'cmd /c', Windows environment variable formats, Windows image references). There are no Linux shell or Bash examples, and Windows node configuration is shown before Linux equivalents. Windows-specific tools and patterns (such as referencing 'cmd /c' and Windows image references) are used without Linux alternatives. Linux-specific details are only mentioned in passing, mostly in environment variable formatting, and not in code or deployment examples.
Recommendations
  • Provide equivalent Linux/Bash code examples alongside Windows examples, especially for task command lines and environment variable usage.
  • Show how to configure pools with Linux VM images, including sample imageReference for popular Linux distributions.
  • Include Linux-specific instructions for referencing and executing installed application packages (e.g., using Bash, environment variable syntax, and file paths).
  • Ensure that examples and explanations are presented in parallel for both Windows and Linux, rather than focusing on Windows first.
  • Mention Linux tools and patterns (such as shell scripts) where Windows tools (like cmd.exe) are referenced.
  • Add a section or table summarizing differences and best practices for both Windows and Linux compute nodes.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-18 00:00 #266 completed Biased Biased
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