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
Summary
The documentation demonstrates a Windows bias in several ways: it explicitly states that the example deploys Windows software on Windows-based Batch nodes, uses a Windows-specific FFmpeg build, and the ARM template for the Batch pool is hardcoded to use Windows Server images. There are no parallel Linux examples, and the repository setup and pipeline instructions only reference Windows artifacts. Additionally, the agent specification in the pipeline is set to 'windows-latest', and PowerShell Core is used for scripting, with no mention of Bash or Linux agents.
Recommendations
  • Provide parallel Linux-based examples throughout the documentation, including ARM templates for Linux Batch pools (e.g., using Ubuntu images) and instructions for deploying Linux software.
  • Include instructions for downloading and packaging a Linux build of FFmpeg, and update the repository structure to accommodate both Windows and Linux application packages.
  • Show how to set up the pipeline using a Linux agent (e.g., 'ubuntu-latest') and provide Bash script alternatives for Azure CLI tasks.
  • Clearly state at the beginning that both Windows and Linux are supported, and offer readers a choice of which path to follow.
  • Where possible, use OS-agnostic language and tools, or provide both Windows and Linux command examples side by side.
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

{
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
    "contentVersion": "1.0.0.0",
    "parameters": {
        "batchAccountName": {
           "type": "string",
           "metadata": {
                "description": "Name of the Azure Batch Account"
           }
        },
        "batchAccountPoolName": {
            "type": "string",
            "metadata": {
                 "description": "Name of the Azure Batch Account Pool"
             }
         }
    },
    "variables": {},
    "resources": [
        {
            "name": "[concat(parameters('batchAccountName'),'/', parameters('batchAccountPoolName'))]",
            "type": "Microsoft.Batch/batchAccounts/pools",
            "apiVersion": "2017-09-01",
            "properties": {
                "deploymentConfiguration": {
                    "virtualMachineConfiguration": {
                        "imageReference": {
                            "publisher": "MicrosoftWindowsServer",
                            "offer": "WindowsServer",
                            "sku": "2022-datacenter",
                            "version": "latest"
                        },
                        "nodeAgentSkuId": "batch.node.windows amd64"
                    }
                },
                "vmSize": "Standard_D2s_v3"
            }
          }
    ],
    "outputs": {}
}