Skip to content

feat: Automatically write participant-related warnings into the session documentation sheet #153

Description

@saphjra

Goal: Surface automatically detected participant-related warnings (missing files, missing subtests, missing sessions from Issues #149 & #151, etc.) directly in the session documentation Excel sheet, so labs have one place to see data-quality issues per participant instead of a separate report.

Tasks:

Add a dedicated warnings field/column to the sheet (builds on Issue #152 sheet changes)
Aggregate existing warning sources (partial missing-data checks from existing preflight checks, Issue #149 cross-session checks, Issue #151 sheet-vs-data comparison) into a single per-participant warning entry
Implement automatic write/update of this field when checks are run

Acceptance criteria:

Sheet has a dedicated column that gets populated automatically after running the checks
Warnings from existing partial-missing-data checks (missing edf/log/subtest) appear in this field
Warnings from Issue #149 (cross-session missing data) and Issue #151 (missing vs. source of truth) appear in this field
Re-running the checks updates the field without duplicating previously written warnings
Warning text is human-readable for lab staff
Manual notes labs add elsewhere in the sheet are not overwritten by the automated write
A participant with no warnings has an empty/clear field (no stale entries left over)

Depends on: Issue #152
Related: consumes output of Issue #149 and Issue #151

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions