<?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: Dev Station</title>
    <description>The latest articles on DEV Community by Dev Station (@devstation026).</description>
    <link>https://dev.to/devstation026</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%2F4138925%2Fdb902328-78b6-4880-b30a-6e9ed06fb90e.png</url>
      <title>DEV Community: Dev Station</title>
      <link>https://dev.to/devstation026</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/devstation026"/>
    <language>en</language>
    <item>
      <title>Measure your drawing set before you pilot an AI drawing reader</title>
      <dc:creator>Dev Station</dc:creator>
      <pubDate>Thu, 03 Dec 2026 09:41:42 +0000</pubDate>
      <link>https://dev.to/devstation026/measure-your-drawing-set-before-you-pilot-an-ai-drawing-reader-3b1j</link>
      <guid>https://dev.to/devstation026/measure-your-drawing-set-before-you-pilot-an-ai-drawing-reader-3b1j</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqqmwk936pky1deij2qgd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqqmwk936pky1deij2qgd.png" alt="Same plan, three formats, three different problems: vector PDF, scanned raster sheet, IFC or BIM model" width="800" height="354"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Every AI drawing reader demo uses a clean plan exported from CAD. Your project folder is different. It has scans, superseded sheets and a symbol legend somebody invented years ago.&lt;/p&gt;

&lt;p&gt;This post is the engineer's version of our guide on &lt;a href="https://dev-station.tech/ai-construction-drawings/" rel="noopener noreferrer"&gt;AI for construction drawings&lt;/a&gt;. It turns the first two checks from that guide into scripts you can run before any vendor sees your files.&lt;/p&gt;

&lt;h2&gt;
  
  
  How much of the set is vector?
&lt;/h2&gt;

&lt;p&gt;A vector PDF still carries text as text and lines as objects with coordinates. A scanned sheet is an image, so every word has to come back through OCR. A quick way to sort them is to ask the PDF for its text layer.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;fitz&lt;/span&gt;  &lt;span class="c1"&gt;# PyMuPDF&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;pathlib&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;Path&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;has_text_layer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pdf_path&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;min_chars&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;200&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;fitz&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pdf_path&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;doc&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;page&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;doc&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get_text&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;strip&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="n"&gt;min_chars&lt;/span&gt;

&lt;span class="n"&gt;sheets&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Path&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"drawings"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;glob&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"*.pdf"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;vector&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;sheets&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nf"&gt;has_text_layer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{len(vector)} of {len(sheets)} sheets have a text layer"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;min_chars&lt;/code&gt; cut-off is a guess you should tune. A title block alone can carry some text, so open a few borderline sheets by hand. Sample around thirty sheets across disciplines. If most come back as images, budget for a recovery step and ignore any quoted vendor accuracy.&lt;/p&gt;

&lt;h2&gt;
  
  
  Are superseded sheets still in the folder?
&lt;/h2&gt;

&lt;p&gt;If three revisions of M-101 sit side by side, a quantity extraction counts all three. That looks like a software bug. It is a file management problem, and a few lines find it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;collections&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;defaultdict&lt;/span&gt;

&lt;span class="n"&gt;pattern&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;compile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="s2"&gt;"^(?P&amp;lt;number&amp;gt;[A-Z]{1,2}-\d{3})[_-]?(?P&amp;lt;rev&amp;gt;[A-Z0-9]+)?"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;by_number&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;defaultdict&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;sheets&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;pattern&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;match&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;stem&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;by_number&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"number"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"rev"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;dupes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;k&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;k&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;by_number&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;items&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;dupes&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Adjust the pattern to your own numbering. If it fails on half the files, that is your third finding: the drawing numbers do not follow a convention.&lt;/p&gt;

&lt;h2&gt;
  
  
  Checklist before the pilot
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Vector share measured on a sample across disciplines&lt;/li&gt;
&lt;li&gt;One current issue per drawing number in the live folder&lt;/li&gt;
&lt;li&gt;Symbol legend written down as a table&lt;/li&gt;
&lt;li&gt;Drawing numbers matching the register and the title block&lt;/li&gt;
&lt;li&gt;One job picked, with an acceptance threshold agreed before the result&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The full guide covers the 4 jobs AI is sold for and the 5 document problems behind most failed pilots: &lt;a href="https://dev-station.tech/ai-construction-drawings/" rel="noopener noreferrer"&gt;AI for construction drawings&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>automation</category>
      <category>python</category>
      <category>software</category>
    </item>
    <item>
      <title>Taking over a failed vendor project: how to set up the team</title>
      <dc:creator>Dev Station</dc:creator>
      <pubDate>Thu, 03 Dec 2026 08:19:13 +0000</pubDate>
      <link>https://dev.to/devstation026/taking-over-a-failed-vendor-project-how-to-set-up-the-team-52d8</link>
      <guid>https://dev.to/devstation026/taking-over-a-failed-vendor-project-how-to-set-up-the-team-52d8</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhv99bkz5r67mroqayrql.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhv99bkz5r67mroqayrql.jpg" alt="Building a core development team for a German cloud-native company" width="800" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A critical project arrives with poor code quality and missed deadlines. The previous vendor has failed. That was the starting point for a German cloud-native company that came to us.&lt;/p&gt;

&lt;p&gt;Our &lt;a href="https://dev-station.tech/case-study/building-a-core-development-team/" rel="noopener noreferrer"&gt;case study on building their core development team&lt;/a&gt; covers the whole engagement. This post pulls out the parts an engineering lead can reuse.&lt;/p&gt;

&lt;h2&gt;
  
  
  What did the client need?
&lt;/h2&gt;

