<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: virus</title>
    <description>The latest articles on DEV Community by virus (@yrtiw).</description>
    <link>https://dev.to/yrtiw</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F99mvlsfu5tfj9m7ku25d.png</url>
      <title>DEV Community: virus</title>
      <link>https://dev.to/yrtiw</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yrtiw"/>
    <language>en</language>
    <item>
      <title>Reset Receipt: A Breathing Break That Shows What SmartSpectra Actually Measured</title>
      <dc:creator>virus</dc:creator>
      <pubDate>Wed, 18 Nov 2026 23:40:40 +0000</pubDate>
      <link>https://dev.to/yrtiw/reset-receipt-a-breathing-break-that-shows-what-smartspectra-actually-measured-1k5f</link>
      <guid>https://dev.to/yrtiw/reset-receipt-a-breathing-break-that-shows-what-smartspectra-actually-measured-1k5f</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/presage-2026-11-04"&gt;Presage SmartSpectra SDK Challenge&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Breathing exercises are easy to follow: inhale, exhale, repeat. But completing an exercise doesn't tell you whether your breathing was actually measured, whether the measurements were reliable, or whether there is enough evidence to compare before and after.&lt;/p&gt;

&lt;p&gt;That's why I built &lt;strong&gt;Reset Receipt&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Reset Receipt is a Windows desktop breathing-break application built with Electron and the Presage SmartSpectra SDK. It combines a guided breathing experience with an evidence-based receipt showing what the application actually measured.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The central idea is simple: completing a breathing exercise should not automatically become a claim of improvement.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The application has three main stages:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Natural baseline:&lt;/strong&gt; Breathe normally while the application collects available breathing measurements.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Guided breathing:&lt;/strong&gt; Follow a breathing pace of four seconds in and six seconds out. This is guidance, not a measured breathing rate.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Evidence receipt:&lt;/strong&gt; Review the accepted measurements and what the available evidence supports.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Reset Receipt distinguishes between four receipt outcomes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Full:&lt;/strong&gt; Sufficient accepted readings are available for the supported comparison.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Partial:&lt;/strong&gt; Some evidence exists, but not enough for a complete comparison.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Insufficient:&lt;/strong&gt; The available evidence cannot support the intended result.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interrupted:&lt;/strong&gt; The session did not complete normally.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A before-and-after comparison requires at least two accepted readings in both the baseline and guided phases. If the evidence is incomplete, Reset Receipt does not invent an improvement.&lt;/p&gt;

&lt;p&gt;The application also includes explicit camera consent, a user-provided Presage API key for real measurement, and a clearly labeled simulation mode for exploring the interface without a camera or key.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Watch the Reset Receipt demonstration:&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/bab9zBAiFGQ" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;The video demonstrates the installed application, camera-consent flow, labeled simulation, SmartSpectra SDK integration, and an archival receipt from a real SmartSpectra session.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important:&lt;/strong&gt; Simulation uses synthetic data and is clearly marked &lt;strong&gt;SIMULATION, NOT REAL&lt;/strong&gt;. Simulated values are not presented as real measurements.&lt;/p&gt;

&lt;h3&gt;
  
  
  Evidence from a real SmartSpectra session
&lt;/h3&gt;

&lt;p&gt;The archival real-session receipt shown in the demonstration contains:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Measurement&lt;/th&gt;
&lt;th&gt;Recorded result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Session median&lt;/td&gt;
&lt;td&gt;9.9 breaths/min&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Observed range&lt;/td&gt;
&lt;td&gt;8.1–11.7 breaths/min&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Accepted stable readings&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Receipt status&lt;/td&gt;
&lt;td&gt;Partial&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Before/after comparison&lt;/td&gt;
&lt;td&gt;Not available&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Only two readings passed the reliability checks. This was not sufficient to produce a valid before-and-after comparison.&lt;/p&gt;

&lt;p&gt;The archival receipt was captured for the demonstration on November 18, 2026. The underlying measurement date has not been independently verified.&lt;/p&gt;

&lt;p&gt;These results are not evidence that the breathing exercise caused a physiological improvement.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Public GitHub repository:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/ScapeXYZ/reset-receipt" rel="noopener noreferrer"&gt;https://github.com/ScapeXYZ/reset-receipt&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Windows pre-release and installer:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/ScapeXYZ/reset-receipt/releases/tag/v0.1.0" rel="noopener noreferrer"&gt;https://github.com/ScapeXYZ/reset-receipt/releases/tag/v0.1.0&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The repository includes the source code, setup instructions, SmartSpectra integration, evidence documentation, and application limitations.&lt;/p&gt;

&lt;h3&gt;
  
  
  How to run Reset Receipt
&lt;/h3&gt;

&lt;p&gt;For Windows users, download the installer from the GitHub pre-release.&lt;/p&gt;

