Spaces:
Running
Running
Commit History
-
The correct quiz answer is no longer always the top choice
Every comprehension item was written with the answer first and nothing reordered them. Both quizzes were passable without reading, and the night harvest's quiz is the exclusion criterion, so a fixed order was deciding who counts as having understood the block on an artifact of how the options were typed. Options are now ordered per participant, seeded by pid and item id, so the order is fixed within a session and the retry asks the question the same way round. `correct` moves with the options, `options_order` records where they came from, and the export writes the choice TEXT, so the Qualtrics columns are unaffected. The TriPM is asked in a per-participant order too, with each key travelling with its own item, so tripm_key.csv scores what it always did; the presented order is recorded as item_order. 58 items on one page in one order put the same statements last for everyone, and the three scales are interleaved in the published order, so that cost fell unevenly across them. The TriPM…730c8df -
The consent form names the order it will actually run
Three corrections to both forms. The order was stated as the treasure hunt first, which the combined study randomises, so half the sample read an order they were not going to get. The two tasks are described without an order now, and one sentence states the order this session already resolved. A single-task run says it is decided at random, so no form can reach a participant with an unfilled slot in it. Venmo was never set up. Only an Amazon gift card and PayPal are, in both forms and the prereg. The payment ask is a name, an email address and the reference code from the last screen. The form listed the first two, which read as the whole of it, and said nothing about the code a participant is shown and then asked for. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>64c8bdc
-
Split the consent form by dyad mode, and widen the income bands
The IRB form consents a parent about themselves and their child. The SONA sample has no child, and telling an undergraduate that "whether or not you and your child take part is up to you" is simply wrong, so there are now two forms: consent.md without the family wording and consent_dyad.md with it, selected by dyad_mode. The mandated-reporter clause mentions child abuse and stays in both; it is a legal notice, not dyadic framing. A missing dyad form does NOT fall back to the neutral one. Substituting would consent a parent on a document that never mentions their child, which is worse than showing no form at all and stopping. Income moves to 10k bands from $5,000, keeping the wide $90,000-$179,999 and over-$180,000 categories. One band spans $75,000-$89,999 so the 10k run meets $90,000 cleanly; adjust that line if a different top structure is wanted.bae2aef -
Ship the real consent form, TriPM items and demographics
consent.md is now the Georgetown BEAR IRB form, converted from the docx rather than retyped. The consent.md that was sitting in the repo root described a different study -- a treasure hunt with explorers and chests, not the harvest task -- and still carried [X] placeholders, so it has been removed rather than left where someone might use it. TriPM is the 58 items in administration order, with tripm_key.csv alongside carrying scale and reverse-keying, because items on their own cannot be scored. Demographics needed two question types the format did not have. Race and ethnicity is select-all-that-apply, since forcing one answer loses anyone who is more than one thing; it exports as the joined selection plus one flag per option so the CSV can be analysed without re-parsing a string. Age, occupation and the 22 income bands are dropdowns -- a radio grid of 22 income bands is a wall, and a select is the same question without it. Every demographic key has a template column, with a test tha…759ad42 -
Add consent, demographics and TriPM stages, driven by content/
The wording lives in files rather than string literals so it can be edited without touching Python, and so an IRB-approved consent form is stored verbatim instead of being retyped. content/README.md documents the three formats. Nothing here ships with any instrument; the item files are placeholders. A file that is missing, empty, or still carrying its PLACEHOLDER line reads as "not supplied yet" and its stage is skipped, so a half-filled folder never blocks a pilot run and never shows a participant a placeholder. In particular a missing consent form means the stage does not exist yet, NOT that the participant refused -- the opposite reading would silently end every session at the first screen. Consent runs before anything is collected, right after the id is known. Declining stops the session without recording data. Demographics and the TriPM go last. Everything before them asks about the task just completed, and the belief check is worth asking while it is fresh; the TriPM is the lo…4f51627