From 967fc5a6462b5cd677276be9fbf655ffad69ea7c Mon Sep 17 00:00:00 2001 From: gbradham Date: Tue, 20 Oct 2026 20:02:11 -0500 Subject: [PATCH] fix(review): show a live recording's keypoints, and stop misreading its other files Session Review said "No poses found" for every run recorded with a live pose model, and on the Maimu RTPP Day1 data showed the wrong video and a garbled session name. Three causes: - SessionView.from_recording never read the keypoints CSV the tracking logger writes beside the tracking CSV; it used the tracked centroid as a one-keypoint pose and left pose_path unset. It now loads _keypoints.csv (long: frame, object_id, keypoint, x, y, confidence), keeps only the subject's (frame, object_id) rows, reads blank x/y as a gap, keeps the logger's keypoint labels in order, and falls back to the centroid when the file is missing or unusable. - discover() and session_id_for() only knew "_annotated.mp4", but VideoRecorder writes "_annotated_.mp4". The overlay copy was taken for the raw video (and, being written last, won), and the session was named "_annotated_". - find_pose_csv() returned "