def set_metrics(point, round_id, full_deck, key):
    s = PokerMetricsCalculator.calculate_hand_strength(point[key]['hc'], point['bc'], full_deck)
    if round_id == 1 or round_id == 2:
        p = PokerMetricsCalculator.calculate_hand_potential_without_heuristics(point[key]['hc'], point['bc'], round_id, full_deck)
    else:
        p = 0
    e = PokerMetricsCalculator.calculate_equity(point[key]['hc'])
    ep = PokerMetricsCalculator.calculate_ep(s, e, p, round_id)
    point[key]['str'][round_id] = round_value(s*Config.RESTRICTIONS['multiply_normalization_by'], 3)
    point[key]['ep'][round_id] = round_value(ep*Config.RESTRICTIONS['multiply_normalization_by'], 3)
    return point
def set_metrics(point, round_id, full_deck, key):
    s = PokerMetricsCalculator.calculate_hand_strength(point[key]['hc'],
                                                       point['bc'], full_deck)
    if round_id == 1 or round_id == 2:
        p = PokerMetricsCalculator.calculate_hand_potential_without_heuristics(
            point[key]['hc'], point['bc'], round_id, full_deck)
    else:
        p = 0
    e = PokerMetricsCalculator.calculate_equity(point[key]['hc'])
    ep = PokerMetricsCalculator.calculate_ep(s, e, p, round_id)
    point[key]['str'][round_id] = round_value(
        s * Config.RESTRICTIONS['multiply_normalization_by'], 3)
    point[key]['ep'][round_id] = round_value(
        ep * Config.RESTRICTIONS['multiply_normalization_by'], 3)
    return point