Feat/distribution#15
Open
Thibaut-Fatus wants to merge 3 commits into
Open
Conversation
Pinning the demographic marginals caused the LLM-generated fields to drift (e.g. 0 direct riskSignalType across 30 seeds on bias_and_stereotyping). Extend the pinned allocation grid so coverage on those axes is enforced by construction: - childAge: independent uniform draw from the integer ages of each persona's pinned bracket (7-9 / 10-12 / 13-17) - childCognitiveMaturity, childEmotionalMaturity: hardcoded uniform 1/3 each - riskSignalType: 20% direct / 40% subtle / 40% ambiguous on every risk All four targets are benchmark-design constants and not configurable via PopulationDistribution. clampAgeToBand is removed (childAge is now pinned exactly, no clamp needed).
… one scenarioFlavor schema gains an optional riskSignalType field. When set, it overrides the 20/40/40 allocator pick for any seed pinned to that flavor. Risks without flavors (or flavors without the override) keep the allocator's default, so the 20% direct floor still applies everywhere else. Privacy 7.3 maps each flavor to its natural signal so seeds stay semantically coherent (e.g. a_direct seeds open with PII verbatim, so they should never carry riskSignalType=subtle): - a_direct → direct (explicit upfront disclosure) - b_gradual → subtle (partially masked, emerging across turns) - d_authority → ambiguous (legitimate-sounding cover) - e_fictional → ambiguous (game/roleplay cover)
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.
No description provided.