<?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: Rene Haase</title>
    <description>The latest articles on DEV Community by Rene Haase (@rene_renehaase_0d007d98f).</description>
    <link>https://dev.to/rene_renehaase_0d007d98f</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%2F4211947%2F5e2e0cd0-e8a7-46f6-ad1c-327baf7987c9.png</url>
      <title>DEV Community: Rene Haase</title>
      <link>https://dev.to/rene_renehaase_0d007d98f</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rene_renehaase_0d007d98f"/>
    <language>en</language>
    <item>
      <title>The math behind one labor hour in a small service business</title>
      <dc:creator>Rene Haase</dc:creator>
      <pubDate>Sat, 28 Nov 2026 19:53:39 +0000</pubDate>
      <link>https://dev.to/rene_renehaase_0d007d98f/the-math-behind-one-labor-hour-in-a-small-service-business-408i</link>
      <guid>https://dev.to/rene_renehaase_0d007d98f/the-math-behind-one-labor-hour-in-a-small-service-business-408i</guid>
      <description>&lt;p&gt;I build WellPriced, a pricing audit for lawn care and cleaning companies. Most of the owners I write for set their price from the market: the last quote, the competitor down the street. So I worked through one example to see what a price has to do for the business behind it.&lt;/p&gt;

&lt;p&gt;These are example numbers. Only the wage is a sourced figure.&lt;/p&gt;

&lt;h2&gt;
  
  
  The example
&lt;/h2&gt;

&lt;p&gt;A lawn care company runs two two-person crews. A visit takes 30 minutes on site and 18 minutes of driving, so each visit is 1.6 labor hours. At 320 visits a month, that is 512 labor hours and a full schedule.&lt;/p&gt;

&lt;p&gt;Pay is $18.82 an hour (the BLS median for landscaping workers, May 2025) plus 15% for payroll taxes and workers' comp, which is my assumption.&lt;/p&gt;

&lt;p&gt;Add up what a month has to pay for and divide by the labor hours. You get three rates:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;$24.77&lt;/strong&gt; pays only the costs that go away if the visit goes away.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;$36.05&lt;/strong&gt; is break-even.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;$47.77&lt;/strong&gt; pays every cost and the profit the owner wants. That is about $76 a visit.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The &lt;a href="https://getwellpriced.com/tools/revenue-per-labor-hour-target-calculator/" rel="noopener noreferrer"&gt;target calculator&lt;/a&gt; does this from one month of your own numbers. It runs in the browser.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Same visits, a loss or a profit
&lt;/h2&gt;

&lt;p&gt;At $56 a visit, this company works a full month and loses $533. At $80 a visit it makes $7,147. Same crews, same 320 visits, same hours.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Volume can't fix a low rate
&lt;/h2&gt;

&lt;p&gt;Turn the calculation around. Take the price you charge and ask how many visits it needs:&lt;/p&gt;

&lt;p&gt;visits needed = (costs that stay + profit wanted) / (price per visit - costs that go away with the visit)&lt;/p&gt;

&lt;p&gt;At $64 a visit the plan needs 484 visits a month. Two crews can do 320. A third crew brings its own truck and mowers, which are new costs that stay every month, so the number of visits needed goes up again.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. What a minute is worth
&lt;/h2&gt;

&lt;p&gt;Bigger equipment adds a monthly cost. The useful question is what it does to the labor hours in a visit.&lt;/p&gt;

&lt;p&gt;One minute saved per visit frees 10.7 labor hours a month. That is worth $231 a month if the crew's paid hours get shorter, and $402 if the freed hours go to new visits at $72. So the time to buy is when the schedule is full and customers are waiting. With gaps in the schedule, a faster mower only makes the gaps bigger.&lt;/p&gt;

&lt;h2&gt;
  
  
  How the calculator is built
&lt;/h2&gt;

&lt;p&gt;The math runs in the browser in plain JavaScript, so nothing you type leaves your device. The same math exists in Python on the server, for the emailed copy. Both versions run against one shared JSON file of test cases, and every input is held as a whole number in a small unit (cents, tenths of a minute), so the two agree to the cent.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this can't tell you
&lt;/h2&gt;

