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

Bias Types:
⚠️ windows_first
⚠️ missing_linux_example
Summary:
The documentation page describes a UI element that supports both Windows and Linux user names, but the only schema example provided specifies 'osPlatform': 'Windows'. There are no Linux-specific examples or validation patterns, and Windows is mentioned first in several places.
Recommendations:
  • Add a schema example that specifies 'osPlatform': 'Linux', including any Linux-specific constraints or validation patterns.
  • Provide sample output and validation messages for both Windows and Linux scenarios.
  • Ensure that descriptions and examples treat Windows and Linux equally, for example by alternating which platform is mentioned first or by presenting both together.
  • Clarify any differences in built-in validation logic between Windows and Linux user names.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased

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 }