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
windows_tools
Summary
The documentation demonstrates a subtle Windows bias by specifying 'os = windows' as the default in the Gradle configuration and not discussing Linux deployment options or differences. The instructions and examples are otherwise cross-platform (using Bash, Gradle, Azure CLI, and cURL), but the configuration and deployment steps implicitly prioritize Windows as the runtime OS without mentioning Linux alternatives or considerations.
Recommendations
  • Explicitly mention that Azure Functions supports both Windows and Linux runtimes, and explain the implications of choosing each.
  • Show how to set 'os = linux' in the Gradle configuration, and discuss when a user might want to do so (e.g., for Java 21 support, as noted in the prerequisites).
  • Add a note or section describing any differences in deployment, runtime behavior, or supported features between Windows and Linux hosting for Azure Functions.
  • Ensure that screenshots, portal instructions, and troubleshooting tips are inclusive of both Windows and Linux scenarios where relevant.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-12 00:58 #8 cancelled Clean Clean
2025-07-10 05:06 #7 processing Clean Clean
2025-07-09 23:22 #6 cancelled Clean Clean

Flagged Code Snippets

azurefunctions {
    resourceGroup = 'java-functions-group'
    appName = 'azure-functions-sample-demo'
    pricingTier = 'Consumption'
    region = 'westus'
    runtime {
      os = 'windows'
    }
    localDebug = "transport=dt_socket,server=y,suspend=n,address=5005"
}