golden test data for hash functions

87 views
Skip to first unread message

Manlio Perillo

unread,
Feb 28, 2016, 10:30:28 AM2/28/16
to golang-nuts
What is the reason why test data for hash functions is always called golden?


Thanks  Manlio

Caleb Spare

unread,
Feb 28, 2016, 1:48:20 PM2/28/16
to Manlio Perillo, golang-nuts
This is testing nomenclature for known good data against which the
output of some process/function can be compared. Presumably it comes
from the idea of a "gold standard".
> --
> You received this message because you are subscribed to the Google Groups "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Manlio Perillo

unread,
Feb 28, 2016, 1:55:21 PM2/28/16
to Caleb Spare, golang-nuts
Ok, thanks.

However it is not clear if data come from some external source or it
was created by go developers. A comment should be added, IMHO.
Moreover there are some inconsistency: the adler32 test has additional
data, and the fnv test has only few entries from the golden data.

Manlio

Peter Weinberger

unread,
Feb 28, 2016, 2:39:00 PM2/28/16
to Manlio Perillo, golang-nuts
It's technical jargon:
says
"A golden record is a single, well-defined version of all the data entities in an organizational ecosystem. In this context, a golden record is sometimes called the "single version of the truth," where "truth" is understood to mean the reference to which data users can turn when they want to ensure that they have the correct version of a piece of information. "

On Sun, Feb 28, 2016 at 10:30 AM, Manlio Perillo <manlio....@gmail.com> wrote:
What is the reason why test data for hash functions is always called golden?


Thanks  Manlio

--
Reply all
Reply to author
Forward
0 new messages