Interpreting the results
The json record includes four keys: address, createdAt, isMalicious, score.
score: the score returned is a trust score that lies in the range from 0 to 1; where a score of 1 is bad or malicious, and a score of 0 means no malicious patterns detected in the code. Any score between 0 and 1 represents a confidence value of the model. For example, the json record that the API returned above shows a score of 0.98, meaning that the model is 98% confident that the smart contract code is not malicious.
isMalicious: isMalicious is a flag for those who prefer a binary understanding. In this case, 0 means False (Not Malicious), and 1 means True (Malicious). To generate this flag, the model assigns True to every score that is greater than 0.5.