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
windows_tools
Summary
The documentation demonstrates a Windows-first bias in several areas. In the instructions for setting up a Python virtual environment, Windows PowerShell is mentioned first, and the Windows-specific command (`py -m venv .venv`) is listed before the Linux equivalent. The activation command for the virtual environment also lists the Windows path and PowerShell command before the Linux shell alternative. Additionally, file paths in output examples use Windows-style backslashes (e.g., `<ProjectRoot>\HttpTriggerAsync\__init__.py`), and there is a general assumption of familiarity with Windows tools and conventions throughout the guide.
Recommendations
  • Present Linux and Windows instructions side-by-side or in parallel, rather than listing Windows first.
  • Use neutral or platform-agnostic language where possible (e.g., 'Open a terminal' instead of 'Open a Windows PowerShell or any Linux shell as you prefer').
  • Show both Windows and Linux commands together, or use tabbed sections for each OS.
  • Include Linux-style file paths in output examples, or provide both Windows and Linux variants.
  • Explicitly mention macOS where relevant, as it often shares commands with Linux.
  • Avoid assuming the use of Windows-specific tools or shells unless the guide is explicitly for Windows users.
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()