metrica_tesi / tests.py
Drunper's picture
Primi fix
389a2f6
test_cases = [
{
"predictions": ["blu red yellow", "green orange violet"],
"references": ["pizza spaghetti mandolino", "piplup prinplup empoleon"],
"n": 2,
"result": {"metric_score": 0}
},
{
"predictions": ["a random string", "another string maybe"],
"references": ["random random string", "string string maybe"],
"n": 2,
"result": {"metric_score": 1}
},
{
"predictions": ["conda search evaluate", "conda search transformers"],
"references": ["conda search evaluate", "conda install pytorch"],
"n": 2,
"result": {"metric_score": 0.5}
}
]