An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# 🧠 AI Fluency Quiz

**How AI-fluent are you?**

[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=for-the-badge)](LICENSE)
[![Astro](https://img.shields.io/badge/Astro%207-static-BC52EE?style=for-the-badge&logo=astro&logoColor=white)](https://astro.build/)
[![Vitest Tests](https://img.shields.io/badge/Vitest-passing-4ab730?style=for-the-badge&logo=vitest&logoColor=white)](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).