<?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: Miko</title>
    <description>The latest articles on DEV Community by Miko (@miko997).</description>
    <link>https://dev.to/miko997</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3995659%2Fd9b65db3-6b66-431d-92e4-cf7d78497360.png</url>
      <title>DEV Community: Miko</title>
      <link>https://dev.to/miko997</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/miko997"/>
    <language>en</language>
    <item>
      <title>I built an open-source tool that turns workcell incidents into evidence bundles and regression tests</title>
      <dc:creator>Miko</dc:creator>
      <pubDate>Sun, 21 Jun 2026 18:59:40 +0000</pubDate>
      <link>https://dev.to/miko997/i-built-an-open-source-tool-that-turns-workcell-incidents-into-evidence-bundles-and-regression-tests-55ll</link>
      <guid>https://dev.to/miko997/i-built-an-open-source-tool-that-turns-workcell-incidents-into-evidence-bundles-and-regression-tests-55ll</guid>
      <description>&lt;p&gt;I built &lt;strong&gt;MetriPlane v0.2.0&lt;/strong&gt;, an open-source physical-observability tool for bounded workcells.&lt;/p&gt;

&lt;p&gt;The short version:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A missing tool in a workcell becomes a physical event log, a Cell Truth Report, a verified evidence bundle, and a generated regression test.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;3-minute demo:&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/7U5nbBbGGbw"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Repository:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Miko997/metriplane" rel="noopener noreferrer"&gt;https://github.com/Miko997/metriplane&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Zenodo DOI:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://doi.org/10.5281/zenodo.20736619" rel="noopener noreferrer"&gt;https://doi.org/10.5281/zenodo.20736619&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub release:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Miko997/metriplane/releases/tag/v0.2.0" rel="noopener noreferrer"&gt;https://github.com/Miko997/metriplane/releases/tag/v0.2.0&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;Robotics and manufacturing systems often have cameras, logs, dashboards, simulators, and internal event streams.&lt;/p&gt;

&lt;p&gt;But when something physically goes wrong, there is still a hard question:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;What actually happened?
What proves it?
Can we replay it?
Can we turn the incident into a repeatable software check?
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;MetriPlane focuses on that narrow layer: &lt;strong&gt;replayable physical evidence for bounded workcells&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It is not trying to be a robot controller, safety system, MES, or full digital-twin platform. It is an observe-only evidence layer around replayed or calibrated physical state.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the v0.2.0 demo shows
&lt;/h2&gt;

&lt;p&gt;The demo uses a camera-free assembly-cell replay where a required torque driver is missing long enough to delay a process step.&lt;/p&gt;

&lt;p&gt;MetriPlane turns that replayed state into:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;missing torque driver
→ physical event log
→ Cell Truth Report
→ incident evidence bundle
→ local bundle verification
→ generated regression test
→ regression PASS
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The important part is not just detecting an event.&lt;/p&gt;

&lt;p&gt;The important part is that the event becomes a verifiable artifact that can be reviewed, replayed, and reused as a software test.&lt;/p&gt;

&lt;h2&gt;
  
  
  What MetriPlane generates
&lt;/h2&gt;

&lt;p&gt;MetriPlane v0.2.0 produces:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;physical event logs&lt;/li&gt;
&lt;li&gt;Cell Truth Reports&lt;/li&gt;
&lt;li&gt;incident evidence bundles&lt;/li&gt;
&lt;li&gt;manifest and checksums&lt;/li&gt;
&lt;li&gt;local bundle verification&lt;/li&gt;
&lt;li&gt;generated regression tests&lt;/li&gt;
&lt;li&gt;static review/dashboard artifacts&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The demo evidence chain is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;6 physical events
1 incident
35.0 second missing-tool delay
INC-0001 evidence bundle
bundle verify: pass=true
generated regression test: PASS
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is the core idea I am trying to validate:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;replayed workcell state
→ physical event
→ evidence bundle
→ verification
→ generated regression test
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Camera-free reproduction
&lt;/h2&gt;

&lt;p&gt;I am preparing a SoftwareX research-software paper while finishing my MSc thesis, and I am looking for external technical reproduction feedback.&lt;/p&gt;

&lt;p&gt;Public reproduction issue:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Miko997/metriplane/issues/6" rel="noopener noreferrer"&gt;https://github.com/Miko997/metriplane/issues/6&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A useful reproduction comment would include:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;OS:
Python version:

doctor: pass/fail
deterministic replay: pass/fail
Atlas run: pass/fail
bundle verify: pass/fail
regression test: pass/fail

Technical relevance:
2–5 sentences

Main limitation:
1–2 sentences
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Short feedback form
&lt;/h2&gt;

&lt;p&gt;A full reproduction is ideal, but I realized it may be too time-consuming for many people.&lt;/p&gt;

