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_tools
windows_first
Summary
The documentation demonstrates a mild Windows bias, primarily in the Java section, where directory creation and navigation commands use Windows-style syntax (e.g., `mkdir pubsub` and `cd pubsub` in a `cmd` block, and Maven commands chained with `&`, which is a Windows shell operator). Additionally, the Java quickstart uses `cmd` and `console` blocks with Windows-centric instructions, and does not provide explicit Linux/Unix alternatives. However, most other language sections (JavaScript, Python, C#) use cross-platform Bash commands and avoid Windows-specific tools or PowerShell examples. No explicit PowerShell or Windows-only tools are used, and Linux examples are present for most workflows.
Recommendations
  • For Java sections, provide both Windows (`cmd`) and Linux/macOS (`bash` or `sh`) command examples, especially for Maven commands. For example, use `&&` for Unix shells and `&` for Windows, or note the difference.
  • Avoid using Windows-style command prompts (`cmd`) exclusively; use neutral or dual syntax blocks where possible.
  • Explicitly state that the instructions work on both Windows and Linux/macOS, and clarify any differences in command syntax.
  • Where possible, use cross-platform commands and avoid shell-specific chaining operators.
  • Add a note or section for Linux/macOS users in the Java quickstart, especially for project setup and execution commands.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-12 00:00 #99 completed Clean Clean
2026-01-11 06:20 #98 completed Clean Clean
2026-01-10 00:00 #92 completed Clean Clean
2026-01-06 22:28 #78 completed Clean Clean
2025-12-29 18:00 #48 cancelled Biased Biased
2025-12-15 00:00 #7 completed Clean Clean
2025-12-14 05:05 #6 completed Clean Clean

Flagged Code Snippets

$connection_string="<connection-string>"
dotnet run $connection_string "myHub1" "Hello World"