&lt;p&gt;Four requirements shaped the team:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Recover the inherited project.&lt;/li&gt;
&lt;li&gt;Build a team that could carry on with growth work after the recovery.&lt;/li&gt;
&lt;li&gt;Communicate in strong English with German product owners.&lt;/li&gt;
&lt;li&gt;Offer dedicated people plus capacity for ad-hoc fixed price projects.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Who was on the core team?
&lt;/h2&gt;

&lt;p&gt;A project manager coordinated delivery. A technical leader owned architecture and mentorship. Full-stack developers built the software, QA engineers looked after quality and a business analyst managed requirements.&lt;/p&gt;

&lt;p&gt;A separate SWAT team took the ad-hoc projects. The split gave urgent side requests somewhere to go while the core team stayed on the primary objectives.&lt;/p&gt;

&lt;h2&gt;
  
  
  How were people hired and onboarded?
&lt;/h2&gt;

&lt;p&gt;Hiring focused strongly on technical skill and English. The client joined mostly for behavioral interviews. The team also took part in sessions on German communication style and working culture.&lt;/p&gt;

&lt;h2&gt;
  
  
  What was the stack?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Backend: Node.js and .NET&lt;/li&gt;
&lt;li&gt;Web and mobile: React and React Native&lt;/li&gt;
&lt;li&gt;Cloud: AWS&lt;/li&gt;
&lt;li&gt;QA: manual testing and Selenium&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  A takeover checklist we suggest
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Get the repository, build steps and environment access before you estimate&lt;/li&gt;
&lt;li&gt;[ ] List the critical defects and agree which come first&lt;/li&gt;
&lt;li&gt;[ ] Put tests around failing paths before you refactor them&lt;/li&gt;
&lt;li&gt;[ ] Name one technical owner for architecture decisions&lt;/li&gt;
&lt;li&gt;[ ] Decide who handles urgent requests outside the recovery plan&lt;/li&gt;
&lt;li&gt;[ ] Check spoken English in the interview, along with code&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What happened next?
&lt;/h2&gt;

&lt;p&gt;The team resolved the critical technical issues and the project regained momentum. Testing processes improved delivery quality. The team grew from that first recovery group to more than 60 developers, we contributed to the client's growth from 80 to over 300 employees, and multiple new projects followed.&lt;/p&gt;

&lt;p&gt;Dev Station builds custom software for teams in the UK and the US, from design through deployment. Taking over a project from another vendor? &lt;a href="https://dev-station.tech/contact/" rel="noopener noreferrer"&gt;Book a 30 minute technical assessment&lt;/a&gt;, or read the &lt;a href="https://dev-station.tech/case-study/building-a-core-development-team/" rel="noopener noreferrer"&gt;full case study&lt;/a&gt;.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Work out your defect detection timeline from your own defect rate</title>
      <dc:creator>Dev Station</dc:creator>
      <pubDate>Wed, 02 Dec 2026 13:37:23 +0000</pubDate>
      <link>https://dev.to/devstation026/work-out-your-defect-detection-timeline-from-your-own-defect-rate-3dfb</link>
      <guid>https://dev.to/devstation026/work-out-your-defect-detection-timeline-from-your-own-defect-rate-3dfb</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fred6tls7of1wmckefm8l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fred6tls7of1wmckefm8l.png" alt="One model, described three ways: 98.8 percent accuracy, 80 percent recall, 45 percent precision" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Two questions open every AI defect detection project. How much data do we need? How accurate will it be? Both have exact answers, but only after you rephrase them.&lt;/p&gt;

&lt;p&gt;This post is the engineer's version of our guide on &lt;a href="https://dev-station.tech/ai-defect-detection/" rel="noopener noreferrer"&gt;AI defect detection&lt;/a&gt;. It turns both questions into arithmetic you can run on your own reject records.&lt;/p&gt;

&lt;h2&gt;
  
  
  How long until you can train?
&lt;/h2&gt;

&lt;p&gt;The data question is a collection-time question. A defect that appears on one part in five hundred needs a lot of inspected parts before you hold enough examples.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;defect_rate&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;500&lt;/span&gt;        &lt;span class="c1"&gt;# from your reject records&lt;/span&gt;
&lt;span class="n"&gt;examples_needed&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;300&lt;/span&gt;        &lt;span class="c1"&gt;# per defect class&lt;/span&gt;
&lt;span class="n"&gt;parts_per_day&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1_000&lt;/span&gt;

&lt;span class="n"&gt;parts_to_inspect&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;examples_needed&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;defect_rate&lt;/span&gt;   &lt;span class="c1"&gt;# 150,000&lt;/span&gt;
&lt;span class="n"&gt;days&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;parts_to_inspect&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;parts_per_day&lt;/span&gt;             &lt;span class="c1"&gt;# 150, about 5 months&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;parts_to_inspect&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;days&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Five months of production before training starts, and that is one defect class. Three levers shorten it, and none of them touch the model:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Narrow the scope to the defect classes that carry real cost.&lt;/li&gt;
&lt;li&gt;Make defective samples on purpose.&lt;/li&gt;
&lt;li&gt;Switch to anomaly detection, trained on good parts only.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why is 98.8 percent accuracy a bad sign?
&lt;/h2&gt;

&lt;p&gt;Accuracy hides rare defects. Take 10,000 parts with 100 defects. The model catches 80 and wrongly flags 1 percent of the good parts, which is 99 false alarms.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;tp&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;fn&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;80&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;
&lt;span class="n"&gt;fp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;99&lt;/span&gt;
&lt;span class="n"&gt;tn&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;10_000&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;fp&lt;/span&gt;

&lt;span class="n"&gt;accuracy&lt;/span&gt;  &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tp&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;tn&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;10_000&lt;/span&gt;   &lt;span class="c1"&gt;# 0.988&lt;/span&gt;
&lt;span class="n"&gt;recall&lt;/span&gt;    &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;tp&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tp&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;fn&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;       &lt;span class="c1"&gt;# 0.80&lt;/span&gt;
&lt;span class="n"&gt;precision&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;tp&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tp&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;fp&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;       &lt;span class="c1"&gt;# 0.45&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Twenty defects reached the customer. Of the 179 parts pulled for review, 80 were bad. Recall and precision per defect class are the numbers to put in the contract.&lt;/p&gt;

