Module 5 Assignment: Application backends and model services#
Scenario#
You are advising an engineering team converting prototype AI code into a maintainable application component. The stakeholders are: software engineer, ML engineer, QA lead, product owner, and operations reviewer.
Task#
Answer the module question: How does model logic become a service?
Use the module lab and course readings to produce: tested Python AI component with interface contract, CI evidence, and deployment notes focused on application backends and model services: Build a minimal API around an AI workflow..
Required Evidence#
Define the decision or system boundary in one paragraph.
Identify the dataset, proxy data, or evidence source you used: synthetic API requests, validation outcomes, latency measurements, and test-case results.
Compare at least two alternatives, baselines, policies, or designs.
Report one quantitative result or structured scoring table.
Explain two failure modes and one mitigation for each.
State what additional evidence would be required before real deployment.
Submission#
Submit the completed notebook plus a 900-1200 word memo. The memo must include clear headings for context, method, evidence, risks, recommendation, and open questions.
# Assignment workspace for Module 5: Application backends and model services
module = 5
decision = "How does model logic become a service?"
artifact = "tested Python AI component with interface contract, CI evidence, and deployment notes focused on application backends and model services: Build a minimal API around an AI workflow."
alternatives = [
{"option": "baseline_or_manual_process", "strength": "", "risk": "", "evidence": ""},
{"option": "ai_assisted_or_advanced_option", "strength": "", "risk": "", "evidence": ""},
]
recommendation = {
"decision": decision,
"recommended_option": "",
"minimum_evidence_before_pilot": [],
"monitoring_metric": "",
"rollback_trigger": "",
}
{"module": module, "artifact": artifact, "alternatives": alternatives, "recommendation": recommendation}
{'module': 5,
'artifact': 'tested Python AI component with interface contract, CI evidence, and deployment notes focused on application backends and model services: Build a minimal API around an AI workflow.',
'alternatives': [{'option': 'baseline_or_manual_process',
'strength': '',
'risk': '',
'evidence': ''},
{'option': 'ai_assisted_or_advanced_option',
'strength': '',
'risk': '',
'evidence': ''}],
'recommendation': {'decision': 'How does model logic become a service?',
'recommended_option': '',
'minimum_evidence_before_pilot': [],
'monitoring_metric': '',
'rollback_trigger': ''}}
Acceptance Criteria#
Your submission is complete only if another reviewer can reproduce your reasoning from the evidence you provide. You do not need production-grade data, but you must be explicit about proxy-data limits and what would change with real institutional data.