Gemini / IT Support & Reliable Workflows
Gemini: review a small function with concrete test cases
Provide a self-contained function, language version and intended behavior. Keep credentials and production records out of the example.
Environment and inputs: Gemini user guide · Feature and source access depend on the active account, app and organization settings. Optional file or app steps have a text-excerpt fallback. No fixed model version, price or usage quota is assumed.
What you will make
A practical Gemini guide to review a small function with concrete test cases. Use the sample input and prompt, then check the result. Use a fictional office operations task as the practice setting. State the source revision and review date alongside the requested output.
Prepare the source and scope
Provide a self-contained function, language version and intended behavior. Keep credentials and production records out of the example. Open Gemini Apps and use the account and source options permitted for this assignment.
Try this prompt
In Gemini, provide the prepared input, then send the following request. For real work, replace fictional details with approved facts.
Review this function for correctness. Show one normal case, one boundary case and one failing input if one exists. Propose the smallest correction and explain compatibility assumptions.
Review the result
Run the cases in a disposable development environment and compare results with the stated requirements. Record each correction and its supporting source.
If the answer is wrong or incomplete
An assistant's claim that tests pass is not execution evidence. Record which checks you actually ran. Name the exact source being used. If a connected or uploaded file is unavailable, paste a permitted excerpt and continue with that limited evidence.
Practice and completion check
Repeat with one incomplete input. Check the answer against the review criteria, remove unsupported claims and save the prompt with its source version. This workflow has not been verified in a customer deployment.