---
id: HSCP-T-022
titre: "Evaluation report of an AI system version before release"
titre_court: "Check the evaluation of an AI version before release"
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: 33707f436b0a9b41
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-218]
recette: HSCP-R-035
piece: rapport-de-test
---

# Evaluation report of an AI system version before release

## What the test checks

The artefact is the evaluation report of the version, a JSON file: `version`, `date`, `jeu` (`nom`, `empreinte`, `taille`), `indicateurs` (`nom`, `seuil`, `valeur`, `intervalle`, `sens`: `min` or `max`), `sous_groupes`, `robustesse` and `securite` (`essai`, `resultat`), `procedure_locale`, `decision` (`livree`, `bloquee`, `livree_avec_limite`), `limites_ajoutees`.

The test accepts the report if the validation set carries its fingerprint; if each indicator, overall or per subgroup, carries threshold, value, interval and direction; if there is at least one robustness test and one security test; if the procedure for measuring on local data is supplied; and if the decision follows the results: a `livree` version meets all its thresholds and passes all its tests, a `livree_avec_limite` version writes one limitation per missed threshold and keeps no failed security test.

## Running the test

```sh
python3 verifier.py evaluation.json
```

`--json` gives the answer in JSON. Exit code: 0 artefact accepted, 1 artefact rejected, 2 incorrect call. Python 3.10 or later, no dependencies.

## Examples

- `exemples/valide/`: version 3.2 misses its threshold for people aged 80 and over and says so through a new limitation, robustness and injection tests passed. Accepted, with a note.
- `exemples/refuse/`: set without fingerprint, indicator without threshold, no security test, no local procedure, version released despite a missed threshold and a failed test. Rejected.

## What the test does not say

- It does not redo the measurement: it reads the report.
- It does not say that the validation set represents the organisation's patients: the test on local data shows that.
- It does not say that the security tests cover all attacks.
