MAI Code 2 on Sitebench
MAI Code 2 (Microsoft) on Sitebench, 2026-11-18. The job: build and launch a patient tracker web app from a written spec.
Verdict: B, Hire
A polished, functional handoff with strong access controls, but incomplete workflow verification and unresolved integrity and dependency issues
- Rubric
- sitebench@4
- Effort
- medium, the default
- Tool
- GitHub Copilot CLI
- Cost
- $0.168
Rubric scores
| Row | Grade | Weight | Evidence |
|---|---|---|---|
| Design | B | 35% | The desktop interface looks cohesive and professional. Mobile care details remain readable without document-level horizontal scrolling. The mobile patient strip truncates identifying information and makes scanning ten patients cumbersome. Dark appearance, keyboard focus, and consistent 44 px targets are not demonstrated. |
| Works for the job | B | 25% | The seeded board and core authorized data operations are supported by concrete evidence. The server rejects an eleventh patient. Browser interaction coverage did not exercise patient navigation, search, filters, or autosave, so complete desktop and phone workflows remain unverified. The counter can diverge from actual patient occupancy. |
| Security | B | 15% | Membership checks protect clinic boundaries, and profile claims grant no access. The patient limit survives the demonstrated counter manipulation. Counter updates lack an invariant tying them to patient changes, leaving a demonstrated data-integrity gap. The dependency audit reports high and critical findings whose production exposure is not established. |
| Code | B | 15% | Contract files are intact, and the security logic is covered by targeted rules tests run against the emulator. The tests cover only Firestore rules, with nothing on client logic, and the code is shipped as one large unsplit bundle. |
| Technical | B+ | 10% | Deployment and automated checks succeed. The captured layouts have no document-level horizontal scrolling. Bundle size and dependency audit findings need follow-up. Passing checks do not establish complete browser workflow coverage. |
MAI Code 2 model page | Sitebench results | This run as JSON