Fabrique d'exercices, an exercise generator
A trial: using AI to create exercise generators that then work without AI, in a simple web page. Maths and French from 3H to upper secondary, as PDF with answer keys, to project or do online.
Prototype under test. A personal trial, made to learn. It has no value beyond that of a test: it may contain errors, change or disappear, and it is neither a product nor a service of HEP-VS.
The idea
I wanted to test how easy it is to create, with AI, exercise generators that then work without AI: a simple web page that draws exercises at random according to rules, with no connection to any service. With one ambition: to go further than the free generators I knew, with more subjects, more grades and more options (online, PDF, answer keys, printing).
The question matters for my courses: it is a way of using AI to build a reliable and predictable tool, rather than asking it each time for exercises whose every answer would need checking.
The result
A generator of maths and French worksheets for French-speaking Switzerland, from 3H to upper secondary, that runs entirely in the browser. The interface and exercises are in French.

What it does
- 38 types of maths exercises (arithmetic, numbers and fractions, measures, geometry and problems) and 29 French ones (conjugation, grammar, spelling, vocabulary and reading), filtered by grade.
- Settings per exercise: level, number, layout, instruction.
- A complete sheet: name and date header, two versions A and B to limit copying, answer key in the PDF, new draw with the same settings.
- Several outputs: downloadable PDF, printing, classroom projection, and a link or QR code so pupils can do the exercises online and check their own answers.

Potential
Once built, the generator costs nothing to run, depends on no AI service and gives predictable results: the rules are written once, checked, then reused as often as you like. It seems to me a promising avenue for schools.
Limits
- Exercises and answer keys come from rules written with the help of AI: errors remain possible. Check a sheet before handing it out.
- The grades shown are indications: the tool has not been validated against the French-speaking Swiss curriculum (PER) or the official teaching materials.
- It is limited to the planned exercise types, in French: no open-ended exercises or writing tasks.
- Online checking expects precise answers: a correct answer written differently may be marked wrong.
- Accessibility has not been checked.
Good to know
- Your sheets are never sent anywhere: they stay in your browser, and the pupils’ link contains the sheet itself, in the address.
- PDFs are made with jsPDF and html2canvas, QR codes with qrcode-generator (MIT licences). These libraries and the Andika, Atkinson Hyperlegible and Lexend fonts (SIL OFL licence) are served by this site.
- The factory is also part of L’Établi.
- Provided as is, free of charge and without any warranty: check what the tool produces before relying on it. See also the privacy and legal notice page.