IDKMesh should not treat every repository measurement as an exact truth value.
For a metric to influence self-evolution, it should eventually expose at least:
estimate
observation model
sample size / evidence mass
uncertainty interval
assumptions
failure modes
The initial implementation supports bounded yes/no observations with a Beta-Binomial model.
For s observed successes among n trials and prior
p ~ Beta(alpha_0, beta_0)
the posterior is
p | data ~ Beta(alpha_0 + s, beta_0 + n - s)
with posterior mean
E[p | data] = (alpha_0 + s) / (alpha_0 + beta_0 + n)
The current helper emits an explicitly approximate 95% interval using the posterior variance and a normal approximation. This is a bootstrap implementation, not a claim that this interval is optimal for all sample sizes.
Independent-review coverage is naturally representable as a binomial observation:
success = review-ready PR has >= 1 independent review
trial = review-ready PR
The point ratio
reviewed / ready
is useful but incomplete. A ratio of 1/1 and 100/100 should not carry the same uncertainty.
The uncertainty-aware representation makes that distinction explicit.
Do not attach this model blindly to continuous, dependent, censored, or strategically generated metrics.
Examples requiring different models include:
A generic confidence = 0.9 field without an observation model is not sufficient evidence.
The current implementation is advisory. It does not change repository authority or merge gates.
A future policy may use a conservative bound rather than only a posterior mean, for example:
ReviewReadiness = lower_95(review_coverage)
but only after calibration shows that doing so improves decisions relative to simpler baselines.
Replace or revise the model if:
The purpose is not mathematical decoration. The purpose is to prevent small or biased samples from being mistaken for strong evidence.