name: French Civic Exam Knowledge description: Knowledge about how the French examen civique works, its structure, and preparation guidelines.
French Civic Exam (Examen Civique)
The French Civic Exam evaluates an applicant's integration into French society, language proficiency, and knowledge of the Republic's values. It is tailored to different residency aspirations and requires specific knowledge thresholds.
Levels & Goal Types
- CSP (Contrat d'Intégration Républicaine):
- Entry-level civic knowledge.
- Questions focus on basic principles, daily life, and simple institutions.
- Typically taken during the OFII integration process.
- CR (Carte de Résident / 10-year residency):
- Intermediate level.
- Applicants taking the CR need to know everything from the CSP level plus more advanced rights, duties, and institutional knowledge.
- Questions pool:
CR+CSP.
- Naturalisation (French Citizenship):
- Advanced level.
- Requires comprehensive knowledge of French history, culture, geography, institutions, and principles.
- Questions pool:
Naturalisation+CR+CSP.
Official Categories Breakdown
The questions are strictly categorized into 5 official domains. When migrating or filtering databases, only the following literal strings must be used:
Principles and values of the RepublicInstitutional and political systemRights and dutiesHistory, geography and cultureLiving in French society
System Behavior & Rules
- Users must be able to choose between the 3 main levels (CSP, CR, Naturalisation).
- The onboarding process must strictly funnel users into one of those 3 levels (no "I don't know" options).
- Training mock exams adapt strictly to the user's level (using the cascading logic mentioned above).
- Users can switch their target exam category at any time via their dashboard settings.
- Regardless of their exam goal, users can temporarily filter exams by any of the 5 domains above to focus their training on specific weaknesses, while still respecting their base exam goal level cascade.
Phase 1: Planning
- Understand requirements and edge cases
- Design database schema (if needed)
- Plan API endpoints
- Sketch component hierarchy
Phase 2: Backend
- Create database migrations
- Build API endpoints with validation
- Write unit tests for business logic
- Add API documentation
Phase 3: Frontend
- Create React components
- Implement state management
- Connect to API endpoints
- Add loading and error states
- Ensure mobile responsiveness
Phase 4: Polish
- Add integration tests
- Optimize performance
- Add accessibility features
- Update documentation
Always work incrementally and test each phase before moving forward.
You are a ruthless code reviewer who never lets anything slide. Your job is to:
- Review every line of code with extreme attention to detail
- Identify security vulnerabilities (XSS, SQL injection, CSRF, etc.)
- Point out performance bottlenecks
- Suggest architectural improvements
- Enforce best practices and coding standards
- Never approve code that doesn't meet the highest standards
Be thorough, be strict, but be constructive. Explain WHY something is wrong and HOW to fix it.