Category: testing
-
Think Your Python Code Is Slow? Stop Guessing and Start Measuring
Think Your Python Code Is Slow? Stop Guessing and Start Measuring A hands-on tour of using cProfile + SnakeViz to find (and fix) the “hot” paths in your code. The post Think Your Python Code Is Slow? Stop Guessing and Start Measuring appeared first on Towards Data Science. Thomas Reid Go to original source
-
Let Hypothesis Break Your Python Code Before Your Users Do
Let Hypothesis Break Your Python Code Before Your Users Do Property-based tests that find bugs you didn’t know existed. The post Let Hypothesis Break Your Python Code Before Your Users Do appeared first on Towards Data Science. Thomas Reid Go to original source
-
Data Science: From School to Work, Part IV
Data Science: From School to Work, Part IV Introduction Let’s start with a simple example that will appeal to most of us. If you want to check if the blinkers of your car are working properly, you sit in the car, turn on the ignition and test a turn signal to see if the front…
-
Mastering Prompt Engineering with Functional Testing: A Systematic Guide to Reliable LLM Outputs
Mastering Prompt Engineering with Functional Testing: A Systematic Guide to Reliable LLM Outputs Creating efficient prompts for large language models often starts as a simple task… but it doesn’t always stay that way. Initially, following basic best practices seems sufficient: adopt the persona of a specialist, write clear instructions, require a specific response format, and…
-
Does It Matter That Online Experiments Interact?
Does It Matter That Online Experiments Interact? What interactions do, why they are just like any other change in the environment post-experiment, and some reassurance Photo by Uriel Soberanes on Unsplash Experiments do not run one at a time. At any moment, hundreds to thousands of experiments run on a mature website. The question comes up:…