SShortSingh.
Back to feed

Semantic Caches Served Wrong Answers 30% of the Time in Ops Assistant Test

0
·22 views

A developer experiment replayed 288 operations-related questions through a semantic cache using six embedding models and 50 different similarity thresholds. At a 0.80 similarity threshold with the bge-m3 model, the cache answered 32 percent of queries from memory but served incorrect answers roughly one in three times — for instance, giving git reset advice for a pushed commit when only a local undo had been cached. Raising the similarity threshold did not reliably fix the problem; between 0.88 and 0.92, wrong answers actually outnumbered correct ones among remaining cache hits. Across all models tested, the highest hit rate that produced zero wrong answers was just 0.7 percent, making the cache effectively useless at safe thresholds. Adding a small verification model reduced wrong answers but eliminated speed gains and made the overall setup more expensive than using no cache at all.

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
ProgrammingHacker News ·

Claude Fable 5.2 Reportedly Scores 65 on Artificial Analysis Benchmark

A Hacker News post links to an Artificial Analysis page reporting that a model called Claude Fable 5.2 scored 65, which the headline describes as the highest result so far on that evaluation. The post itself carries little detail, consisting only of a link to the benchmark page and a discussion thread with four points and no comments at the time of publication. The score is presented as recorded on the Artificial Analysis platform, which compiles performance comparisons across AI models. Details on the benchmark's methodology and the specific tasks behind the score are not included in the submission. The claim has not been independently verified in this summary.

0
ProgrammingHacker News ·

USPS Releases Official ZIP Code Boundary Polygon Data

The United States Postal Service has made official ZIP Code boundary polygons available through its PostalPro resource site. The boundary data gives developers and analysts a standardized geographic representation of ZIP Code areas. The announcement was shared on Hacker News, where it drew 27 points and 9 comments. The source material provided is limited to the link and discussion metadata, so details about the data format, licensing, and update schedule are not available here.

0
ProgrammingDEV Community ·

Skip link on 22 app routes moves focus to the panel but leaves the URL unchanged

A keyboard-focus test of 22 app pages on the OnePassApps site checked the Skip to content link, which targets a main element with id main on every route. Pressing it with Enter moved focus to that main element on all routes, but the URL fragment stayed empty and the page did not scroll. The link is never the first Tab stop, since at least three shell controls come before it, and after it the shell's own controls still precede the app's first field. The first app control arrives as the 10th or 11th stop on most routes, and the author declined to give counts for two routes where the fields' accessible names came from wrapping labels.

0
ProgrammingDEV Community ·

Study finds 34% of post-rule state court decisions on AI fabrications cite the new citation-check rules

Four US states adopted binding court rules in 2026 requiring citation checks, with AI named as the motivation: New York, Florida, Connecticut and Indiana. An independent analysis of 84 readable state-court decisions from a public AI hallucination database, 32 of them issued after the relevant rule took effect, found that 11 (34%) cite the new rule. New York courts cited none of their 15 post-rule decisions to its new rule, instead relying mostly on an older frivolous-conduct rule. Florida's appellate courts cited their amended rule most often, and the author checked all matched passages by hand. The author cautions that the database is not a complete census and that courts may apply a rule without citing it by number.