Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Sanity check
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Test to check if a hypothesis is rational}} A '''sanity check''' or '''sanity test''' is a basic test to quickly evaluate whether a claim or the result of a calculation can possibly be true. It is a simple check to see if the produced material is rational (that the material's creator was thinking rationally, applying [[sanity]]). The point of a sanity test is to rule out certain classes of obviously false results, not to catch every possible error. A [[rule-of-thumb]] or [[back-of-the-envelope calculation]] may be checked to perform the test. The advantage of performing an initial sanity test is that of speedily evaluating basic function. In arithmetic, for example, when multiplying by 9, using the [[divisibility rule]] for 9 to verify that the [[digit sum|sum of digits]] of the result is divisible by 9 is a sanity testโit will not catch ''every'' multiplication error, but is a quick and simple method to discover ''many'' possible errors. In [[computer science]], a ''sanity test'' is a very brief run-through of the functionality of a [[computer program]], system, calculation, or other analysis, to assure that part of the system or methodology works roughly as expected. This is often prior to a more exhaustive round of testing.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)