def test_result_score_computation(input: float, expected: int):
    item = Item()
    item.result_score = input
    item_dict = item.to_dict()
    assert item_dict['result_score'] == expected
def item():
    item = Item()
    item.id = str(uuid4())
    item.content = "Test"
    item.result_score = 1.000
    return item