Skip to content

Releases

v1.3

Choose a tag to compare

@Shumzi Shumzi released this 15 Nov 09:05
  • Heart-rate sensor hot-plug: the firmware notices an unplugged sensor within about 1 s (BPM shows NO_SENSOR) and picks it up again within about 2 s of replugging, without a reset. Outages are shaded on the graph.
  • Arduino reconnects automatically: no "Try again" click. If the cable comes out during an examination, the examination pauses (timers and keys frozen) and resumes when it is plugged back in. "End examination" in the bubble finishes early.
  • Answer marks: the time of the answer key (1/2/3) is saved next to the question mark (new answer_time_s, answer_pc_time_s columns at the end of the questions CSV). The graph lines now sit on the answer marks, and the counter reads "Since last answer".
  • Steadier BPM display: a brief loss of lock keeps the last BPM on screen, greyed, for up to 5 s. The CSV still records exactly what the sensor reported.
  • Firmware diagnostics: beat-rejection counters on the 10 s # late= line. Flash the new firmware (arduino/polygraph) together with this exe.

Upgrading: an existing config.toml next to the exe is missing two new settings (bpm_display_hold_seconds, reconnect_interval_seconds), and the app will name them at startup. Copy them from python_app/config.toml, or delete config.toml to get the new defaults (this also resets the questions).

Known, deliberately unfixed issues: docs/known-issues.md.

v1.2

Choose a tag to compare

@Shumzi Shumzi released this 11 Nov 10:25

What's new since v1.1

Editable questions and settings (no rebuild needed)

  • The questions, answer choices, default rest/test times and all other tunables now live in config.toml next to the exe. It is written automatically on first launch; edit it in any text editor (save as UTF-8, Hebrew is fine) and restart the app.
  • A missing or invalid setting shows a clear "Configuration error" dialog naming the problem. Delete config.toml to get the defaults back.
  • The bundled questions are placeholders. Replace them with the real ones before use.

Examination flow

  • The actual question text is shown during the examination and on the Truth/Lie screen, instead of just "Question N". Hebrew (right-to-left) questions wrap and display correctly.
  • The examination ends automatically after the last question is answered.
  • Classification saves automatically once the last answer is marked Truth/Lie (no separate "Save examination" step).
  • Answer key hints follow the configured answer choices (up to 9, keys 1–9).
  • The "since last question" counter is hidden before the first question (the rest period already covers it).
  • A short key lockout when the Truth/Lie screen opens stops a held key from classifying the first answer by accident.

Results screen

  • After saving, the app no longer closes. It opens a maximized results screen with a summary table (question, answer, prediction, certainty) beside the interactive GSR/heart-rate graph (zoom/pan toolbar). The graph is still saved as a PNG next to the CSVs.
  • Note: the Prediction and Certainty columns are random placeholders for now.

Diagnostics

  • With the updated firmware, the app logs the sensor start-up check to measurements/i2c_boot.log, to help diagnose a heart-rate sensor that fails to start.

Firmware (arduino/polygraph/polygraph.ino) — reflash recommended

  • More robust MAX30102 start-up: retries, then clears a stuck I2C bus and retries again, with an I2C timeout so a stuck bus can't freeze the GSR stream.
  • New # i2c ... diagnostic line (at boot and every 10 s). See arduino/polygraph/README.md. The serial data format is otherwise unchanged, so older firmware still works with this app.

Other

  • Window title renamed to "Polygraph ".
  • New top-level README and updated docs.

Upgrading

Put the new exe in the same folder as the old one so the measurements/ folder is kept. Windows SmartScreen will warn because the exe is unsigned: More info → Run anyway.

prototype v1.1

Choose a tag to compare

@Shumzi Shumzi released this 15 Oct 11:21
  • Answer key time is no longer recorded; the Space/Enter press (question_time_s) marks when the visitor answered. The questions CSV drops answer_time_s and answer_pc_time_s.
  • A finished examination also saves the graph as _plot.png next to the CSVs.

prototype v1

Choose a tag to compare

@Shumzi Shumzi released this 15 Oct 10:49

current app:

  • checks if the sensors are connected
  • shows the interviewer how long passed since last answer for cooldown
  • generates csv and side-by-side graphs of the interview with marks showing when the answers were given
  • easy hotkeys for quick answering in addition to clickable buttons.