AI Without the Hype · Applied practice

Applied AI Judgment

Learn to check whether an AI answer follows the evidence. In the capstone, you’ll verify a small experiment, change one fact at a time, and design a comparison of your own. The optional tool labs let you apply the same discipline to local models, image workflows, and training.

Start without setup

In ChatGPT, open a new chat, paste the complete prompt in Lab 01, and send it as ordinary text. Don’t select Search, upload files, or paste real records. Other text-chat models can take the same input; record which one you used. If you can’t open a text chat or don’t want an account, use the paper route. Work out what an answer should say, then compare with the worked checks. Record manual, model not run; don’t grade a response you didn’t get.

Work locally when ready

Lab 04 starts with installing Ollama and one text model. Lab 05 starts with installing ComfyUI and downloading one image model. Lab 06 includes a paper route and a Python route. These are optional extensions; Labs 01–03 are the core capstone.

Lab 01 · Check a claim yourself

Test whether an AI answer follows the evidence

Did the sunny window help the basil grow, or did those plants just get more water? This fictional case gives you everything you need to check the answer. You do not need gardening expertise, course materials, or a web search.

  1. Calculate each group’s mean yourself: add the two growth measurements and divide by two. Write what changed between the groups.
  2. Copy Case A into a new text chat with no earlier messages or outside tools. Then open the answer key and grade the model’s reply on the three checks below. If you don’t have a model, do the comparison on paper and mark the model run not run.
  3. Keep the original answer, including any mistakes. The goal is to check the answer, not to coax the model into agreeing with the key.
I’m trying to find a good spot to grow basil indoors. Here are
fictional records from a small experiment. Four seedlings
were the same variety and had the same pots and soil.

Sunny window: two plants grew 6 and 8 cm in 14 days.
Each got 40 mL of water per day.

Shaded window: two plants grew 2 and 4 cm in 14 days.
Each got 20 mL of water per day.

Calculate each group’s mean growth. Which group grew more,
and by how much, if the records let you tell?
Can these observations tell me whether light caused the
difference? Explain what the records do and don’t support.
Suggest a fairer follow-up using eight seedlings. Say what
you’d change, hold steady, and measure.

Use these observations only. Don’t invent measurements
or treat the example as general gardening advice.
Check your answer after trying Case A
  1. Arithmetic: Sunny mean 7 cm; shaded mean 3 cm; sunny group grew 4 cm more on average over 14 days.
  2. Evidence: The groups received different light and different amounts of water. These observations do not separate their effects. Two windows may also differ in temperature or other conditions.
  3. Follow-up: To test light, randomly assign four seedlings to each of two controlled light conditions in a shared environment, with matched watering and conditions such as temperature. Arrange the setup so light level isn’t just a label for a different location. Use the same starting and ending height measurements for every plant. If you can only use the two existing windows, frame the result as a comparison of those locations, not of light alone.

Give one point per check met. A model can get the calculation right and still overstate the evidence. You succeed by explaining what it got right or wrong, not by getting a perfect model reply.

Lab 02 · Change one part of the evidence

See whether the model changes the right part of its answer

Run B and C in separate new chats with the same model and settings if you can. Compare each with A, not with each other. No need to perform the plant experiment: all three records are fictional. B changes only watering. C swaps which window gets the larger growth measurements, while leaving the watering assignments alone. Predict what should change before opening the key.

Case B · Equal watering
I’m trying to find a good spot to grow basil indoors. Here are
fictional records from a small experiment. Four seedlings
were the same variety and had the same pots and soil.

Sunny window: two plants grew 6 and 8 cm in 14 days.
Each got 40 mL of water per day.

Shaded window: two plants grew 2 and 4 cm in 14 days.
Each got 40 mL of water per day.

Calculate each group’s mean growth. Which group grew more,
and by how much, if the records let you tell?
Can these observations tell me whether light caused the
difference? Explain what the records do and don’t support.
Suggest a fairer follow-up using eight seedlings. Say what
you’d change, hold steady, and measure.

Use these observations only. Don’t invent measurements
or treat the example as general gardening advice.
Case C · Reversed growth
I’m trying to find a good spot to grow basil indoors. Here are
fictional records from a small experiment. Four seedlings
were the same variety and had the same pots and soil.

