HarvestForTwo / docs /CODEBOOK.md
princessamygdala's picture
Use the best warm-up attempt again, matching the reference implementations
c5df6ce
|
Raw History Blame Contribute Delete
9.03 kB

HarvestForTwo — data codebook

Every field written by the task, what it means, and the traps. Applies to data collected from 2026-08-27 onward; see Changes at the end for what differs in earlier files.

Two files per session in pilot/<pid>/:

file shape
<pid>_<date>_<time>.msgpack one record per stage; the complete raw record
<pid>_<date>_<time>_behavioral.csv one row per participant, wide

The CSV's column layout matches a Qualtrics export of the original survey so older pipelines still work. It has never been a Qualtrics export — that is why the file is no longer named _qualtrics.csv.


Read this first: what max_boxes means, and when it changed

max_boxes is the BEST of the two warm-up attempts, matching the Qualtrics original, the Gorilla build and Lockwood et al. It runs about 10% above true capability, because keeping the larger of two noisy attempts discards the noise that pushed one down. That bias is a constant scale factor and the effort fractions absorb it, but do not read the raw number as a capability, and do not compare it to a maximum-voluntary-contraction value from the grip-force literature.

Two changes on 2026-09-26 make earlier values non-comparable.

Between 2026-08-27 and 2026-09-26 this field held the MEAN of the two attempts, so sessions in that window are on a different scale.

More importantly, the warm-up itself changed. It used to place 28 stalks on the grid and respawn them one at a time, so the nearest stalk was always a step or two away: about 1.8 steps per stalk against 4.1 to 6.3 in a real trial. The warm-up now clears successive batches of six, which matches the middle of the task's range. Counts collected after the change are roughly half those before it, and measure something different: work per stalk comparable to a trial.

field what it actually is
max_boxes best of the two warm-up counts, floored at 4. The reference all effort levels are computed from
calib_attempt_1, calib_attempt_2 the two raw warm-up counts
calib_best the larger of the two, kept explicitly so the rule is auditable

Why the mean: a harvest rate wobbles ~18% trial to trial, so the best of two attempts is the top of that wobble — a personal record, not a capability anyone reproduces on demand. Levels set against it asked people to match their record every trial, which they managed 42.6% of the time.


Trial level

One record per trial, inside Harvest1 / Harvest2 (and Night1 / Night2 when enabled). Also written individually as Harvest1_trial<N> safety-net records — prefer the block record, fall back to the safety net, since a block record can fail to write (PILOT03's second block did).

Design

field meaning
trialIndex position within the block, 0-based
block 0 morning · 1 evening · 2 night-1 · 3 night-2
condition human-readable cell, e.g. SELF/10hard80
beneficiary self · other · self_take (night 1) · conflict (night 2)
effortLevel easy35 · easy50 · hard65 · hard80
effortFrac 0.35 · 0.50 · 0.65 · 0.80 — fraction of max_boxes
required stalks actually demanded. Use this, not effortFrac
reward credits offered for working
restCredit credits for resting. null in night 2, which has no rest option
partnerLoss night 1 only: credits the partner loses if the raid succeeds
partnerReward night 2 only: credits the partner gets if the harvest is left
workSide which side the work card appeared on (counterbalanced)
seed seeds the trial's own randomness; makes the layout reconstructable

Behaviour

field meaning
choice work · rest · work_self · work_partner (night 2)
decisionRT ms from trial onset to the choice keypress
success cleared every stalk within the window
harvested stalks cleared
credits credits earned this trial. 0 on failure — all or nothing
outcome work_success · work_fail · rest
harvestTimes ms of each stalk cleared, relative to the work phase, not trial onset
keyLog every keypress: {t, ph, k} — ms from trial onset, phase, key
nKeyPresses length of keyLog
restSips, restPets interactions during the rest phase
pauses [{atMs, phase, ms}] — every pause taken
nPauses, pausedMs count and total paused time
cornLayout [{c, r, need}] — where each stalk was
cornNeedTotal total presses the trial demanded

Traps

  • decisionRT is not bounded. The decision phase has no time limit. decisionMs: 4000 appears in the data and is vestigial and unused — it is never enforced. 18% of real decisions exceed 4s; the median is 1.8s.
  • Missed decisions are impossible. choice is never null in data collected after 2026-06-27. Files with missing choices predate that, when the decision was timed.
  • harvestTimes and keyLog use different clocks. keyLog.t is from trial onset; harvestTimes is from the start of the work phase.
  • credits is 0 on failure, so mean credits is not mean reward.
  • Night 1 failures cost the partner nothing. All-or-nothing applies to the harm as well, so a failed raid leaves both purses untouched.

Session level

From the Calibration record:

field meaning
max_boxes the reference — mean of the attempts (see above)
calib_attempt_1/2, calib_best raw warm-up counts and their max
effort_levels the four stalk counts actually used
n_distinct_levels how many of the four were different. 4 normally; 3 when the reference is 4 and four distinct integers do not exist below it
reps full warm-up records including harvestTimes and keyLog

From QuestionnaireTransition:

field meaning
self_points, partner_points credits banked for each
self_bonus_usd, partner_bonus_usd those credits in dollars
credit_value_usd 0.0417 — one credit is 4.2 cents (points / 24, capped at $6)
easiest_attempts, easiest_success work trials at the easiest level, and successes
easiest_success_rate engagement check — see below

Fields for excluding participants

Nothing in the task auto-excludes. These are recorded so the decision can be made, reported and varied in analysis.

field what it flags pilot reference
easiest_success_rate disengagement. Failing the easiest level is the clearest signal someone was not trying 7 of 8 pilots scored 100%; the one that did not was also slowest and least consistent
n_distinct_levels low resolution. Fewer than 4 means fewer points to fit that person's effort curve 1 of 8 pilots
max_boxes, calib_best capability. Very low values mean the task may not be functioning for them lowest pilot reference was 4
nPauses, pausedMs long or frequent breaks not logged before 2026-08-25
keyLog timing non-human input. One pilot produced 3008 key events in one trial with a median gap of 0 ms; a human's fastest is ~90 ms 2 of 10 sessions

Slow is not the same as disengaged: the slowest pilot (reference 4, 0.39 stalks/sec) still scored 100% at the easiest level.


Changes over time

Data pools across these boundaries only for the fields each version recorded.

date change effect on data
2026-06-27 decision phase became untimed missed choices impossible after this
2026-08-02 role/theme and post-task battery added earlier sessions have no battery
2026-08-04 per-trial safety-net writes earlier sessions lose a block if it fails to save
2026-08-25 bonus divisor 1000 → 24 earlier sessions were shown ~$0.09
2026-08-25 seeded within-trial randomness seed, cornLayout, cornNeedTotal, pauses start here
2026-08-25 attention check removed 49_attention_check empty after this
2026-08-27 harvester made 1 press per stalk cornNeedTotal == required from here
2026-09-26 max_boxes is the best warm-up attempt again it was briefly the mean; the warm-up geometry was the real problem and is fixed separately
2026-08-27 effort fractions 50/65/80/95 → 35/50/65/80 level names change: easy50/easy65/hard80/hard95 → easy35/easy50/hard65/hard80
2026-08-27 max_boxes best-of-two → mean-of-two values drop ~16% even though people harvest faster
2026-08-27 levels forced distinct and below the ceiling hardest level no longer equals max_boxes

Sessions before 2026-08-27 are not poolable with later ones for anything involving effort — different mechanic, different fractions, different reference, different level names. Choice data within a version is fine.