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 page describes a UI element supporting both Windows and Linux user names, but the primary schema example and regex validation pattern are tailored for Windows (alphanumeric only, which is typical for Windows user names). The 'osPlatform' property in the schema is set to 'Windows', and there is no equivalent Linux example or Linux-specific validation pattern provided. Linux is only mentioned in passing, and no Linux-centric usage or validation is demonstrated.
Recommendations
  • Provide a schema example with 'osPlatform' set to 'Linux', including a Linux-appropriate regex pattern and validation message.
  • Add remarks or a table describing the differences in built-in validation between Windows and Linux user names.
  • Ensure that both Windows and Linux usage patterns are equally represented in examples and documentation sections.
  • Consider including a sample output or UI screenshot for a Linux user name scenario.
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-09 00:00 #87 cancelled 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

{
  "name": "element1",
  "type": "Microsoft.Compute.UserNameTextBox",
  "label": "User name",
  "defaultValue": "",
  "toolTip": "",
  "constraints": {
    "required": true,
    "regex": "^[a-z0-9A-Z]{1,30}$",
    "validationMessage": "Only alphanumeric characters are allowed, and the value must be 1-30 characters long."
  },
  "osPlatform": "Windows",
  "visible": true
}