Repository navigation
feat(fascicules): quêtes de collection par fascicule - #39
Merged
Lunik merged 1 commit intoOct 24, 2026
Merged
Conversation
A fascicule may now declare `collections`: all its prefixes, all its suffixes, all its common, uncommon or rare words, each with an ink and hourglass reward claimed like a palier (ADR 0042). Members are computed once (outils/src/collections.rs), never counting a legendary nor a word that needs one (ADR 0043): the validator checks them, the compilation publishes them in the manifest. New controls: fascicule.collection_doublon (criterion twice, or a palier id already used by a collection or a long-running quest), fascicule.collection_trop_petite (fewer than 3 members) and fascicule.collection_sans_recompense. All eleven fascicules declare their quests (rarity, not difficulty, which ADR 0047 keeps hidden); the three below three members are left out. Refs EtymoLogique/App#90 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151stDRaZV3ScbhwvwjrfQ7
This was referenced Oct 23, 2026
Lunik
marked this pull request as ready for review
October 24, 2026 14:09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Partie Content de EtymoLogique/App#90. La PR App qui consomme ces données s’appuie sur ce manifeste.
Ce qui change
collections. Chaque quête a unid(identifiant de palier), uncritereet une récompense (encre,sabliers).prefixes,suffixes,mots_communs,mots_peu_communs,mots_rares.outils/src/collections.rscalcule une seule fois les membres d’une quête :rareteMotdans l’App : la plus haute rareté des briques de la recette la plus accessible, la moins rare pour une case à plusieurs briques possibles.collectionsavec sesmembres. La clé est absente quand le fascicule n’en déclare pas, ce qui laisse son empreinte inchangée.fascicule.collection_doublon: un critère déclaré deux fois, ou un identifiant de palier déjà pris par une collection ou une quête au long cours ;fascicule.collection_trop_petite: moins de 3 membres ;fascicule.collection_sans_recompense.valider».Écart avec l’issue
Le contrôle
collection_legendaireproposé dans l’issue n’a pas été ajouté : les membres excluent les légendaires par construction, il n’y a donc rien à contrôler.Vérifications
cargo fmt --check,cargo clippy -D warnings: OK.cargo test: 208 tests passent, dont 5 nouveaux du validateur et 2 de la compilation (membres sans la brique légendaire « étymo- » du jeu d’exemples).etymo-contenu valider: 0 erreur. Il reste 1 avertissement, qui existait déjà : Ogham compte 31 mots.Generated by Claude Code