Q1 Solution
Submit the raw equipment catalog for each facility
Q1 Solution
POST /api/v2/q1/solution
Request Body
| Field | Type | Notes |
|---|---|---|
facilities | array | One entry per facility, A to E |
facilities[].facility | string | A, B, C, D or E |
facilities[].pairs | array | Every unique manufacturer and model pair at the facility |
facilities[].pairs[].manufacturer | string | Manufacturer (MFG) as it appears in the records |
facilities[].pairs[].model | string | Model Name as it appears in the records |
facilities[].pairs[].count | integer | Records at the facility with this pair |
facilities[].most_common_model | object | The pair with the most records: manufacturer, model, count |
{
"facilities": [
{
"facility": "B",
"pairs": [
{
"manufacturer": "WELCH ALLYN",
"model": "SURETEMP PLUS 690",
"count": 1
},
{ "manufacturer": "STRYKER MEDICAL", "model": "PROCUITY", "count": 18 }
],
"most_common_model": {
"manufacturer": "...",
"model": "...",
"count": 65
}
}
]
}
Names are compared ignoring case and runs of whitespace. Nothing else is normalized: punctuation, abbreviations and typos all make a different pair. If you list the same pair twice for a facility, only the first one counts. A facility you leave out scores zero.
Responses
200
{
"challenge": "q1",
"score": 88,
"max_points": 100,
"best_score": 88,
"result": {
"facilities": [
{
"facility": "A",
"score": 0.912,
"pairs_f1": 0.883,
"most_common_correct": true
}
]
},
"attempts_remaining": 4
}
Each facility's score is 75% pairs_f1 and 25% most_common_correct. The challenge score is their average.
400
{
"error": "INVALID_SUBMISSION",
"message": "facilities[0].facility must be one of A, B, C, D, E"
}
{
"error": "INVALID_SUBMISSION",
"message": "facilities[0].pairs[3] needs \"manufacturer\" and \"model\" strings, exactly as they appear in the records"
}
Invalid requests don't use a submission.
403
{
"error": "ATTEMPT_LIMIT",
"message": "You have used all 5 submissions for q1. Your best score of 88 is final.",
"best_score": 88
}