zalando / expan

Open-source Python library for statistical analysis of randomised control trials (A/B tests)
MIT License
335 stars 50 forks source link

Stan models compilation, exceptions catch, unit tests adaptation. #131

Closed daryadedik closed 7 years ago

daryadedik commented 7 years ago
  1. Re-implemented Stan model load procedure: .pkl files (Stan models are pickable) with the compiled models are saved in the temporary folder defined by tempfile.gettempdir() which depends on the platform/os and settings.
  2. Added check/exception if kpi_subset is not a list of strings.
  3. Changed bayes-specific unit tests (to_json() tests) in order to pass fewer number of iterations.
coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.2%) to 79.2% when pulling be5149e70fff79a58e4cebffa7e6de09afb34c63 on darya_expan into ff9fa642ff80b28548c07fbeff82fa9ff260d2a9 on dev.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.2%) to 79.2% when pulling be5149e70fff79a58e4cebffa7e6de09afb34c63 on darya_expan into ff9fa642ff80b28548c07fbeff82fa9ff260d2a9 on dev.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.2%) to 79.2% when pulling a498fda5fc4e063ac8fcb41db60e5e2e929cd5c6 on darya_expan into ff9fa642ff80b28548c07fbeff82fa9ff260d2a9 on dev.