&lt;h2&gt;
  
  
  Acceptance test checklist
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Defect classes and how often each occurs, from your own reject records&lt;/li&gt;
&lt;li&gt;[ ] Cost of a miss and cost of a false alarm, per class&lt;/li&gt;
&lt;li&gt;[ ] Recall and precision targets per class&lt;/li&gt;
&lt;li&gt;[ ] A held-back test set from a different week, shift and batch&lt;/li&gt;
&lt;li&gt;[ ] A named person who owns retraining&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A problem that resists this checklist is not ready for a model.&lt;/p&gt;

&lt;p&gt;Dev Station builds defect detection systems for manufacturers in the US and the UK, from lighting and capture to the operator review screen. The full worked example and the three methods are in the &lt;a href="https://dev-station.tech/ai-defect-detection/" rel="noopener noreferrer"&gt;original article&lt;/a&gt;.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Set the memory budget before you train a TinyML model</title>
      <dc:creator>Dev Station</dc:creator>
      <pubDate>Tue, 01 Dec 2026 14:34:15 +0000</pubDate>
      <link>https://dev.to/devstation026/set-the-memory-budget-before-you-train-a-tinyml-model-53k6</link>
      <guid>https://dev.to/devstation026/set-the-memory-budget-before-you-train-a-tinyml-model-53k6</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwrjzdmrbg1wsd181qa8c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwrjzdmrbg1wsd181qa8c.png" alt="TinyML in kilobytes: the model fits the chip and decides on the chip" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Most ML projects pick a model first and find hardware later. TinyML reverses the order. On a microcontroller the firmware, the working buffers and the model share the same few hundred kilobytes, so the memory budget is the first design input.&lt;/p&gt;

&lt;p&gt;We wrote a longer guide on &lt;a href="https://dev-station.tech/tinyml/" rel="noopener noreferrer"&gt;TinyML at dev-station.tech&lt;/a&gt;, with every source linked. Here is the short engineering version.&lt;/p&gt;

&lt;h2&gt;
  
  
  How big are real TinyML models?
&lt;/h2&gt;

&lt;p&gt;The MLPerf Tiny benchmark publishes a reference model for each of its tasks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Keyword spotting, DS-CNN: 52.5 KB, target 90% top-1 accuracy&lt;/li&gt;
&lt;li&gt;Visual wake words, MobileNetV1: 325 KB, target 80% top-1 accuracy&lt;/li&gt;
&lt;li&gt;Anomaly detection, fully connected autoencoder: 270 KB, target 0.85 AUC&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The runtime is small too. Google states that the core LiteRT for Microcontrollers runtime fits in 16 KB on an Arm Cortex-M3, with no operating system, no standard C or C++ library and no dynamic memory allocation.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does the toolchain look like?
&lt;/h2&gt;

&lt;p&gt;Train a small model that uses only supported operations. Convert it to a LiteRT model, then turn that file into a C byte array so it sits in read-only program memory:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# after converting the trained model to model.tflite&lt;/span&gt;
xxd -i model.tflite &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; model_data.cc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Inference then runs through the C++ library. Training never runs on the chip, because Google lists on-device training as unsupported.&lt;/p&gt;

&lt;h2&gt;
  
  
  Checklist before you train anything
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Write down the one decision the device makes, how fast, and what happens after a detection.&lt;/li&gt;
&lt;li&gt;[ ] Record real signals from the actual machine in healthy and faulty states.&lt;/li&gt;
&lt;li&gt;[ ] Subtract firmware and buffers from chip memory. The remainder is the model budget.&lt;/li&gt;
&lt;li&gt;[ ] Start with the smallest model that meets the quality target and measure it on the target chip.&lt;/li&gt;
&lt;li&gt;[ ] Decide how new models reach devices in the field, since each update is a firmware build.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  When is TinyML the wrong tier?
&lt;/h2&gt;

&lt;p&gt;Open-ended language and high-resolution vision need megabytes or more. Those jobs go to an embedded Linux board or a local LLM. A common mixed design uses a microcontroller to wake a bigger device only when it detects something worth a closer look.&lt;/p&gt;

&lt;p&gt;Dev Station writes the firmware and plans the update path around TinyML models for manufacturers in the US and UK. The full guide with sources and a decision table is at &lt;a href="https://dev-station.tech/tinyml/" rel="noopener noreferrer"&gt;https://dev-station.tech/tinyml/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>deeplearning</category>
      <category>hardware</category>
      <category>iot</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Test the clean rebuild at milestone one: a handover checklist for offshore teams</title>
      <dc:creator>Dev Station</dc:creator>
      <pubDate>Fri, 27 Nov 2026 13:37:53 +0000</pubDate>
      <link>https://dev.to/devstation026/test-the-clean-rebuild-at-milestone-one-a-handover-checklist-for-offshore-teams-nb5</link>
      <guid>https://dev.to/devstation026/test-the-clean-rebuild-at-milestone-one-a-handover-checklist-for-offshore-teams-nb5</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frychrui2sdhs4ziit0jt.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frychrui2sdhs4ziit0jt.jpg" alt="Top 10 offshore development centers in Vietnam, grouped by fit" width="800" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Most offshore contracts say the client owns the source code. Few say anything about the toolchain that turns that source into a shipped build. So the engagement ends, the repository arrives, and nothing compiles.&lt;/p&gt;

