feat(career): tirage de la posture initiale dans le générateur (issue #77)#300
Merged
Merged
Conversation
…77) PR3/6 — le générateur tire une posture imposée au démarrage. - DebugSettingsService.getScriptedBreaks/setScriptedBreaks (flag debug.scripted_breaks, OFF par défaut). - generate(scriptedBreaks: bool = false) ; SessionConfig.scriptedBreaks. - _pickInitialPose : free tant que le flag est off ; sinon tirage uniforme dans availablePostures(unlockedKeys) (free incluse), via _rng donc déterministe sous seed. Posé sur Session.initialPose. - 4 tests posture_generation_test.dart. Scope resserré : insertion temporelle des breaks reportée (couplée au runtime PR4) ; câblage career_screen (lecture du flag + passage aux 4 call sites generate) fait avec PR4/PR5 où ce fichier est touché pour le runtime. Le générateur honore déjà le flag (défaut = comportement historique, posture free). 629 tests OK, analyze net, format OK. Spec : specs/scripted_breaks.md.
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.
PR3/6 — le générateur tire une posture imposée au démarrage.
Scope resserré : insertion temporelle des breaks reportée (couplée au runtime PR4) ; câblage career_screen (lecture du flag + passage aux 4 call sites generate) fait avec PR4/PR5 où ce fichier est touché pour le runtime. Le générateur honore déjà le flag (défaut = comportement historique, posture free). 629 tests OK, analyze net, format OK.
Spec : specs/scripted_breaks.md.