New 'undetermined' Library Reports When a Constant Cannot Be Reliably Measured
A developer has released an open-source library called 'undetermined', available for both Python and JavaScript, that fits curves to program measurements but explicitly refuses to return a result when the data is insufficient. Unlike conventional curve-fitting tools, it outputs an error bar alongside each result and maintains a labeled list of observables it could not confidently determine, along with the reason for each refusal. The library requires a plateau across at least three consecutive input-size rungs within two combined standard errors before declaring a constant settled. It also guards against broken adapters, non-informative observables, and ambiguous choices between competing observables by raising errors rather than silently returning misleading values. A recent 0.2.0 release fixed a bug where zero-scatter observables — those returning the same value every time — were incorrectly flagged as undetermined due to a division-by-zero in the standard error calculation.
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