---
id: HSCP-T-010
titre: "Hosting indicator survey: six sourced indicators, valid health data certification"
titre_court: "Check the hosting indicator survey"
type: note
objet: test
langue: en
statut: brouillon
version: 0.1
verifie_le: 2026-12-02
traduit_de: LISEZ-MOI.md
traduit_de_version: 0.1
traduit_de_empreinte: 86ee30b2f392782d
traduction: modèle de langue, glossaire catalogue/glossaire-en.yaml
source: traduction de LISEZ-MOI.md, version 0.1
sensibilite: interne
licence: Apache-2.0
gestes: [HSCP-G-197]
recette: HSCP-R-023
piece: releve
---

# Hosting indicator survey: six sourced indicators, valid health data certification

## What the test checks

The evidence is the annual indicator survey, one JSON object per hosting and per year (JSON Lines), following the recipe's data model:

| Field | Required | Meaning |
|---|---|---|
| `hebergement` | yes | name of the hosting and site |
| `annee` | yes | year of the survey |
| `role` | yes | `production`, `secours`, `sauvegarde`, `hors-production` or `tiers` |
| `donnees_sante` | yes | `true` if the hosting holds health data |
| `indicateurs` | yes | `pue`, `wue`, `renouvelable`, `chaleur_valorisee`, `gestion_equipements`, `localisation`, each `{valeur, source}`, `valeur: null` if not provided |
| `certification_sante` | for health data | `perimetre`, `fin_validite` |
| `releve_le` | yes | date of the survey |

The test accepts the survey if each line carries the six indicators, each value given with its source, a PUE of at least 1, shares between 0 and 1, and, for health data, a hosting certification whose end of validity has not passed on the date of the survey.

It reports, without refusing, each indicator not provided.

## Running the test

```sh
python3 verifier.py releve.jsonl
```

`--json` returns the answer as JSON. Exit code: 0 evidence accepted, 1 evidence refused, 2 incorrect call. Python 3.10 or later, no dependency.

## Examples

- `exemples/valide/`: a certified production hosting with its six indicators sourced; a non-production cloud that provides only two indicators. Accepted, with the missing indicators reported.
- `exemples/refuse/`: a PUE below 1, a value without a source, a share expressed as a percentage, a missing indicator, an expired certification; a role outside the list and health data without certification. Refused.

## What the test does not say

- It does not say that the host's values are accurate, nor that they cover the site serving the product rather than a group average: the source shows it, the review judges it.
- It does not say that the list of hostings is complete.
- It does not compute the footprint of the service.
