Skip to content
Clairos Learn

AI systems foundations · Lesson 2 of 15 · 6 min

Separate model and application

Model weights produce predictions; the application owns routing, authentication and presentation. A change to one layer does not automatically change the other.

Mastery 0/3Run itExplain itApply it
learner@clairosSimulated AI Ops lab
learner@clairos:~ $
↑ history · Tab complete · Ctrl+C cancel · Esc, Tab to leaveExit 0

Understand the pattern

Model weights produce predictions; the application owns routing, authentication and presentation. A change to one layer does not automatically change the other.

Interpret the evidence

Review gateway-12 because the application changed while the weights stayed at m3.

A tempting mistake

Re-download m3 because every application regression is a weights problem.

All names, measurements, prices, versions, and thresholds in this exercise are fictional training data. The evidence supports this bounded scenario, not a claim about a live provider.

Worked example and expected result
$ cat /opt/ai-lab/cases/aiops-systems-foundations-002.json
{
  "fixture": "Fictional training data; not a live measurement.",
  "weights_revision": "m3",
  "app_revision": "gateway-12",
  "changed_layer": "application"
}

Exit status: 0. The command completed successfully in the training fixture.

$ jq .changed_layer /opt/ai-lab/cases/aiops-systems-foundations-002.json
"application"

Exit status: 0. The command completed successfully in the training fixture.

$ printf '%s\n' 'review-application' > /home/learner/lab/aiops-systems-foundations-002-decision.txt
(no output; exit 0)

Exit status: 0. The command completed successfully in the training fixture.

Try a variation

Name the assumption that would have to change for “review-application” to stop being the justified action. Do not silently replace missing evidence with a guess.

Explain it

What does the evidence in “Separate model and application” justify?

Apply it elsewhere

A colleague concludes: “Re-download m3 because every application regression is a weights problem.” What should you do?

Keep the momentum.

Complete the lab, then explain and apply the pattern.

Next: Trace a request lifecycleTry an incident drill

Anonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.

Keep learning

  1. 01Map an AI applicationAn AI application is a chain of components, not just a model. Trace the request from input validation through retrieval, inference and response checks; each hop can fail independently.Practice
  2. 02Trace a request lifecycleA request lifecycle has separate waiting, retrieval, inference and validation stages. Compare durations within the same request rather than combining unrelated log lines.Practice
  3. 03Name the serving boundaryA serving boundary defines which process accepts inference requests and which dependencies it calls. A loopback listener is not evidence that a service is publicly reachable.Practice