&lt;p&gt;We published a buyer's guide to &lt;a href="https://dev-station.tech/top-offshore-development-center-vietnam/" rel="noopener noreferrer"&gt;offshore development centers in Vietnam&lt;/a&gt; that covers 10 providers and the cost drivers behind a dedicated team. This post pulls out the part engineers usually end up owning: exit and handover.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why test at the first milestone?
&lt;/h2&gt;

&lt;p&gt;Most teams test a handover at the end. By then the relationship may already be over, and the people who know why the build works have moved on to other accounts. A rebuild at the first milestone is a small job.&lt;/p&gt;

&lt;h2&gt;
  
  
  The ownership checklist
&lt;/h2&gt;

&lt;p&gt;Put each item in the contract, then verify it in practice:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Source code, including generated code&lt;/li&gt;
&lt;li&gt;[ ] Full commit history&lt;/li&gt;
&lt;li&gt;[ ] Build instructions a new engineer can follow cold&lt;/li&gt;
&lt;li&gt;[ ] Test assets, scripts and test rigs&lt;/li&gt;
&lt;li&gt;[ ] Credentials and signing keys, held in your own vault&lt;/li&gt;
&lt;li&gt;[ ] Documentation of architecture decisions&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  A minimal rebuild drill
&lt;/h2&gt;

&lt;p&gt;Run the drill on a clean machine, with an engineer from outside the vendor team:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone &lt;span class="s2"&gt;"$REPO_URL"&lt;/span&gt; app &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;cd&lt;/span&gt; app
&lt;span class="c"&gt;# follow the README only, no questions to the vendor&lt;/span&gt;
./scripts/bootstrap.sh
./scripts/build.sh --release
./scripts/test.sh
ls -l dist/   &lt;span class="c"&gt;# compare with the vendor's last release&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every step that needs a message to the vendor is a gap. Write each one down. That list is the real output of the drill.&lt;/p&gt;

&lt;h2&gt;
  
  
  Firmware and device work
&lt;/h2&gt;

&lt;p&gt;Embedded products raise the stakes. The compiler version, the vendor SDK, the flashing tools and the test rig all belong on the checklist. Ownership of source alone is not enough if the toolchain that compiles it disappears at the end of the engagement.&lt;/p&gt;

&lt;h2&gt;
  
  
  One more contract line
&lt;/h2&gt;

&lt;p&gt;People leave. Agree the notice period, the handover overlap and the billing rate while a replacement ramps up, and write all of it into the contract.&lt;/p&gt;

&lt;p&gt;Dev Station runs offshore development centers from Vietnam for US and UK product companies in embedded software, IoT and inspection. The full provider list and cost breakdown are in &lt;a href="https://dev-station.tech/top-offshore-development-center-vietnam/" rel="noopener noreferrer"&gt;Top 10 offshore development centers in Vietnam&lt;/a&gt;.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Sizing a private LLM: memory math and a test set before any hardware</title>
      <dc:creator>Dev Station</dc:creator>
      <pubDate>Thu, 26 Nov 2026 13:37:10 +0000</pubDate>
      <link>https://dev.to/devstation026/sizing-a-private-llm-memory-math-and-a-test-set-before-any-hardware-p28</link>
      <guid>https://dev.to/devstation026/sizing-a-private-llm-memory-math-and-a-test-set-before-any-hardware-p28</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fswmhhfltmkim2x7ri34s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fswmhhfltmkim2x7ri34s.png" alt="Local and private LLM: the model runs inside your boundary and prompts never leave" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Teams that move an LLM in-house often start by buying a GPU. That order is backwards. The data rules and a test set decide which model you need, and the model decides the hardware.&lt;/p&gt;

&lt;p&gt;We wrote a longer guide on &lt;a href="https://dev-station.tech/local-private-llm/" rel="noopener noreferrer"&gt;when data cannot leave the building and how to run a local or private LLM&lt;/a&gt;. This post keeps to the sizing work an engineer does first.&lt;/p&gt;

&lt;h2&gt;
  
  
  Estimate memory from parameters
&lt;/h2&gt;

&lt;p&gt;PromptQuorum gives a rule of thumb: about 0.6 GB of VRAM per billion parameters at 4-bit quantization, plus 1 to 2 GB of headroom for context.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;vram_gb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;params_b&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;headroom_gb&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mf"&gt;2.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;gb_per_b&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mf"&gt;0.6&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;params_b&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;gb_per_b&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;headroom_gb&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;size&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;13&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;70&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;size&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"B -&amp;gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;round&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;vram_gb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;size&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"GB"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The estimate holds up. The same source reports the Llama 3.3 70B file at 4-bit as 42.52 GB. Without quantization the number jumps: Spheron puts a 70B model near 140 GB at FP16. CPU-only setups need roughly double the memory and answer far more slowly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pick the smallest model that passes
&lt;/h2&gt;

&lt;p&gt;Collect 50 to 100 real questions with answers your team accepts. Run every candidate model against the same set. Move up a size only when the smaller one fails, since each step adds memory and cost.&lt;/p&gt;

&lt;h2&gt;
  
  
  Serve it like an API
&lt;/h2&gt;

&lt;p&gt;Runtimes such as Ollama, llama.cpp and vLLM put the model behind an HTTP interface. Your application code stays close to what a hosted API needs, so you can route sensitive prompts to the private model and general questions to a vendor API.&lt;/p&gt;

&lt;h2&gt;
  
  
  Checklist before the pilot
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Every document and field the model will see is classified&lt;/li&gt;
&lt;li&gt;[ ] The test set comes from real work, with accepted answers&lt;/li&gt;
&lt;li&gt;[ ] Hardware is sized by memory and by concurrent users&lt;/li&gt;
&lt;li&gt;[ ] Access control and logging sit in front of the model&lt;/li&gt;
&lt;li&gt;[ ] There is an update path, including for air-gapped sites&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The last two items are the ones teams skip. A self-hosted model removes the vendor from the path, but the security work then lands on you: patching, who can query the model, and what goes in and out.&lt;/p&gt;

