{"id":"oc4wfkqgaa","title":"What millions of simulated lives say about finding a partner","shortTitle":null,"viewName":null,"description":"A plain-language scrolling page with 13 lessons from an evolutionary model of partner choice, where a month alone scores 70 out of 100. Each lesson has a text, pictures and a box that says how sure we are. A robustness section tests other scores for a month alone. A live simulation opens the page.","owner":{"id":"TNjvP_X899juvZh1","handle":"joshua","name":"Joshua","bio":"Just a dude.\n\nhttps://hu.tt"},"visibility":"public","parentId":null,"relation":null,"starCount":0,"version":3,"createdAt":1795729870550,"updatedAt":1795741136394,"frameUrl":"https://isles.prolifica.app/oc4wfkqgaa?v=3","shotUrl":"/api/isles/oc4wfkqgaa/shot?v=3s1","instructions":"# Instructions for agents: love-lessons\n\n## What the page does\nA general-audience scrolling page: a title, a short intro, a live simulation (no controls), then one full-screen section per lesson with a picture, then a closing block.\n\n## Where things come from\n- All words come from `lessons_text` (markdown). `# ` is the title. The intro is the text before the first `## `. A line `caption: ...` there goes under the live simulation. Each `## id | Headline` is a lesson; `## end | Title` is the closing block.\n- Each lesson's picture comes from `lessons_pictures[id]` (one spec, or an array for several pictures). A lesson with no picture shows text only.\n- In a lesson, the lines `picture: <title>` and `howto: <how to read it>` (one pair per picture, in order) and `evidence: <grade>` followed by the evidence text are parsed out of the body. The grade's first word (strong, moderate, weak) sets the colour of the box.\n- `[[fa-icon|n]]` anywhere in the text becomes that Font Awesome icon. Next to a number, use the icon of what the number MEASURES, placed after the number: `fa-face-smile` happiness, `fa-filter` picky, `fa-puzzle-piece` fit, `fa-people-arrows` adapting (also `fa-door-open` walk-away bar, `fa-scale-unbalanced` cost of change). These measure icons always take their own fixed colour (`--m-*` variables in the page), whatever n says. Any other icon takes series colour n (1 = blue, 2 = orange, 3 = green, 4 = yellow).\n- How many icons: one per measure per sentence, after the FIRST number of that measure. Later numbers of the same measure in that sentence stay bare. A sentence that mixes measures gets one icon for each. Counts and numbers with their own unit (months, years, runs, people, lessons, \"out of 100\") never get one. `/tmp/dedupe.py` in the project session applied this rule; pictures keep one icon per value label.\n- Every idea icon carries `data-tip=\"Name|few-word description\"` (from the `IDEA` map in the page). One delegated handler shows a small instant tooltip (`#mtip`) for any element with `data-tip`. Keep new icon builders going through `tipAttr()` or `addGlyph()` so that they get it.\n- Group identity (which line is which) is shown only by the line colour and by the group icons in the legends, never by the colour of a measure icon.\n- Sections with a non-numeric id (`how`, `ideas`) render as explainer sections; `ideas` puts each bullet's leading `<i>` icon in the margin.\n- In the project, `partners/derive_lessons.py` builds `lessons.json` from the CSVs of the `partner-market` artifact, and `partners/build.sh` writes `index.html` from `partners/lessons.html` with the model inlined. Do not edit `index.html` by hand.\n\n## Picture kinds (fields)\n- `slope`: `xLabels` (2), `series[{name, values[2]}]`, optional `extra.happiness[]`.\n- `line`: `x[]`, `series[{name, values[]}]`, `xLabel`, `yLabel`; optional `logX`, `xPct`, `xRange` (5-year bands), `hline{y,label}`, `vline{x,label}`, `markBest`, `annot[{x,text}]`, `note`.\n- `grid`: `rows[]`, `cols[]`, `values[row][col]`, `low` = the lifetime happiness of a life alone (cells at or below low+15 are highlighted; the sub-label says 'less than a life alone' below low-2, 'same as a life alone' within 2).\n- `plateau`: `rows[]`, `cols[]`, `values[row][col]`, `near` (cells at or above it are highlighted), `rowLabel`, `colLabel`.\n- `bars`: `bars[{name, value, sub}]`, `yLabel`.\n- `groups`: `groups[]`, `series[{name, values[]}]`, `yLabel`.\n\n## Limits\n- Up to 4 series per picture (4 colours).\n- Values are expected on a 0-100 scale.\n\n## Assumptions the text depends on\n- Since 2026-11-25 a month alone scores 70 (model default `single: 0.7`); before, it scored 30. The text, the `IDEA` tooltip for happiness, lesson 4's `low`, and lesson 3's dashed lines all use this value. If the default changes, rerun the sweeps and re-check every number in `lessons.md`; the old single-30 data is kept in `partners/archive_single30/` in the project.\n- Lesson 13 (three groups: alone 40 / 70 / 90) reads `groups_check.csv` (experiment G, 12 runs); its series order is typical, hard, very happy, so the colours match lesson 3 (blue 70, orange low, green high).\n- The `single` section's matrix colours a cell green when the effect is 10 points or more.","slots":{"lessons_text":{"kind":"markdown","description":"The page text: '# title', intro paragraphs, an optional 'caption: ...' line under the live simulation, then '## n | Headline' sections. The section id 'end' becomes the closing block."},"lessons_pictures":{"kind":"json","description":"One picture per lesson, keyed by the section id. Each has a kind (slope, line, grid, plateau, bars, groups) and the values to draw, on a 0-100 scale."}},"bindings":{"lessons_text":{"id":"2pmqtp2tm3","path":"love-lessons/lessons.v3.md","kind":"markdown","owner":{"id":"TNjvP_X899juvZh1","handle":"joshua","name":"Joshua","bio":"Just a dude.\n\nhttps://hu.tt"},"url":"https://prolifica.app/api/isles/oc4wfkqgaa/data/lessons_text","raw":"https://prolifica.app/api/data/2pmqtp2tm3/raw"},"lessons_pictures":{"id":"znbovded7v","path":"love-lessons/lessons.v2.json","kind":"json","owner":{"id":"TNjvP_X899juvZh1","handle":"joshua","name":"Joshua","bio":"Just a dude.\n\nhttps://hu.tt"},"url":"https://prolifica.app/api/isles/oc4wfkqgaa/data/lessons_pictures","raw":"https://prolifica.app/api/data/znbovded7v/raw"}},"links":{"markdown":"https://prolifica.app/i/oc4wfkqgaa.md","data":"https://prolifica.app/api/isles/oc4wfkqgaa/data"},"parent":null,"childCount":0,"uses":[],"samePage":[],"sameData":[]}