| test_cases = [ | |
| { | |
| "predictions": ["Hi.", "I'm sorry to hear that", "I don't know"], | |
| "result": {"metric_score": 0} | |
| }, | |
| { | |
| "predictions": ["Hi.", "I'm sorry to hear that", "I don't know"], | |
| "result": {"metric_score": 1} | |
| }, | |
| { | |
| "predictions": ["Hi.", "I'm sorry to hear that", "I don't know"], | |
| "result": {"metric_score": 0.5} | |
| } | |
| ] |