|
| 1 | +# Risk Perception Estimation Task (HTML Companion) |
| 2 | + |
| 3 | +| Field | Value | |
| 4 | +|---|---| |
| 5 | +| Name | Risk Perception Estimation Task | |
| 6 | +| Version | html (v0.1.0-dev) | |
| 7 | +| URL / Repository | https://github.com/TaskBeacon/H000036-risk-perception-estimation | |
| 8 | +| Canonical Source | `T000036-risk-perception-estimation` | |
| 9 | +| Short Description | Browser companion for the Chinese health-risk judgment task with the same rating semantics as the local task | |
| 10 | +| Created By | TaskBeacon py2js redo | |
| 11 | +| Date Updated | 2026-04-04 | |
| 12 | +| Modality | Behavior | |
| 13 | +| Language | Chinese | |
| 14 | + |
| 15 | +## 1. Task Overview |
| 16 | + |
| 17 | +This HTML companion is a browser-native re-authoring of the local `T000036-risk-perception-estimation` task. Participants judge the perceived health risk of short everyday scenarios on a 1-7 scale. The web version preserves the same stage order, response mapping, and trial-data semantics as the local task, while using a shorter one-block preview for browser review. |
| 18 | + |
| 19 | +## 2. Task Flow |
| 20 | + |
| 21 | +### Block-Level Flow |
| 22 | + |
| 23 | +| Step | Description | |
| 24 | +|---|---| |
| 25 | +| Load Config | Read the browser companion config and subject form. | |
| 26 | +| Show Instructions | Present the Chinese instructions and key mapping. | |
| 27 | +| Generate Conditions | Build a balanced schedule across `low_health_risk`, `medium_health_risk`, and `high_health_risk`. | |
| 28 | +| Run Trials | Repeat the local `fixation -> scenario preview -> rating response -> ITI` sequence. | |
| 29 | +| Show Block Break | Display the mean rating and mean RT for the completed block. | |
| 30 | +| Finalize | Show the end-of-task summary and export data through the shared runner. | |
| 31 | + |
| 32 | +### Trial-Level Flow |
| 33 | + |
| 34 | +| Step | Description | |
| 35 | +|---|---| |
| 36 | +| Fixation | Central fixation cross. | |
| 37 | +| Scenario Preview | Show the condition-specific health-risk vignette. | |
| 38 | +| Rating Response | Present the scenario question and 1-7 response scale; collect one keypress or timeout. | |
| 39 | +| ITI | Return to fixation before the next trial. | |
| 40 | + |
| 41 | +### Controller Logic |
| 42 | + |
| 43 | +| Feature | Description | |
| 44 | +|---|---| |
| 45 | +| Condition Scheduling | Seeded schedule generation balances the three risk labels within each block. | |
| 46 | +| Response Mapping | Number keys `1`-`7` map directly to ordinal risk ratings. | |
| 47 | +| Determinism | Schedule generation uses the configured overall seed and block index. | |
| 48 | +| Adaptive Control | None. | |
| 49 | + |
| 50 | +## 3. Configuration Summary |
| 51 | + |
| 52 | +### a. Subject Info |
| 53 | + |
| 54 | +| Field | Meaning | |
| 55 | +|---|---| |
| 56 | +| `subject_id` | Numeric participant identifier supplied by the shared runner. | |
| 57 | + |
| 58 | +### b. Window Settings |
| 59 | + |
| 60 | +| Parameter | Meaning | |
| 61 | +|---|---| |
| 62 | +| `window.size` | Browser canvas size in pixels. | |
| 63 | +| `window.units` | Coordinate units used by the task runtime. | |
| 64 | +| `window.bg_color` | Background color. | |
| 65 | +| `window.fullscreen` | Fullscreen toggle for browser preview. | |
| 66 | + |
| 67 | +### c. Stimuli |
| 68 | + |
| 69 | +| Stimulus ID | Purpose | |
| 70 | +|---|---| |
| 71 | +| `instruction_text` | Chinese task instructions. | |
| 72 | +| `fixation` | Central fixation cross. | |
| 73 | +| `scenario_low` / `scenario_medium` / `scenario_high` | Health-risk scenario vignettes. | |
| 74 | +| `rating_prompt` | Risk question shown during the response phase. | |
| 75 | +| `rating_scale` | 1-7 ordinal legend. | |
| 76 | +| `block_break` | Block summary screen. | |
| 77 | +| `good_bye` | End-of-task summary screen. | |
| 78 | + |
| 79 | +### d. Timing |
| 80 | + |
| 81 | +| Parameter | Meaning | |
| 82 | +|---|---| |
| 83 | +| `timing.fixation_duration` | Fixation screen duration. | |
| 84 | +| `timing.scenario_preview_duration` | Scenario-only preview duration. | |
| 85 | +| `timing.response_window_duration` | Rating response window duration. | |
| 86 | +| `timing.iti_duration` | Inter-trial interval duration. | |
| 87 | + |
| 88 | +### e. Browser Companion Differences |
| 89 | + |
| 90 | +| Parameter | Meaning | |
| 91 | +|---|---| |
| 92 | +| `task.total_blocks` | Shortened to 1 for browser review. | |
| 93 | +| `task.total_trials` | Shortened to 6 for browser review. | |
| 94 | +| `task.trial_per_block` | Shortened to 6 for browser review. | |
| 95 | +| `task.voice_enabled` | Disabled in the browser companion. | |
| 96 | + |
| 97 | +## 4. Methods (for academic publication) |
| 98 | + |
| 99 | +This HTML companion preserves the local risk-perception estimation protocol in a browser-run format. Each trial presents a brief health-risk scenario, followed by a 1-7 subjective rating. The browser companion keeps the same construct, response meaning, and trial sequence as the canonical local task while shortening the run for review and shared-runner navigation. |
0 commit comments