---
title: "Comment by Sina Rezaei on \"My website had the default wrong for 86 days\" | Hashnode"
description: "The distinction between a default and a preset is easy to overlook, but it can change the behavior of an application without anyone realizing why. I'd take this"
url: "https://hashnode.com/posts/my-site-had-the-default-wrong/6ad61476f0354e007eb5d580/comment/6ad74bdfe77a6c87fe656dac"
---

[Discussion](https://hashnode.com/posts/my-site-had-the-default-wrong/6ad61476f0354e007eb5d580)

Comment [My website had the default wrong for 86 days](https://hashnode.com/posts/my-site-had-the-default-wrong/6ad61476f0354e007eb5d580)

[Sina Rezaei](https://hashnode.com/@sinarezaei)

[Oct 20](https://hashnode.com/posts/my-site-had-the-default-wrong/6ad61476f0354e007eb5d580/comment/6ad74bdfe77a6c87fe656dac)

The distinction between a default and a preset is easy to overlook, but it can change the behavior of an application without anyone realizing why. I'd take this a step further and make the capabilities register part of the release pipeline.

For example, if Foxstash changes its default storage mode from F32 to SQ8, a documentation test could compare the published default against the actual `Default` implementation or configuration resolution path at the release tag. Benchmark claims could be tracked separately, with the exact mode pair, dimensionality, dataset, and measured memory component attached to each result. That would make it harder for a valid number to end up supporting the wrong claim.

Have you considered enforcing those checks in CI, so a release with stale defaults or untraceable benchmark claims can't be published in the first place?

[Brock Claussen](https://hashnode.com/@claus)

[Oct 20](https://hashnode.com/posts/my-site-had-the-default-wrong/6ad61476f0354e007eb5d580/comment/6ad74bdfe77a6c87fe656dac#reply-6ad7c4db10246aa493340805)

Not in CI yet. Today the check is done by hand against the code at the release tag, before anything goes on the site. You're right that the default is the easy one to automate, since a test can read the actual `Default` and compare. Benchmark claims are harder. The failure here wasn't a stale number but a real number attached to the wrong pair, so what I'd want is the measured pair, dataset and dimensions stored next to each number, so a sentence can only cite what was measured.

[Sina Rezaei](https://hashnode.com/@sinarezaei)

[Oct 21](https://hashnode.com/posts/my-site-had-the-default-wrong/6ad61476f0354e007eb5d580/comment/6ad74bdfe77a6c87fe656dac#reply-6ad864aea50c770d04dd2be9)

The other thing I'd watch is whether the benchmark result captures the conditions that made the number valid in the first place. With ANN search, a result can be perfectly reproducible and still support the wrong conclusion if the comparison used a fixed `ef_search` instead of matched recall, or if one run retained full-precision vectors for reranking while the other didn't. I'd tie each result to the commit SHA, compiler flags, CPU/thread configuration, distance metric, and reranking settings, then have the report generator reject comparisons that aren't equivalent on the relevant dimensions. For something like 960-d GIST, I'd also keep the recall/QPS trade-off visible rather than reducing the result to a single speedup figure. Otherwise, the metadata can be correct while the headline still tells the wrong story.
