TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Hacks for Engineering Estimates

107 pointsby shbhrsahaabout 3 years ago

17 comments

williamkuszmaulabout 3 years ago
One estimation trick that I&#x27;ve found effective is the following: (1) determine the smallest number that your sure is larger than the true answer. (2) determine the largest number that you are sure is smaller than the true answer. (3) take the <i>geometric</i> average of the two. (i.e., sqrt(a * b))<p>The reason this does well, is that oftentimes, (1) overestimates the true answer by roughly the same <i>multiplicative</i> factor as (2) underestimates the true answer by. So the geometric mean cancels the over and under estimates in order to get an estimation that does pretty well.<p>I find that this works remarkably well for estimating the dimensions of buildings, trees, etc.
评论 #31328925 未加载
评论 #31328202 未加载
评论 #31328194 未加载
throwaway4goodabout 3 years ago
I think the biggest thing holding engineering estimates back is that the people asking for them are actually not interested in accurate estimates; instead they are looking for inputs to be used in various games of corporate politics.
评论 #31327048 未加载
评论 #31328766 未加载
评论 #31326539 未加载
评论 #31325593 未加载
评论 #31326877 未加载
abetlenabout 3 years ago
My go-to heuristic is three point estimation, basically a weighted average of the best, worst, and average case [0].<p>(Best + Worst + 4 * Average) &#x2F; 6<p>One nice property is that it imposes a distribution that adjusts for longer tailed risks.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Three-point_estimation" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Three-point_estimation</a>
评论 #31328739 未加载
zeropabout 3 years ago
Things, IMO, which are spoilers:<p>1. Starting with an End date and create a plan from there. Some top leads want to get promoted and want to achieve X by this quarter or next.<p>2. With so many people leaving, there is not enough time and resources to onboard new folks, who are accounted in deliveries<p>3. Too many parallel initiatives<p>4. Unstable production taking daily attention<p>5. Not able to priortise tech debts over business features<p>6. Decision makers at top don&#x27;t have grass root visibility or don&#x27;t want to have.
评论 #31326043 未加载
m4l3xabout 3 years ago
Interesting article. Our PO often almost demands estimations from us. Usually I am already responding in a best&#x2F;worst case fashion. In the end PO only seems to remember the best case and takes it as commitment. Since I was fooled by this a few times, I am now collecting a paper trail and am quiet reluctant, when giving &quot;just a ballpark figure&quot;. My key takeaway was, that estimations mostly aren&#x27;t about accuracy or getting a value, but rather managing people&#x27;s expectations and navigating corporate politics.
评论 #31326199 未加载
trashtesterabout 3 years ago
When estimating a software project of any size, try to imagine the most optimistic number of hours needed for each activity you can think of.<p>Then multiply by 4.14.<p>This provides room for<p>Phase 1: First verions of the deliverable: x<i>pi&#x2F;2<p>Phase 2: Trying to work around all the cases where the initial design was bad: x</i>pi&#x2F;2<p>Phase 3: Re-factor from scratch (with the same team) : x1<p>Sum phase 1-3 : x(pi+1)<p>This is for facing the customers&#x2F;stakeholders. When facing the team, only present them with Phase1, with the estimate of x<i>pi&#x2F;2.<p>Otherwise, phase 1 alone will take x</i>(pi+1).
jphabout 3 years ago
The best estimation tactic I&#x27;ve found in practice is ROPE, which works because it helps different kinds of stakeholders understand different kinds of estimates and ranges.<p>R = Realistic estimate. Based on work being typical, reasonable, plausible, and usual.<p>O = Optimistic estimate. Based on work turning out to be notably easy, or fast, or lucky.<p>P = Pessimistic estimate. Based on work turning out to be notably hard, or slow, or unlucky.<p>E = Equilibristic estimate. Based on 50% probability suitable for critical chains and simulations.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;sixarm&#x2F;rope-estimate" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sixarm&#x2F;rope-estimate</a>
评论 #31327143 未加载
dncornholioabout 3 years ago
When I make an estimate, I just double what I think it is and this is usual pretty accurate. I keep underestimating, sometimes doubling down I wonder myself, will it really take this long? 99% of the time, in the end, the answer was yes. So this is my goto method. People still think I finish stuff quick, even if I think myself it&#x27;s too long.
评论 #31326130 未加载
airbreatherabout 3 years ago
Engineering projects often already encompass this whole philosophy by building estimates that roll up to a P10 and a P90 outcome.<p>P10 = 10% chance of occuring, P90 = 90% chance of occuring.<p>How it&#x27;s typically done is standard scheduling packages, like Prima Vera, allow you to specify a band or range of duration&#x2F;effort for individual tasks&#x2F;activities.<p>This, when combined with task dependency information (which you must give it in the form of a Pert chart or similar, it takes a few different formats of data) means it can calculate the critical path across the whole range of activities for an overall outcome and yield the project P10&#x2F;P90.<p>Then, you can run sensitivity analysis and identify key pivot points, look at assigning more resources to certain efforts etc etc and optimise the schedule, plus track actual progress as you go and make forecasts.<p>But this is all based on the premise of doing the kind of engineering where you have some reasonable idea of what your actual goals and methods are before you start, so if you are running under agile you are probably screwed because even if you tried this planning, your planner&#x2F;s could probably never keep up with actual.<p>To understand the difference between an engineered project and an agile one see my comment <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31299834#31301616" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31299834#31301616</a>
troelsSteeginabout 3 years ago
Using Steve McConnell&#x27;s terms, I think of things playing out as Plan, then Estimate, then discuss the Target, and then cut features before Committment.<p>Having multiple people independently estimate a given problem is a more robust way to estimate, in general. Other than as a lead and a dev each sizing something up, I don&#x27;t think I&#x27;ve seen that in practice. It feels a little weird for developers to be estimating each other&#x27;s work. I think it&#x27;s interesting if and only if Committment is truly separated from estimation.
fishtoasterabout 3 years ago
I feel like &quot;Note the Precision&quot; is one that I most see missed.<p>Partially, this is on engineers. They&#x27;ll say &quot;That&#x27;ll take 36 days&quot; and not realize that they&#x27;re implying a higher level of specificity than they intend.<p>Partially, this is on consumers of estimates (managers, etc). They&#x27;ll hear &quot;It&#x27;ll be about 36 days, but that&#x27;s just a super rough estimate, we haven&#x27;t planned it out yet, it could be way more...&quot; but they stopped listening and wrote down &quot;estimate: 36 days.&quot;<p>My current eng team has fixated on two distinct levels of eng estimates. The first is super high level: &quot;minutes to hours&quot;, &quot;hours to days,&quot; &quot;days to weeks&quot;, &quot;weeks to months,&quot; or &quot;months to quarters.&quot; The second is a number of hours<i>. We give out the high-level estimates freely - they&#x27;re super helpful for project planning. We give out the second number only when we have a pretty solid plan with estimated tickets.<p>It&#x27;s worked pretty well because engineers can always be clear on which estimation type is called for. It&#x27;s also helpful because non-engineers can get used to hearing the high-level estimates pretty quickly and know to treat them as super vague.<p>* We actually deliver all hour estimates as 30&#x2F;60&#x2F;90 estimates: &quot;we&#x27;re 30% sure it&#x27;ll be done in 36 hours, 60% sure it&#x27;ll be done in 50 hours, and 90% sure it&#x27;ll be done in 80 hours&quot;. There&#x27;s still a tendency of people to just use the 60% estimate as &quot;The Estimate,&quot; but it&#x27;s better than nothing.</i>
onion2kabout 3 years ago
I really like &quot;3 point estimates&quot;. Rather than a single estimate you give three - one that&#x27;s your expected timing, one for the best case if everything goes perfectly, and one absolutely worst case scenario time. The difference between &quot;best case and expected&quot;, and &quot;worst case and expected&quot;, indicate the risk factor. If best case and expected are similar then it&#x27;s a low risk feature - you understand the complexity and there are few unknowns. If the worst case and expected are similar then it&#x27;s a high risk feature that you don&#x27;t expect to go to plan.<p>I&#x27;ve never been in a position to actually use this approach well, but I like the idea of it a lot.
marcosdumayabout 3 years ago
Always keep in mind that estimate errors follow a long-tailed distribution. That means that if you estimate enough things, your total error will be defined by one or two tasks, it doesn&#x27;t matter how you did for 95% of them.<p>Thus, if your goal is to lie to management stating that &quot;we met 98% of our estimations last year&quot; implying that because of this, there is not problem, then yes, go work on improving your estimates.<p>If your goal is to get things done so you can get some real progress, go set realistic targets on time or ROI and learn to throw away tasks that failed it.<p>And if your goal is to never get an estimation wrong, because they are commitments that you can never get free after you made them, go practice your interview skills and move to a better environment.
makachabout 3 years ago
There are no hacks. Making estimates is difficult, the more information you can add into your equation as early as possible the better prediction you will get.
评论 #31326897 未加载
LouisContantabout 3 years ago
I usually go for the scale like hours, days or weeks. It comunicates the accuracy of the estimates. If something more accurate is required I like thrashtester&#x27;s method of the 4.14x
throwaway98797about 3 years ago
some things can be estimated, others not so much<p>often folks don’t know if what is being estimated is actually knowable.<p>building something new pre product market fit is a crapshoot until it’s not.
评论 #31328841 未加载
windows2020about 3 years ago
It&#x27;s shocking when so much time is wasted on daily and weekly meetings and the project is still a year late or fails.
评论 #31327163 未加载