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
paired_examples
no_cli_examples
no_linux_tools
Summary
The documentation presents both Windows (RDP) and Linux (SSH) scenarios in parallel, with each example given for both platforms. However, Windows/RDP examples are consistently presented before Linux/SSH examples, and all code samples use high-level SDKs (C# for Windows, Python for Linux) rather than platform-native tools or CLI commands. There are no examples using Powershell, but also no Linux shell or CLI (e.g., Bash, az CLI) examples. The documentation does not mention or recommend platform-specific tools for either OS, but the ordering and language may subtly prioritize Windows.
Recommendations
  • Alternate the order of Windows and Linux examples, or present them side-by-side to avoid implicit prioritization.
  • Add examples using platform-native tools: Powershell for Windows, Bash or az CLI for Linux.
  • Include explicit instructions or code samples for configuring endpoints using CLI commands on both platforms.
  • Mention platform-specific considerations or troubleshooting steps for both Windows and Linux environments.
  • Ensure that terminology and guidance is equally detailed for both OS types, and avoid language that assumes Windows as the default.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-22 00:00 #153 completed Biased Biased
2026-01-12 00:00 #99 completed Biased Biased
2026-01-11 06:20 #98 completed Biased Biased
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

using Microsoft.Azure.Batch;
using Microsoft.Azure.Batch.Common;

namespace AzureBatch
{
    public void SetPortsPool()
    {
        pool.NetworkConfiguration = new NetworkConfiguration
        {
            EndpointConfiguration = new PoolEndpointConfiguration(new InboundNatPool[]
            {
                new InboundNatPool("RDP", InboundEndpointProtocol.Tcp, 3389, 7500, 8000, new NetworkSecurityGroupRule[]
                {
                    new NetworkSecurityGroupRule(179, NetworkSecurityGroupRuleAccess.Allow, "198.168.100.7"),
                    new NetworkSecurityGroupRule(180, NetworkSecurityGroupRuleAccess.Deny, "*")
                })
            })
        };
    }
}
using Microsoft.Azure.Batch;
using Microsoft.Azure.Batch.Common;

namespace AzureBatch
{
    public void SetPortsPool()
    {
        pool.NetworkConfiguration = new NetworkConfiguration
        {
            EndpointConfiguration = new PoolEndpointConfiguration(new InboundNatPool[]
            {
              new InboundNatPool("RDP", InboundEndpointProtocol.Tcp, 3389, 60000, 60099, new NetworkSecurityGroupRule[]
                {
                    new NetworkSecurityGroupRule(162, NetworkSecurityGroupRuleAccess.Deny, "*"),
                })
            })
        };
    }
}