&lt;p&gt;Developers can follow the repository's setup and development instructions. Reset Receipt uses Electron and integrates SmartSpectra into its renderer-side signal-processing flow.&lt;/p&gt;

&lt;p&gt;Real measurement requires a valid Presage API key supplied at runtime, a suitable camera, and explicit consent.&lt;/p&gt;

&lt;p&gt;The installer does not bundle a personal API key.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Simulation mode does not require a Presage API key or a live camera session.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Using a smartphone as an alternative camera
&lt;/h3&gt;

&lt;p&gt;If your laptop's built-in webcam is unavailable or produces poor-quality video, you can try using a smartphone with &lt;strong&gt;Camo&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Install Camo on your phone and Camo Studio on Windows, connect the devices using a supported connection, and select &lt;strong&gt;Camo Camera&lt;/strong&gt; in Reset Receipt if it appears in the camera list.&lt;/p&gt;

&lt;p&gt;This is an alternative camera setup, not a separately verified Reset Receipt feature. It does not bypass hardware or processing requirements, and successful SmartSpectra measurements are not guaranteed.&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Responds to Human Signals
&lt;/h2&gt;

&lt;p&gt;Reset Receipt integrates the &lt;strong&gt;Presage SmartSpectra SDK&lt;/strong&gt; to access breathing-related signals from camera input.&lt;/p&gt;

&lt;p&gt;The application uses breathing-rate information, confidence and stability information, and a chest-breathing trace.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. SmartSpectra integration
&lt;/h3&gt;

&lt;p&gt;The official SmartSpectra Electron SDK is integrated into the application.&lt;/p&gt;

&lt;p&gt;Camera frames are processed through the SDK, which provides breathing-related information used by Reset Receipt.&lt;/p&gt;

&lt;p&gt;The repository documents the relevant Electron setup, SDK initialization, and renderer-side integration.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Measurement reliability
&lt;/h3&gt;

&lt;p&gt;Reset Receipt does not automatically accept every breathing-rate value returned by the SDK.&lt;/p&gt;

&lt;p&gt;The application applies checks involving:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SDK confidence and stability information.&lt;/li&gt;
&lt;li&gt;A valid measurement timestamp.&lt;/li&gt;
&lt;li&gt;A breathing rate within the accepted range of 4–45 breaths per minute.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Readings that do not satisfy the required checks are excluded from the accepted evidence used for the receipt.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Real-time breathing experience
&lt;/h3&gt;

&lt;p&gt;During a session, Reset Receipt presents the breathing experience through a visual interface.&lt;/p&gt;

&lt;p&gt;The guided pace uses four seconds for inhalation and six seconds for exhalation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The guided rhythm is an instruction, not a measurement of the user's actual breathing rate.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The application keeps guidance separate from measured signals so that following the animation does not automatically count as physiological evidence.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Evidence-based receipt
&lt;/h3&gt;

&lt;p&gt;The application evaluates accepted readings from the relevant session phases.&lt;/p&gt;

&lt;p&gt;A complete comparison requires at least two accepted readings in both the baseline and guided phases.&lt;/p&gt;

&lt;p&gt;If the available evidence is insufficient, the receipt remains partial or insufficient rather than reporting an unsupported change.&lt;/p&gt;

&lt;p&gt;The real-session receipt demonstrates this approach: it reports a median of 9.9 breaths/min, an observed range of 8.1–11.7 breaths/min, and two accepted readings without claiming an improvement.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Simulation and testing
&lt;/h3&gt;

&lt;p&gt;Reset Receipt also includes a clearly labeled simulation mode.&lt;/p&gt;

&lt;p&gt;This allows reviewers to explore the interface and receipt behavior without consuming a live SmartSpectra session.&lt;/p&gt;

&lt;p&gt;Synthetic values remain explicitly labeled and are never presented as real measurements.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;Reset Receipt is being submitted for consideration in the &lt;strong&gt;Presage SmartSpectra SDK Challenge&lt;/strong&gt;, including the following three award categories:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Best Overall Experience
&lt;/h3&gt;

&lt;p&gt;Reset Receipt brings together a guided breathing experience, real SmartSpectra integration, explicit camera consent, and transparent measurement reporting in one Windows desktop application.&lt;/p&gt;

&lt;p&gt;The experience is designed around three simple steps: establish a natural breathing baseline, follow a guided breathing pace, and receive an evidence-based receipt.&lt;/p&gt;

&lt;p&gt;What makes the experience meaningful is its honesty. Rather than automatically claiming improvement when an exercise finishes, Reset Receipt evaluates the available measurements and communicates whether the evidence is sufficient.&lt;/p&gt;

&lt;p&gt;The application also provides a clearly labeled simulation mode, allowing users and judges to explore the interface without a camera or Presage API key.&lt;/p&gt;

&lt;p&gt;My goal is to deliver an understandable, accessible experience that combines thoughtful interface design with responsible use of real-world signals.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Most Creative or Delightful Use
&lt;/h3&gt;

