The Build Score Framework
The Build Score is our quantitative methodology to evaluate whether an AI-built application is production-ready.
Vibe Coding makes building software extremely fast, but it can lead to hidden technical debt. We use The Build Score to establish strict quality control.
---
The 6 Evaluation Dimensions
1. Correctness (Weight: 25%)
Does the code match the detailed requirements specified in theSPEC.md? Are there missing edge cases?
- Check: Verify all user flows run correctly.
- Fail: Missing feature blocks or placeholders left in codebase.
2. Accessibility (Weight: 15%)
AI tools frequently ignore accessibility. Web applications must be usable for all readers.- Check: Proper semantic HTML elements (e.g.
,,), completealttags, and valid ARIA attributes. - Fail: Using nesting
divelements for buttons or links without keyboard controls.
3. Performance (Weight: 15%)
AI-generated frameworks often import heavy packages or cause unnecessary component re-renders.- Check: Next.js build bundle trace checks, optimized image elements, and dynamic imports where appropriate.
- Fail: Unused package imports or rendering massive client bundles.
4. Security (Weight: 15%)
Ensure AI coding outputs do not introduce common vulnerabilities.- Check: CSRF check configs, sanitized input controls, CORS constraints, and database query parameters.
- Fail: Direct database interpolation or raw client-facing credentials.
5. SEO Hygiene (Weight: 15%)
Ensure proper search indexation and metadata mapping.- Check: Dynamic metadata parameters, canonical tags, semantic H1-H6 headers, and valid JSON-LD schemas.
- Fail: Missing pages sitemaps or generic page title tags.
6. Code Readability (Weight: 15%)
The codebase must be structured cleanly so future AI sessions (and humans) can easily parse it.- Check: Modular component architecture, descriptive CSS variable themes, and preserved documentation comments.
- Fail: Monolithic single-file applications or duplicate utility methods.
The Grading Matrix
| Score | Rating | Action |
|---|---|---|
| 90-100 | A (Production Ready) | Deploy to production immediately. |
| 75-89 | B (Minor Refactoring Required) | Refactor styling tags or SEO metadata before release. |
| 50-74 | C (Warning State) | Do not deploy. Re-prompt AI to correct accessibility or security faults. |
| Below 50 | F (Failure) | Re-assess SPEC.md rules and restart prompt loops. |
---
Checklist: Build Score Audit
- [ ] Check logic correctness against specifications requirements.
- [ ] Audit semantic HTML tags and ARIA keyboard accessibility.
- [ ] Check bundle sizes and compile logs.
- [ ] Review query interfaces for security hazards.
- [ ] Confirm page sitemap routes and metadata declarations.
- [ ] Clean up redundant package imports and dead code.