Skip to content

Review round 1: live view that recovers, correct Bias wording, the Pi… - #7

Merged
jurecerkez-code merged 1 commit into
mainfrom
fix/review-round-1
Nov 1, 2026
Merged

jurecerkez-code merged 1 commit into
mainfrom
fix/review-round-1

Conversation

@jurecerkez-code

@jurecerkez-code jurecerkez-code commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

… answers to raspberrypi.local

Page (raspberrypi.local:8080)

  • Reconnects by itself when PiEEG Server restarts or the WiFi drops (2 s to 15 s backoff); a socket that closes while "connected, no data yet" no longer leaves the badge stuck
  • Traces are centred on each lane's mean, so electrodes with millivolt offsets draw inside the lane instead of off canvas; the focus/relax readout ignores the DC offset too
  • Drawings keep a readable width on phones and scroll sideways instead of shrinking labels
  • Setup steps match the service based workflow: nothing to start by hand, check_setup.py and the dashboard verify, record.py records; the sudo advice no longer disables the password, setup.sh runs with bash as in the docs
  • Troubleshooting row for SAMPLE points at pieeg-server, not at the network
  • "The server turns both into a focus score" corrected: the page computes a rough readout
  • ARIA: chips are pressed buttons, the channel table is readable by screen readers, color-scheme: dark declared
  • Neutral voice: no names in the page text, the empty personal section became a link to the lab notebook

Deploy

  • 05-welcome survives non numeric vcgencmd output instead of aborting the whole banner; empty IP handled; greeting without a name
  • pieeg-page.service: read only hardening (ProtectSystem=strict, ProtectHome=read-only, NoNewPrivileges, PrivateTmp, PrivateDevices)
  • README: rsync --delete, favicon.ico copied, Debian's 10-uname line disabled, how to undo, what page_figures.py needs to rebuild the drawings

Docs and code

  • Bias described the same way everywhere: with BIAS_SENSP/N = 0x00 it holds the body at mid supply, it is not a feedback loop that cancels 50 Hz hum
  • The Pi has one name: raspberrypi.local everywhere, plus how to rename a card that still says raspberrypi
  • Mission 1 measures the hum peak above the noise floor and says SKIP when a battery recording has no hum to remove, instead of an unpassable 95 % rule
  • record.py and the stream events write timestamps with a UTC offset (NWB wants one); Mission 3 hint and how-it-works examples updated
  • Mission 5 hint names the two things to compare (full scale counts, programmed gain)
  • how-it-works: the 5 s probe explains the "Client connected" lines in the server log
  • docs/lab-notebook.md: a template for sessions and mission results
  • README: honest status row (board not yet on this Pi), lab notebook in the tree, no seasonal sign off; CITATION.cff and LICENSE name Valentina Vidović as the author

Generated by Claude Code

… answers to tina.local

Page (tina.local:8080)
- Reconnects by itself when PiEEG Server restarts or the WiFi drops (2 s to 15 s backoff);
  a socket that closes while "connected, no data yet" no longer leaves the badge stuck
- Traces are centred on each lane's mean, so electrodes with millivolt offsets draw inside
  the lane instead of off canvas; the focus/relax readout ignores the DC offset too
- Drawings keep a readable width on phones and scroll sideways instead of shrinking labels
- Setup steps match the service based workflow: nothing to start by hand, check_setup.py
  and the dashboard verify, record.py records; the sudo advice no longer disables the
  password, setup.sh runs with bash as in the docs
- Troubleshooting row for SAMPLE points at pieeg-server, not at the network
- "The server turns both into a focus score" corrected: the page computes a rough readout
- ARIA: chips are pressed buttons, the channel table is readable by screen readers,
  color-scheme: dark declared
- Neutral voice: no names in the page text, the empty "For Tina" section became a link to
  the lab notebook

Deploy
- 05-welcome survives non numeric vcgencmd output instead of aborting the whole banner;
  empty IP handled; greeting without a name
- tina-page.service: read only hardening (ProtectSystem=strict, ProtectHome=read-only,
  NoNewPrivileges, PrivateTmp, PrivateDevices)
- README: rsync --delete, favicon.ico copied, Debian's 10-uname line disabled, how to undo,
  what page_figures.py needs to rebuild the drawings

Docs and code
- Bias described the same way everywhere: with BIAS_SENSP/N = 0x00 it holds the body at
  mid supply, it is not a feedback loop that cancels 50 Hz hum
- The Pi is named tina: tina.local everywhere, plus how to rename a card that still says
  raspberrypi
- Mission 1 measures the hum peak above the noise floor and says SKIP when a battery
  recording has no hum to remove, instead of an unpassable 95 % rule
- record.py and the stream events write timestamps with a UTC offset (NWB wants one);
  Mission 3 hint and how-it-works examples updated
- Mission 5 hint names the two things to compare (full scale counts, programmed gain)
- how-it-works: the 5 s probe explains the "Client connected" lines in the server log
- docs/lab-notebook.md: a template for sessions and mission results
- README: honest status row (board not yet on this Pi), lab notebook in the tree, no
  seasonal sign off; CITATION.cff and LICENSE name Valentina Vidović as the author

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A22z9AVjhapse64RLqcwTf
@jurecerkez-code
jurecerkez-code merged commit d794e47 into main Nov 1, 2026
4 checks passed
@jurecerkez-code
jurecerkez-code deleted the fix/review-round-1 branch November 9, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants