<?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: Evgenii Buchinskii</title>
    <description>The latest articles on DEV Community by Evgenii Buchinskii (@buchinskiievg).</description>
    <link>https://dev.to/buchinskiievg</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%2F4156347%2Ff6e292b2-eefd-4c85-a7d8-1dbec24a4c3e.png</url>
      <title>DEV Community: Evgenii Buchinskii</title>
      <link>https://dev.to/buchinskiievg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/buchinskiievg"/>
    <language>en</language>
    <item>
      <title>Six provenance classes, and why your calculation tool needs them</title>
      <dc:creator>Evgenii Buchinskii</dc:creator>
      <pubDate>Fri, 02 Oct 2026 05:25:59 +0000</pubDate>
      <link>https://dev.to/buchinskiievg/six-provenance-classes-and-why-your-calculation-tool-needs-them-163h</link>
      <guid>https://dev.to/buchinskiievg/six-provenance-classes-and-why-your-calculation-tool-needs-them-163h</guid>
      <description>&lt;p&gt;Here is a bug report you will never receive, because nobody can see it:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The cable schedule says 120 mm². It was 95 mm² last quarter. Nothing in the project changed. Nobody knows which input moved.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Engineering calculation software is usually built to answer &lt;em&gt;what is the result&lt;/em&gt;. Design review asks a different question: &lt;em&gt;what would have to be wrong for this result to be wrong&lt;/em&gt;. A tool that stores only outputs cannot answer it, and no amount of UI polish compensates.&lt;/p&gt;

&lt;p&gt;The fix is smaller than it sounds. It is one field on every input.&lt;/p&gt;

&lt;h2&gt;
  
  
  The field
&lt;/h2&gt;

&lt;p&gt;Every decision-relevant input carries a &lt;strong&gt;provenance class&lt;/strong&gt; — where the value came from, not what it is. Six classes cover an engineering calculation completely:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Class&lt;/th&gt;
&lt;th&gt;Where the value came from&lt;/th&gt;
&lt;th&gt;What goes wrong without it&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Normative&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A clause in a named standard &lt;strong&gt;edition&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;The edition changes and saved results silently become results under a superseded method&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Manufacturer&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A data sheet, catalogue or type-test report&lt;/td&gt;
&lt;td&gt;Nobody can tell a measured value from a typical one, or find which revision it came from&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Project&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A decision recorded for this project&lt;/td&gt;
&lt;td&gt;Site-specific limits look like physics and get copied to the next project&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Assumption&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Chosen because the real value was not available&lt;/td&gt;
&lt;td&gt;The weakest number in the chain is indistinguishable from the strongest&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;User override&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A library value a user replaced by hand&lt;/td&gt;
&lt;td&gt;A default silently edited once propagates forever and is invisible on review&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Derived&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Computed from other inputs&lt;/td&gt;
&lt;td&gt;A value that should have moved when its parent changed quietly did not&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That is the whole model. Six strings, one per input. Not an ontology, not a graph database, not a semantic layer — the simplest thing that makes the right question answerable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why "normative" is not enough without the edition
&lt;/h2&gt;

&lt;p&gt;The class that most often gets implemented wrong is the first one, because teams store the standard &lt;strong&gt;number&lt;/strong&gt; and not the &lt;strong&gt;edition&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;IEC 60909-0:2016 was replaced by IEC 60909-0:2026 in July 2026. A short-circuit result saved as "per IEC 60909" is now ambiguous in a way it was not the week before: there is no way to tell, from the saved record, which method produced it. A result saved as "per IEC 60909-0:2016, clause 6.2" is still perfectly reviewable — and, more usefully, a tool can &lt;strong&gt;flag&lt;/strong&gt; it when the edition it cites stops being current.&lt;/p&gt;

&lt;p&gt;That flag is the single highest-value feature in this whole idea, and it costs a string comparison.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why "assumption" earns its place
&lt;/h2&gt;

&lt;p&gt;Of the six, the one engineers push back on is &lt;code&gt;assumption&lt;/code&gt;. The objection is that it looks bad — it marks your own work as uncertain.&lt;/p&gt;

