"""Original arithmetic from the cited study inputs. No new observations."""
import math,json
INPUTS = {'narrow_low': 6, 'narrow_high': 8, 'narrow_neutral': 8, 'wide_low': 2, 'wide_high': 12, 'wide_neutral': 7}
FORMULAS = {'narrow_neutral_position_percent': '100*(narrow_neutral-narrow_low)/(narrow_high-narrow_low)', 'wide_neutral_position_percent': '100*(wide_neutral-wide_low)/(wide_high-wide_low)'}
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))
