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
Summary:
The documentation specifies 'os = windows' as the default runtime in the Gradle configuration, without mentioning Linux or cross-platform alternatives. This may lead users to assume Windows is the primary or only supported OS, despite Java and Azure Functions supporting Linux. No PowerShell or Windows-specific command-line tools are used, and all shell commands are cross-platform (bash/curl/gradle). However, the lack of explicit Linux parity in the runtime configuration is a subtle Windows-first bias.
Recommendations:
  • Explicitly mention that both Windows and Linux are supported as runtime OS options in the Gradle configuration.
  • Show how to set 'os = linux' in the azurefunctions.runtime block, or provide a table comparing both options.
  • Add a note clarifying that the instructions and commands work on both Windows and Linux, and that the default 'os = windows' can be changed as needed.
  • If there are any platform-specific considerations (e.g., Java 21 only on Linux), highlight them in context and provide guidance for both platforms.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-09-12 00:00 #109 completed ✅ Clean
2025-08-12 00:00 #78 in_progress ❌ Biased
2025-07-15 00:00 #51 completed ❌ Biased
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