&lt;p&gt;Dev Station designs and builds the systems around a private LLM and integrates the model into the software a client already runs. The full guide, with a decision table and GDPR notes, is at &lt;a href="https://dev-station.tech/local-private-llm/" rel="noopener noreferrer"&gt;dev-station.tech/local-private-llm&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>hardware</category>
      <category>llm</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Before you put a model on the device: an edge AI checklist for engineers</title>
      <dc:creator>Dev Station</dc:creator>
      <pubDate>Tue, 24 Nov 2026 08:29:44 +0000</pubDate>
      <link>https://dev.to/devstation026/before-you-put-a-model-on-the-device-an-edge-ai-checklist-for-engineers-k35</link>
      <guid>https://dev.to/devstation026/before-you-put-a-model-on-the-device-an-edge-ai-checklist-for-engineers-k35</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa0e7hixo4wxnhjx6vvdb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa0e7hixo4wxnhjx6vvdb.png" alt="Edge AI explained: the cloud trains the model, the device makes the decision" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Edge AI splits one model's life across two places. Training runs in the cloud or on a workstation, where large datasets and heavy compute are cheap, and inference runs on the device that reads the sensor. The device acts on its own.&lt;/p&gt;

&lt;p&gt;We wrote a longer guide on &lt;a href="https://dev-station.tech/edge-ai/" rel="noopener noreferrer"&gt;how edge AI works, what hardware it needs and when to use it&lt;/a&gt;. This post keeps to the engineering checklist.&lt;/p&gt;

&lt;h2&gt;
  
  
  Decide with five questions first
&lt;/h2&gt;

&lt;p&gt;Run the workload through the same five questions before you touch hardware. Write them down as code if that helps the team argue about them.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;edge_reasons&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;reason&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;reason&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;hit&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"decision needed in milliseconds"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;needs_ms_response&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"link unreliable or absent"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;       &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;link_is_stable&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"data cannot leave the site"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;      &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;data_must_stay_local&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"raw streams too large to upload"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;stream_too_big&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"model small and stable"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;          &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;model_is_stable&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;hit&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A long list points to the edge. Mixed designs win often: the edge makes the decision, and the cloud trains, reports and stores history.&lt;/p&gt;

&lt;h2&gt;
  
  
  Compress, then measure on the target chip
&lt;/h2&gt;

&lt;p&gt;The trained model has to shrink to fit. Quantization stores weights in fewer bits, pruning removes connections that add little, distillation trains a small model to imitate a large one, and conversion packages the result for the runtime on the target chip. Each step costs a little accuracy. Measure speed and accuracy on the real chip with field data, since lab data rarely matches the lighting and vibration on site.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pick the smallest hardware tier
&lt;/h2&gt;

&lt;p&gt;Edge hardware falls into three tiers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Microcontrollers and smart sensors: anomaly detection and simple classification, limited by very small memory.&lt;/li&gt;
&lt;li&gt;Application processors running Linux: object detection on one camera, limited by power and heat.&lt;/li&gt;
&lt;li&gt;Industrial computers or GPU modules such as NVIDIA Jetson: multi-camera video analytics and robotics, limited by cost and power draw.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every step up adds cost. Start low.&lt;/p&gt;

&lt;h2&gt;
  
  
  Checklist before the pilot
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] The decision and its deadline are written down&lt;/li&gt;
&lt;li&gt;[ ] Training data comes from the real device in the field&lt;/li&gt;
&lt;li&gt;[ ] The compressed model is benchmarked on the target chip&lt;/li&gt;
&lt;li&gt;[ ] The pilot batch logs every low-confidence result&lt;/li&gt;
&lt;li&gt;[ ] Updates are signed, rollback works, and you can see which model each device runs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Teams underestimate the last item. A model on one bench device is a file, but on thousands of devices in the field, some offline for weeks, versioning and rollback turn into a deployment project of their own.&lt;/p&gt;

&lt;p&gt;Dev Station designs and builds edge AI systems, from device software to integration with the plant systems a client already runs. The full guide, with use cases and limits, is at &lt;a href="https://dev-station.tech/edge-ai/" rel="noopener noreferrer"&gt;dev-station.tech/edge-ai&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>hardware</category>
      <category>iot</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Sort your defects before you buy an automated inspection system</title>
      <dc:creator>Dev Station</dc:creator>
      <pubDate>Sun, 22 Nov 2026 00:55:17 +0000</pubDate>
      <link>https://dev.to/devstation026/sort-your-defects-before-you-buy-an-automated-inspection-system-5dgf</link>
      <guid>https://dev.to/devstation026/sort-your-defects-before-you-buy-an-automated-inspection-system-5dgf</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fs9gkeg2j80ss0er8qjpb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fs9gkeg2j80ss0er8qjpb.png" alt="Three families of automated inspection: vision, metrology and functional test" width="800" height="409"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;An automated inspection system is any setup of sensors, fixtures and software that judges a part against a spec with no person deciding each case. Search results treat the term as a synonym for machine vision. A leak tester, a coordinate measuring machine (CMM) and a bed of nails on a circuit board are all automated inspection too, and none of them uses a camera.&lt;/p&gt;

&lt;p&gt;We wrote the longer version on our blog, &lt;a href="https://dev-station.tech/automated-inspection-systems/" rel="noopener noreferrer"&gt;Automated Inspection Systems: Three Families, Not One&lt;/a&gt;. This post is the part an engineer can run on a real line this week: classify the defects first.&lt;/p&gt;

&lt;h2&gt;
  
  
  The three families
&lt;/h2&gt;

