Unable to Stop AB Testing
See original GitHub issueThe tutorial states:
To stop the A/B test, please open address http://127.0.0.1:8000/api/v1/stop_ab_test/1 where 1 at the end of the address it the A/B test id. Click on POST button to finish A/B test.
When I go to this URL I get:
HTTP 405 Method Not Allowed
Allow: POST, OPTIONS
Content-Type: application/json
Vary: Accept
{
"detail": "Method \"GET\" not allowed."
}
Which makes sense as we set this up as POST request endpoint. If I leave the other fields empty/default on that page that loads and click on the “POST” button I get this error on the page:
HTTP 400 Bad Request
Allow: POST, OPTIONS
Content-Type: application/json
Vary: Accept
{
"status": "Error",
"message": "float division by zero"
}
And this error in the console where I started the server:
D:\source2\repos\my_ml_service\venv\lib\site-packages\django\db\models\fields\__init__.py:1418: RuntimeWarning: DateTimeField MLRequest.created_at received a naive datetime (2020-08-16 12:18:52.567774) while time zone support is active.
warnings.warn("DateTimeField %s received a naive datetime (%s)"
Bad Request: /api/v1/stop_ab_test/1
[16/Aug/2020 12:18:52] "POST /api/v1/stop_ab_test/1 HTTP/1.1" 400 10160
I am not sure what/where to make any updates to this.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
5 Reasons Your A/B test fails (and how not to) - VWO
The key is to test a variation exhaustively. Don't let results be sabotaged by environmental factors, different times of the day, different days ......
Read more >The Three (or Four) Safeguards to Stopping an AB Test
In AB testing, everyone talks about this best practice of ensuring tests reach 95% statistical significance before declaring a winner.
Read more >There are no failed A/B tests: How to ensure experiments yield ...
A test only “fails” if it is not set up properly, yielding unreliable or unreadable results. If you suspect your test is impacting...
Read more >How Not To Run an A/B Test - Evan Miller
If you run experiments: the best way to avoid repeated significance testing errors is to not test significance repeatedly. Decide on a sample ......
Read more >What to Do When Your A/B Test Doesn't Win - Rich Page
A common reason for poor A/B test results is because the idea (the hypothesis for what was tested) was not very good. This...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Absolutely! 😃
Thank you @Ih8Coding4fun! Could you please create a PR with a fix? and maybe some tests?