Your details
Name
Unit / Project
Log started
Example entry — what a good log looks like
Example · Entry 1 · Nov 10

What I was trying to do: Make my Flask route only show items that belong to the logged-in user, not everyone's items.

What I tried first: I tried filtering with .all() but that returns everything. I thought maybe I needed to add .filter() but I wasn't sure of the syntax.

My hypothesis before asking AI: I think I need something like Item.query.filter_by(user_id=current_user.id) but I'm not sure if the attribute is called user_id.

What I asked AI: "How do I filter SQLAlchemy query results to only show rows where a column matches the current user's ID?"

What AI said (in my words): AI confirmed my guess was basically right — use filter_by(user_id=current_user.id).all(). It also explained that filter_by() uses keyword arguments (column names) while filter() uses expressions — useful to know.

Verdict: Correct and actually worked. My model does have a user_id column so my hypothesis was right.

1
Part A · Before you ask AI
What I was trying to do — be specific
Describe the exact thing you were trying to build or fix. One sentence is fine if it's precise.
What I already tried
List the approaches you tried before asking AI. If you tried nothing, go back and try something first.
My hypothesis — your best guess before AI answers
What do you think the answer is, even if you're not sure? Writing a wrong guess is fine — it shows you're thinking.
Part B · What you asked and what AI said
The exact prompt I gave AI
Copy your prompt here word for word. A vague prompt gets a vague answer — if you had to rephrase multiple times, copy the final version.
What AI said — in your own words — don't paste the AI response
Summarise what AI told you. If you can't summarise it, you don't understand it well enough to use it.
Part C · Was it right?
Verdict
Did AI's answer actually work when you tried it?
What I actually did next — the last step that matters
What code did you write or change after this interaction? What happened when you tested it? One or two sentences is fine.
1 entry

End-of-unit reflection

Complete this when you submit your final project. These questions are about your AI use across the whole unit, not just one interaction.

How many total interactions? — count your entries above
Where was AI most useful?
Be specific — not "it helped with debugging" but which kind of bug, and why was AI better than other resources for that?
Where was AI wrong or misleading?
Describe at least one time AI gave you incorrect or unhelpful output. What did you do when you realised it was wrong?
What did you learn that you know is yours?
Name two or three things you now genuinely understand — concepts you could explain to someone else without AI's help — that you didn't understand at the start of this unit.
If you could go back and use AI differently, what would you change?