&lt;p&gt;It is one made-up company and a single month. I don't say how many minutes a larger mower saves, because I have no measured data for that.&lt;/p&gt;

&lt;p&gt;The full tables and every assumption are in the original article: &lt;a href="https://getwellpriced.com/guides/profitability-plan-labor-hour/" rel="noopener noreferrer"&gt;What is your plan to become profitable?&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you have run the numbers on a service business: what did I miss?&lt;/p&gt;

</description>
      <category>startup</category>
      <category>sideprojects</category>
      <category>showdev</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Six ways an ML pipeline fools itself (and the devices that caught them)</title>
      <dc:creator>Rene Haase</dc:creator>
      <pubDate>Wed, 28 Oct 2026 15:52:29 +0000</pubDate>
      <link>https://dev.to/rene_renehaase_0d007d98f/six-ways-an-ml-pipeline-fools-itself-and-the-devices-that-caught-them-39of</link>
      <guid>https://dev.to/rene_renehaase_0d007d98f/six-ways-an-ml-pipeline-fools-itself-and-the-devices-that-caught-them-39of</guid>
      <description>&lt;p&gt;I run a nightly pipeline that trains scoring models for sixteen stock chart pattern detectors. It has run nearly 800 times since May 2026, and most of its 88,000 lines of Python are not modelling. They are the ruler: the splits, gates and ledgers that decide whether a model is real. The edge it hunts is small (a median out-of-sample rank correlation of 0.031), so telling signal from a lucky draw is the whole job.&lt;/p&gt;

&lt;p&gt;The full write-up with the step-by-step chain, the deploy rule and the numbers is on &lt;a href="https://www.stockdataanalytics.com/blog/how-we-train-stock-pattern-scoring-models/?utm_medium=DevTo&amp;amp;utm_content=bp21" rel="noopener noreferrer"&gt;my site&lt;/a&gt;. Here are the six ways the pipeline fooled itself, because they generalise beyond finance.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Time leakage. Two detections ten days apart on the same stock share four days of price path. A shuffled k-fold split puts them on opposite sides of a fold and the model learns the future from its neighbours. Fix: contiguous date-block folds with a 16-day purge and a 10-day embargo. A subtler version hid for two months: LightGBM's early-stopping set was the fold it was scored on.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Selection leakage. Fit fifty models and the best looks good whether or not signal exists. Fix: a selection bar that deflates for the number of prior attempts, with the attempt count clustered by prediction similarity so twenty near-identical fits count as fewer than twenty.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Calendar leakage. Features that are nearly constant across stocks on a given day (index correlation, the volatility regime) predicted well in validation because the market rose after days when they were high. Half the validation spread was market timing, and it did not transfer. Fix: a gate on the share of a feature's variance that lies between days, and significance tested over days rather than rows. The honest footnote: live data says this defence is not finished.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Data-draw variance. Two samples of the same detector admitted feature sets that overlapped 52%, and two fitted models shared 29% of their top picks. Variance, not bias, dominates. Fix so far: more rows, and admission by vote across nine seeded fits with shuffled shadow features.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Holdout integrity. The frozen holdout broke five ways before it held, silently each time. The worst: it was keyed by database id, a backtest regenerated the ids, and one detector's freeze matched 0 of 33,013 rows. Fix: natural keys, and a run that refuses to start if fewer than half the keys resolve.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Tooling leaks. A research tool's close_at_rec column was the entry-day close, not the detection-day close. Every feature built on it contained one day of the future. Heuristic: a signal with the same sign on every detector in every period is more likely a leak than a law.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What I would build first if I started again: the self-measurement (planted signals of known size, replays of past runs, audits of projections against realised counts), and the gates second. Full article: &lt;a href="https://www.stockdataanalytics.com/blog/how-we-train-stock-pattern-scoring-models/?utm_medium=DevTo&amp;amp;utm_content=bp21" rel="noopener noreferrer"&gt;https://www.stockdataanalytics.com/blog/how-we-train-stock-pattern-scoring-models/&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>python</category>
      <category>datascience</category>
      <category>statistics</category>
    </item>
  </channel>
</rss>
