jpvanhal / flask-split Goto Github PK
View Code? Open in Web Editor NEWA/B testing for your Flask application.
Home Page: https://flask-split.readthedocs.io/
License: MIT License
A/B testing for your Flask application.
Home Page: https://flask-split.readthedocs.io/
License: MIT License
hi,
Thanks for the simple plugin.
I tried adding the following code for testing a full page:
@ab_test.route('/ab_test_full_page')
def check_full_page():
return render_template(ab_test('page_checker','page1.html', 'page2.html'))
I get the error: TypeError: 'Blueprint' object is not callable. Would appreciate if you could let me know the correct syntax.
Hey there, are you interested in teaming up on updating the library? I see you haven't made any updates in a while and there appear to be a few things not working.
Getting this error when trying to track the conversion in the template.
{{ finished('get_started_top_btn_text') }}
Hi,
I was trying to test an uneven split(90-10) by providing weights on alternatives for an experiment and it looks like the weights are not taken into consideration
experiment_name = "check_uneven_90_10"
alternatives = [("A", 90), ("B", 10)]
ab_test(experiment_name, *alternatives)
Also tried with
alternatives = [("A", 0.9), ("B", 0.1)]
I am still seeing an even(~50-50) split
Please let me know if I am missing something or I am using this correctly?
Thanks in advance.
flask.ext.X it is deprecated since Flask v0.10.
Thanks for the excellent work on flask-split. At this point, the /split route is bailing out with this error. Let me know if you have any insights. I've got the latest version from pip.
2013-05-17T12:10:04.083015+00:00 app[web.1]:
2013-05-17T12:10:04.083146+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/jinja2/environment.py", line 372, in getattr
2013-05-17T12:10:04.083290+00:00 app[web.1]: return getattr(obj, attribute)
2013-05-17T12:10:04.083378+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/flask_split/models.py", line 110, in z_score
2013-05-17T12:10:04.083477+00:00 app[web.1]: return mean / sqrt(var_cr + var_crc)
2013-05-17T12:10:04.083572+00:00 app[web.1]: ValueError: math domain error
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.