Copilot / IT Support & Reliable Workflows
Copilot: 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: Copilot 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 Copilot guide to review a small function with concrete test cases. Use the sample input and prompt, then check the result. Use a fictional Microsoft 365 workplace task as the practice setting. Identify the file or excerpt that supports the requested result.
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 your available Microsoft Copilot experience and confirm whether it can read the intended work source.
Try this prompt
In Copilot, 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. If the active Copilot surface cannot access the file or app, paste an authorized excerpt into chat. Keep the same review criteria for the text-only workflow.
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.