Sunny window: two plants grew 2 and 4 cm in 14 days.
Each got 40 mL of water per day.

Shaded window: two plants grew 6 and 8 cm in 14 days.
Each got 20 mL of water per day.

Calculate each group’s mean growth. Which group grew more,
and by how much, if the records let you tell?
Can these observations tell me whether light caused the
difference? Explain what the records do and don’t support.
Suggest a fairer follow-up using eight seedlings. Say what
you’d change, hold steady, and measure.

Use these observations only. Don’t invent measurements
or treat the example as general gardening advice.
Check what should change and what should stay the same
  • B: The means stay 7 and 3 cm, and sunny still leads by 4 cm. Different amounts of water applied are no longer supported as an explanation. The windows may still differ in other ways; light alone is not established.
  • C: The means swap to 3 and 7 cm; shaded now leads by 4 cm. The same limits on isolating light and water still apply. If the model says sunny won, it followed the story rather than the numbers.

Optional missing-data check: Copy A and replace the sunny group’s growth sentence with “One sunny plant grew 6 cm; the second plant’s growth wasn’t recorded.” The model can report 6 cm as the only recorded sunny value but cannot calculate the original two-plant mean. The shaded mean is still 3 cm. A blank is not zero.

Use Lab 01’s three checks again. In addition, note whether a claim changed when the corresponding evidence changed.

Lab 03 · Transfer the method

Build your own checkable comparison

Choose a question you might ask in a new chat. Try comparing how quickly two materials dry, which packing method fits more, or which of two routines takes less time. Use simple, non-sensitive observations you can verify. Label invented data as fictional.

Use this worked starter if you don’t have a question yet

Two packing methods for identical boxes took 24 and 28 seconds, versus 20 and 24 seconds. The first method was always tried first. The means are 26 and 22 seconds, so the second was faster in these trials; method and practice order changed together. A fairer comparison runs both methods with matched boxes and alternates or randomizes the order. For your second case, keep the timings but state that order was randomized. The arithmetic stays the same, but don’t cite a fixed order that no longer exists.

  1. Write the question, two groups or conditions, outcome and units, raw observations, and what else changed or was not measured. Give the model the whole setup in the prompt, not a reference to your notes or this lesson.
  2. Write your own answer key before the model replies: the comparison, what the evidence cannot establish, and an observation or fairer test that would help. Make a second case by changing one factor only. Record what should change and what should stay the same.
  3. Save both exact prompts and answers. If you find a real miss, change one instruction and retest on a new case you did not use to write that instruction. Keep the first result. If you see no improvement or didn’t run a test, just say so.
Question and data:
Expected result and evidence limit:
What changed in the second case:
Model/version/settings I could observe:
Exact prompts and responses:
Arithmetic / evidence / follow-up: met or missed, and why
What I would change next, or keep as is:

Capstone deliverable: Keep the basil results, the two cases you designed, and a short note explaining one specific model success or failure. Your evidence should let another person check your judgment without relying on your chat history.

Lab 04 · Optional local text route

Install Ollama and test the same prompt locally

What you’ll make: One actual local response to the basil prompt, scored with the same checks as your first run. A local model and its runtime are two separate downloads. A small download does not guarantee enough memory to run it.

Step 1 · Install and check the runtime

Use the official Ollama download for your operating system. On Windows, run the installer, open Ollama if it isn’t running, then open a new PowerShell window from Start. On macOS, open the downloaded app and then open Terminal. On Linux, follow the official Linux setup, including starting the service if needed. In your terminal, run:

ollama --version
ollama list

Ready when: the command shows an Ollama version and lists models, even if the list is empty. If the command is missing, reopen the terminal after installing. If it can’t connect, start Ollama before retrying. Don’t expose the service to the network for this lab.

Step 2 · Download one model and make a smoke test

Either use an existing local text model or start with Qwen2.5 1.5B, an example download of about 1 GB, plus the runtime and working space. Check the model’s terms. For Qwen, run these lines separately and wait for each to finish. If you already have another local model, skip the first line and replace the tag in the last line and in Step 3.

