Teaching Judgment When AI Writes the First Draft

An apprenticeship playbook for junior data engineers

AI can give a junior data engineer a working transformation before they can explain why it works. For managers, that creates a development challenge: how do you preserve the reasoning that turns someone who produces code into someone who can take responsibility for it?
The answer is not to remove AI from delivery. It is to make independent thinking visible within it.
The apprenticeship model proposed here gives managers a practical structure: require engineers to explain the logic, predict results, challenge a generated implementation and defend a release recommendation. This is an editorial proposal for team-level training, not an established Publicis Sapient program.
Its governing principle is simple: increase autonomy when understanding becomes demonstrable—not when output volume increases.

Set up a bounded learning assignment

Choose a small transformation with a clear business purpose, accessible requirements and outputs a reviewer can independently verify. Examples might include standardizing customer records or calculating active time from case-management events. Treat these as training assignments, not opportunities to hand over an unfamiliar, high-impact pipeline without support.
Before work begins, the manager and reviewer should establish:
Start with approved, non-sensitive training data. Keep normal engineering review and release controls in place; an apprenticeship checkpoint does not replace them.
Reserve reviewer time within delivery planning. Asking juniors to demonstrate understanding while rewarding only completion speed sends conflicting signals.

1. Explain the transformation before generating code

The first exercise should happen before the engineer asks AI for an implementation.
Ask for a short explanation in plain language or pseudocode covering the input, output and rules connecting them. What does one input row represent? What should one output row represent? Which records are joined, excluded, grouped or retained? Which business definitions determine those choices?
The reviewer should probe meaning rather than syntax:
Do not require the junior to invent certainty. Identifying a missing rule and asking the right stakeholder to resolve it should count as sound judgment.
Learning artifact: a transformation brief. Record the business purpose, input and output definitions, proposed logic, assumptions and open questions. Preserve this version so it can be compared with the eventual implementation.

2. Predict outputs before seeing execution results

Next, give the engineer a small input dataset and ask them to calculate the expected output without AI assistance. Record the predictions before generating or running code.
For an illustrative case-management exercise, define the rule explicitly: count time only between a recorded start and pause or completion event; a pause ends active time even if the case stays open overnight.
A case starts at 4:45 p.m., pauses at 5:00 p.m., resumes at 9:00 a.m. and completes at 9:20 a.m. the next day. The expected active time is 35 minutes—not the elapsed time between the first and last event.
Then remove the pause event. The learning objective changes: can the engineer recognize that the stated rule no longer establishes how to handle the overnight gap, rather than silently choosing an answer?
Ask for expected records and values, not just a total. Require an explanation of how each result follows from the rules.
Learning artifact: an expected-output worksheet. Include input examples, predicted outputs, calculations and unresolved cases. Corrections should remain visible, with an explanation of what changed.

3. Generate a draft, then challenge its decisions

Once the reviewer has checked the brief and predictions, let the engineer use AI to draft the transformation.
The junior should compare the draft with their intended logic before accepting it. Ask them to identify where the implementation follows the brief, introduces an assumption or leaves behavior unexplained.
Then run a supervised edge-case exercise. Depending on the transformation, introduce duplicate events, missing identifiers, unmatched records, out-of-order timestamps or an empty input. Have the junior predict the behavior before execution and explain whether that behavior is acceptable.
The reviewer can also introduce a deliberately flawed training change—for example, counting elapsed time instead of active time. The task is to locate the defect, explain its business effect and propose a test that exposes it.
AI may suggest additional cases or alternative implementations. But the engineer must explain why each suggestion matters. An AI-generated explanation is material to examine, not evidence of the junior's understanding.
Learning artifact: annotated changes. Keep the initial draft and final changes reviewable. Annotate consequential choices: what was accepted, corrected or rejected, why, and which requirement or test supports the decision.

4. Validate against trusted data

A successful execution is not enough. Require the engineer to compare actual results with the expected-output worksheet and a broader trusted dataset selected with the reviewer.
Make the comparison specific to the transformation. For a record-standardization task, inspect representative records, missing values and duplicate handling. For an aggregation, compare both totals and the underlying groups. Ask the engineer to explain what each check establishes—and what it cannot establish.
The comparison data also needs scrutiny. Who verified it? Which rules does it reflect? Which cases does it omit? If a legacy output is the baseline, does the assignment require preserving its behavior or correcting it?
When results differ, the junior should investigate before changing either side. The implementation, the expectation or the underlying requirement may be wrong. Updating expected results simply to make a test pass should trigger further review.
Learning artifact: test evidence. Capture dataset versions, checks performed, expected and actual results, discrepancies, explanations and rerun results. Keep enough detail for the reviewer to reproduce the important comparisons.

5. Defend a release recommendation

End the assignment with a short review in which the junior recommends release, further work or escalation. The reviewer retains the normal approval responsibility.
Ask the engineer to answer:
Then change one condition: a new source system, an unresolved duplicate or a different business definition. Ask which parts of the recommendation would need revisiting.
This is not a presentation contest. A confident answer without supporting evidence should not outweigh a careful recommendation to pause.
Learning artifact: a decision log. Record the recommendation, supporting evidence, remaining uncertainty, reviewer challenge and final decision. Note who owns any follow-up action.

Grant autonomy in stages

Use the same evidence-based progression across assignments, while keeping autonomy specific to the work's complexity and risk.

Stage 1: Guided reasoning

The reviewer supplies the rules and examples. The junior explains the logic, predicts outputs and walks through generated code with support.
Advance when: the engineer can connect rules to results, recognize a planted defect and identify when they need clarification.

Stage 2: Supervised ownership

The junior drafts the brief, proposes edge cases and selects validation checks. The reviewer challenges these choices at agreed checkpoints.
Advance when: the engineer independently finds meaningful gaps, investigates discrepancies and supports recommendations with reproducible evidence across multiple assignments.

Stage 3: Bounded independence

The junior owns a familiar class of transformation within agreed limits, escalating unfamiliar conditions and presenting the evidence needed for normal review.
Maintain this scope when: explanations remain accurate, uncertainty is surfaced early and learning transfers to changed inputs or requirements. Return to closer supervision when the task introduces unfamiliar logic; autonomy in one area is not proof of readiness everywhere.

Measure reasoning, not production volume

Review the learning artifacts together. Can the engineer explain a consequential code path, predict a changed output, design a useful test and revise a decision when evidence contradicts it?
Track where reviewer prompting is still needed and whether the same misunderstandings recur. Do not use lines generated, prompts submitted or tickets closed as substitutes for those observations.
Keep the records lightweight and attached to the work. The purpose is not documentation volume. It is a visible connection from business rule to implementation, test and decision.
AI can accelerate the first draft. The manager's responsibility is to ensure that the engineer develops the judgment to question it—and knows when the evidence is not yet strong enough to ship.