"""Original arithmetic from the cited study inputs. No new observations."""
import math,json
INPUTS = {'views_change_fraction': -0.0768, 'clicks_change_fraction': -0.1026}
FORMULAS = {'implied_click_per_view_change_percent': '100*((1+clicks_change_fraction)/(1+views_change_fraction)-1)'}
if __name__ == '__main__':
    scope={**INPUTS,'exp':math.exp}
    results={k:eval(v,{'__builtins__':{}},scope) for k,v in FORMULAS.items()}
    print(json.dumps({'inputs':INPUTS,'expressions':FORMULAS,'results':results},indent=2))