ollama pull qwen2.5:1.5b
ollama list
ollama run qwen2.5:1.5b "What is the mean of 2 and 4?"

Ready when: the model is listed and the last command returns text. The smoke-test answer should be 3. A wrong answer still shows that the runtime responded, not that it reasoned correctly. If the example tag changes, use another available local instruction model and record its exact tag. Avoid cloud model tags; see local-only settings if needed.

Step 3 · Run Case A, then compare

Run ollama run qwen2.5:1.5b without a question to enter its interactive chat. At the prompt, type three straight double quotes and press Enter, paste all of Case A, then close it with three straight double quotes and press Enter. See the multiline example in the CLI guide. Type /bye to leave that chat. Start a new session for each additional case.

Record the model tag and exact answer. While the model is loaded, you can use ollama ps in a second terminal to see processor placement. Score arithmetic, evidence, and follow-up separately. If you compare response time, note whether the model was already loaded. Want to return to this later? Keep your original chat or paper results and mark local run not performed.

Lab 05 · Optional visual workflow

Make a ComfyUI workflow from a text file

What you’ll learn: How a text file describes a visual workflow, what the model supplies separately, and how to test whether one prompt change had the intended effect. No prior ComfyUI or Hugging Face experience is assumed.

Step 1 · Install ComfyUI for your computer

Check the requirements in the official Comfy Desktop guide. From the official download page, choose the local installer for your device and follow the setup guide for your operating system. Open the local build, not a cloud workspace. You’re ready for the next step when you see the canvas, the large area where the connected boxes will appear.

If you can’t install software on this device, or don’t have room for the app and a separate 2.13 GB model, use the no-download route below. No cloud account, API key, or paid service is required for this lab.

