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
Summary
The documentation demonstrates a mild Windows bias, particularly in the local development instructions. Windows PowerShell is mentioned first, and Windows-specific commands (such as 'py -m venv .venv' and '.venv\Scripts\Activate.ps1') are listed before their Linux equivalents. The file path separator in the memory profiler output example also uses Windows-style backslashes. However, Linux alternatives are present, and there are no exclusive Windows-only tools or missing Linux examples.
Recommendations
  • Present Linux and Windows instructions in parallel (side-by-side tabs or clearly separated steps) rather than listing Windows first.
  • Use neutral or platform-agnostic language, e.g., 'Open a terminal' instead of 'Open a Windows PowerShell or any Linux shell as you prefer.'
  • When showing commands, either provide both Windows and Linux/Mac commands together, or use tabs for each OS.
  • In code or output examples, use platform-neutral paths (e.g., <ProjectRoot>/HttpTriggerAsync/__init__.py) or show both Windows and Linux path formats.
  • Ensure that all steps and tooling are equally accessible and clear for Linux users, not just as an afterthought.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-17 00:00 #262 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-15 00:00 #51 completed Biased Biased
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

    Filename: <ProjectRoot>\HttpTriggerAsync\__init__.py
    Line #    Mem usage    Increment  Occurrences   Line Contents
    ============================================================
        19     45.1 MiB     45.1 MiB           1   @memory_profiler.profile
        20                                         async def get_microsoft_page_async(url: str):
        21     45.1 MiB      0.0 MiB           1       async with aiohttp.ClientSession() as client:
        22     46.6 MiB      1.5 MiB          10           async with client.get(url) as response:
        23     47.6 MiB      1.0 MiB           4               await response.text()