sanity check


Also found in: Wikipedia.

sanity check

(programming)
1. Checking code (or anything else, e.g. a Usenet posting) for completely stupid mistakes. Implies that the check is to make sure the author was sane when it was written; e.g. if a piece of scientific software relied on a particular formula and was giving unexpected results, one might first look at the nesting of parentheses or the coding of the formula, as a "sanity check", before looking at the more complex I/O or data structure manipulation routines, much less the algorithm itself.

Compare reality check.

2. A run-time test, either validating input or ensuring that the program hasn't screwed up internally (producing an inconsistent value or state).
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)
References in periodicals archive ?
Others are already the target of precision drugs like Herceptin in breast cancer - the team called this a "sanity check" that proves their method works.
"This Barometer provides organizations with a sanity check of their performance across both their core industry and other industrial sectors within the Federal domain, thereby serving as a reference point for strategic planning, resource allocation, and the optimization of business development processes," said RWCO Chief Executive Officer Richard Wagner.
As much as possible, decisions should be based on objective observations and you should always perform a sanity check by challenging yourself to mitigate behavioral biases that could hamper or impair your financial decisions.
She recommends entrepreneurs in particular have a "board of mentors--people you can talk to on a regular basis who are going to be a sanity check, a business check, the ones who can talk to you when you're struggling with all the things entrepreneurs go through."
As a regional financial services analyst, Stiller will focus on European retail banking and payments trends and provide decision making support for financial institutions and technology providers and act as a sanity check to bring down the noise from the many buzzwords driving the industry, such as blockchain, cognitive computing and machine learning, and cloud, IDC added.
I do hope that the Conservatives colleagues will lobby to do something because who else is going to rent properties to someone who hasn't got money for a month, it is just a crazy system and there needs to be a sanity check."
You can get pulled away from that when you're at work so having that bedrock is my sanity check.
Sewing and creating something was a sanity check for me.
Being the trusted resource that they turn to in those situations, whether for a 15-minute sanity check or a fully staffed six-month project, is the most gratifying part of my job.
It is definitely a smaller market today than it was in 2006 and 2007, but it is a higher-quality market, as the risk retention rules keep a sanity check on underwriting."
In fact, there is a less insane introductory workout DVD called "Sanity Check" that is a little shorter and a little slower, basically a buildup program that prepares you for that real thing.
As part of routine audit exercise, a certain number of BISP accounts have been blocked under the 'sanity check' and are pending for the re-verification of their documents.