Classify a business
Route to website research or source discovery, then apply explicit business criteria. These fixtures show actual control flow, not live model quality.
Recorded interpreter run · scripted model responses
OUTCOME / COMPLETE
{
"summary": "Illustrative catalogue row demo-repair: Repairing customer-owned goods is principal. (teaching-policy-v1; teaching-catalog-v1). This is not an official MCC assignment or acquiring decision.",
"findings": [
{
"label": "M1",
"detail": "Fictional business website states that repairing customer-owned bicycles is its principal activity; parts sales are incidental.",
"sourceIds": [
"M1"
]
}
],
"uncertainties": []
}choose-source-path
INPUT{
"website": "supplied-website"
}OUTPUT{
"answers": {
"branch": {
"type": "choice",
"choice": "website",
"confidence": 1,
"probabilities": {
"website": 1,
"discover": 0
}
}
}
}View execution events (18)
[
{
"type": "route.chosen",
"label": "choose-source-path",
"detail": {
"kind": "route",
"as": "sourceRoute",
"value": {
"branch": "website",
"taken": "website",
"unsure": false
},
"sidecar": {
"answers": {
"branch": {
"type": "choice",
"choice": "website",
"confidence": 1,
"probabilities": {
"website": 1,
"discover": 0
}
}
},
"confidence": {
"branch": 1
},
"weakest": "branch",
"min_confidence": 1
},
"model": null,
"cost_usd": null
},
"executionPath": "/root/steps/0"
},
{
"type": "node.start",
"label": "read-website",
"detail": {
"kind": "agent"
},
"executionPath": "/root/steps/0/branches/website/body"
},
{
"type": "node.end",
"label": "read-website",
"detail": {
"kind": "agent",
"status": "ok"
},
"executionPath": "/root/steps/0/branches/website/body"
},
{
"type": "node.start",
"label": "research-activity",
"detail": {
"kind": "agent"
},
"executionPath": "/root/steps/1/items/0/body"
},
{
"type": "node.end",
"label": "research-activity",
"detail": {
"kind": "agent",
"status": "ok"
},
"executionPath": "/root/steps/1/items/0/body"
},
{
"type": "node.start",
"label": "candidate-classes",
"detail": {
"kind": "agent"
},
"executionPath": "/root/steps/2"
},
{
"type": "node.end",
"label": "candidate-classes",
"detail": {
"kind": "agent",
"status": "ok"
},
"executionPath": "/root/steps/2"
},
{
"type": "node.start",
"label": "classify-business",
"detail": {
"kind": "judge"
},
"executionPath": "/root/steps/3"
},
{
"type": "judge.answered",
"label": "classify-business",
"detail": {
"kind": "judge",
"as": "classification",
"value": {
"category": "repair_service"
},
"sidecar": {
"answers": {
"category": {
"type": "choice",
"choice": "repair_service",
"confidence": 1,
"probabilities": {
"repair_service": 1,
"retail_sales": 0,
"needs_review": 0
}
}
},
"confidence": {
"category": 1
},
"weakest": "category",
"min_confidence": 1
},
"model": null,
"cost_usd": null
},
"executionPath": "/root/steps/3"
},
{
"type": "node.end",
"label": "classify-business",
"detail": {
"kind": "judge",
"status": "ok"
},
"executionPath": "/root/steps/3"
},
{
"type": "node.start",
"label": "check-business-indicators",
"detail": {
"kind": "judge"
},
"executionPath": "/root/steps/4"
},
{
"type": "judge.answered",
"label": "check-business-indicators",
"detail": {
"kind": "judge",
"as": "indicators",
"value": {
"outcome": "no_recorded_flags"
},
"sidecar": {
"answers": {
"outcome": {
"type": "choice",
"choice": "no_recorded_flags",
"confidence": 1,
"probabilities": {
"no_recorded_flags": 1,
"refer": 0
}
}
},
"confidence": {
"outcome": 1
},
"weakest": "outcome",
"min_confidence": 1
},
"model": null,
"cost_usd": null
},
"executionPath": "/root/steps/4"
},
{
"type": "node.end",
"label": "check-business-indicators",
"detail": {
"kind": "judge",
"status": "ok"
},
"executionPath": "/root/steps/4"
},
{
"type": "node.start",
"label": "resolve-catalogue-row",
"detail": {
"kind": "code"
},
"executionPath": "/root/steps/5"
},
{
"type": "code.patch",
"label": "resolve-catalogue-row",
"detail": {
"selectedRow": {
"id": "demo-repair",
"activity": "repair_service",
"description": "Repairing customer-owned goods is principal.",
"excludes": "Selling goods as the principal activity."
},
"referred": false,
"policyVersion": "teaching-policy-v1",
"catalogVersion": "teaching-catalog-v1"
},
"executionPath": "/root/steps/5"
},
{
"type": "node.end",
"label": "resolve-catalogue-row",
"detail": {
"kind": "code",
"status": "ok"
},
"executionPath": "/root/steps/5"
},
{
"type": "node.start",
"label": "mcc-report",
"detail": {
"kind": "agent"
},
"executionPath": "/root/steps/6"
},
{
"type": "node.end",
"label": "mcc-report",
"detail": {
"kind": "agent",
"status": "ok"
},
"executionPath": "/root/steps/6"
}
]