def METHOD_NAME(cls, year, values):
    data = {
        "date": "%s" % (year),
        "year": year,
    }
    if values:
        cash = values["cash"]
        call_investment_deposits = values["call_investment_deposits"]
        total_current_liabilities = values["total_current_liabilities"]
        result = ratio(
            cash + call_investment_deposits, total_current_liabilities
        )
        data.update({
            "amount_type": "ACT",
            "cash": cash,
            "call_investment_deposits": call_investment_deposits,
            "liabilities": total_current_liabilities,
            "result": result,
            "rating": cls.determine_rating(result),
            "cube_version": data_source_version(year),
        })
    else:
        data.update({
            "result": None,
            "rating": "bad",
            "cube_version": None,
        })
    return data