Skip to content

fix(examples): describe the family quotient in its manifest - #10

Closed
ShallowRed wants to merge 1 commit into
qloridant:mainfrom
ShallowRed:fix/family-quotient-manifest-description
Closed

ShallowRed wants to merge 1 commit into
qloridant:mainfrom
ShallowRed:fix/family-quotient-manifest-description

Conversation

@ShallowRed

Copy link
Copy Markdown
Collaborator

Description

Le catalogue public décrivait le quotient familial de Prest'Agri par sa fiche du registre, retirée par datagouv/algos.data.gouv.fr#99. Décrit l'algorithme dans son manifeste.

Modifications

  • Ajoute à examples/prestagri-quotient-familial/manifest.json le titre, la description et la version de la fiche retirée, et l'organisme betagouv.prestagri de examples/prestagri/metadata.json.
  • Retire la clé record du manifeste : GET /public/catalog/prestagri-quotient-familial donne "record": null.

Comment tester

Démarrer l'API par PRELOAD_MANIFESTS=examples/prestagri-quotient-familial/manifest.json uv run uvicorn api.server:app, puis appeler GET /public/catalog/prestagri-quotient-familial : title vaut « Calcul du quotient familial (QF) » et org vaut betagouv.prestagri.

Les trois échecs de uv run pytest dans tests/test_fc_mapping.py sont ceux de main au commit 3228a13.

@ShallowRed

Copy link
Copy Markdown
Collaborator Author

Remplacée par #16, ouverte depuis une branche du dépôt.

@ShallowRed ShallowRed closed this Dec 3, 2026
@ShallowRed
ShallowRed deleted the fix/family-quotient-manifest-description branch December 3, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant