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
powershell_heavy
missing_linux_example
Summary
The documentation provides troubleshooting guidance for Python function apps in Azure Functions, which run exclusively on Linux at runtime. However, several sections present Windows/PowerShell commands before their Linux equivalents, and some examples are Windows-centric or lack parity in detail for Linux/macOS users. For instance, PowerShell commands are shown first for checking Python bitness, and in some cases, Windows-specific tools (like 'py') are referenced before 'python3'. Additionally, some command examples (such as deleting directories) list Bash, PowerShell, and Cmd, but Bash is not always shown first. There are also references to generating requirements.txt from Windows/macOS, but mitigation steps are generic and do not provide Linux-specific guidance.
Recommendations
  • Present Linux/macOS examples before Windows/PowerShell equivalents, especially since Azure Functions Python runs on Linux.
  • Ensure all command examples have clear, detailed Linux/macOS instructions, not just Windows/PowerShell.
  • Where Windows-specific tools (e.g., 'py') are referenced, clarify the Linux/macOS equivalent ('python3') and provide parity in explanation.
  • Highlight Linux/macOS best practices for requirements.txt generation and deployment, given the runtime environment.
  • Review all troubleshooting steps to ensure Linux/macOS users are not left with ambiguous or less detailed guidance.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-02-11 00:00 #366 in_progress Clean Clean
2026-02-10 00:00 #362 completed Biased Biased
2026-02-09 00:00 #358 completed Biased Biased
2026-02-08 00:00 #354 completed Biased Biased
2026-02-05 00:00 #342 completed Biased Biased
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