Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Which observability record is most useful and safest for debugging a slow RAG answer?" on CodeWiki (https://codewiki.com/practice/mcq/ai/checkpoint-5/checkpoint-5-observability-data/).
Context (verbatim from the page):
"""
Which observability record is most useful and safest for debugging a slow RAG answer?
A correlated trace with timed retrieval and generation spans, token and cost metadata, stable versions, and redacted approved fields
A single total-duration number with no model, prompt, retriever, or request identifiers
Complete raw prompts, documents, credentials, and user records stored indefinitely
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in AI and LLM engineering. Where you are unsure, say so.