&lt;p&gt;That is exactly what it is for. In a thermal cable calculation, soil thermal resistivity is almost never measured; it is assumed. It is also, routinely, the parameter that moves the answer most. A result where the dominant input is class &lt;code&gt;assumption&lt;/code&gt; is a different object from one where it is class &lt;code&gt;manufacturer&lt;/code&gt;, and a reviewer who cannot see the difference is reviewing the arithmetic rather than the engineering.&lt;/p&gt;

&lt;p&gt;Marking it does not weaken the result. It tells the reader where to push.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this is not
&lt;/h2&gt;

&lt;p&gt;It is &lt;strong&gt;not&lt;/strong&gt; validation. Traceability tells you where every number came from; validation tells you whether the method is right. A fully traceable wrong equation is still wrong, and a validated black box is still unreviewable. You need both, and they are different work.&lt;/p&gt;

&lt;p&gt;It is &lt;strong&gt;not&lt;/strong&gt; an audit log. An audit log records &lt;em&gt;who changed what when&lt;/em&gt;. Provenance records &lt;em&gt;what kind of thing this value is&lt;/em&gt;, which is what a reviewer needs and what survives being exported to a PDF.&lt;/p&gt;

&lt;p&gt;It is &lt;strong&gt;not&lt;/strong&gt; a reason to build a data model. If adding provenance to your inputs requires a schema migration and a new service, you have over-designed it. It is a column.&lt;/p&gt;

&lt;h2&gt;
  
  
  The part that changes the output
&lt;/h2&gt;

&lt;p&gt;Once inputs carry a class, the calculation report can say something a bare PASS never says:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Governing criterion:&lt;/strong&gt; short-circuit thermal withstand.&lt;br&gt;
&lt;strong&gt;Margin:&lt;/strong&gt; 185 mm² installed against 154 mm² required.&lt;br&gt;
&lt;strong&gt;Weakest input:&lt;/strong&gt; &lt;code&gt;k = 115&lt;/code&gt; — class &lt;em&gt;assumption&lt;/em&gt;, no source recorded.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A reviewer reads three lines and knows where to spend their hour. Compare that with a green tick.&lt;/p&gt;

&lt;p&gt;And the reporting rule that follows is the one I would push hardest: &lt;strong&gt;never emit a bare PASS or FAIL&lt;/strong&gt;. Always name the criterion that governed and the numerical margin to it. A PASS at 3 % reserve and a PASS at 40 % reserve are the same pixel and completely different engineering situations, and the tool is the only thing in the loop that knows which one it just produced.&lt;/p&gt;

&lt;h2&gt;
  
  
  If you implement one thing
&lt;/h2&gt;

&lt;p&gt;Add the edition to every normative reference you store, and make the tool warn when a cited edition is superseded. Everything else on this list can wait; that one stops saved results from quietly decaying.&lt;/p&gt;




&lt;p&gt;The full method — the six classes in detail, how dependencies and substitutions are recorded, how the governing constraint and margin are reported, and a worked multi-segment cable route — is in the technical report:&lt;/p&gt;

&lt;p&gt;E. Buchinskii, "Clause-Traceable Engineering Calculations: a Method for Design Tools That Show Their Working," IECCalc.com Technical Report IECCalc-TR-2026-001, v1.0, Sep. 2026. doi: &lt;a href="https://doi.org/10.5281/zenodo.23061123" rel="noopener noreferrer"&gt;10.5281/zenodo.23061123&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Verification code: &lt;a href="https://github.com/buchinskiievg/ieccalc-tr-validation" rel="noopener noreferrer"&gt;github.com/buchinskiievg/ieccalc-tr-validation&lt;/a&gt; (doi:10.5281/zenodo.23080081).&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: I wrote the report and I develop &lt;a href="https://ieccalc.com/" rel="noopener noreferrer"&gt;IECCalc.com&lt;/a&gt;, the free IEC calculator set where this method is implemented.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>softwareengineering</category>
      <category>datamodel</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
