SShortSingh.
Back to feed

Open-Source Tool Bans LLMs From Tax Math After Fuzzer Finds Rare Rounding Bug

0
·1 views

A developer building itr-wala, an open-source Indian income tax filing tool, discovered a rare floating-point rounding error where earning ₹52,880 more could result in ₹10 less tax owed — a bug missed by all hand-written tests but caught after over 350,000 fuzz tests. The tool is designed around a strict separation of duties: an LLM reads and reconciles tax documents like Form 16, AIS, and 26AS, then outputs a single JSON file of facts, while all monetary calculations are handled exclusively by plain Python code. This design choice was motivated by the silent, confident nature of LLM errors, which is especially dangerous in India's tax code given its branch-heavy, exact-integer rules around sections like 87A relief, surcharge tiers, and interest calculations under 234B and 234C. The developer cited a widely shared Reddit post where a filer using Claude directly almost filed incorrectly due to an outdated Schedule AL threshold, noting that success depended on the user already knowing the correct rule. With non-audit ITR-3/4 returns due August 31, the tool also enforces PAN and Aadhaar redaction automatically and cross-checks TDS claims against 26AS and AIS totals to reduce mismatch notices.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Google Search Console Now Tracks Instagram, TikTok, X and YouTube Search Performance

Google has introduced Platform Properties in Search Console, allowing account owners on Instagram, TikTok, X, and YouTube to monitor how their content appears across Google Search, Discover, and Google News. The feature was announced on July 7, 2026, with global availability confirmed on July 29. Connected accounts gain access to a Performance report with click and impression data, an Insights report highlighting traffic trends and top posts, and an Achievements panel for milestone tracking. The tool is especially useful for creators and social teams who publish primarily on video or social platforms rather than traditional websites. It gives SEO and social teams a shared reporting environment to evaluate organic search visibility for externally hosted content.

0
ProgrammingDEV Community ·

One Solo Founder's Five Hard Rules for Keeping AI Agents in Check

A solo developer running multiple small apps with AI agents has outlined five strict boundaries that keep his automated setup from going off the rails. He never lets agents send anything externally, touch credentials, or perform irreversible actions like deleting data or moving money without his explicit approval. Any new automation must come with a clear hypothesis, a measurable success metric, and a planned expiry date to prevent unchecked sprawl. Agents are also barred from making judgment calls on whether work meets quality standards — that decision always stays with the human. The author argues that true leverage from AI autonomy depends not on removing limits, but on knowing precisely where to draw them.

0
ProgrammingDEV Community ·

Tailscale Traced 19 Database Corruptions Over 6 Months to a 16-Year-Old SQLite Bug

Tailscale engineer Alex Chan published a postmortem detailing how the company's control plane suffered 19 separate SQLite database corruption incidents over six months, causing repeated downtime for affected tailnet shards. Each shard runs a single Go process with exclusive access to its SQLite database, a design that made the recurring corruption especially puzzling. Early incidents each required over an hour of recovery time, during which users on affected shards lost access to the admin console and API. After months of forensic investigation with no reproducible cause, the team traced the fault to a bug that had existed within SQLite itself for at least 16 years. The postmortem has drawn significant attention in the developer community for its methodical debugging approach, which its author argues is applicable to any team running relational databases in production.

0
ProgrammingDEV Community ·

Go developer releases open-source distributed rate limiter with zero memory allocation

A software developer has released distlimit, an open-source distributed rate-limiting library for Go, designed to address performance and reliability gaps in existing solutions. The library achieves sub-100 nanosecond evaluation speeds by eliminating heap memory allocations during request processing. To reduce lock contention, it splits in-memory data across 64 independent shards using FNV-1a hashing, enabling up to 64x higher concurrent throughput compared to single-mutex designs. The library includes a hybrid Redis-plus-memory fallback system with a circuit breaker to prevent service crashes or thundering herd spikes during Redis outages. Security features include CIDR-validated proxy trust rules to guard against IP spoofing via manipulated forwarding headers.