https://github.com/kunalsuri/ai-fluency-quiz
How AI-Fluent are you? A Self-Assessment. Plus, some Cheat Sheets.
https://github.com/kunalsuri/ai-fluency-quiz
ai ai-native llm quiz
Last synced: 14 days ago
JSON representation
How AI-Fluent are you? A Self-Assessment. Plus, some Cheat Sheets.
- Host: GitHub
- URL: https://github.com/kunalsuri/ai-fluency-quiz
- Owner: kunalsuri
- License: apache-2.0
- Created: 2026-07-09T17:02:31.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-07-09T22:12:31.000Z (about 1 month ago)
- Last Synced: 2026-07-09T22:13:35.794Z (about 1 month ago)
- Topics: ai, ai-native, llm, quiz
- Language: TypeScript
- Homepage: https://ai-fluency-quiz-rust.vercel.app/
- Size: 276 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
- Notice: NOTICE
Awesome Lists containing this project
README
# π§ AI Fluency Quiz
**How AI-fluent are you?**
[](LICENSE)
[](https://astro.build/)
[](https://vitest.dev/)
Ten minutes. Honest questions, real explanations, cited sources β
and a cheat sheet generated for *your* gaps.
[π Live Demo](https://ai-fluency-quiz-rust.vercel.app/) Β· [π Docs](docs/)
---
## What it is?
Three sections, one design, two languages (EN/FR):
1. **The Assessment** β pick who you are (*I build with AI* / *I lead with AI*) and how long you have. One question per screen, instant explanation with its citation, a tier at the end, and an in-session *retake the ones you missed* loop.
2. **Guide / Cheat Sheets** β every topic's terminology, typeset for reading and downloadable as plain-text cheat sheets (`/guide/.txt`). After a quiz, download a **personalized cheat sheet** containing exactly what you missed β plain text, so you can paste it into any AI assistant and ask to be tutored.
3. **The Frontier** β a hand-curated reading room of the landmark papers behind every concept in the quiz.
### Privacy by architecture
- **No accounts or cookies** β quiz answers live only in memory and die with the tab. The optional color-theme preference is the only value stored in `localStorage`.
- **Privacy-focused telemetry** β Vercel Web Analytics and Speed Insights collect anonymous, aggregate usage and performance data. Quiz URL query parameters are removed before telemetry is sent.
- **No remote content dependencies** β fonts are self-hosted and question data is embedded at build time; no quiz answers are sent to a server.
- Dark mode follows `prefers-color-scheme` by default and can be overridden with the header toggle.
---
## Quick start
```powershell
.\scripts\start.ps1 # Windows: checks deps, installs, validates data, starts dev server
```
or manually, on any platform:
```bash
npm install
npm run dev # β http://localhost:4321/
```
Other commands:
| Command | What it does |
|---|---|
| `npm run build` | Validate data, then build the static site into `dist/` |
| `npm test` | Run the Vitest suite (data integrity, FR parity, engine, field guide) |
| `npm run validate-data` | Validate `data/` structure, IDs, answers, citations |
| `npm run analyze-question-quality` | Report answer-length, wording-cue, duplicate, and citation indicators |
| `npm run audit` | Start the **local-only** audit workbench (human data verification) |
| `npm run generate-provenance` | Regenerate `data/data-provenance.md` |
## Architecture: showroom and factory
```
ββ THE SHOWROOM (deployed, static, read-only) ββββββββββββββββββ
β src/ β
β βββ pages/ EN routes + fr/ mirrors β
β β βββ index landing β HTML form + match counter β
β β βββ quiz the one JS island (vanilla TypeScript) β
β β βββ guide/ static cheat-sheet pages + .txt routes β
β β βββ frontier curated papers, static β
β βββ components/ Astro components (server-rendered) β
β βββ scripts/ quiz-island.ts β the only client JS β
β βββ lib/ pure logic: engine, data, i18n, txt β
β βββ styles/ design tokens, one voice, light + dark β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββ THE FACTORY (your machine only, never deployed) βββββββββββββ
β data/ single source of truth (EN + .fr.json) β
β scripts/ validator + provenance generator β
β tools/ audit workbench (writes provenance) β
β tests/ Vitest suite β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
```
- Every content page is statically rendered by Astro. Small scripts handle the theme toggle and anonymous Vercel telemetry; the landing page also adds a progressive match counter.
- The quiz is the only application-style island: a vanilla-TypeScript state machine. Its question payload is embedded in the page at build time, so quiz answers require no API or database.
- The audit workbench (`npm run audit`) needs to **write to disk** (`data/data-provenance.md`), which is exactly why it lives outside the Astro build and can never be deployed.
---
## Question database
**136 questions Β· 15 topic banks Β· 4 difficulty tiers** (beginner 5 pts β expert 20 pts), with per-question explanations and HTTPS citations. 11 banks are fully translated to French (`*.fr.json`); new banks land in English first.
Technical track: foundations, LLM mechanics, transformers, prompting, RAG, agents & tooling, context engineering, harness engineering, safety & alignment, multimodal AI, ethics & governance, fine-tuning, evals & benchmarking.
Managerial track: AI business value & ROI, AI in the workspace.
Scoring tiers (technical): **AI Novice β Prompt Engineer β Context Engineer β AI-Native Architect**.
Scoring tiers (managerial): **AI Explorer β AI-Assisted Manager β AI Strategist β AI-Native Leader**.
The validator (`npm run validate-data`) enforces: manifest/bank consistency, globally unique IDs, in-bounds answers, valid difficulties, strictly increasing tiers, and HTTPS-only citations. The test suite additionally enforces ENβFR structural parity.
---
## Deployment
Static output β deploy `dist/` anywhere. For **Vercel**: framework preset *Astro*, build command `npm run build`, output `dist/`. No adapter, no serverless functions, no environment variables.
---
## π Acknowledgments & License
The **AI Fluency Quiz** project is open-source and licensed under the [Apache License 2.0](LICENSE)
**Warranty & Liability Notice**: This software is provided under the Apache License 2.0 on an "AS IS" basis, without warranties or conditions of any kind, either express or implied. To the extent permitted by the license and applicable law, the authors and contributors disclaim warranties and limit liability. Please refer to the LICENSE file for the complete terms, including Sections 7 (Disclaimer of Warranty) and 8 (Limitation of Liability). See the LICENSE file for the full license text.
Copyright Β© 2026 Kunal Suri ([@kunalsuri](https://github.com/kunalsuri)) (CEA LIST).