&lt;p&gt;The creative idea behind Reset Receipt is to make the result of a breathing exercise more meaningful than a completion animation.&lt;/p&gt;

&lt;p&gt;Instead of automatically rewarding the user with a positive score, the application produces a receipt explaining what was actually measured.&lt;/p&gt;

&lt;p&gt;Even incomplete evidence becomes useful information.&lt;/p&gt;

&lt;p&gt;The experience combines a calming breathing interface, visual breathing guidance, and transparent measurement reporting.&lt;/p&gt;

&lt;p&gt;The distinctive feature is the evidence receipt: it makes uncertainty visible rather than hiding it behind an attractive interface.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Best Thoughtful Real-World Use
&lt;/h3&gt;

&lt;p&gt;Reset Receipt addresses a practical limitation of guided wellness applications: completing an activity does not necessarily mean the application measured a meaningful physiological change.&lt;/p&gt;

&lt;p&gt;The application is designed for people who want a short guided breathing break with clearer information about the measurements available.&lt;/p&gt;

&lt;p&gt;It brings together:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Explicit camera consent and user-controlled session initiation.&lt;/li&gt;
&lt;li&gt;Real breathing-related signals through Presage SmartSpectra.&lt;/li&gt;
&lt;li&gt;Confidence, stability, and measurement-validity checks.&lt;/li&gt;
&lt;li&gt;Evidence-based receipts that distinguish full, partial, insufficient, and interrupted sessions.&lt;/li&gt;
&lt;li&gt;A simulation mode that does not require a camera or API key.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is not to diagnose health conditions or promise physiological improvement. It is to demonstrate a more transparent and responsible approach to camera-based breathing experiences.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Across all three categories, Reset Receipt demonstrates one principle: a useful breathing application should explain what it measured, what the evidence supports, and what remains uncertain.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Consent and Data Handling
&lt;/h2&gt;

&lt;p&gt;Camera consent and responsible data handling are important parts of Reset Receipt's design.&lt;/p&gt;

&lt;h3&gt;
  
  
  Camera consent
&lt;/h3&gt;

&lt;p&gt;Before starting real measurement, the user must:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Select a camera.&lt;/li&gt;
&lt;li&gt;Provide their own Presage API key.&lt;/li&gt;
&lt;li&gt;Review the consent information.&lt;/li&gt;
&lt;li&gt;Explicitly agree and start the session.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Opening the consent dialog does not automatically begin measurement.&lt;/p&gt;

&lt;p&gt;The user can select &lt;strong&gt;Cancel&lt;/strong&gt; before starting.&lt;/p&gt;

&lt;h3&gt;
  
  
  API-key handling
&lt;/h3&gt;

&lt;p&gt;The Presage API key is supplied at runtime rather than bundled into the application installer.&lt;/p&gt;

&lt;p&gt;Users should not share their API keys in screenshots, videos, public repositories, or issue reports.&lt;/p&gt;

&lt;h3&gt;
  
  
  Camera data, storage, and retention
&lt;/h3&gt;

&lt;p&gt;Reset Receipt is designed not to save raw camera video as a local recording.&lt;/p&gt;

&lt;p&gt;Its receipt contains derived measurement information rather than a stored recording of the user.&lt;/p&gt;

&lt;p&gt;The application's local handling of camera data is separate from the processing, telemetry, sharing, and retention policies of the Presage SDK and its external services.&lt;/p&gt;

&lt;p&gt;Those external service-level details are governed by Presage's applicable documentation and policies and have not been independently verified for this submission. I therefore do not claim that all SDK processing is local or that external services retain no data.&lt;/p&gt;

&lt;h3&gt;
  
  
  Sharing, deletion, and external services
&lt;/h3&gt;

&lt;p&gt;The demonstrated application does not include an optional LLM insights workflow.&lt;/p&gt;

&lt;p&gt;Simulation does not require a live Presage session.&lt;/p&gt;

&lt;p&gt;Reset Receipt does not intentionally create local raw-video recordings that users would need to delete. Derived measurement data may be displayed in a receipt; this should not be confused with a guarantee about SDK-side data deletion or retention.&lt;/p&gt;

&lt;p&gt;Users should consult Presage's applicable privacy documentation for service-level handling and deletion procedures.&lt;/p&gt;

&lt;h3&gt;
  
  
  Safety and limitations
&lt;/h3&gt;

&lt;p&gt;Reset Receipt is a breathing-break and evidence-reporting prototype.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It is not a medical device.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It does not diagnose conditions, recommend treatment, or establish clinical measurement accuracy.&lt;/p&gt;

&lt;p&gt;The demonstrated real-session evidence is limited, and the application does not present incomplete measurements as proof of improvement.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Voice-over in the demo was generated locally using Piper text-to-speech.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>presagechallenge</category>
      <category>opensource</category>
      <category>devchallenge</category>
    </item>
  </channel>
</rss>
