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 by exclusively using Windows-based Batch pools and Windows application packages (specifically the Windows 64-bit version of FFmpeg). ARM templates are configured for Windows nodes only, and there are no Linux pool or application examples. The build and deployment steps focus on Windows artifacts, and the agent specification is set to 'windows-latest' without mention of Linux alternatives. While there is a brief note that Azure Pipelines and Batch support Linux, no Linux-specific instructions, templates, or examples are provided.
Recommendations:
  • Provide parallel examples for Linux-based Batch pools, including ARM templates with Linux VM images and nodeAgentSkuId for Linux.
  • Include instructions for downloading and packaging the Linux version of FFmpeg, and show how to deploy it to Linux nodes.
  • Demonstrate how to set the agent specification to 'ubuntu-latest' or another Linux agent in Azure Pipelines.
  • Add Linux-specific YAML build and deployment steps, highlighting any differences in file packaging or deployment.
  • Wherever Windows-specific tools or patterns are mentioned (such as PowerShell Core), offer equivalent Bash or Linux shell alternatives.
  • Ensure screenshots and code snippets reflect both Windows and Linux scenarios where applicable.
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": {} }