Skip to content

v1.2

Choose a tag to compare

@Shumzi Shumzi released this 11 Nov 10:25
· 1 commit to main since this release

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.