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

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 ID Status Bias Status
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ 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": {} }