# XHS Scoring Algorithm

XHS is an Adaptive Proof of Humanity scoring system that verifies human identities through a combination of biometric scanning, social graph analysis, and verification at physical events on <https://xname.app>. User privacy is ensured through on-chain Zero-Knowledge Proof (ZKP) verification (Stage 3) and local enclave storage of biometric information.

In stage 3, XStar will generate and publish ZKP proofs for each user's namespace and XHS score on existing Layer 1 (L1) or Layer 2 (L2) blockchain networks. This approach allows users to selectively disclose their verified personal information while maintaining privacy and control over their data.

For facial verification, XSTAR has partnered with Facetec, streamlining the onboarding process with quick and secure facial recognition checks. This integration allows user onboarding, enabling a personalized onboarding journey across any Web3 platform. More information can be found at: <https://www.facetec.com/security>&#x20;

### Adaptive Humanity Score (XHS) Calculation

<figure><img src="/files/DTrwLiF1CoFOb1tyHZMF" alt=""><figcaption><p>XHS Scoring System</p></figcaption></figure>

The calculated XHS falls into one of four ranges, each representing a distinct level of human verification: (Where % is of the total number of users)&#x20;

#### 1. Base Level (0% ≤ XHS < 50%)

#### 2. Bronze Level (50% ≤ XHS < 75%)

#### 3. Silver Level (75% ≤ XHS < 95%)

#### 4. Gold Level (95% ≤ XHS ≤ 100%)

<figure><img src="/files/tCoIWQOSYmd5pejCXzGX" alt=""><figcaption><p>XHS Score Thresholds</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.xname.app/the-solution-adaptive-proof-of-humanity-on-blockchain/xhs-scoring-algorithm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
