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
missing_linux_example
Summary
The documentation consistently presents Windows-specific instructions (using 'set' for environment variables) before mentioning Linux/macOS equivalents (using 'export'), both in the main language samples and in the tunnel tool section. In several places, the Linux/macOS instructions are only given as comments or after the Windows example, and there are no Linux-specific shell or tool usage examples (e.g., no bash scripts, systemd, or Linux-native patterns). The documentation does not provide parity in terms of Linux-first or Linux-specific guidance.
Recommendations
  • Present Linux/macOS instructions before or alongside Windows instructions, rather than as comments or afterthoughts.
  • Provide explicit bash/zsh commands for environment setup, not just as comments.
  • Include Linux-native troubleshooting tips (e.g., systemd service setup, common Linux firewall issues).
  • Add examples of running the upstream server as a background process or service on Linux.
  • Ensure all CLI and code samples use cross-platform patterns (e.g., avoid 'set' in favor of 'export' or show both explicitly).
  • Where possible, mention Linux tools or patterns (such as using curl for testing endpoints, or journalctl for logs).
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

#### Add the code

Replace the contents of `src/main/java/com/contoso/pubsub/App.java` with the following code.

# [Windows](#tab/cmd)