Make reference auditors honor `audit_scoring_policy` in the manifest
Les mainteneurs répondent en général sous 1 jour
@0xzoz y travaille déjà.
Depuis le 12/11/2026.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 54/100
- Type d'issue
- Bug
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- python, solidity
- Domaine
- machine-learning, testing
Piste de recherche
Read both reference implementations of load_scoring_policy, including cache_model_1/services/scoring.py, and compare them with the GI-start consumer at dincli/cli/modelownerd/gi.py and the shipped manifest. Trace both auditors' service tests and run focused cases with two different min_accuracy thresholds. Done means both auditors honor the documented canonical field, edge cases for missing, legacy, conflicting, and malformed policies are covered, and the example manifests and documentation explain the median rule.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Observed against ed175d0deceddfa2e63175ec7752c800b31c1fbf during the November 10 Fashion-MNIST local test investigation. The subsequent full round with three notebooks and a Raspberry Pi used recorded workarounds; its success does not establish that this upstream defect is fixed. Related: #276 and #39.
Problem and evidence
The shipped manifests put thresholds under audit_scoring_policy, and GI-start code reads that field. Both reference load_scoring_policy implementations read scoring_policy. With the shipped layout they silently use defaults instead of the configured audit thresholds.
A focused reproduction extracted the actual upstream loader and default dictionary, wrote the shipped manifest with min_accuracy changed to 99, and called the loader. Both models returned an effective threshold of 50.0. This is a loader-level reproduction, not a second live rejection/acceptance experiment.
The numeric defaults matched our intended gates during the completed round, so this does not show that a model was wrongly accepted in that run. It shows that a model owner's non-default policy can be ignored.
Proposed scope
Choose and document one canonical field across manifests and consumers. If supporting the old name, define explicit precedence or reject conflicting values. Validate policy shape and test non-default values through the auditor service. Align the stale legacy_mean_until_contract_v2 metadata with the median already used on-chain; do not change the contract aggregation rule as part of this fix.
Acceptance criteria
- Changing
audit_scoring_policy.metrics.thresholds.min_accuracychanges the policy used by both reference auditors. - A known model passes/fails as expected under two deliberately different thresholds.
- Missing fields, legacy aliases, conflicting fields and malformed policies have documented behavior.
- GI pass-score configuration and auditor eligibility policy remain distinct, intentional controls.
- Example manifests and documentation describe the effective median rule.
Full-round test report
See Discussion #331 — Fashion-MNIST with three notebooks and a Raspberry Pi for the setup diagram, completed protocol roles, results and experiment adaptations.
- Langage dominant
- Python
- Étoiles
- 4
- Forks
- 7
- Merge moyen
- 5 j 15 h
- PR mergées (30 j)
- 43
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de InfiniteZeroFoundation/DevNet
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
InfiniteZeroFoundation/DevNet#344 ·
Les mainteneurs répondent en général sous 1 jour
-
Update the 25 translated organisation READMEs to match the English versionPeut-être pris @mrCabez l’a pris il y a 15 jours. Ouvertegood first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
InfiniteZeroFoundation/DevNet#277 · 3 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
Validator income: separate protocol (i.e., network) fees from DIN issuance, stop calling both "rewards", and keep DIN for stakingPeut-être pris @umermjd11 l’a pris aujourd’hui. Ouverteenhancement
InfiniteZeroFoundation/DevNet#340 · 3 personnes assignées ·
Les mainteneurs répondent en général sous 1 jour
-
Serialize only assigned audit examples, not the full parent datasetPeut-être pris @0xzoz l’a pris il y a 2 jours. OuverteApproved
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
InfiniteZeroFoundation/DevNet#329 · 4 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Remove plaintext audit dataset keys from model-owner CLI outputPeut-être pris @0xzoz l’a pris il y a 2 jours. OuverteApproved
Difficulté 4/5 3-5 jours Accessibilité débutants 58/100
InfiniteZeroFoundation/DevNet#328 · 5 commentaires ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de InfiniteZeroFoundation/DevNet
Issues similaires
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
OCA/account-invoicing#2529 ·
Les mainteneurs répondent en général sous 1 jour
-
area/ci
Difficulté 1/5 Moins d'une heure Accessibilité débutants 62/100
Les mainteneurs répondent en général sous 1 jour
-
ImageGen generate-batch aborts valid JSONL jobs containing a Unicode line separator in poster textOuvertebug imagen skills
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Email validation accepts a trailing newlinePeut-être pris @marcello-pichini l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour