Explain a failed boundary test
Optional arithmetic and percentage refresher — return to this activity
Implement a generation loop with distinct EOS, length and invalid-input behavior.
Model proposals do not enforce runtime safety. Check the limit before each call and validate outputs before selection; malformed or non-finite scores must not become token IDs. Cancellation is also a runtime condition: preserve the accepted prefix, then stop before another call. EOS means the model selected a stop marker, not that the user’s task is correct or complete. Evaluate output constraints separately.
Your saved work
Loop implementation and stopping contract
No response recorded yet. You can write one in the task workspace.
Boundary tests and observed trace
No response recorded yet. You can write one in the task workspace.
A failed case and repair
No response recorded yet. You can write one in the task workspace.
Return to your saved taskYour explanation is retained for your review. It is not automatically graded.
Loading saved work… Backups are available in My Learning.