&lt;p&gt;Each family is defined by what it physically measures.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Vision&lt;/strong&gt;: appearance and presence. Surface marks, missing components, print, orientation, colour. Fast and non contact, so it usually runs inline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Metrology&lt;/strong&gt;: geometry to a stated uncertainty. CMMs, laser scanners, air gauges. Slow, usually sampled offline, traceable to a standard.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Functional test&lt;/strong&gt;: behaviour. Leak decay, continuity, torque to turn, pressure hold. The result is a number from the part itself.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  A defect list you can actually scope from
&lt;/h2&gt;

&lt;p&gt;Pull defects from reject records. Memory is a bad source. Then tag each row:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;defect&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;scratch on cover&lt;/span&gt;
  &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;appearance&lt;/span&gt;      &lt;span class="c1"&gt;# vision
&lt;/span&gt;  &lt;span class="na"&gt;coverage&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;every_part&lt;/span&gt;
&lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;defect&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;bore out of tolerance&lt;/span&gt;
  &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;dimension&lt;/span&gt;       &lt;span class="c1"&gt;# metrology
&lt;/span&gt;  &lt;span class="na"&gt;coverage&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;sample&lt;/span&gt;
&lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;defect&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;housing leaks&lt;/span&gt;
  &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;behaviour&lt;/span&gt;       &lt;span class="c1"&gt;# functional test
&lt;/span&gt;  &lt;span class="na"&gt;coverage&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;every_part&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Coverage is its own column because it moves the budget more than the sensor does. A CMM cannot keep up with a fast line, which is why metrology is usually sampled and vision is usually inline.&lt;/p&gt;

&lt;h2&gt;
  
  
  Checklist before any supplier demo
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Every defect tagged appearance, dimension or behaviour&lt;/li&gt;
&lt;li&gt;[ ] Coverage decided per defect, every part or a sample&lt;/li&gt;
&lt;li&gt;[ ] Acceptance test written: recall and precision per defect, on parts from a different shift&lt;/li&gt;
&lt;li&gt;[ ] Presentation priced: fixture, lighting, guarding, controls, changeover&lt;/li&gt;
&lt;li&gt;[ ] A destination agreed for results, since a pass or fail that stays in the machine helps nobody at the next audit&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two families on one line is normal. A pump housing might get inline vision for assembly, a leak test on every unit and a sampled CMM check on the critical bore.&lt;/p&gt;

&lt;p&gt;Watch for defects that sit between families. Surface porosity that only matters because it leaks is a behaviour problem in a visual disguise, and the leak test settles it faster.&lt;/p&gt;

&lt;p&gt;Dev Station builds the record layer around these stations: result store, operator review screen, gauge integration over Bluetooth or serial. The full breakdown of families, coverage and cost is in &lt;a href="https://dev-station.tech/automated-inspection-systems/" rel="noopener noreferrer"&gt;the original article&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>automation</category>
      <category>hardware</category>
      <category>manufacturing</category>
      <category>testing</category>
    </item>
    <item>
      <title>Write the exception map before you pick an intelligent automation supplier</title>
      <dc:creator>Dev Station</dc:creator>
      <pubDate>Fri, 20 Nov 2026 13:38:12 +0000</pubDate>
      <link>https://dev.to/devstation026/write-the-exception-map-before-you-pick-an-intelligent-automation-supplier-2glk</link>
      <guid>https://dev.to/devstation026/write-the-exception-map-before-you-pick-an-intelligent-automation-supplier-2glk</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F352xrui221zx01vjhbrv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F352xrui221zx01vjhbrv.png" alt="One phrase, two separate purchases: platform vendor and implementation partner" width="800" height="437"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Most automation projects that stall do so after the first process, and the cause is rarely the software. A demonstration runs the clean path. The real process has branches nobody counted before the contract was signed.&lt;/p&gt;

&lt;p&gt;We wrote a buyer's guide to &lt;a href="https://dev-station.tech/intelligent-automation-companies/" rel="noopener noreferrer"&gt;intelligent automation companies&lt;/a&gt; that covers the split between platform vendors and delivery partners. This post pulls out the engineering artefact that does most of the filtering: a written map of one process with every exception on it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the map contains
&lt;/h2&gt;

&lt;p&gt;Pick one process and write it down end to end. For each branch, record how often it occurs and what should happen to it. A plain YAML file is enough:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;process&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;supplier-invoice-intake&lt;/span&gt;
&lt;span class="na"&gt;volume_per_month&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;        &lt;span class="c1"&gt;# count from last month
&lt;/span&gt;&lt;span class="na"&gt;happy_path&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;read invoice&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;match to purchase order&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;post to ledger&lt;/span&gt;
&lt;span class="na"&gt;exceptions&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;photo-of-printout&lt;/span&gt;
    &lt;span class="na"&gt;frequency&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.0&lt;/span&gt;        &lt;span class="c1"&gt;# share of volume, from real cases
&lt;/span&gt;    &lt;span class="na"&gt;handling&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;extract, then queue for review&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;changed-reference-format&lt;/span&gt;
    &lt;span class="na"&gt;frequency&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.0&lt;/span&gt;        &lt;span class="c1"&gt;# share of volume, from real cases
&lt;/span&gt;    &lt;span class="na"&gt;handling&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;queue for review, update the rule&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;amendment-after-approval&lt;/span&gt;
    &lt;span class="na"&gt;frequency&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.0&lt;/span&gt;        &lt;span class="c1"&gt;# share of volume, from real cases
&lt;/span&gt;    &lt;span class="na"&gt;handling&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;stop, notify the approver&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Fill the frequencies from a few weeks of real cases. Guesses defeat the purpose.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to use it in selection
&lt;/h2&gt;

