Files
experiments-database/test-files/session_files/2026-04-23/2026-04-23_3078_trials.csv
T
Experiments DB Dev daf36908ef feat: session file registry with drag-and-drop on day view
Adds a FileDropZone at the bottom of the day view where users can
drop all session files at once. Filenames are regex-matched to
subjects using their animal_id_string (word-boundary aware, so
"2852" won't match "28520"). Only metadata is recorded — files
are never uploaded.

Backend: new session_files table (id, daily_status_id, filename,
file_size BIGINT, file_type, last_modified, notes). Routes:
  POST /api/daily-statuses/:id/files  (batch create)
  GET  /api/daily-statuses/:id/files
  DELETE /api/session-files/:id

Frontend: FileDropZone shows per-subject match groups, unmatched
files, and a warning for subjects with no match. After saving,
registered files are displayed with delete capability.

test-files/: generate_test_files.sh creates 4 dummy files per
subject (2×bin, 2×csv) with correct naming for drag-and-drop
testing. Pre-generated for 2026-04-23 with IDs 2852/3076/3077/3078.

Tests: 19 tests covering drag state, regex matching, save payload,
partial-overlap prevention, multi-subject batching, and delete.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 13:12:45 -04:00

509 B

1trial_numtimestampoutcomereaction_time_msreward
211.823Failure811
322.646Success2430
433.469Success2181
544.292Success3481
655.115Failure4180
765.938Failure2491
876.761Success1330
987.584Success3861
1098.407Failure1161
11109.230Success2260
121110.053Success4381
131210.876Success4051
141311.699Success4191
151412.522Success950
161513.345Failure891
171614.168Success3601
181714.991Failure4241
191815.814Success731
201916.637Failure2690
212017.460Success2360