quad_match_score / tests.py
yuyijiong's picture
Upload 6 files
83cb3c8
test_cases = [
{
"predictions": "a | b | c | pos",
"references": "a | b | c | pos & e | f | g | neg",
"result": {'ave match score of weight (1, 1, 1, 1)': 0.375,
'f1 score of exact match': 0.0,
'f1 score of optimal match of weight (1, 1, 1, 1)': 0.5}
}
]