Step 2 · Copy the workflow and save it as a .json file
  1. Open a plain-text editor. On Windows, use Notepad. On Mac, open TextEdit and choose Format → Make Plain Text before pasting. On Linux, use your plain-text editor. Don’t use Word or Google Docs.
  2. Copy everything in the box below, from the first { to the final }. Paste it into the empty document without changing it.
  3. Save the file as cube-blue.json in a folder you can find. In Notepad’s Save As dialog, select All files as the file type and UTF-8 as the encoding. If TextEdit asks, choose Use .json. The actual filename must end in .json, not .json.txt or .rtf.
{
  "version": 1,
  "state": {"lastGroupid": 0, "lastNodeId": 9, "lastLinkId": 9, "lastRerouteId": 0},
  "nodes": [
    {"id": 4, "type": "CheckpointLoaderSimple", "title": "1 · Load Checkpoint",
      "pos": [30, 246], "size": [320, 110], "flags": {}, "order": 0, "mode": 0,
      "outputs": [{"name": "MODEL", "type": "MODEL", "links": [1], "slot_index": 0}, {"name": "CLIP", "type": "CLIP", "links": [3, 5], "slot_index": 1}, {"name": "VAE", "type": "VAE", "links": [8], "slot_index": 2}],
      "properties": {"Node name for S&R": "CheckpointLoaderSimple"}, "widgets_values": ["v1-5-pruned-emaonly-fp16.safetensors"]},
    {"id": 6, "type": "CLIPTextEncode", "title": "2 · Positive Prompt — edit this one",
      "pos": [405, 75], "size": [335, 153], "flags": {}, "order": 1, "mode": 0,
      "inputs": [{"name": "clip", "type": "CLIP", "link": 3}],
      "outputs": [{"name": "CONDITIONING", "type": "CONDITIONING", "links": [4], "slot_index": 0}],
      "properties": {"Node name for S&R": "CLIPTextEncode"}, "widgets_values": ["A matte blue ceramic cube on a plain gray surface, soft side lighting, centered, no text."]},
    {"id": 7, "type": "CLIPTextEncode", "title": "3 · Negative Prompt — leave fixed",
      "pos": [405, 285], "size": [335, 135], "flags": {}, "order": 2, "mode": 0,
      "inputs": [{"name": "clip", "type": "CLIP", "link": 5}],
      "outputs": [{"name": "CONDITIONING", "type": "CONDITIONING", "links": [6], "slot_index": 0}],
      "properties": {"Node name for S&R": "CLIPTextEncode"}, "widgets_values": ["text, watermark"]},
    {"id": 5, "type": "EmptyLatentImage", "title": "4 · Empty Latent Image",
      "pos": [405, 480], "size": [335, 110], "flags": {}, "order": 3, "mode": 0,
      "outputs": [{"name": "LATENT", "type": "LATENT", "links": [2], "slot_index": 0}],
      "properties": {"Node name for S&R": "EmptyLatentImage"}, "widgets_values": [512, 512, 1]},
    {"id": 3, "type": "KSampler", "title": "5 · KSampler",
      "pos": [790, 115], "size": [275, 265], "flags": {}, "order": 4, "mode": 0,
      "inputs": [{"name": "model", "type": "MODEL", "link": 1}, {"name": "positive", "type": "CONDITIONING", "link": 4}, {"name": "negative", "type": "CONDITIONING", "link": 6}, {"name": "latent_image", "type": "LATENT", "link": 2}],
      "outputs": [{"name": "LATENT", "type": "LATENT", "links": [7], "slot_index": 0}],
      "properties": {"Node name for S&R": "KSampler"}, "widgets_values": [42, "fixed", 20, 7, "euler", "normal", 1]},
    {"id": 8, "type": "VAEDecode", "title": "6 · VAE Decode",
      "pos": [1100, 115], "size": [210, 75], "flags": {}, "order": 5, "mode": 0,
      "inputs": [{"name": "samples", "type": "LATENT", "link": 7}, {"name": "vae", "type": "VAE", "link": 8}],
      "outputs": [{"name": "IMAGE", "type": "IMAGE", "links": [9], "slot_index": 0}],
      "properties": {"Node name for S&R": "VAEDecode"}},
    {"id": 9, "type": "SaveImage", "title": "7 · Save Image",
      "pos": [1350, 115], "size": [275, 285], "flags": {}, "order": 6, "mode": 0,
      "inputs": [{"name": "images", "type": "IMAGE", "link": 9}],
      "properties": {"Node name for S&R": "SaveImage"}, "widgets_values": ["UVLM-Lab05"]}
  ],
  "links": [
    {"id": 1, "origin_id": 4, "origin_slot": 0, "target_id": 3, "target_slot": 0, "type": "MODEL"},
    {"id": 2, "origin_id": 5, "origin_slot": 0, "target_id": 3, "target_slot": 3, "type": "LATENT"},
    {"id": 3, "origin_id": 4, "origin_slot": 1, "target_id": 6, "target_slot": 0, "type": "CLIP"},
    {"id": 4, "origin_id": 6, "origin_slot": 0, "target_id": 3, "target_slot": 1, "type": "CONDITIONING"},
    {"id": 5, "origin_id": 4, "origin_slot": 1, "target_id": 7, "target_slot": 0, "type": "CLIP"},
    {"id": 6, "origin_id": 7, "origin_slot": 0, "target_id": 3, "target_slot": 2, "type": "CONDITIONING"},
    {"id": 7, "origin_id": 3, "origin_slot": 0, "target_id": 8, "target_slot": 0, "type": "LATENT"},
    {"id": 8, "origin_id": 4, "origin_slot": 2, "target_id": 8, "target_slot": 1, "type": "VAE"},
    {"id": 9, "origin_id": 8, "origin_slot": 0, "target_id": 9, "target_slot": 0, "type": "IMAGE"}
  ]
}

Read the file before opening it: Find nodes (the boxes), links (the wires), and widgets_values (the settings). Find the checkpoint filename and the phrase matte blue. A filename is a reference to a file, not a copy of its contents.

