Simulate Netflix's artwork experiment in Python — randomly assign users, measure click-through rates, test for statistical significance, and make a data-driven business recommendation.
A good prompt to Claude includes three things: context (what you are doing and why), the task (what you want Claude to produce), and the output format (how you want it explained or presented).
Your lab mirrors Netflix's real system:
Before writing any code, build a clear mental model of the business problem. This step has no coding — it is entirely about understanding. Use Claude as a thinking partner to deepen your understanding of the key concepts. Tell Claude what course you are in and ask for explanations in plain business terms, not technical jargon.
Write and reflect — answer these in your own words:
Before writing a single line of code, think through the logic of a well-designed experiment. In a real organization, data analysts, data scientists, product managers, and business stakeholders would all weigh in on experimental design. Do not use Claude for this step — work through the thinking yourself first.
Write and reflect:
Before opening Claude, talk with a partner about what your dataset should look like — what columns it needs, what each row represents, and what you are measuring. Then use this prompt:
Write and reflect:
Add a measurement layer. Think of this as Netflix asking: now that we have the data, what does it tell us?
Write and reflect:
Move from results to a decision. This is the prediction-decision gap in action — is the result trustworthy enough to act on?
Write and reflect:
In industry, it is not enough to run an analysis — you need to communicate your results clearly. A hiring manager or client is unlikely to open a Jupyter notebook, but they will click a link.
Write and reflect: You just turned a Python analysis into a public-facing website. What does the ability to communicate your analysis clearly — not just run it — tell an employer about your skills?
Step back and interpret the system as a whole:
Map each component of the AI Factory to what you actually built — be specific about what each component looked like in your simulation:
Then answer: What did you just build? What does it do, and what does it not do?