&lt;p&gt;Send the same file to three suppliers and ask each for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ] hours to build the pilot&lt;/li&gt;
&lt;li&gt;[ ] how many exception paths their last comparable project ended up with&lt;/li&gt;
&lt;li&gt;[ ] a fixed price for a pilot on your own documents&lt;/li&gt;
&lt;li&gt;[ ] exception handling as a separate line in the quote&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The answers diverge fast. A supplier who has delivered this before knows the exception count from a comparable job. A supplier who has only demoed it will talk about the model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two more checks engineers should own
&lt;/h2&gt;

&lt;p&gt;Access first. An automation holds credentials into finance or operations systems, so ask how permissions are scoped and what the audit trail records for each action.&lt;/p&gt;

&lt;p&gt;Then model licence cost at your year three volume. Per bot, per action and per document pricing behave very differently at ten times today's numbers.&lt;/p&gt;

&lt;p&gt;Pay for the pilot. A free one runs on the supplier's data and success criteria, and a small fee buys a real result plus the right to walk away.&lt;/p&gt;

&lt;p&gt;The full scoring list of 6 criteria is in the original article on &lt;a href="https://dev-station.tech/intelligent-automation-companies/" rel="noopener noreferrer"&gt;dev-station.tech&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>automation</category>
      <category>productivity</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>The four-step shape behind every intelligent automation use case that ships</title>
      <dc:creator>Dev Station</dc:creator>
      <pubDate>Thu, 19 Nov 2026 13:38:18 +0000</pubDate>
      <link>https://dev.to/devstation026/the-four-step-shape-behind-every-intelligent-automation-use-case-that-ships-7am</link>
      <guid>https://dev.to/devstation026/the-four-step-shape-behind-every-intelligent-automation-use-case-that-ships-7am</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fabt36tyka4mi0cpw71t7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fabt36tyka4mi0cpw71t7.png" alt="Four steps, the last one forked: read, check, decide, route" width="800" height="326"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Most lists of intelligent automation examples describe the model and stop there. The ones that reach production share a structure, and the model is the smallest part of it.&lt;/p&gt;

&lt;p&gt;We wrote up seven working examples across finance, customer operations, field work and sales in &lt;a href="https://dev-station.tech/intelligent-automation-use-cases/" rel="noopener noreferrer"&gt;Intelligent Automation Use Cases&lt;/a&gt;. This post pulls out the engineering pattern they share.&lt;/p&gt;

&lt;h2&gt;
  
  
  The pipeline
&lt;/h2&gt;

&lt;p&gt;Robotic process automation moves data along a fixed path. Intelligent automation adds a judgement step on input that varies. In code terms, the flow looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;handle&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;case&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;fields&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;extract&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;case&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;document&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;      &lt;span class="c1"&gt;# read&lt;/span&gt;
    &lt;span class="n"&gt;record&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;system_of_record&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;lookup&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;fields&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;   &lt;span class="c1"&gt;# check&lt;/span&gt;
    &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;compare&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;fields&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;record&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;     &lt;span class="c1"&gt;# decide&lt;/span&gt;

    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;clean&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="nf"&gt;act&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;case&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;                      &lt;span class="c1"&gt;# post, pay, reply&lt;/span&gt;
    &lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;review_queue&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;push&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;case&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;reason&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;conflicts&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                          &lt;span class="n"&gt;owner&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nf"&gt;assign_person&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;case&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;audit_log&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;write&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;case&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;fields&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;else&lt;/code&gt; branch is the product. Clean cases are cheap. The share that lands in the review queue decides whether the project pays back.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the check step matters
&lt;/h2&gt;

&lt;p&gt;Invoice capture works because the purchase order already exists. A wrong extraction fails the match and goes to a clerk. Nobody pays it.&lt;/p&gt;

&lt;p&gt;Claims intake checks against policy cover. Identity checks compare against the application and screening lists.&lt;/p&gt;

&lt;p&gt;Sales account research is checked against Companies House for UK firms. Every example that works has a record to check against. Projects without one tend to stall.&lt;/p&gt;

&lt;h2&gt;
  
  
  Checklist before you write any model code
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Name the record the decision is checked against.&lt;/li&gt;
&lt;li&gt;[ ] Count one week of real cases: volume, clean share, exception share, minutes per case.&lt;/li&gt;
&lt;li&gt;[ ] Design the review screen. Who sees the doubtful case, what they see, what one click does.&lt;/li&gt;
&lt;li&gt;[ ] Decide what gets logged: input, model output, human decision and who made it.&lt;/li&gt;
&lt;li&gt;[ ] Repeat the same count after launch and compare.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What this looked like on a real build
&lt;/h2&gt;

&lt;p&gt;On an inspection platform for work at height anchor systems, readings arrive from connected test devices with timestamps and GPS. The system assembles a draft report and certificate. The engineer still checks and signs each one. The reporting cycle came down by 70 percent, and most of that gain came from capturing data in a form a machine could assemble.&lt;/p&gt;

&lt;p&gt;The full set of seven examples, with the selection table, is in &lt;a href="https://dev-station.tech/intelligent-automation-use-cases/" rel="noopener noreferrer"&gt;the original article on dev-station.tech&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>automation</category>
    </item>
    <item>
      <title>How to run a fair trial between AI visual inspection tools</title>
      <dc:creator>Dev Station</dc:creator>
      <pubDate>Wed, 18 Nov 2026 13:38:13 +0000</pubDate>
      <link>https://dev.to/devstation026/how-to-run-a-fair-trial-between-ai-visual-inspection-tools-446d</link>
      <guid>https://dev.to/devstation026/how-to-run-a-fair-trial-between-ai-visual-inspection-tools-446d</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa7s2xkk76s05e2z2ybg1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa7s2xkk76s05e2z2ybg1.png" alt="Four groups of AI visual inspection tool, split by who owns the model" width="799" height="381"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Vendor trials for visual inspection usually end with a demo on the vendor's sample parts and a single accuracy number. That number says little about your line. If you are the engineer asked to pick a tool, the trial design decides more than any feature table.&lt;/p&gt;

