Skip to content

fix: Corriger la recherche du taux #509

Merged
yann120 merged 1 commit intomainfrom
feat/enhance-accessibility-rate-extraction
Apr 7, 2026
Merged

fix: Corriger la recherche du taux #509
yann120 merged 1 commit intomainfrom
feat/enhance-accessibility-rate-extraction

Conversation

@yann120
Copy link
Copy Markdown
Collaborator

@yann120 yann120 commented Apr 3, 2026

fix #484

Contexte

Sur la page d’accessibilité de Carrefour, le taux de conformité n’était pas extrait.
La regex utilisée pour rechercher le taux ne couvrait pas la formulation :

Le taux global de conformité était de 51,43% en Juin 2023, mis à jour à 71,21% ...

Changements

  • élargissement de la regex d’extraction du taux pour couvrir taux global de conformité
  • prise en charge de la formulation mis à jour à ...%
  • ajout d’un cas de test sur le texte Carrefour dans spec/models/checks/analyze_accessibility_page_spec.rb

Résultat attendu

Le taux extrait pour ce cas est désormais 71.21.

@yann120 yann120 self-assigned this Apr 3, 2026
@yann120 yann120 added the feature Feature or enhancement task label Apr 3, 2026
@yann120 yann120 changed the title [FIX] Corriger la recherche du taux sur Carrefour fix: Corriger la recherche du taux sur Carrefour Apr 3, 2026
@yann120 yann120 marked this pull request as ready for review April 3, 2026 07:16
@yann120 yann120 requested a review from Josyann April 3, 2026 07:17
@Josyann Josyann changed the title fix: Corriger la recherche du taux sur Carrefour fix: Corriger la recherche du taux Apr 7, 2026
@yann120 yann120 merged commit 9d1f0a1 into main Apr 7, 2026
10 checks passed
@yann120 yann120 deleted the feat/enhance-accessibility-rate-extraction branch April 7, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Feature or enhancement task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] Améliorer la recherche du taux

2 participants