lesson 5 of 8 · lab — ship the adapterlesson 5 of 8 · lab — ship the adapterlesson 5 of 8 · lab — ship the adapterlesson 5 of 8 · lab — ship the adapterlesson 5 of 8 · lab — ship the adapterlesson 5 of 8 · lab — ship the adapterlesson 5 of 8 · lab — ship the adapterlesson 5 of 8 · lab — ship the adapterlesson 5 of 8 · lab — ship the adapterlesson 5 of 8 · lab — ship the adapterlesson 5 of 8 · lab — ship the adapter
Checkpoint
One last thing before we move on. pass this to mark the lesson done, or skip and keep moving. hop to the next when you're ready.
Checkpoint. Write emit_adapter_receipt(payload, train) that returns
a dict with these keys, then print the four receipts as
name kind verdict.
Receipt fields:
job,base_model,methodcopied from the payloadkindfromtrain["kind"]—"fixture"or"live-t4"verdictfromaudit_qlora_payload(payload)(same rules as the write step). A fixture is allowed topasswhen the payload is honest. A live T4 with a leaky payload is still a hold.
Expected output:
fixture-good fixture pass
live-good live-t4 pass
fixture-leak fixture hold: train/eval ids overlap
live-70b live-t4 hold: base must be Qwen2.5 0.5-3B Instruct