&lt;p&gt;We compared the four tool groups (smart cameras, deep learning software on your own cameras, train your own platforms, turnkey systems) in &lt;a href="https://dev-station.tech/best-ai-visual-inspection-tools/" rel="noopener noreferrer"&gt;Best AI Visual Inspection Tools for Manufacturing&lt;/a&gt;. This post covers the trial itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pick the group before the product
&lt;/h2&gt;

&lt;p&gt;Decide who should own the trained model first. Then trial two or three products inside that group, because a smart camera against a turnkey service compares two different contracts and the result tells you nothing about either.&lt;/p&gt;

&lt;h2&gt;
  
  
  Build a private test set
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Good parts plus every defect class you care about&lt;/li&gt;
&lt;li&gt;[ ] Images from more than one shift and more than one batch&lt;/li&gt;
&lt;li&gt;[ ] Grades from your own quality team&lt;/li&gt;
&lt;li&gt;[ ] Held back from every vendor until scoring day&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Give every vendor the same training set
&lt;/h2&gt;

&lt;p&gt;Same images, same labels, same time limit. Any difference in the result then comes from the tool.&lt;/p&gt;

&lt;h2&gt;
  
  
  Score per defect class
&lt;/h2&gt;

&lt;p&gt;Score on the private set only, and report each class separately:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;recall              = defects_caught / all_real_defects
precision           = defects_caught / all_parts_flagged
false_calls_per_100 = good_parts_flagged / parts_inspected * 100
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Operators live with the last figure. Put it on the scorecard next to recall, because a tool your operators keep overruling will not stay switched on for long.&lt;/p&gt;

&lt;h2&gt;
  
  
  Simulate a product change
&lt;/h2&gt;

&lt;p&gt;Introduce a new variant midway through the trial and time how long each tool takes to handle it. Product change is where the four groups separate, and most trials never test it. A smart camera may need the vendor representative to reconfigure the program, software on your own cameras moves as fast as your vision engineer, and a turnkey system moves on the vendor schedule.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ask where the result goes
&lt;/h2&gt;

&lt;p&gt;A pass or fail that stays inside the camera cannot answer an audit question. Ask how images, decisions and operator overrides reach your quality record or MES. Ask too who owns the labelled images if the contract ends.&lt;/p&gt;

&lt;p&gt;Dev Station builds that records and integration layer around inspection tools for manufacturers in the US and UK. The full breakdown of each tool group, with named products, is in the &lt;a href="https://dev-station.tech/best-ai-visual-inspection-tools/" rel="noopener noreferrer"&gt;original guide on dev-station.tech&lt;/a&gt;.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Who writes the code? What to ask an AI consulting firm before you sign</title>
      <dc:creator>Dev Station</dc:creator>
      <pubDate>Tue, 17 Nov 2026 10:38:13 +0000</pubDate>
      <link>https://dev.to/devstation026/who-writes-the-code-what-to-ask-an-ai-consulting-firm-before-you-sign-41fh</link>
      <guid>https://dev.to/devstation026/who-writes-the-code-what-to-ask-an-ai-consulting-firm-before-you-sign-41fh</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fojrlgifflyny0t9z0k5n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fojrlgifflyny0t9z0k5n.png" alt="Four types of AI consulting firm and what you walk away with" width="800" height="391"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Search "top AI consulting companies" and you get lists that mix four very different kinds of firm. Several of the highest ranking ones are written by a consultancy that puts itself first.&lt;/p&gt;

&lt;p&gt;I work at Dev Station, a specialist engineering firm that builds AI into inspection and field systems for clients in the UK and US. If you are the engineer asked to sit in on vendor calls, these are the questions worth bringing. The full guide is here: &lt;a href="https://dev-station.tech/top-ai-consulting-companies/" rel="noopener noreferrer"&gt;Top AI Consulting Companies: Four Types and Who Each One Suits&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four types, four different deliverables
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Strategy firms with AI units&lt;/strong&gt; (McKinsey QuantumBlack, BCG X, Bain) sell decisions: a roadmap and a business case.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Large integrators&lt;/strong&gt; (Accenture, Deloitte, IBM Consulting, Capgemini) sell multi-year programmes across regions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Platform vendors with services arms&lt;/strong&gt; sell their own software plus configuration.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Specialist engineering firms&lt;/strong&gt; sell one working system, with the code handed over.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each one is strong at a different stage. Comparing proposals across types means comparing answers to different questions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two questions for every type
&lt;/h2&gt;

&lt;p&gt;Who writes the code, and who maintains the model after handover? The answers usually differ more than the proposals do.&lt;/p&gt;

&lt;p&gt;Then add one question per type:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Strategy firm:&lt;/strong&gt; what happens after the roadmap? Many hand over to an integrator.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integrator:&lt;/strong&gt; which people from the proposal team will be on the delivery team?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Platform vendor:&lt;/strong&gt; what does leaving look like? Export formats, model portability, and the licence cost at three times your current volume.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Engineering firm:&lt;/strong&gt; show one comparable system you built and still support.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What you should own at the end
&lt;/h2&gt;

&lt;p&gt;Put this list in the contract before work starts:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- source code and configuration
- model versions, with the training data references for each
- evaluation set and thresholds
- deployment scripts
- documentation another team can maintain from
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A firm that resists this list is telling you how the exit will go.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with a bounded phase
&lt;/h2&gt;

&lt;p&gt;A fixed-price first phase of a few weeks shows whether the firm understood the problem. Longer first commitments move the risk onto you before anything has been proven.&lt;/p&gt;

&lt;p&gt;The guide includes a five-step shortlist method that skips the long RFP: &lt;a href="https://dev-station.tech/top-ai-consulting-companies/" rel="noopener noreferrer"&gt;https://dev-station.tech/top-ai-consulting-companies/&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
