warn_unvalidated¶
- jaxrens.unvalidated.warn_unvalidated(feature, *, concern, since, clears_when='', stacklevel=2)[source]¶
Flag feature as unvalidated, once per process.
The call form, for when it is a branch rather than a whole function that you distrust — usually the honest granularity, since it is rarely an entire function you are unsure about:
if n_species > 2: warn_unvalidated( "swap: >2 species", concern="only binary systems have been run", since="0.2.2", )
Registers feature on first use, so call-form markers show up in
REGISTRYtoo (from the first call rather than from import).