Step 3 · Get the model and open your workflow
  1. Open the Hugging Face page for the exact checkpoint. Read the model’s terms and click its file download button for v1-5-pruned-emaonly-fp16.safetensors (about 2.13 GB). Download the file, not the web page. This isn’t another app or an archive to unzip.
  2. In Comfy Desktop, open Desktop Settings → Storage → Shared Models. Open the folder labeled Downloads there and place the completed download in its checkpoints subfolder. Create that subfolder if necessary. For Portable or a manual install, follow the folder directions for your install. If ComfyUI was open, refresh its model list with R while focused on the canvas, or reopen it.
  3. Drag cube-blue.json from your file manager onto the canvas. You should see seven connected boxes, from Load Checkpoint through Save Image. In Load Checkpoint, confirm the dropdown shows the exact downloaded filename. The workflow uses built-in nodes only. Don’t install third-party nodes to make it run.

Two different failures: If the file won’t open, check that you saved plain text, copied both braces, and didn’t add a .txt extension. If the boxes open but the checkpoint is missing, the JSON loaded. Check the model’s exact name and folder instead.

Step 4 · Run a controlled comparison
  1. Open the saved blue workflow. In KSampler, confirm seed 42 and after-run behavior fixed. Click Run. Keep the first PNG, even if the result surprises you.
  2. In the plain-text editor, save a second copy as cube-amber.json. In this copy only, replace matte blue with matte amber. Don’t change the checkpoint, seed, size, or any other setting.
  3. Drag the amber file onto the canvas. Find the changed word in the Positive Prompt box and confirm the seed still reads 42. Click Run and keep the second PNG. Save both PNGs and both JSON files.
  4. Compare the outputs: Did the cube change color as requested? Was it still a cube on a plain gray surface? Write down what changed unexpectedly. Do not reroll to get a better result. If a run failed, name the stage it reached rather than reporting an image result.

No-download route: Read the JSON in Step 2. Find the blue prompt node, follow its link to the sampler, then follow the sampler through the decoder to the image output. Write the exact amber edit and name two settings you’d hold fixed. Record image generation not run.

Human judgment check: What traveled with the JSON, what stayed on the computer, and what did your comparison actually establish? The file preserves the graph and settings, not the model or output images. This is inference: running the graph uses the existing weights without training them. A fixed seed controls one source of variation; it does not guarantee matching pixels across machines or software versions.

Lab 06 · Optional training extension

Change a weight and check what it learned

This one-weight model predicts w * x. In the paper route, the first input is 1 and the target is 2. Starting at w = 0, the prediction is 0, the error is −2, and subtracting 0.1 × (−2) × 1 gives the new weight 0.2. No installation is needed to check that update.

Run the whole script with Python 3

In PowerShell on Windows, check python --version; in Terminal on macOS or Linux, check python3 --version. If missing, use Python’s official download or your system’s supported Python 3 package, then open a new terminal and check again. No extra Python packages are needed.

Copy only the code below into a plain-text editor and save it as weight_lab.py, not weight_lab.py.txt. In your terminal, use cd followed by the quoted path to the folder where you saved it. Then run python ./weight_lab.py on Windows or python3 ./weight_lab.py on macOS/Linux. You should see two lines, Before and After.

train = [(1, 2), (2, 4)]
held_out = [(3, 6), (-1, -2)]
w = 0.0

def predictions(weight):
    return [(weight * x, expected) for x, expected in held_out]

print("Before:", w, predictions(w))
for epoch in range(16):
    for x, expected in train:
        error = w * x - expected
        w -= 0.1 * error * x
print("After:", round(w, 4), predictions(w))

Change the training pair (2, 4) to (2, 7) and rerun from zero. Keep the held-out answers unchanged. Does fitting the changed label make predictions better or worse on the original rule? The original script ends near 2 (1.9999 to four decimal places), with held-out predictions near 6 and −2. With the changed label it ends near 3.3042 and those held-out predictions get worse. If you’re doing the paper route, predict how the altered label could affect an unseen example, compare with the worked results, and mark Python not run.

Carry it back to the capstone: A prompt changes the instruction, retrieval changes the supplied evidence, and training changes learned parameters. Neither training nor a polished answer supplies an unrecorded measurement or separates conditions that changed together. If a persistent behavior problem remains after strong prompting and evidence, consider testing an adapter. A compatible LoRA/PEFT workflow trains added parameters while freezing the base. Use licensed or invented examples, split by scenario, compare the same base with and without the adapter, and check unaffected tasks before keeping it. The one-weight exercise is not a language-model fine-tune.