&lt;p&gt;If you only have 2–4 minutes, this short technical feedback form is also useful:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.google.com/forms/d/e/1FAIpQLSfnMZ4b3fSVVtwA89hZt3A09gf85eLfhW00FDD76TGRLNpirQ/viewform" rel="noopener noreferrer"&gt;https://docs.google.com/forms/d/e/1FAIpQLSfnMZ4b3fSVVtwA89hZt3A09gf85eLfhW00FDD76TGRLNpirQ/viewform&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The main questions are:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Does the evidence-bundle / regression-test loop make sense?&lt;/li&gt;
&lt;li&gt;Is it relevant to robotics, simulation, digital twins, manufacturing, physical AI, or research software?&lt;/li&gt;
&lt;li&gt;What is the main limitation or next validation step?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Critical feedback is more useful than praise.&lt;/p&gt;

&lt;h2&gt;
  
  
  Main reproduction commands
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/Miko997/metriplane.git
&lt;span class="nb"&gt;cd &lt;/span&gt;metriplane
git checkout v0.2.0

python3 &lt;span class="nt"&gt;-m&lt;/span&gt; venv .venv
&lt;span class="nb"&gt;source&lt;/span&gt; .venv/bin/activate
pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-e&lt;/span&gt; &lt;span class="nb"&gt;.&lt;/span&gt;

python &lt;span class="nt"&gt;-m&lt;/span&gt; metriplane.cli doctor

&lt;span class="nv"&gt;PYTEST_DISABLE_PLUGIN_AUTOLOAD&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;1 python &lt;span class="nt"&gt;-m&lt;/span&gt; pytest &lt;span class="nt"&gt;-q&lt;/span&gt;

./tools/mp.sh deterministic-replay

metriplane atlas validate-pack configs/domain_packs/assembly_cell

metriplane atlas run &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--session-jsonl&lt;/span&gt; datasets/demo/atlas/assembly_cell_missing_tool.jsonl &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--pack&lt;/span&gt; configs/domain_packs/assembly_cell &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--out&lt;/span&gt; runs/atlas/assembly_cell_missing_tool

metriplane atlas bundle verify &lt;span class="se"&gt;\&lt;/span&gt;
  runs/atlas/assembly_cell_missing_tool/evidence_bundles/INC-0001.zip

metriplane atlas &lt;span class="nb"&gt;test&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  runs/atlas/assembly_cell_missing_tool/regression_tests/INC-0001.yaml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Expected high-level result:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;doctor: pass
pytest: 580 passed
deterministic replay: pass=true, 0.0 cm position difference, 0 event mismatches
Atlas run: events=6, incidents=1
bundle verify: pass=true
regression test: PASS missing_tool_caused_delay_INC-0001
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Scope
&lt;/h2&gt;

&lt;p&gt;MetriPlane v0.2.0 is intentionally bounded.&lt;/p&gt;

&lt;p&gt;It is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;observe-only&lt;/li&gt;
&lt;li&gt;local-first&lt;/li&gt;
&lt;li&gt;camera/replay-oriented&lt;/li&gt;
&lt;li&gt;planar/tagged-asset scoped&lt;/li&gt;
&lt;li&gt;research-software oriented&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It does &lt;strong&gt;not&lt;/strong&gt; claim:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;robot or machine control&lt;/li&gt;
&lt;li&gt;safety certification&lt;/li&gt;
&lt;li&gt;quality-release approval&lt;/li&gt;
&lt;li&gt;people recognition&lt;/li&gt;
&lt;li&gt;marker-free tracking&lt;/li&gt;
&lt;li&gt;full 3D reconstruction&lt;/li&gt;
&lt;li&gt;production-factory validation&lt;/li&gt;
&lt;li&gt;factory-wide deployment readiness&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Feedback wanted
&lt;/h2&gt;

&lt;p&gt;I am especially interested in:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Does the camera-free reproduction path work on another machine?&lt;/li&gt;
&lt;li&gt;Is the incident → evidence bundle → regression test loop useful?&lt;/li&gt;
&lt;li&gt;Are the observe-only boundaries clear enough?&lt;/li&gt;
&lt;li&gt;What should be validated next before this is useful beyond a deterministic demo fixture?&lt;/li&gt;
&lt;li&gt;Would this be useful around robotics, simulation, digital-twin, or manufacturing review workflows?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A full reproduction comment on GitHub Issue #6 is the strongest feedback.&lt;/p&gt;

&lt;p&gt;The short form is also useful if you only have a few minutes:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.google.com/forms/d/e/1FAIpQLSfnMZ4b3fSVVtwA89hZt3A09gf85eLfhW00FDD76TGRLNpirQ/viewform" rel="noopener noreferrer"&gt;https://docs.google.com/forms/d/e/1FAIpQLSfnMZ4b3fSVVtwA89hZt3A09gf85eLfhW00FDD76TGRLNpirQ/viewform&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Critical feedback is preferred.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>python</category>
      <category>robotics</category>
      <category>testing</category>
    </item>
  </channel>
</rss>
