from src.Impact import computeForImpact
from src.Severe import computeForSevereImpact
import json

def estimator(data):
  impact = computeForImpact(data)
  severe = computeForSevereImpact(data)
  data_output = {}
  data_output['data'] = {}
  # data_output = {}
  data_output['impact'] = {}
  data_output['severeImpact'] = {}
  data_output['data'].update(data)
  data_output['impact'].update(impact)
  data_output['severeImpact'].update(severe)
  data = data_output
  return data



