Menu

1 / 2

Correct tables, wrong answer: the hidden defaults that make two calculators disagree

DEV Community: mobile·Andrii Zhukovskyi·17 days ago
#tF5cO2ob
#devtomobile#devto#dev#wire#drop
Long article (1085 words) — no AI summary yet.
Reading 0:00
15s threshold

In short. My wire-size app had the right code tables and still put a kitchen range on the wrong breaker, because one default belonged to a different kind of job. Calculators rarely disagree because of the math; they disagree because of defaults the user never sees. One 50 A electrical circuit, run through those defaults, comes out as four different wire sizes. If your app computes anything, put the assumptions next to the answer.

I make Electrician Calc, a phone app that sizes wire and breakers by the US National Electrical Code (NEC) or the international IEC 60364. Getting the tables right was the easy part. The hard part was everything around them.

The bug that wasn't in the math

Before the US launch I ran a user test: an AI agent played a licensed residential electrician, read only the store page and tried a real job. A 40 A kitchen range, 240 V, 60 ft away, on NM-B cable (Romex).

Every number it checked was correct.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.