DimiCerti (opens in a new tab)
dimicerti.com
Exam preparation for the Symfony and Twig certifications: study plan, answered questions, spaced repetition, timed mock exams and an AI assistant.
Role: Design, development, infrastructure and operations: alone, end to end.
Discover DimiCerti
By the numbers
- Symfony 8.0
2,911answered questions
14topics
75questions per mock exam
- Twig 3
256answered questions
8topics
45questions per mock exam
That is more than 3,100 questions in total.
Figures from the public site as of 2026-11-27
Under the hood
AI question generation, with its harness
The challenge: produce thousands of questions that are correct, varied and not guessable, covering the whole official documentation, without letting errors through. A model alone cannot do it: it takes a harness. The editorial pipeline is driven by an AI agent (Claude Code) following a procedure versioned with the code.
Coverage-driven selection. The system computes the least-covered categories and subcategories of each certification, and suggests which official documentation pages to process first.
Frozen source. Each page is captured as is and read in full. The agent never works from memory or from search snippets.
Concept inventory. Every section of the page is inventoried, including code blocks, notes and tables, where expert-level details hide, with an explicit reason for every section left out.
Coverage ledger. A ledger per page and per certification, stored in a dedicated Git repository, records what has been processed: no work redone or lost, and an exact restart where a pass stopped.
Constrained generation. Three levels (foundational, advanced, expert), a 70 / 20 / 10 split between single choice, multiple choice and yes/no, credible distractors, an explanation for every question, following a written quality rubric.
Two-phase blind review. By two independent sub-agents:
- Phase 1, the “candidate” answers the questions without the answer key and without file access, and flags any question a savvy candidate could guess from its form: option length, words echoed from the stem, grammatical agreement, absolutes, an obvious odd one out, a pattern in correct-answer positions…
- Phase 2, the “reviewer” checks every question against the source page and the phase 1 result, and accepts or rejects it with rewriting instructions.
Automated checks. Before writing: quality warnings in a dry run, duplicate detection across the entire question bank.
Human validation. Questions enter as “to review”; nothing is published without validation in the admin.
Shared bank. A question lives only once and can be attached to several certification versions (for example a Twig question valid for Symfony), with a global review status.
Quality comes from the harness, not the model: source, inventory, constraints, adversarial review, human control. That is what makes volume possible.
Editorial MCP server
DimiCerti exposes an MCP (Model Context Protocol) server to drive some editorial tasks from an AI assistant.
Narrowly scoped personal access tokens. Each token opens a single scope (content page drafts, or certification creation), and the server only shows a token the tools of its scope.
Typed, validated tools. List, compare, validate, create and submit page drafts; validate then create a certification atomically. Publishing remains a human action.
Security. Revocable tokens (individually or globally), expiry, abuse protection, rate limiting on creations, disabled accounts refused, DNS rebinding protection.
Dimi, the context-aware assistant
Context-aware. Dimi knows which part of the site the learner is on (home, practice, learning, settings) and receives the relevant context, such as the current practice question or the certification version being studied.
Curated site knowledge. It relies on the site’s published content pages, selected according to the request, rather than on general knowledge.
Streamed answers, multi-provider. OpenAI and Mistral behind a single interface, with the model chosen in the admin.
Controlled costs. Quotas per plan, tokens reserved before the call then settled at actual cost, usage and cost statistics for the admin, reconciliation of interrupted requests.
Architecture and operations
Backend. PHP 8.5, Symfony 7.4, API Platform 5, PostgreSQL, Redis, message queues (Messenger) with dedicated workers.
Frontend. Next.js 16 and React 19, server rendering of public pages for search engines and AI engines (llms.txt), French and English.
Real time. Notifications through Mercure (protocol 1.0, short-lived access tokens).
Payments. Stripe: Checkout, subscriptions, prorated plan changes, idempotent webhooks, periodic reconciliation.
Production. FrankenPHP/Caddy server in worker mode, Docker Compose, server configuration with Ansible, deployments of digest-pinned images with an automatic database backup before migrations, automatic security updates.
Quality. Full GitLab CI (unit and API tests, static analysis, Playwright end-to-end tests, dependency audits), AI-agent-assisted development with versioned rules and reviews.
DimiCerti is independent: not affiliated with SensioLabs or the Symfony project.