Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "What does wrapping a function in a LangChain RunnableLambda guarantee?" on CodeWiki (https://codewiki.com/practice/mcq/ai/checkpoint-3/checkpoint-3-runnable-contract/).
Context (verbatim from the page):
"""
What does wrapping a function in a LangChain RunnableLambda guarantee?
It participates in the runnable invocation and composition interfaces, but input validation still needs an explicit boundary
It statically proves that every upstream and downstream data shape matches
It automatically makes side-effecting tools safe to retry
"""
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.