Spaces:
Sleeping
Sleeping
Mohammad Ashraf commited on
Commit ยท
2f71fc6
0
Parent(s):
docs: add brief, plans, design references and content
Browse files- .gitattributes +4 -0
- .gitignore +11 -0
- CLAUDE.md +26 -0
- KICKOFF_PROMPT.md +44 -0
- content/WORDS-LICENSES.md +10 -0
- content/day-1.json +53 -0
- content/day-2.json +56 -0
- content/day-3.json +53 -0
- content/day-4.json +55 -0
- content/day-5.json +54 -0
- content/day-6.json +55 -0
- content/day-7.json +59 -0
- content/glossary.json +313 -0
- content/terms-computing.json +167 -0
- content/words-ar.json +0 -0
- content/words-en.json +0 -0
- docs/BRIEF.md +132 -0
- docs/DATA_PIPELINE.md +73 -0
- docs/HF_PLAN.md +95 -0
- docs/design/explain.reference.html +128 -0
- docs/design/home.reference.html +206 -0
- docs/design/tokens.md +52 -0
.gitattributes
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
node_modules/
|
| 2 |
+
web/dist/
|
| 3 |
+
__pycache__/
|
| 4 |
+
*.pyc
|
| 5 |
+
.venv/
|
| 6 |
+
.env
|
| 7 |
+
.env.local
|
| 8 |
+
audio_cache/
|
| 9 |
+
.DS_Store
|
| 10 |
+
.pytest_cache/
|
| 11 |
+
*.tsbuildinfo
|
CLAUDE.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CLAUDE.md
|
| 2 |
+
|
| 3 |
+
Darby (ุฏุฑุจู) for the Qai x Hugging Face Hackathon 01 in Doha. Read `docs/BRIEF.md` first: it is the spec. `docs/HF_PLAN.md` and `docs/DATA_PIPELINE.md` are binding. Design: `docs/design/tokens.md` and the two `.reference.html` files.
|
| 4 |
+
|
| 5 |
+
The previous product lives in `../arabaize` (Expo app + Next.js + Supabase). Use it as a reference for content, prompts, game rules and XP rules. Do not copy its UI, its Supabase layer or its mobile code.
|
| 6 |
+
|
| 7 |
+
## Hard rules
|
| 8 |
+
- Everything runs on Hugging Face: one Docker Space on port 7860, Fanar 2 on a scale-to-zero HF Inference Endpoint for every feature, Jobs, Hub datasets, a Storage Bucket and Hub models for everything else (see `docs/HF_PLAN.md`). No Inference Providers, never Fanar's own API, no fonts or assets from outside the app at run time. No Claude or OpenAI API in the product.
|
| 9 |
+
- All model calls go through `server/llm.py`. Strip `<think>` blocks. Validate JSON with pydantic. Learner text is data: wrap and escape it.
|
| 10 |
+
- The daily code answer never reaches the client before the game ends.
|
| 11 |
+
- Arabic first, RTL, logical CSS properties only, `<bdi>` for English inside Arabic, `dir="ltr"` for English passages and prompts, Western digits.
|
| 12 |
+
- Colours only from the tokens. No hex in components.
|
| 13 |
+
- Every user-facing string in both `web/src/i18n/ar.json` and `en.json` with the same keys (add a test).
|
| 14 |
+
- 360 px wide, no horizontal scroll, 44 px targets, 4.5:1 contrast, state shown with icon plus words.
|
| 15 |
+
- `DEMO_MODE` fixtures must make the full demo work with the endpoint switched off.
|
| 16 |
+
- No em dashes or en dashes anywhere. No invented numbers or testimonials.
|
| 17 |
+
- Commits: small and frequent, imperative subject, no AI co-author trailer or attribution lines.
|
| 18 |
+
|
| 19 |
+
## Commands (keep these working)
|
| 20 |
+
```bash
|
| 21 |
+
cd web && npm run dev # frontend on 5173, proxies /api to 7860
|
| 22 |
+
uvicorn server.main:app --reload --port 7860
|
| 23 |
+
pytest # server tests
|
| 24 |
+
cd web && npm test && npm run build
|
| 25 |
+
docker build -t darby . && docker run -p 7860:7860 --env-file .env darby
|
| 26 |
+
```
|
KICKOFF_PROMPT.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
You are building Darby (ุฏุฑุจู) for the Qai x Hugging Face Hackathon 01 in Doha. Judging is in about 24 hours. We are a team of founders working next to you.
|
| 2 |
+
|
| 3 |
+
## How to work
|
| 4 |
+
Work as a senior ML and AI engineer who is also a strong full-stack engineer. That means:
|
| 5 |
+
- Inspect data before transforming it, measure before claiming, and write tests for logic and for data quality.
|
| 6 |
+
- Follow ML best practices: reproducible pipelines, pinned versions, recorded model and dataset revisions, eval before and after any change, no train/test leakage, honest reporting of limits.
|
| 7 |
+
- Know the Hugging Face ecosystem deeply and use it wherever it genuinely helps (see `docs/HF_PLAN.md`).
|
| 8 |
+
- Small commits, clear messages, decisions written to `docs/DECISIONS.md`.
|
| 9 |
+
- Ask us when the decision is ours: a translation or term choice a human must judge, any paid compute, licence questions, a change of product scope, anything hard to undo (deleting Hub repos, force pushes). Do not ask about things you can decide with good engineering judgement; decide, write it down, keep going.
|
| 10 |
+
|
| 11 |
+
## Read first, in this order
|
| 12 |
+
1. `CLAUDE.md` (hard rules), `docs/BRIEF.md` (the full spec), `docs/HF_PLAN.md` (every Hugging Face product we use and the USD 100 budget; binding) and `docs/DATA_PIPELINE.md` (how the term bank is cleaned and completed; binding).
|
| 13 |
+
2. `docs/design/tokens.md` and the design references: `docs/design/home.reference.html` is the main screen (Smart Explain plus daily code plus path on one page) and `docs/design/explain.reference.html` shows the explain result at full size. These are design-canvas files: read them for layout, spacing, colour and copy, then build the real components in React. The UI must match them closely.
|
| 14 |
+
3. The old repo at `../arabaize` for reference only: `CLAUDE.md`, `docs/specs/product-requirements.md`, `src/lib/ai/` (explain, tutor and prompt-lab prompts and schemas), `mobile/src/lib/learning.ts` and `supabase/migrations/20261102000003_daily_code.sql` (daily code rules), `mobile/content/` (lessons, glossary, word lists). Do not port its UI, Supabase or Expo code.
|
| 15 |
+
|
| 16 |
+
## Tools and skills
|
| 17 |
+
- Hugging Face MCP server: check that `hf-mcp-server` is connected (`claude mcp list`). Use it to search models, datasets, papers and docs, inspect repos, and manage Jobs and Spaces. If it is missing, tell us; we add it and restart you.
|
| 18 |
+
- Hugging Face skills: check that the `huggingface/skills` plugin skills are available. If any of these are missing, install them with `hf skills add <name>` (after `pip install -U huggingface_hub`): `hf-cli`, `hf-mem`, `huggingface-datasets`, `huggingface-spaces`, `huggingface-local-models`, `huggingface-community-evals`, `huggingface-gradio`, `huggingface-tool-builder`, `huggingface-papers`, `huggingface-trackio`, `transformers-js`, `trl-training`, `huggingface-llm-trainer`, `huggingface-best`.
|
| 19 |
+
- This machine also has 300+ other skills. Before writing code, list every skill available to you and write the list, with a one-line note on each relevant one, to `docs/SKILLS.md`. Use the ones that fit as you go, at least: frontend design, React/Vite/Tailwind, FastAPI/Python, data analysis and EDA, Docker, accessibility/RTL, testing (Playwright or webapp testing), and any pitch or README skill. Load a skill before the work it covers.
|
| 20 |
+
- Use `hf-mem` to confirm the Fanar GGUF fits the L4 before proposing the endpoint, and `huggingface-local-models` to pick the quantization.
|
| 21 |
+
|
| 22 |
+
## Set up
|
| 23 |
+
- This folder (`arabize-hf`) is the new repo. `content/` already holds the lessons, glossary and word lists copied from `../arabaize/mobile/content/`. Run `git init` here first.
|
| 24 |
+
- Budget: USD 100 total for the team. Never start a paid endpoint or Job without telling us the hardware, the timeout and the expected cost. Scale-to-zero on every endpoint. Log every paid run in `docs/BUDGET.md`.
|
| 25 |
+
- Create the GitHub repo `arabize-hf` (public) with `gh` and push. Then create the Hugging Face Docker Space under our org and add it as a second git remote; we will give you the org name and `HF_TOKEN`. Fanar 2 is the model for everything and every piece of AI and compute runs on Hugging Face's own hardware: no Inference Providers, no outside APIs. Build against fixtures and a mock until the Fanar endpoint is up.
|
| 26 |
+
- Create `.env.example` with every variable from the brief. Never commit `.env` or a token.
|
| 27 |
+
|
| 28 |
+
## Build plan (follow the order; commit and push after each step; tell us when each one is demoable)
|
| 29 |
+
1. Skeleton: FastAPI serving the built Vite app on 7860, Dockerfile, HF Space README front matter, `/api/health`, i18n (ar default, en), RTL layout shell with header, nav and the tokens. Deploy to the Space once so we know the pipeline works.
|
| 30 |
+
2. `server/llm.py`: one client through `huggingface_hub.InferenceClient` (the Fanar endpoint by `base_url`), a waking-up state and `DEMO_MODE` fixtures when the endpoint is cold or failing, think-block stripping, JSON schema validation with one retry, rate limit, timeouts. Tests with a mocked client. Then propose the Fanar endpoint config (a GGUF quantization of `QCRI/Fanar-2-27B-Instruct` from its model tree, Q5_K_M unless `hf-mem` says otherwise, llama.cpp container, 1x L4, scale to zero after 15 minutes) with its hourly cost; after our OK, create it and verify one real call.
|
| 31 |
+
3. The home screen layout from `home.reference.html`, with Smart Explain end to end in its main column (P0-1). Side column cards can be placeholders until step 6. Deterministic term finder with tests (start with our glossary; it switches to the term bank after step 4). Practice question with points and celebration.
|
| 32 |
+
4. Data: run `docs/DATA_PIPELINE.md` stages 0 to 2 (raw snapshot, EDA notebook and report, cleaning) and show us the EDA summary. Then stage 3 (acronym expansion and full Arabic translation for every term, with back-translation checks) as an HF Job, after we approve its cost, and give us the review queue. Publish `<org>/darby-term-bank`, `<org>/darby-ai-glossary-ar-en` and `<org>/darby-lessons` with proper bilingual dataset cards, and make the Space load them from the Hub. Then the glossary page (P0-2) with full and quick cards and semantic search. Then `jobs/generate_content.py` as an HF Job (full bf16 Fanar 2 with vLLM, explicit timeout, pushes results to the Hub from inside the job) to write full cards for the about 100 chosen terms, marked unreviewed.
|
| 33 |
+
5. Tutor with streaming (SSE) and prompt lab (P0-3).
|
| 34 |
+
6. Fill the home side column: path, lesson player and daily code (P0-4), matching `home.reference.html`. Server-side word choice by Qatar date and server-side marking, with tests that the answer never leaks.
|
| 35 |
+
7. Voice (P1): `/api/tts` provider interface, mms-tts-ara for Arabic in the Space (check `is_uroman`), Kokoro for English in the browser with Transformers.js (`kokoro-js`) and a server fallback, a Job that pre-generates audio for every full-card term and uploads it to an HF Storage Bucket, listen buttons wired, all behind `VOICE_ENABLED`. Stub `/api/asr` for Whisper.
|
| 36 |
+
8. Quality and kernels Job (see `docs/HF_PLAN.md`): write the 30-item test set with us (we supply the Gulf Arabic items), then `jobs/bakeoff.py` compares full Fanar 2 with our quantized Fanar endpoint, graded by gpt-oss-120b loaded in the same Job, adds a term-accuracy score against the term bank, benchmarks Fanar with and without Hub kernels, and pushes results to `<org>/darby-eval`. Consider `lighteval` through the `huggingface-community-evals` skill if our tasks fit it. It can run while you build steps 5 to 7. Keep `docs/BUDGET.md` up to date. Create the `<org>/darby` collection linking everything.
|
| 37 |
+
9. More Hugging Face (P1 list in `docs/HF_PLAN.md`, in order, only after every P0 feature demos end to end): Gradio MCP server mounted in FastAPI, smolagents tutor, Sign in with Hugging Face with progress in the bucket, the scheduled daily Job, FanarGuard items in the eval if the licence allows. Then stretch items only if we say so.
|
| 38 |
+
10. Polish and proof: record real Fanar responses into fixtures for the three demo inputs in the brief, phone-width pass at 360 px in both languages, accessibility pass, Playwright smoke test of the demo path, README with problem, solution, architecture diagram (Mermaid), the data pipeline summary with before and after numbers, every Hugging Face model and dataset used with links and licences, and how to run it.
|
| 39 |
+
|
| 40 |
+
## Quality bar
|
| 41 |
+
- After every step: `pytest` (including the data quality gates), `npm test`, `npm run build`, and `docker build` pass. Fix before moving on.
|
| 42 |
+
- Check each screen in a browser at 360 px and 1280 px, in Arabic and English, and compare it with the design reference. Take screenshots into `docs/screenshots/` for the pitch deck.
|
| 43 |
+
- If a step is taking far longer than expected, stop, tell us the trade-off, and propose the smallest version that still demos well.
|
| 44 |
+
- When everything is done, give us: the Space URL, the GitHub URL, the dataset URLs, what is real versus fixture-backed, and anything we must check by hand before judging.
|
content/WORDS-LICENSES.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Word lists for the daily code
|
| 2 |
+
|
| 3 |
+
`words-ar.json` and `words-en.json` are the real words the daily code accepts as guesses. They are generated by `scripts/build-game-words.mjs`, which keeps words of 3 to 9 letters and normalises their spelling. They are loaded into the database and do not ship in a release build of the app.
|
| 4 |
+
|
| 5 |
+
| File | Source | Licence |
|
| 6 |
+
|---|---|---|
|
| 7 |
+
| `words-ar.json` | [Ayaspell](http://ayaspell.sourceforge.net/), `ar/ar.dic` in [LibreOffice's dictionaries](https://github.com/LibreOffice/dictionaries/tree/master/ar) | Tri-licensed GPL 2.0, LGPL 2.1 or MPL 1.1. Used here under the MPL 1.1 |
|
| 8 |
+
| `words-en.json` | [an-array-of-english-words](https://github.com/words/an-array-of-english-words) | MIT |
|
| 9 |
+
|
| 10 |
+
The founders' lawyer should confirm the notices needed before launch.
|
content/day-1.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"slug": "day-1", "order": 1, "est_minutes": 10,
|
| 3 |
+
"title": { "en": "What AI can and can't do at work", "ar": "ู
ุงุฐุง ูุณุชุทูุน ุงูุฐูุงุก ุงูุงุตุทูุงุนู ุฃู ููุนู ูู ุนู
ููู
ุ", "gulf": "ุดูู ููุฏุฑ ูุณูู ุงูุฐูุงุก ุงูุงุตุทูุงุนู ูู ุดุบููู
ุ" },
|
| 4 |
+
"blocks": [
|
| 5 |
+
{ "type": "hook",
|
| 6 |
+
"en": "Your manager in Doha asks for a one-page summary of a 40-page policy by tomorrow. A colleague says, \"Just use AI.\" Can you trust what it writes?",
|
| 7 |
+
"ar": "ูุทูุจ ู
ุฏูุฑูู
ูู ุงูุฏูุญุฉ ู
ูุฎุตูุง ู
ู ุตูุญุฉ ูุงุญุฏุฉ ูุณูุงุณุฉ ู
ู 40 ุตูุญุฉ ูุจู ุงูุบุฏ. ูููู ุฒู
ูู: \"ุงุณุชุฎุฏู
ูุง ุงูุฐูุงุก ุงูุงุตุทูุงุนู.\" ูู ูู
ูู ุงููุซูู ุจู
ุง ููุชุจูุ",
|
| 8 |
+
"gulf": "ู
ุฏูุฑูู
ูู ุงูุฏูุญุฉ ูุจู ู
ูุฎุต ุตูุญุฉ ูุญุฏุฉ ูุณูุงุณุฉ ู
ู 40 ุตูุญุฉ ูุจู ุจุงุฌุฑ. ุฒู
ูููู
ูููู: \"ุฎููุง ุงูู AI ูุณูููุง.\" ุจุณ ุชูุฏุฑูู ุชุซููู ุจุงููู ููุชุจูุ" },
|
| 9 |
+
{ "type": "concept",
|
| 10 |
+
"en": "Tools like ChatGPT and Claude run on a [[Large language model]]. It learned patterns from a huge amount of text, then predicts what words should come next. It writes fast, and it sounds sure. But it can state false things with confidence: that is a [[Hallucination]]. Three limits to remember: it can be wrong, it may not know recent events, and it does not understand your workplace unless you explain it. The instruction you give it is called a [[Prompt]].",
|
| 11 |
+
"ar": "ุชุนู
ู ุฃุฏูุงุช ู
ุซู ChatGPT ูClaude ุจูุงุณุทุฉ [[Large language model|ูู
ูุฐุฌ ูุบูู ูุจูุฑ]] (large language model). ุชุนููู
ุงูุฃูู
ุงุท ู
ู ูู
ูุฉ ุถุฎู
ุฉ ู
ู ุงููุตูุตุ ุซู
ูุชููุน ุงูููู
ุงุช ุงูุชุงููุฉ. ููุชุจ ุจุณุฑุนุฉ ูุจุซูุฉุ ูููู ูุฏ ูุฐูุฑ ู
ุนููู
ุงุช ุฎุงุทุฆุฉ ุจุซูุฉ ุฃูุถูุงุ ููุฐู ูู [[Hallucination|ุงููููุณุฉ]] (hallucination). ุชุฐููุฑูุง ุซูุงุซุฉ ุญุฏูุฏ: ูุฏ ูุฎุทุฆุ ููุฏ ูุง ูุนุฑู ุงูุฃุญุฏุงุซ ุงูุญุฏูุซุฉุ ููุง ูููู
ุจูุฆุฉ ุนู
ููู
ู
ุง ูู
ุชุดุฑุญููุง ูู. ุฃู
ุง ุงูุชุนููู
ุงุช ุงูุชู ุชุนุทูููุง ูู ูุชุณู
ู [[Prompt|ุงูุฃู
ุฑ]] (prompt).",
|
| 12 |
+
"gulf": "ุฃุฏูุงุช ู
ุซู ChatGPT ูClaude ุชุดุชุบู ุนูู [[Large language model|ูู
ูุฐุฌ ูุบูู ูุจูุฑ]] (large language model). ุชุนูู
ุงูุฃูู
ุงุท ู
ู ูุตูุต ูุงูุฏุ ูุจุนุฏูู ูุชููุน ุงูููู
ุฉ ุงููู ุจุนุฏูุง. ููุชุจ ุจุณุฑุนุฉ ูุจุซูุฉุ ุจุณ ู
ู
ูู ูููู ุดู ุบูุท ุจูู ุซูุฉุ ููุฐุง ุงุณู
ู [[Hallucination|ูููุณุฉ]] (hallucination). ุชุฐูุฑูุง ุซูุงุซ ุญุฏูุฏ: ู
ู
ูู ูุบูุทุ ูู
ู
ูู ู
ุง ูุนุฑู ุงูุฃุฎุจุงุฑ ุงูุฌุฏูุฏุฉุ ูู
ุง ูููู
ุดุบููู
ุฅูุง ุฅุฐุง ุดุฑุญุชูุง ูู. ูุงูููุงู
ุงููู ุชุนุทููู ุฅูุงู ุงุณู
ู [[Prompt|ุจุฑูู
ุจุช]] (prompt)." },
|
| 13 |
+
{ "type": "example",
|
| 14 |
+
"en": "Weak: \"Summarize this policy.\" The result is long and generic, and one date is wrong. Better: give it the text, ask for five points for a busy manager, and tell it to quote the section number for each point. Now you can check every point against the policy in minutes.",
|
| 15 |
+
"ar": "ุถุนูู: \"ูุฎูุต ูุฐู ุงูุณูุงุณุฉ.\" ุงููุชูุฌุฉ ุทูููุฉ ูุนุงู
ุฉุ ููููุง ุชุงุฑูุฎ ุฎุงุทุฆ. ุฃูุถู: ุฃุนุทูู ุงููุตุ ูุงุทูุจูุง ุฎู
ุณ ููุงุท ูู
ุฏูุฑ ู
ุดุบููุ ู
ุน ุฐูุฑ ุฑูู
ุงููุณู
ููู ููุทุฉ. ุงูุขู ูู
ูููู
ุงูุชุญูู ู
ู ูู ููุทุฉ ูู ุฏูุงุฆู.",
|
| 16 |
+
"gulf": "ุถุนูู: \"ูุฎุต ูุงูุณูุงุณุฉ.\" ุงูุฌูุงุจ ุทููู ูุนุงู
ุ ูููู ุชุงุฑูุฎ ุบูุท. ุฃุญุณู: ุนุทูู ุงููุตุ ูุงุทูุจูุง ุฎู
ุณ ููุงุท ูู
ุฏูุฑ ู
ุดุบููุ ูู
ุน ูู ููุทุฉ ุฑูู
ุงููุณู
. ุงูุญูู ุชูุฏุฑูู ุชุชุฃูุฏูู ู
ู ูู ููุทุฉ ูู ุฏูุงูู." },
|
| 17 |
+
{ "type": "key_terms", "en": "", "ar": "", "terms": ["AI", "Large language model", "Prompt", "Hallucination"] },
|
| 18 |
+
{ "type": "exercise", "en": "", "ar": "",
|
| 19 |
+
"exercises": [
|
| 20 |
+
{ "type": "match",
|
| 21 |
+
"prompt": { "en": "Match each term with its Arabic", "ar": "ุตูููุง ูู ู
ุตุทูุญ ุจู
ุง ููุงุจูู", "gulf": "ูุตููุง ูู ู
ุตุทูุญ ุจุงููู ููุงุจูู" },
|
| 22 |
+
"pairs": [
|
| 23 |
+
{ "left": "AI", "right": { "ar": "ุงูุฐูุงุก ุงูุงุตุทูุงุนู", "en": "ุงูุฐูุงุก ุงูุงุตุทูุงุนู", "gulf": "ุงูู AI" } },
|
| 24 |
+
{ "left": "Prompt", "right": { "ar": "ุฃู
ุฑ", "en": "ุฃู
ุฑ", "gulf": "ุจุฑูู
ุจุช" } },
|
| 25 |
+
{ "left": "Hallucination", "right": { "ar": "ุงููููุณุฉ", "en": "ุงููููุณุฉ", "gulf": "ุชุฃููู" } }
|
| 26 |
+
],
|
| 27 |
+
"explanation": { "en": "These three terms come up in every lesson.", "ar": "ุชุชูุฑุฑ ูุฐู ุงูู
ุตุทูุญุงุช ุงูุซูุงุซุฉ ูู ูู ุฏุฑุณ.", "gulf": "ูุงูู
ุตุทูุญุงุช ุงูุซูุงุซุฉ ุจุชู
ุฑ ุนูููู
ูู ูู ุฏุฑุณ." } },
|
| 28 |
+
{ "type": "mcq",
|
| 29 |
+
"question": { "en": "The AI gives a law number with full confidence, but no such law exists. What is this called?", "ar": "ูุฐูุฑ ุงูุฐูุงุก ุงูุงุตุทูุงุนู ุฑ๏ฟฝ๏ฟฝู
ูุงููู ุจุซูุฉ ุชุงู
ุฉุ ููู ูุฐุง ุงููุงููู ุบูุฑ ู
ูุฌูุฏ. ู
ุงุฐุง ูุณู
ู ูุฐุงุ", "gulf": "ุงูู AI ูุงู ุฑูู
ูุงููู ุจูู ุซูุฉุ ุจุณ ุงููุงููู ู
ู ู
ูุฌูุฏ. ุดูู ุงุณู
ูุงูุดูุ" },
|
| 30 |
+
"options": [
|
| 31 |
+
{ "en": "A prompt", "ar": "ุฃู
ุฑ" },
|
| 32 |
+
{ "en": "A hallucination", "ar": "ูููุณุฉ" },
|
| 33 |
+
{ "en": "A summary", "ar": "ู
ูุฎุต" }
|
| 34 |
+
],
|
| 35 |
+
"correct": 1, "speak": "hallucination",
|
| 36 |
+
"explanation": { "en": "A hallucination is false information stated with confidence. Always check names, numbers and laws.", "ar": "ุงููููุณุฉ ู
ุนููู
ุฉ ุฎุงุทุฆุฉ ุชูุฐูุฑ ุจุซูุฉ. ุชุญูููุง ุฏุงุฆู
ูุง ู
ู ุงูุฃุณู
ุงุก ูุงูุฃุฑูุงู
ูุงูููุงููู.", "gulf": "ุงููููุณุฉ ูุนูู ู
ุนููู
ุฉ ุบูุท ูููููุง ุจุซูุฉ. ุฏุงูู
ูุง ุชุฃูุฏูุง ู
ู ุงูุฃุณู
ุงุก ูุงูุฃุฑูุงู
ูุงูููุงููู." } },
|
| 37 |
+
{ "type": "order", "lang": "en",
|
| 38 |
+
"prompt": { "en": "Build this sentence in English: \"Check the answer before you use it.\"", "ar": "ูููููุง ูุฐู ุงูุฌู
ูุฉ ุจุงูุฅูุฌููุฒูุฉ: \"ุชุญูููุง ู
ู ุงูุฅุฌุงุจุฉ ูุจู ุงุณุชุฎุฏุงู
ูุง.\"", "gulf": "ุฑูุจูุง ูุงูุฌู
ูุฉ ุจุงูุฅูุฌููุฒู: \"ุชุฃูุฏูุง ู
ู ุงูุฌูุงุจ ูุจู ู
ุง ุชุณุชุฎุฏู
ููู.\"" },
|
| 39 |
+
"items": ["Check", "the", "answer", "before", "you", "use", "it"],
|
| 40 |
+
"explanation": { "en": "Check the answer before you use it.", "ar": "Check the answer before you use it.", "gulf": "Check the answer before you use it." } }
|
| 41 |
+
] },
|
| 42 |
+
{ "type": "prompt_lab",
|
| 43 |
+
"config": {
|
| 44 |
+
"task_en": "Write a prompt asking an AI to summarize a short public article for your team, and to list one claim you should verify.",
|
| 45 |
+
"task_ar": "ุงูุชุจูุง ุฃู
ุฑูุง ูุทูุจ ู
ู ุงูุฐูุงุก ุงูุงุตุทูุงุนู ุชูุฎูุต ู
ูุงู ุนุงู
ูุตูุฑ ููุฑูููู
ุ ูุฐูุฑ ู
ุนููู
ุฉ ูุงุญุฏุฉ ููุจุบู ุงูุชุญูู ู
ููุง.",
|
| 46 |
+
"task_gulf": "ุงูุชุจูุง ุจุฑูู
ุจุช ูุทูุจ ู
ู ุงูู AI ููุฎุต ู
ูุงู ุนุงู
ูุตูุฑ ููุฑูููู
ุ ููุฐูุฑ ู
ุนููู
ุฉ ูุญุฏุฉ ูุงุฒู
ุชุชุฃูุฏูู ู
ููุง."
|
| 47 |
+
} },
|
| 48 |
+
{ "type": "recap",
|
| 49 |
+
"en": "AI predicts words from patterns, and it writes fast.\nIt can be wrong with confidence: that is a [[Hallucination]].\nYou stay responsible, so check before you use. Tomorrow: how to write a [[Prompt]] that works.",
|
| 50 |
+
"ar": "ูุชููุน ุงูุฐูุงุก ุงูุงุตุทูุงุนู ุงูููู
ุงุช ู
ู ุงูุฃูู
ุงุท ูููุชุจ ุจุณุฑุนุฉ.\nูุฏ ูุฎุทุฆ ุจุซูุฉุ ููุฐู ูู [[Hallucination|ุงููููุณุฉ]].\nุชุจูู ุงูู
ุณุคูููุฉ ุนูููู
ุ ูุชุญูููุง ูุจู ุงูุงุณุชุฎุฏุงู
. ุบุฏูุง: ููู ุชูุชุจูู [[Prompt|ุฃู
ุฑูุง]] ูุงุฌุญูุง.",
|
| 51 |
+
"gulf": "ุงูู AI ูุชููุน ุงูููุงู
ู
ู ุงูุฃูู
ุงุท ูููุชุจ ุจุณุฑุนุฉ.\nู
ู
ูู ูุบูุท ุจูู ุซูุฉุ ููุฐู [[Hallucination|ุงููููุณุฉ]].\nุงูู
ุณุคูููุฉ ุนูููู
ุ ูุชุฃูุฏูุง ูุจู ู
ุง ุชุณุชุฎุฏู
ูู. ุจุงุฌุฑ: ููู ุชูุชุจูู [[Prompt|ุจุฑูู
ุจุช]] ุฒูู." }
|
| 52 |
+
]
|
| 53 |
+
}
|
content/day-2.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"slug": "day-2", "order": 2, "est_minutes": 10,
|
| 3 |
+
"title": { "en": "Anatomy of a good prompt", "ar": "ู
ููููุงุช ุงูุฃู
ุฑ ุงูุฌูุฏ", "gulf": "ุดููู ุชูุชุจูู ุจุฑูู
ุจุช ุฒูู" },
|
| 4 |
+
"blocks": [
|
| 5 |
+
{ "type": "hook",
|
| 6 |
+
"en": "You ask AI to \"write a message about the meeting.\" It gives you a long, stiff message about the wrong thing. The tool is not the problem. The request is.",
|
| 7 |
+
"ar": "ุชุทูุจูู ู
ู ุงูุฐูุงุก ุงูุงุตุทูุงุนู \"ูุชุงุจุฉ ุฑุณุงูุฉ ุนู ุงูุงุฌุชู
ุงุน\"ุ ููุนุทููู
ุฑุณุงูุฉ ุทูููุฉ ูุฌุงูุฉ ุนู ู
ูุถูุน ุขุฎุฑ. ุงูู
ุดููุฉ ููุณุช ูู ุงูุฃุฏุงุฉุ ุจู ูู ุงูุทูุจ.",
|
| 8 |
+
"gulf": "ุชููููู ููู AI \"ุงูุชุจ ุฑุณุงูุฉ ุนู ุงูุงุฌุชู
ุงุน\"ุ ููุนุทููู
ุฑุณุงูุฉ ุทูููุฉ ููุงุดูุฉ ุนู ุดู ุซุงูู. ุงูู
ุดููุฉ ู
ู ูู ุงูุฃุฏุงุฉุ ุงูู
ุดููุฉ ูู ุงูุทูุจ." },
|
| 9 |
+
{ "type": "concept",
|
| 10 |
+
"en": "A good prompt has four parts. Goal: what you want and why. [[Context]]: the background it needs, such as who will read it. [[Output format]]: the shape of the answer. [[Constraint]]: the limits, such as length or what to avoid. You can also give it a [[Role]], such as \"act as an HR manager.\" If you remember only one thing: the AI knows nothing about your situation until you tell it.",
|
| 11 |
+
"ar": "ููุฃู
ุฑ ุงูุฌูุฏ ุฃุฑุจุนุฉ ุฃุฌุฒุงุก. ุงููุฏู: ู
ุงุฐุง ุชุฑูุฏูู ููู
ุงุฐุง. [[Context|ุงูุณูุงู]] (context): ุงูุฎูููุฉ ุงููุงุฒู
ุฉุ ู
ุซู ู
ู ุณููุฑุฃ ุงููุต. [[Output format|ุตูุบุฉ ุงูู
ุฎุฑุฌุงุช]] (output format): ุดูู ุงูุฅุฌุงุจุฉ. [[Constraint|ุงููููุฏ]] (constraints): ุงูุญุฏูุฏุ ู
ุซู ุงูุทูู ุฃู ู
ุง ูุฌุจ ุชุฌูุจู. ููู
ูู ุฃูุถูุง ุชุญุฏูุฏ [[Role|ุฏูุฑ]] (role)ุ ู
ุซู \"ุชุตุฑูู ูู
ุฏูุฑ ู
ูุงุฑุฏ ุจุดุฑูุฉ\". ุชุฐููุฑูุง: ูุง ูุนุฑู ุงูุฐูุงุก ุงูุงุตุทูุงุนู ุดูุฆูุง ุนู ูุถุนูู
ุญุชู ุชุฎุจุฑูู.",
|
| 12 |
+
"gulf": "ุงูุจุฑูู
ุจุช ุงูุฒูู ููู ุฃุฑุจุนุฉ ุฃุฌุฒุงุก. ุงููุฏู: ุดูู ุชุจูู ูููุด. [[Context|ุงูุณูุงู]] (context): ุงูู
ุนููู
ุงุช ุงููู ูุญุชุงุฌูุงุ ู
ุซู ู
ูู ุจููุฑุง. [[Output format|ุตูุบุฉ ุงูุฌูุงุจ]] (output format): ุดูู ุงูุฌูุงุจ. [[Constraint|ุงูุดุฑูุท]] (constraints): ุงูุญุฏูุฏุ ู
ุซู ุงูุทูู ุฃู ุงูุฃุดูุงุก ุงููู ู
ุง ุชุจูููุง. ูุชูุฏุฑูู ุจุนุฏ ุชุนุทููู [[Role|ุฏูุฑ]] (role)ุ ู
ุซู \"ุชุตุฑู ูู
ุฏูุฑ ู
ูุงุฑุฏ ุจุดุฑูุฉ\". ุชุฐูุฑูุง: ุงูู AI ู
ุง ูุฏุฑู ุนู ูุถุนูู
ุดู ุฅูุง ุฅุฐุง ููุชูุง ูู." },
|
| 13 |
+
{ "type": "example",
|
| 14 |
+
"en": "Before: \"Write a message about the meeting.\"\nAfter: \"Write a short message to my team (goal) saying Sunday's meeting moved to 10 am in room 3 because the manager is travelling (context). Use 3 lines (format). Keep it polite and do not mention the manager's trip details (constraints).\"",
|
| 15 |
+
"ar": "ูุจู: \"ุงูุชุจ ุฑุณุงูุฉ ุนู ุงูุงุฌุชู
ุงุน.\"\nุจุนุฏ: \"ุงูุชุจ ุฑุณุงูุฉ ูุตูุฑุฉ ุฅูู ูุฑููู (ุงููุฏู) ุจุฃู ุงุฌุชู
ุงุน ุงูุฃุญุฏ ุงูุชูู ุฅูู ุงูุณุงุนุฉ 10 ุตุจุงุญูุง ูู ุงููุงุนุฉ 3 ูุฃู ุงูู
ุฏูุฑ ู
ุณุงูุฑ (ุงูุณูุงู). ูู 3 ุฃุณุทุฑ (ุงูุตูุบุฉ). ุจุฃุณููุจ ู
ูุฐุจ ูู
ู ุฏูู ุฐูุฑ ุชูุงุตูู ุณูุฑ ุงูู
ุฏูุฑ (ุงููููุฏ).\"",
|
| 16 |
+
"gulf": "ูุจู: \"ุงูุชุจ ุฑุณุงูุฉ ุนู ุงูุงุฌุชู
ุงุน.\"\nุจุนุฏ: \"ุงูุชุจ ุฑุณุงูุฉ ูุตูุฑุฉ ููุฑููู (ุงููุฏู) ุฅู ุงุฌุชู
ุงุน ุงูุฃุญุฏ ุตุงุฑ ุงูุณุงุนุฉ 10 ุงูุตุจุญ ูู ูุงุนุฉ 3 ูุฃู ุงูู
ุฏูุฑ ู
ุณุงูุฑ (ุงูุณูุงู). ูู 3 ุฃุณุทุฑ (ุงูุตูุบุฉ). ุจุฃุณููุจ ู
ุญุชุฑู
ูุจุฏูู ุชูุงุตูู ุณูุฑ ุงูู
ุฏูุฑ (ุงูุดุฑูุท).\"" },
|
| 17 |
+
{ "type": "key_terms", "en": "", "ar": "", "terms": ["Context", "Constraint", "Output format", "Role"] },
|
| 18 |
+
{ "type": "exercise", "en": "", "ar": "",
|
| 19 |
+
"exercises": [
|
| 20 |
+
{ "type": "mcq",
|
| 21 |
+
"question": { "en": "\"No more than 100 words\" is an example of what?", "ar": "\"ุฃูุง ูุฒูุฏ ุงููุต ุนูู 100 ููู
ุฉ\" ู
ุซุงู ุนูู ู
ุงุฐุงุ", "gulf": "\"ู
ุง ูุฒูุฏ ุนู 100 ููู
ุฉ\" ู
ุซุงู ุนูู ุดููุ" },
|
| 22 |
+
"options": [
|
| 23 |
+
{ "en": "A role", "ar": "ุฏูุฑ" },
|
| 24 |
+
{ "en": "Context", "ar": "ุณูุงู" },
|
| 25 |
+
{ "en": "A constraint", "ar": "ููุฏ" }
|
| 26 |
+
],
|
| 27 |
+
"correct": 2, "speak": "constraint",
|
| 28 |
+
"explanation": { "en": "A constraint sets a limit on the answer.", "ar": "ุงูููุฏ ูุถุน ุญุฏูุง ููุฅุฌุงุจุฉ.", "gulf": "ุงูุดุฑุท ูุญุท ุญุฏ ููุฌูุงุจ." } },
|
| 29 |
+
{ "type": "match",
|
| 30 |
+
"prompt": { "en": "Match each term with its Arabic", "ar": "ุตูููุง ูู ู
ุตุทูุญ ุจู
ุง ููุงุจูู", "gulf": "ูุตููุง ูู ู
ุตุทูุญ ุจุงููู ููุงุจูู" },
|
| 31 |
+
"pairs": [
|
| 32 |
+
{ "left": "Context", "right": { "ar": "ุงูุณูุงู", "en": "ุงูุณูุงู" } },
|
| 33 |
+
{ "left": "Role", "right": { "ar": "ุฏูุฑ", "en": "ุฏูุฑ" } },
|
| 34 |
+
{ "left": "Output format", "right": { "ar": "ุตูุบุฉ ุงูู
ุฎุฑุฌุงุช", "en": "ุตูุบุฉ ุงูู
๏ฟฝ๏ฟฝุฑุฌุงุช" } },
|
| 35 |
+
{ "left": "Constraint", "right": { "ar": "ููุฏ", "en": "ููุฏ" } }
|
| 36 |
+
],
|
| 37 |
+
"explanation": { "en": "Goal, context, format and constraints are the four parts of a good prompt.", "ar": "ุงููุฏู ูุงูุณูุงู ูุงูุตูุบุฉ ูุงููููุฏ ูู ุฃุฌุฒุงุก ุงูุฃู
ุฑ ุงูุฌูุฏ ุงูุฃุฑุจุนุฉ.", "gulf": "ุงููุฏู ูุงูุณูุงู ูุงูุตูุบุฉ ูุงูุดุฑูุท ูู ุฃุฑุจุนุฉ ุฃุฌุฒุงุก ุงูุจุฑูู
ุจุช ุงูุฒูู." } },
|
| 38 |
+
{ "type": "fill", "lang": "en",
|
| 39 |
+
"prompt": { "en": "Choose the missing word", "ar": "ุงุฎุชุงุฑูุง ุงูููู
ุฉ ุงููุงูุตุฉ", "gulf": "ุงุฎุชุงุฑูุง ุงูููู
ุฉ ุงููุงูุตุฉ" },
|
| 40 |
+
"sentence": { "en": "Add more ___: who will read this report?", "ar": "Add more ___: who will read this report?" },
|
| 41 |
+
"bank": [ { "en": "context" }, { "en": "chart" }, { "en": "bias" } ],
|
| 42 |
+
"answer": 0,
|
| 43 |
+
"explanation": { "en": "Context is the background the AI needs.", "ar": "ุงูุณูุงู (context) ูู ุงูุฎูููุฉ ุงูุชู ูุญุชุงุฌูุง ุงูุฐูุงุก ุงูุงุตุทูุงุนู.", "gulf": "ุงูุณูุงู (context) ูู ุงูู
ุนููู
ุงุช ุงููู ูุญุชุงุฌูุง ุงูู AI." } }
|
| 44 |
+
] },
|
| 45 |
+
{ "type": "prompt_lab",
|
| 46 |
+
"config": {
|
| 47 |
+
"task_en": "Rewrite this weak prompt into a full one with a goal, context, format and constraints: \"Write something about our new leave policy.\"",
|
| 48 |
+
"task_ar": "ุฃุนูุฏูุง ูุชุงุจุฉ ูุฐุง ุงูุฃู
ุฑ ุงูุถุนูู ููุตุจุญ ูุงู
ููุง ุจูุฏู ูุณูุงู ูุตูุบุฉ ููููุฏ: \"ุงูุชุจ ุดูุฆูุง ุนู ุณูุงุณุฉ ุงูุฅุฌุงุฒุงุช ุงูุฌุฏูุฏุฉ.\"",
|
| 49 |
+
"task_gulf": "ุนูุฏูุง ูุชุงุจุฉ ูุงูุจุฑูู
ุจุช ุงูุถุนูู ุนุดุงู ูููู ูุงู
ูุ ููู ูุฏู ูุณูุงู ูุตูุบุฉ ูุดุฑูุท: \"ุงูุชุจ ุดู ุนู ุณูุงุณุฉ ุงูุฅุฌุงุฒุงุช ุงูุฌุฏูุฏุฉ.\""
|
| 50 |
+
} },
|
| 51 |
+
{ "type": "recap",
|
| 52 |
+
"en": "Four parts: goal, [[Context]], [[Output format]], [[Constraint]].\nA [[Role]] can shape the answer.\nThe AI only knows what you tell it. Tomorrow: emails and reports.",
|
| 53 |
+
"ar": "ุฃุฑุจุนุฉ ุฃุฌุฒุงุก: ุงููุฏูุ ู[[Context|ุงูุณูุงู]]ุ ู[[Output format|ุตูุบุฉ ุงูู
ุฎุฑุฌุงุช]]ุ ู[[Constraint|ุงููููุฏ]].\nูุฏ ูุบููุฑ [[Role|ุงูุฏูุฑ]] ุดูู ุงูุฅุฌุงุจุฉ.\nูุง ูุนุฑู ุงูุฐูุงุก ุงูุงุตุทูุงุนู ุฅูุง ู
ุง ุชุฎุจุฑููู ุจู. ุบุฏูุง: ุงูุฑุณุงุฆู ูุงูุชูุงุฑูุฑ.",
|
| 54 |
+
"gulf": "ุฃุฑุจุนุฉ ุฃุฌุฒุงุก: ุงููุฏูุ ู[[Context|ุงูุณูุงู]]ุ ู[[Output format|ุตูุบุฉ ุงูุฌูุงุจ]]ุ ู[[Constraint|ุงูุดุฑูุท]].\nุงูู [[Role|ุฏูุฑ]] ูุบูุฑ ุดูู ุงูุฌูุงุจ.\nุงูู AI ูุนุฑู ุจุณ ุงููู ุชููููู ูู. ุจุงุฌุฑ: ุงูุฅูู
ููุงุช ูุงูุชูุงุฑูุฑ." }
|
| 55 |
+
]
|
| 56 |
+
}
|
content/day-3.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"slug": "day-3", "order": 3, "est_minutes": 10,
|
| 3 |
+
"title": { "en": "Emails and reports with AI", "ar": "ูุชุงุจุฉ ุงูุฑุณุงุฆู ูุงูุชูุงุฑูุฑ ุจุงูุฐูุงุก ุงูุงุตุทูุงุนู", "gulf": "ุงูุฅูู
ููุงุช ูุงูุชูุงุฑูุฑ ู
ุน ุงูู AI" },
|
| 4 |
+
"blocks": [
|
| 5 |
+
{ "type": "hook",
|
| 6 |
+
"en": "You have four bullet points from a meeting and need a formal email to your director in 10 minutes, in Arabic. You know what to say, but not how to say it well.",
|
| 7 |
+
"ar": "ูุฏููู
ุฃุฑุจุน ููุงุท ู
ู ุงุฌุชู
ุงุนุ ูุชุญุชุงุฌูู ุฅูู ุฑุณุงูุฉ ุฑุณู
ูุฉ ุฅูู ุงูู
ุฏูุฑ ุฎูุงู 10 ุฏูุงุฆู ุจุงูุนุฑุจูุฉ. ุชุนุฑููู ู
ุงุฐุง ุชูููููุ ููู ููู ุชุตูุบููู ุฌูุฏูุงุ",
|
| 8 |
+
"gulf": "ุนูุฏูู
ุฃุฑุจุน ููุงุท ู
ู ุงุฌุชู
ุงุนุ ูุชุญุชุงุฌูู ุฅูู
ูู ุฑุณู
ู ููู
ุฏูุฑ ุฎูุงู 10 ุฏูุงูู ุจุงูุนุฑุจู. ุชุฏุฑูู ุดูู ุชุจูู ุชูููููุ ุจุณ ุดููู ุชูุชุจููู ุฒููุ" },
|
| 9 |
+
{ "type": "concept",
|
| 10 |
+
"en": "Treat the first answer as a [[Draft]], not the finished work. Then improve it by asking again: this is [[Iteration]]. Ask for one change at a time: \"shorter\", \"more polite\", \"move the deadline to the top\". Say the [[Tone]] you want. For senior readers, ask for a [[Formal register]]. Your facts must come from you: give the AI your notes, and it will shape them.",
|
| 11 |
+
"ar": "ุชุนุงู
ููุง ู
ุน ุงูุฅุฌุงุจุฉ ุงูุฃููู ุนูู ุฃููุง [[Draft|ู
ุณูุฏุฉ]] (draft) ูููุณุช ุนู
ููุง ููุงุฆููุง. ุซู
ุญุณููููุง ุจุฅุนุงุฏุฉ ุงูุทูุจุ ููุฐุง ูู [[Iteration|ุชูุฑุงุฑ ุงูุชุญุณูู]] (iteration). ุงุทูุจูุง ุชุบููุฑูุง ูุงุญุฏูุง ูู ู
ุฑุฉ: \"ุฃูุตุฑ\"ุ \"ุฃูุซุฑ ุชูุฐูุจูุง\"ุ \"ุถุน ุงูู
ูุนุฏ ุงูููุงุฆู ูู ุงูุจุฏุงูุฉ\". ุญุฏุฏูุง [[Tone|ุงููุจุฑุฉ]] (tone) ุงูุชู ุชุฑูุฏูููุงุ ูููุจุงุฑ ุงูู
ุณุคูููู ุงุทูุจูุง [[Formal register|ุงูุฃุณููุจ ุงูุฑุณู
ู]] (formal register). ุงูุญูุงุฆู ุชุฃุชู ู
ููู
: ุฃุนุทูู ู
ูุงุญุธุงุชูู
ููุตูุบูุง.",
|
| 12 |
+
"gulf": "ุงุนุชุจุฑูุง ุฃูู ุฌูุงุจ [[Draft|ุฏุฑุงูุช]] (draft) ู
ู ุดุบู ููุงุฆู. ุจุนุฏูู ุญุณููู ูุฃูุชูุง ุชุทูุจูู ู
ุฑุฉ ุซุงููุฉุ ููุฐุง ุงุณู
ู [[Iteration|ุชูุฑุงุฑ ุงูุชุญุณูู]] (iteration). ุงุทูุจูุง ุชุบููุฑ ูุงุญุฏ ูู ู
ุฑุฉ: \"ุฃูุตุฑ\"ุ \"ุฃูุซุฑ ุฃุฏุจ\"ุ \"ุญุท ุงูู
ูุนุฏ ูู ุงูุจุฏุงูุฉ\". ููููุง ูู [[Tone|ุฃุณููุจ ุงูููุงู
]] (tone) ุงููู ุชุจูููุ ูููู
ุณุคูููู ุงููุจุงุฑ ุงุทูุจูุง [[Formal register|ุงูุฃุณููุจ ุงูุฑุณู
ู]] (formal register). ุงูู
ุนููู
ุงุช ู
ููู
ุฃูุชูุง: ุนุทูู ู
ูุงุญุธุงุชูู
ููู ูุฑุชุจูุง." },
|
| 13 |
+
{ "type": "example",
|
| 14 |
+
"en": "First prompt: \"Turn these 4 notes into a formal Arabic email to the director.\"\nSecond: \"Good. Make it shorter and put the decision needed in the first line.\"\nThird: \"Add a polite closing. Do not add any facts that are not in my notes.\"",
|
| 15 |
+
"ar": "ุงูุฃู
ุฑ ุงูุฃูู: \"ุญููู ูุฐู ุงูู
ูุงุญุธุงุช ุงูุฃุฑุจุน ุฅูู ุฑุณุงูุฉ ุฑุณู
ูุฉ ุจุงูุนุฑุจูุฉ ุฅูู ุงูู
ุฏูุฑ.\"\nุงูุซุงูู: \"ุฌูุฏ. ุงุฌุนููุง ุฃูุตุฑ ูุถุน ุงููุฑุงุฑ ุงูู
ุทููุจ ูู ุงูุณุทุฑ ุงูุฃูู.\"\nุงูุซุงูุซ: \"ุฃุถู ุฎุงุชู
ุฉ ู
ูุฐุจุฉ. ูุง ุชุถู ุฃู ู
ุนููู
ุงุช ุบูุฑ ู
ูุฌูุฏุฉ ูู ู
ูุงุญุธุงุชู.\"",
|
| 16 |
+
"gulf": "ุงูุจุฑูู
ุจุช ุงูุฃูู: \"ุญูู ูุงูู
ูุงุญุธุงุช ุงูุฃุฑุจุน ูุฅูู
ูู ุฑุณู
ู ุจุงูุนุฑุจู ููู
ุฏูุฑ.\"\nุงูุซุงูู: \"ุฒูู. ุฎูู ุฃูุตุฑ ูุญุท ุงููุฑุงุฑ ุงูู
ุทููุจ ูู ุฃูู ุณุทุฑ.\"\nุงูุซุงูุซ: \"ุฒูุฏ ุฎุงุชู
ุฉ ู
ุญุชุฑู
ุฉ. ูุง ุชุฒูุฏ ุฃู ู
ุนููู
ุฉ ู
ู ูู ู
ูุงุญุธุงุชู.\"" },
|
| 17 |
+
{ "type": "key_terms", "en": "", "ar": "", "terms": ["Tone", "Draft", "Iteration", "Formal register"] },
|
| 18 |
+
{ "type": "exercise", "en": "", "ar": "",
|
| 19 |
+
"exercises": [
|
| 20 |
+
{ "type": "match",
|
| 21 |
+
"prompt": { "en": "Match each term with its Arabic", "ar": "ุตูููุง ูู ู
ุตุทูุญ ุจู
ุง ููุงุจูู", "gulf": "ูุตููุง ูู ู
ุตุทูุญ ุจุงููู ููุงุจูู" },
|
| 22 |
+
"pairs": [
|
| 23 |
+
{ "left": "Draft", "right": { "ar": "ู
ุณูุฏุฉ", "en": "ู
ุณูุฏุฉ", "gulf": "ุฏุฑุงูุช" } },
|
| 24 |
+
{ "left": "Tone", "right": { "ar": "ูุจุฑุฉ", "en": "ูุจุฑุฉ", "gulf": "ุฃุณููุจ ุงูููุงู
" } },
|
| 25 |
+
{ "left": "Formal register", "right": { "ar": "ุงูุฃุณููุจ ุงูุฑุณู
ู", "en": "ุงูุฃุณููุจ ุงูุฑุณู
ู" } }
|
| 26 |
+
],
|
| 27 |
+
"explanation": { "en": "You will use these words whenever you edit with AI.", "ar": "ุณุชุญุชุงุฌูู ุฅูู ูุฐู ุงูููู
ุงุช ููู
ุง ุนุฏููุชู
ู
ุน ุงูุฐูุงุก ุงูุงุตุทูุงุนู.", "gulf": "ุจุชุญุชุงุฌูู ูุงูููู
ุงุช ูู ู
ุง ุนุฏูุชูุง ู
ุน ุงูู AI." } },
|
| 28 |
+
{ "type": "mcq",
|
| 29 |
+
"question": { "en": "The first email is too long. What is the best next step?", "ar": "ุงูุฑุณุงูุฉ ุงูุฃููู ุทูููุฉ ุฌุฏูุง. ู
ุง ุฃูุถู ุฎุทูุฉ ุชุงููุฉุ", "gulf": "ุฃูู ุฅูู
ูู ุทููู ูุงูุฏ. ุดูู ุฃุญุณู ุฎุทูุฉ ุจุนุฏูุงุ" },
|
| 30 |
+
"options": [
|
| 31 |
+
{ "en": "Start again with a new tool", "ar": "ุงูุจุฏุก ู
ู ุฌุฏูุฏ ุจุฃุฏุงุฉ ุฃุฎุฑู" },
|
| 32 |
+
{ "en": "Ask for one change: make it shorter", "ar": "ุทูุจ ุชุบููุฑ ูุงุญุฏ: ุงุฌุนููุง ุฃูุตุฑ" },
|
| 33 |
+
{ "en": "Send it as it is", "ar": "ุฅุฑุณุงููุง ูู
ุง ูู" }
|
| 34 |
+
],
|
| 35 |
+
"correct": 1, "speak": "iteration",
|
| 36 |
+
"explanation": { "en": "Iteration means improving step by step, one change at a time.", "ar": "ุชูุฑุงุฑ ุงูุชุญุณูู ูุนูู ุงูุชุญุณูู ุฎุทูุฉ ุจุฎุทูุฉุ ุจุชุบููุฑ ูุงุญุฏ ูู ู
ุฑุฉ.", "gulf": "ุชูุฑุงุฑ ุงูุชุญุณูู ูุนูู ุชุญุณููู ุฎุทูุฉ ุฎุทูุฉุ ุชุบููุฑ ูุงุญุฏ ูู ู
ุฑุฉ." } },
|
| 37 |
+
{ "type": "order", "lang": "en",
|
| 38 |
+
"prompt": { "en": "Build this request in English: \"Make the tone more formal.\"", "ar": "ูููููุง ูุฐุง ุงูุทูุจ ุจุงูุฅูุฌููุฒูุฉ: \"ุงุฌุนู ุงููุจุฑุฉ ุฃูุซุฑ ุฑุณู
ูุฉ.\"", "gulf": "ุฑูุจูุง ูุงูุทูุจ ุจุงูุฅูุฌููุฒู: \"ุฎู ุฃุณููุจ ุงูููุงู
ุฃูุซุฑ ุฑุณู
ูุฉ.\"" },
|
| 39 |
+
"items": ["Make", "the", "tone", "more", "formal"],
|
| 40 |
+
"explanation": { "en": "Make the tone more formal.", "ar": "Make the tone more formal.", "gulf": "Make the tone more formal." } }
|
| 41 |
+
] },
|
| 42 |
+
{ "type": "prompt_lab",
|
| 43 |
+
"config": {
|
| 44 |
+
"task_en": "Write a prompt that turns these notes into a formal email to your manager: budget approved, start date 1 March, two new hires, need a decision on the vendor by Thursday.",
|
| 45 |
+
"task_ar": "ุงูุชุจูุง ุฃู
ุฑูุง ูุญููู ูุฐู ุงูู
ูุงุญุธุงุช ุฅูู ุฑุณุงูุฉ ุฑุณู
ูุฉ ุฅูู ู
ุฏูุฑูู
: ุงุนุชูู
ุฏุช ุงูู
ูุฒุงููุฉุ ุงูุจุฏุงูุฉ ูู 1 ู
ุงุฑุณุ ู
ูุธูุงู ุฌุฏูุฏุงูุ ุงูู
ุทููุจ ูุฑุงุฑ ุจุดุฃู ุงูู
ูุฑูุฏ ูุจู ุงูุฎู
ูุณ.",
|
| 46 |
+
"task_gulf": "ุงูุชุจูุง ุจุฑูู
ุจุช ูุญูู ูุงูู
ูุงุญุธุงุช ูุฅูู
ูู ุฑุณู
ู ูู
ุฏูุฑูู
: ุงูู
ูุฒุงููุฉ ุงูุนุชู
ุฏุชุ ุงูุจุฏุงูุฉ 1 ู
ุงุฑุณุ ู
ูุธููู ุฌุฏุงุฏุ ูุญุชุงุฌ ูุฑุงุฑ ุนู ุงูู
ูุฑุฏ ูุจู ุงูุฎู
ูุณ."
|
| 47 |
+
} },
|
| 48 |
+
{ "type": "recap",
|
| 49 |
+
"en": "The first answer is a [[Draft]].\n[[Iteration]]: one change at a time.\nThe facts come from you, and the [[Tone]] is your call. Tomorrow: summaries and checking facts.",
|
| 50 |
+
"ar": "ุงูุฅุฌุงุจุฉ ุงูุฃููู [[Draft|ู
ุณูุฏุฉ]].\n[[Iteration|ุชูุฑุงุฑ ุงูุชุญุณูู]]: ุชุบููุฑ ูุงุญุฏ ูู ู
ุฑุฉ.\nุงูุญูุงุฆู ู
ููู
ุ ู[[Tone|ุงููุจุฑุฉ]] ูุฑุงุฑูู
. ุบุฏูุง: ุงูุชูุฎูุต ูุงูุชุญูู.",
|
| 51 |
+
"gulf": "ุฃูู ุฌูุงุจ [[Draft|ุฏุฑุงูุช]].\n[[Iteration|ุชูุฑุงุฑ ุงูุชุญุณูู]]: ุชุบููุฑ ูุงุญุฏ ูู ู
ุฑุฉ.\nุงูู
ุนููู
ุงุช ู
ููู
ุ ู[[Tone|ุฃุณููุจ ุงูููุงู
]] ูุฑุงุฑูู
. ุจุงุฌุฑ: ุงูุชูุฎูุต ูุงูุชุฃูุฏ ู
ู ุงูู
ุนููู
ุงุช." }
|
| 52 |
+
]
|
| 53 |
+
}
|
content/day-4.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"slug": "day-4", "order": 4, "est_minutes": 10,
|
| 3 |
+
"title": { "en": "Summaries, research and fact-checking", "ar": "ุงูุชูุฎูุต ูุงูุจุญุซ ูุงูุชุญูู", "gulf": "ุงูุชูุฎูุต ูุงูุจุญุซ ูุงูุชุฃูุฏ ู
ู ุงูู
ุนููู
ุงุช" },
|
| 4 |
+
"blocks": [
|
| 5 |
+
{ "type": "hook",
|
| 6 |
+
"en": "An AI summary of a new regulation looks perfect. It even gives an article number. You put it in your report. The next day, a colleague finds that the article does not say that.",
|
| 7 |
+
"ar": "ูุจุฏู ู
ูุฎุต ุงูุฐูุงุก ุงูุงุตุทูุงุนู ููุธุงู
ุฌุฏูุฏ ู
ุซุงูููุงุ ุจู ูุฐูุฑ ุฑูู
ุงูู
ุงุฏุฉ. ุชุถุนููู ูู ุชูุฑูุฑูู
. ูู ุงูููู
ุงูุชุงูู ููุชุดู ุฒู
ูู ุฃู ุงูู
ุงุฏุฉ ูุง ุชููู ุฐูู.",
|
| 8 |
+
"gulf": "ู
ูุฎุต ุงูู AI ููุงููู ุฌุฏูุฏ ุดููู ู
ู
ุชุงุฒุ ูุญุชู ููู ุฑูู
ุงูู
ุงุฏุฉ. ุชุญุทููู ูู ุงูุชูุฑูุฑ. ูุจุงุฌุฑ ุฒู
ูููู
ููุชุดู ุฅู ุงูู
ุงุฏุฉ ู
ุง ุชููู ุฌุฐู." },
|
| 9 |
+
{ "type": "concept",
|
| 10 |
+
"en": "AI is strong at making a [[Summary]] of text you give it. It is weaker when it answers from memory. So paste the text, and ask it to use only that text. Ask for the [[Source]] of each point. Be careful: AI can invent a [[Citation]] that looks real. Before you use anything important, [[Fact-check]] names, numbers, dates and laws against the original.",
|
| 11 |
+
"ar": "ูุชูู ุงูุฐูุงุก ุงูุงุตุทูุงุนู ูุชุงุจุฉ [[Summary|ุงูู
ูุฎุต]] (summary) ูููุต ุงูุฐู ุชุนุทููู ุฅูุงูุ ูููู ุฃุถุนู ุญูู ูุฌูุจ ู
ู ุฐุงูุฑุชู. ูุฐูู ุงูุตููุง ุงููุต ูุงุทูุจูุง ุงูุงุนุชู
ุงุฏ ุนููู ููุทุ ูุงุทูุจูุง [[Source|ุงูู
ุตุฏุฑ]] (source) ููู ููุทุฉ. ุงูุชุจููุง: ูุฏ ูุฎุชุฑุน [[Citation|ุงุณุชุดูุงุฏูุง ู
ุฑุฌุนููุง]] (citation) ูุจุฏู ุญูููููุง. ูุจู ุงุณุชุฎุฏุงู
ุฃู ุดูุก ู
ูู
ุ [[Fact-check|ุชุญูููุง]] (fact-check) ู
ู ุงูุฃุณู
ุงุก ูุงูุฃุฑูุงู
ูุงูุชูุงุฑูุฎ ูุงูููุงููู ูู ุงูุฃุตู.",
|
| 12 |
+
"gulf": "ุงูู AI ุฒูู ูู ูุชุงุจุฉ [[Summary|ุงูู
ูุฎุต]] (summary) ูููุต ุงููู ุชุนุทูููุ ุจุณ ุฃุถุนู ูู
ุง ูุฌุงูุจ ู
ู ุฑุงุณู. ูุงูุตููุง ุงููุต ูููููุง ูู ูุนุชู
ุฏ ุนููู ุจุณุ ูุงุทูุจูุง [[Source|ุงูู
ุตุฏุฑ]] (source) ููู ููุทุฉ. ุงูุชุจููุง: ู
ู
ูู ูุฃูู [[Citation|ู
ุฑุฌุน]] (citation) ุดููู ุญูููู. ูุจู ู
ุง ุชุณุชุฎุฏู
ูู ุดู ู
ูู
ุ [[Fact-check|ุชุฃูุฏูุง]] (fact-check) ู
ู ุงูุฃุณู
ุงุก ูุงูุฃุฑูุงู
ูุงูุชูุงุฑูุฎ ูุงูููุงููู ูู ุงูุฃุตู." },
|
| 13 |
+
{ "type": "example",
|
| 14 |
+
"en": "Weak: \"What does the new leave law say?\"\nBetter: \"Using only the text below, summarize the leave rules in 5 points. After each point, give the article number. Then list 3 facts I should verify.\" Then open the law and check those 3 facts yourself.",
|
| 15 |
+
"ar": "ุถุนูู: \"ู
ุงุฐุง ูููู ูุงููู ุงูุฅุฌุงุฒุงุช ุงูุฌุฏูุฏุ\"\nุฃูุถู: \"ุจุงูุงุนุชู
ุงุฏ ุนูู ุงููุต ุฃุฏูุงู ููุทุ ูุฎูุต ููุงุนุฏ ุงูุฅุฌุงุฒุงุช ูู 5 ููุงุทุ ูุงุฐูุฑ ุฑูู
ุงูู
ุงุฏุฉ ุจุนุฏ ูู ููุทุฉุ ุซู
ุงุฐูุฑ 3 ู
ุนููู
ุงุช ููุจุบู ุฃู ุฃุชุญูู ู
ููุง.\" ุซู
ุงูุชุญูุง ุงููุงููู ูุชุญูููุง ู
ููุง ุจุฃููุณูู
.",
|
| 16 |
+
"gulf": "ุถุนูู: \"ุดูู ูููู ูุงููู ุงูุฅุฌุงุฒุงุช ุงูุฌุฏูุฏุ\"\nุฃุญุณู: \"ู
ู ุงููุต ุงููู ุชุญุช ุจุณุ ูุฎุต ููุงุนุฏ ุงูุฅุฌุงุฒุงุช ูู 5 ููุงุทุ ูุงูุชุจ ุฑูู
ุงูู
ุงุฏุฉ ุจุนุฏ ูู ููุทุฉุ ูุจุนุฏูู ุงุฐูุฑ 3 ู
ุนููู
ุงุช ูุงุฒู
ุฃุชุฃูุฏ ู
ููุง.\" ูุจุนุฏูุง ุงูุชุญูุง ุงููุงููู ูุชุฃูุฏูุง ุจููุณูู
." },
|
| 17 |
+
{ "type": "key_terms", "en": "", "ar": "", "terms": ["Summary", "Source", "Citation", "Fact-check"] },
|
| 18 |
+
{ "type": "exercise", "en": "", "ar": "",
|
| 19 |
+
"exercises": [
|
| 20 |
+
{ "type": "mcq",
|
| 21 |
+
"question": { "en": "When is an AI summary most reliable?", "ar": "ู
ุชู ูููู ู
ูุฎุต ุงูุฐูุงุก ุงูุงุตุทูุงุนู ุฃูุซุฑ ู
ูุซูููุฉุ", "gulf": "ู
ุชู ูููู ู
ูุฎุต ุงูู AI ุฃูุซูุ" },
|
| 22 |
+
"options": [
|
| 23 |
+
{ "en": "When you paste the text and ask it to use only that text", "ar": "ุนูุฏ ูุตู ุงููุต ูุทูุจ ุงูุงุนุชู
ุงุฏ ุนููู ููุท" },
|
| 24 |
+
{ "en": "When you ask it from memory", "ar": "ุนูุฏ ุณุคุงูู ู
ู ุฐุงูุฑุชู" },
|
| 25 |
+
{ "en": "When the answer sounds confident", "ar": "ุนูุฏู
ุง ุชุจุฏู ุงูุฅุฌุงุจุฉ ูุงุซูุฉ" }
|
| 26 |
+
],
|
| 27 |
+
"correct": 0,
|
| 28 |
+
"explanation": { "en": "Giving it the text keeps the answer tied to something you can check.", "ar": "ุฅุนุทุงุคู ุงููุต ูุฑุจุท ุงูุฅุฌุงุจุฉ ุจุดูุก ูู
ูู ุงูุชุญูู ู
ูู.", "gulf": "ูู
ุง ุชุนุทููู ุงููุตุ ุงูุฌูุงุจ ูููู ู
ุฑุจูุท ุจุดู ุชูุฏุฑูู ุชุชุฃูุฏูู ู
ูู." } },
|
| 29 |
+
{ "type": "fill", "lang": "en",
|
| 30 |
+
"prompt": { "en": "Choose the missing word", "ar": "ุงุฎุชุงุฑูุง ุงูููู
ุฉ ุงููุงูุตุฉ", "gulf": "ุงุฎุชุงุฑูุง ุงูููู
ุฉ ุงููุงูุตุฉ" },
|
| 31 |
+
"sentence": { "en": "Always ___ the numbers against the original report.", "ar": "Always ___ the numbers against the original report." },
|
| 32 |
+
"bank": [ { "en": "summarize" }, { "en": "fact-check" }, { "en": "draft" } ],
|
| 33 |
+
"answer": 1,
|
| 34 |
+
"explanation": { "en": "To fact-check is to compare a claim with a trusted source.", "ar": "ุงูุชุญูู (fact-check) ูู ู
ูุงุฑูุฉ ุงูู
ุนููู
ุฉ ุจู
ุตุฏุฑ ู
ูุซูู.", "gulf": "ุงูุชุฃูุฏ (fact-check) ูุนูู ุชูุงุฑููู ุงูู
ุนููู
ุฉ ุจู
ุตุฏุฑ ู
ูุซูู." } },
|
| 35 |
+
{ "type": "match",
|
| 36 |
+
"prompt": { "en": "Match each term with its Arabic", "ar": "ุตูููุง ูู ู
ุตุทูุญ ุจู
ุง ููุงุจูู", "gulf": "ูุตููุง ูู ู
ุตุทูุญ ุจุงููู ููุงุจูู" },
|
| 37 |
+
"pairs": [
|
| 38 |
+
{ "left": "Summary", "right": { "ar": "ู
ูุฎุต", "en": "ู
ูุฎุต" } },
|
| 39 |
+
{ "left": "Source", "right": { "ar": "ู
ุตุฏุฑ", "en": "ู
ุตุฏุฑ" } },
|
| 40 |
+
{ "left": "Citation", "right": { "ar": "ุงุณุชุดูุงุฏ ู
ุฑุฌุนู", "en": "ุงุณุชุดูุงุฏ ู
ุฑุฌุนู" } }
|
| 41 |
+
],
|
| 42 |
+
"explanation": { "en": "A citation points to a source, so open the link and read it.", "ar": "ุงูุงุณุชุดูุงุฏ ุงูู
ุฑุฌุนู ูุดูุฑ ุฅูู ู
ุตุฏุฑุ ูุงูุชุญูุง ุงูุฑุงุจุท ูุงูุฑุคูู.", "gulf": "ุงูู
ุฑุฌุน ูุดูุฑ ูู
ุตุฏุฑุ ูุงูุชุญูุง ุงูุฑุงุจุท ูุงูุฑูู." } }
|
| 43 |
+
] },
|
| 44 |
+
{ "type": "prompt_lab",
|
| 45 |
+
"config": {
|
| 46 |
+
"task_en": "Write a prompt that summarizes a pasted policy excerpt in 5 points, uses only that text, and lists 3 facts you should verify.",
|
| 47 |
+
"task_ar": "ุงูุชุจูุง ุฃู
ุฑูุง ููุฎุต ู
ูุทุนูุง ู
ูุตูููุง ู
ู ุณูุงุณุฉ ูู 5 ููุงุทุ ุจุงูุงุนุชู
ุงุฏ ุนูู ุงููุต ููุทุ ููุฐูุฑ 3 ู
ุนููู
ุงุช ููุจุบู ุงูุชุญูู ู
ููุง.",
|
| 48 |
+
"task_gulf": "ุงูุชุจูุง ุจุฑูู
ุจุช ููุฎุต ู
ูุทุน ู
ูุตูู ู
ู ุณูุงุณุฉ ูู 5 ููุงุทุ ู
ู ุงููุต ุจุณุ ููุฐูุฑ 3 ู
ุนููู
ุงุช ูุงุฒู
ุชุชุฃูุฏูู ู
ููุง."
|
| 49 |
+
} },
|
| 50 |
+
{ "type": "recap",
|
| 51 |
+
"en": "Paste the text, then ask for a [[Summary]].\nAsk for the [[Source]] of each point.\n[[Fact-check]] before you use it. Tomorrow: data and spreadsheets.",
|
| 52 |
+
"ar": "ุงูุตููุง ุงููุต ุซู
ุงุทูุจูุง [[Summary|ุงูู
ูุฎุต]].\nุงุทูุจูุง [[Source|ุงูู
ุตุฏุฑ]] ููู ููุทุฉ.\n[[Fact-check|ุชุญูููุง]] ูุจู ุงูุงุณุชุฎุฏุงู
. ุบุฏูุง: ุงูุจูุงูุงุช ูุงูุฌุฏุงูู.",
|
| 53 |
+
"gulf": "ุงูุตููุง ุงููุต ูุจุนุฏูู ุงุทูุจูุง [[Summary|ุงูู
ูุฎุต]].\nุงุทูุจูุง [[Source|ุงูู
ุตุฏุฑ]] ููู ููุทุฉ.\n[[Fact-check|ุชุฃูุฏูุง]] ูุจู ู
ุง ุชุณุชุฎุฏู
ูู. ุจุงุฌุฑ: ุงูุจูุงูุงุช ูุงูุฅูุณู." }
|
| 54 |
+
]
|
| 55 |
+
}
|
content/day-5.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"slug": "day-5", "order": 5, "est_minutes": 10,
|
| 3 |
+
"title": { "en": "Working with data and spreadsheets", "ar": "ุงูุชุนุงู
ู ู
ุน ุงูุจูุงูุงุช ูุงูุฌุฏุงูู", "gulf": "ุงูุจูุงูุงุช ูุงูุฅูุณู" },
|
| 4 |
+
"blocks": [
|
| 5 |
+
{ "type": "hook",
|
| 6 |
+
"en": "You have a spreadsheet of a year of sales and need the monthly totals by noon. You know it is possible, but you cannot remember the formula.",
|
| 7 |
+
"ar": "ูุฏููู
ุฌุฏูู ู
ุจูุนุงุช ูุณูุฉ ูุงู
ูุฉุ ูุชุญุชุงุฌูู ุฅูู ุงูู
ุฌุงู
ูุน ุงูุดูุฑูุฉ ูุจู ุงูุธูุฑ. ุชุนุฑููู ุฃู ุฐูู ู
ู
ููุ ููููู
ูุง ุชุชุฐูุฑูู ุงูู
ุนุงุฏูุฉ.",
|
| 8 |
+
"gulf": "ุนูุฏูู
ุฅูุณู ููู ู
ุจูุนุงุช ุณูุฉ ูุงู
ูุฉุ ูุชุญุชุงุฌูู ู
ุฌู
ูุน ูู ุดูุฑ ูุจู ุงูุธูุฑ. ุชุฏุฑูู ุฅูู ู
ู
ููุ ุจุณ ูุงุณูู ุงูููุฑู
ููุง." },
|
| 9 |
+
{ "type": "concept",
|
| 10 |
+
"en": "AI can write a [[Formula]] for you and explain it. Describe your [[Dataset]]: what each [[Column]] holds and which row the data starts on. Say what you want to calculate, and which spreadsheet tool you use. Ask it to explain the formula in simple words. Then test it on a few rows you can check by hand. It can also suggest a [[Chart]] that shows the pattern clearly.",
|
| 11 |
+
"ar": "ูู
ูู ููุฐูุงุก ุงูุงุตุทูุงุนู ูุชุงุจุฉ [[Formula|ุงูู
ุนุงุฏูุฉ]] (formula) ูุดุฑุญูุง. ุตููุง [[Dataset|ู
ุฌู
ูุนุฉ ุงูุจูุงูุงุช]] (dataset): ู
ุงุฐุง ูุญุชูู ูู [[Column|ุนู
ูุฏ]] (column)ุ ูู
ู ุฃู ุตู ุชุจุฏุฃ ุงูุจูุงูุงุช. ุญุฏุฏูุง ู
ุง ุชุฑูุฏูู ุญุณุงุจู ูุงูุจุฑูุงู
ุฌ ุงูุฐู ุชุณุชุฎุฏู
ููู. ุงุทูุจูุง ุดุฑุญ ุงูู
ุนุงุฏูุฉ ุจููู
ุงุช ุจุณูุทุฉุ ุซู
ุฌุฑูุจููุง ุนูู ุตููู ููููุฉ ูู
ูู ุญุณุงุจูุง ูุฏูููุง. ููู
ููู ุฃูุถูุง ุงูุชุฑุงุญ [[Chart|ุฑุณู
ุจูุงูู]] (chart) ููุถุญ ุงููู
ุท.",
|
| 12 |
+
"gulf": "ุงูู AI ููุฏุฑ ููุชุจ ููู
[[Formula|ุงูููุฑู
ููุง]] (formula) ููุดุฑุญูุง. ูุตููุง ูู [[Dataset|ุงูุฏุงุชุง]] (dataset): ุดูู ูู ูู [[Column|ุนู
ูุฏ]] (column)ุ ูู
ู ุฃู ุตู ุชุจุฏุง ุงูุจูุงูุงุช. ููููุง ูู ุดูู ุชุจูู ุชุญุณุจูู ูุฃู ุจุฑูุงู
ุฌ ุชุณุชุฎุฏู
ูู. ุงุทูุจูุง ูุดุฑุญูุง ุจููุงู
ุจุณูุทุ ูุจุนุฏูู ุฌุฑุจููุง ุนูู ูู
ุตู ุชูุฏุฑูู ุชุญุณุจููู ุจูุฏูู
. ูููุฏุฑ ุจุนุฏ ููุชุฑุญ [[Chart|ุชุดุงุฑุช]] (chart) ููุถุญ ุงููู
ุท." },
|
| 13 |
+
{ "type": "example",
|
| 14 |
+
"en": "Prompt: \"In Excel, column A has dates and column B has sale amounts, from row 2 to row 500. Write a formula for the total for March 2026. Explain each part in simple words.\" Then check March by hand on a small sample.",
|
| 15 |
+
"ar": "ุงูุฃู
ุฑ: \"ูู Excelุ ูุญุชูู ุงูุนู
ูุฏ A ุนูู ุงูุชูุงุฑูุฎ ูุงูุนู
ูุฏ B ุนูู ู
ุจุงูุบ ุงูุจูุนุ ู
ู ุงูุตู 2 ุฅูู ุงูุตู 500. ุงูุชุจ ู
ุนุงุฏูุฉ ูู
ุฌู
ูุน ู
ุงุฑุณ 2026ุ ูุงุดุฑุญ ูู ุฌุฒุก ุจููู
ุงุช ุจุณูุทุฉ.\" ุซู
ุชุญูููุง ูุฏูููุง ุนูู ุนููุฉ ุตุบูุฑุฉ.",
|
| 16 |
+
"gulf": "ุงูุจุฑูู
ุจุช: \"ูู Excelุ ุนู
ูุฏ A ููู ุงูุชูุงุฑูุฎ ูุนู
ูุฏ B ููู ู
ุจุงูุบ ุงูุจูุนุ ู
ู ุตู 2 ููู ุตู 500. ุงูุชุจ ููุฑู
ููุง ูู
ุฌู
ูุน ู
ุงุฑุณ 2026ุ ูุงุดุฑุญ ูู ุฌุฒุก ุจููุงู
ุจุณูุท.\" ูุจุนุฏูู ุชุฃูุฏูุง ุจูุฏูู
ุนูู ุนููุฉ ุตุบูุฑุฉ." },
|
| 17 |
+
{ "type": "key_terms", "en": "", "ar": "", "terms": ["Dataset", "Formula", "Column", "Chart"] },
|
| 18 |
+
{ "type": "exercise", "en": "", "ar": "",
|
| 19 |
+
"exercises": [
|
| 20 |
+
{ "type": "match",
|
| 21 |
+
"prompt": { "en": "Match each term with its Arabic", "ar": "ุตูููุง ูู ู
ุตุทูุญ ุจู
ุง ููุงุจูู", "gulf": "ูุตููุง ูู ู
ุตุทูุญ ุจุงููู ููุงุจูู" },
|
| 22 |
+
"pairs": [
|
| 23 |
+
{ "left": "Formula", "right": { "ar": "ู
ุนุงุฏูุฉ", "en": "ู
ุนุงุฏูุฉ", "gulf": "ููุฑู
ููุง" } },
|
| 24 |
+
{ "left": "Column", "right": { "ar": "ุนู
ูุฏ", "en": "ุนู
ูุฏ" } },
|
| 25 |
+
{ "left": "Chart", "right": { "ar": "ุฑุณู
ุจูุงูู", "en": "ุฑุณู
ุจูุงูู", "gulf": "ุชุดุงุฑุช" } },
|
| 26 |
+
{ "left": "Dataset", "right": { "ar": "ู
ุฌู
ูุนุฉ ุจูุงูุงุช", "en": "ู
ุฌู
ูุนุฉ ุจูุงูุงุช", "gulf": "ุฏุงุชุง" } }
|
| 27 |
+
],
|
| 28 |
+
"explanation": { "en": "These four words come up in almost every data request.", "ar": "ุชุชูุฑุฑ ูุฐู ุงูููู
ุงุช ุงูุฃุฑุจุน ูู ู
ุนุธู
ุทูุจุงุช ุงูุจูุงูุงุช.", "gulf": "ูุงูููู
ุงุช ุงูุฃุฑุจุน ุชู
ุฑ ูู ุฃุบูุจ ุทูุจุงุช ุงูุจูุงูุงุช." } },
|
| 29 |
+
{ "type": "mcq",
|
| 30 |
+
"question": { "en": "AI gives you a formula. What should you do before using it on the whole file?", "ar": "ุฃุนุทุงูู
ุงูุฐูุงุก ุงูุงุตุทูุงุนู ู
ุนุงุฏูุฉ. ู
ุงุฐุง ุชูุนููู ูุจู ุงุณุชุฎุฏุงู
ูุง ุนูู ุงูู
ูู ูููุ", "gulf": "ุงูู AI ุนุทุงูู
ููุฑู
ููุง. ุดูู ุชุณููู ูุจู ู
ุง ุชุณุชุฎุฏู
ูููุง ุนูู ุงูู
ูู ูููุ" },
|
| 31 |
+
"options": [
|
| 32 |
+
{ "en": "Trust it, because it looks complex", "ar": "ุงููุซูู ุจูุง ูุฃููุง ุชุจุฏู ู
ุนูุฏุฉ" },
|
| 33 |
+
{ "en": "Test it on a few rows you can check by hand", "ar": "ุชุฌุฑุจุชูุง ุนูู ุตููู ููููุฉ ูู
ูู ุญุณุงุจูุง ูุฏูููุง" },
|
| 34 |
+
{ "en": "Ask a different AI tool to approve it", "ar": "ุทูุจ ู
ูุงููุฉ ุฃุฏุงุฉ ุฐูุงุก ุงุตุทูุงุนู ุฃุฎุฑู" }
|
| 35 |
+
],
|
| 36 |
+
"correct": 1, "speak": "formula",
|
| 37 |
+
"explanation": { "en": "A formula can run without errors and still give the wrong number. Check a small sample.", "ar": "ูุฏ ุชุนู
ู ุงูู
ุนุงุฏูุฉ ู
ู ุฏูู ุฃุฎุทุงุก ูุชุนุทู ุฑูู
ูุง ุฎุงุทุฆูุง. ุชุญูููุง ู
ู ุนููุฉ ุตุบูุฑุฉ.", "gulf": "ุงูููุฑู
ููุง ู
ู
ูู ุชุดุชุบู ุจุฏูู ุฎุทุฃ ูุชุนุทู ุฑูู
ุบูุท. ุชุฃูุฏูุง ู
ู ุนููุฉ ุตุบูุฑุฉ." } },
|
| 38 |
+
{ "type": "order", "lang": "en",
|
| 39 |
+
"prompt": { "en": "Build this request in English: \"Explain this formula in simple words.\"", "ar": "ูููููุง ูุฐุง ุงูุทูุจ ุจุงูุฅูุฌููุฒูุฉ: \"ุงุดุฑุญ ูุฐู ุงูู
ุนุงุฏูุฉ ุจููู
ุงุช ุจุณูุทุฉ.\"", "gulf": "ุฑูุจูุง ูุงูุทูุจ ุจุงูุฅูุฌููุฒู: \"ุงุดุฑุญ ูุงูููุฑู
ููุง ุจููุงู
ุจุณูุท.\"" },
|
| 40 |
+
"items": ["Explain", "this", "formula", "in", "simple", "words"],
|
| 41 |
+
"explanation": { "en": "Explain this formula in simple words.", "ar": "Explain this formula in simple words.", "gulf": "Explain this formula in simple words." } }
|
| 42 |
+
] },
|
| 43 |
+
{ "type": "prompt_lab",
|
| 44 |
+
"config": {
|
| 45 |
+
"task_en": "Write a prompt asking for a formula that calculates monthly totals. Describe the columns, the rows and your spreadsheet tool, and ask for an explanation in simple words.",
|
| 46 |
+
"task_ar": "ุงูุชุจูุง ุฃู
ุฑูุง ูุทูุจ ู
ุนุงุฏูุฉ ูุญุณุงุจ ุงูู
ุฌุงู
ูุน ุงูุดูุฑูุฉ. ุตููุง ุงูุฃุนู
ุฏุฉ ูุงูุตููู ูุงูุจุฑูุงู
ุฌุ ูุงุทูุจูุง ุดุฑุญูุง ุจููู
ุงุช ุจุณูุทุฉ.",
|
| 47 |
+
"task_gulf": "ุงูุชุจูุง ุจุฑูู
ุจุช ูุทูุจ ููุฑู
ููุง ุชุญุณุจ ู
ุฌู
ูุน ูู ุดูุฑ. ูุตููุง ุงูุฃุนู
ุฏุฉ ูุงูุตููู ูุงูุจุฑูุงู
ุฌุ ูุงุทูุจูุง ุดุฑุญ ุจููุงู
ุจุณูุท."
|
| 48 |
+
} },
|
| 49 |
+
{ "type": "recap",
|
| 50 |
+
"en": "Describe your [[Dataset]] and each [[Column]].\nAsk for the [[Formula]] and an explanation.\nTest it on a small sample first. Tomorrow: safe use of AI at work.",
|
| 51 |
+
"ar": "ุตููุง [[Dataset|ู
ุฌู
ูุนุฉ ุงูุจูุงูุงุช]] ููู [[Column|ุนู
ูุฏ]].\nุงุทูุจูุง [[Formula|ุงูู
ุนุงุฏูุฉ]] ูุดุฑุญูุง.\nุฌุฑูุจููุง ุนูู ุนููุฉ ุตุบูุฑุฉ ุฃูููุง. ุบุฏูุง: ุงูุงุณุชุฎุฏุงู
ุงูุขู
ู ูู ุงูุนู
ู.",
|
| 52 |
+
"gulf": "ูุตููุง [[Dataset|ุงูุฏุงุชุง]] ููู [[Column|ุนู
ูุฏ]].\nุงุทูุจูุง [[Formula|ุงูููุฑู
ููุง]] ูุดุฑุญูุง.\nุฌุฑุจููุง ุนูู ุนููุฉ ุตุบูุฑุฉ ุฃูู. ุจุงุฌุฑ: ุงูุงุณุชุฎุฏุงู
ุงูุขู
ู ูู ุงูุดุบู." }
|
| 53 |
+
]
|
| 54 |
+
}
|
content/day-6.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"slug": "day-6", "order": 6, "est_minutes": 10,
|
| 3 |
+
"title": { "en": "Safe and responsible AI at work", "ar": "ุงูุงุณุชุฎุฏุงู
ุงูุขู
ู ูุงูู
ุณุคูู ููุฐูุงุก ุงูุงุตุทูุงุนู", "gulf": "ุงูุงุณุชุฎุฏุงู
ุงูุขู
ู ููู AI ูู ุงูุดุบู" },
|
| 4 |
+
"blocks": [
|
| 5 |
+
{ "type": "hook",
|
| 6 |
+
"en": "A colleague pastes a client contract with names and prices into a free AI tool to \"make it shorter.\" Nobody meant any harm. Could this still be a serious problem?",
|
| 7 |
+
"ar": "ููุตู ุฒู
ูู ุนูุฏ ุนู
ูู ุจุฃุณู
ุงุฆู ูุฃุณุนุงุฑู ูู ุฃุฏุงุฉ ุฐูุงุก ุงุตุทูุงุนู ู
ุฌุงููุฉ \"ูุงุฎุชุตุงุฑู\". ูู
ููุตุฏ ุฃุญุฏ ุงูุฅุถุฑุงุฑ. ูู ูู
ูู ุฃู ุชููู ูุฐู ู
ุดููุฉ ุฎุทูุฑุฉ ุฑุบู
ุฐููุ",
|
| 8 |
+
"gulf": "ุฒู
ูููู
ูุตู ุนูุฏ ุนู
ูู ููู ุฃุณู
ุงุก ูุฃุณุนุงุฑ ูู ุฃุฏุงุฉ AI ู
ุฌุงููุฉ \"ุนุดุงู ูุฎุชุตุฑู\". ู
ุญุฏ ูุตุฏู ุดู. ุจุณ ู
ู
ูู ุชุตูุฑ ู
ุดููุฉ ูุจูุฑุฉุ" },
|
| 9 |
+
{ "type": "concept",
|
| 10 |
+
"en": "Before you paste anything, ask three questions. Does it contain [[Personal data]], such as names or ID numbers? Is it covered by [[Confidentiality]], such as contracts or prices? What does your employer's [[Data policy]] allow? If you are unsure, remove the details and use placeholders like [client name]. AI can also carry [[Bias]] from its training data, so a person must review any decision about people.",
|
| 11 |
+
"ar": "ูุจู ูุตู ุฃู ุดูุกุ ุงุณุฃููุง ุซูุงุซุฉ ุฃุณุฆูุฉ. ูู ูุญุชูู ุนูู [[Personal data|ุจูุงูุงุช ุดุฎุตูุฉ]] (personal data) ู
ุซู ุงูุฃุณู
ุงุก ุฃู ุฃุฑูุงู
ุงููููุฉุ ูู ุชุดู
ูู [[Confidentiality|ุงูุณุฑูุฉ]] (confidentiality) ู
ุซู ุงูุนููุฏ ุฃู ุงูุฃุณุนุงุฑุ ู
ุงุฐุง ุชุณู
ุญ ุจู [[Data policy|ุณูุงุณุฉ ุงูุจูุงูุงุช]] (data policy) ูู ุฌูุฉ ุนู
ููู
ุ ุฅู ูู
ุชุชุฃูุฏูุงุ ุงุญุฐููุง ุงูุชูุงุตูู ูุงุณุชุฎุฏู
ูุง ุจุฏุงุฆู ู
ุซู [ุงุณู
ุงูุนู
ูู]. ููุฏ ูุญู
ู ุงูุฐูุงุก ุงูุงุตุทูุงุนู [[Bias|ุชุญูุฒูุง]] (bias) ู
ู ุจูุงูุงุช ุชุฏุฑูุจูุ ูุฐุง ูุฌุจ ุฃู ูุฑุงุฌุน ุฅูุณุงู ุฃู ูุฑุงุฑ ูุฎุต ุงููุงุณ.",
|
| 12 |
+
"gulf": "ูุจู ู
ุง ุชูุตููู ุฃู ุดูุ ุงุณุฃููุง ุซูุงุซ ุฃุณุฆูุฉ. ููู [[Personal data|ุจูุงูุงุช ุดุฎุตูุฉ]] (personal data) ู
ุซู ุงูุฃุณู
ุงุก ุฃู ุฃุฑูุงู
ุงูุจุทุงูุงุชุ ุฏุงุฎู ุชุญุช [[Confidentiality|ุงูุณุฑูุฉ]] (confidentiality) ู
ุซู ุงูุนููุฏ ุฃู ุงูุฃุณุนุงุฑุ ุดูู ุชุณู
ุญ ููู [[Data policy|ุณูุงุณุฉ ุงูุจูุงูุงุช]] (data policy) ูู ุดุฑูุชูู
ุ ุฅุฐุง ู
ู ู
ุชุฃูุฏููุ ุดูููุง ุงูุชูุงุตูู ูุงุณุชุฎุฏู
ูุง ุจุฏุงูู ู
ุซู [ุงุณู
ุงูุนู
ูู]. ูุงูู AI ู
ู
ูู ูููู ููู [[Bias|ุชุญูุฒ]] (bias) ู
ู ุงูุจูุงูุงุช ุงููู ุชุฏุฑุจ ุนูููุงุ ููุงุฒู
ุฅูุณุงู ูุฑุงุฌุน ุฃู ูุฑุงุฑ ูุฎุต ุงููุงุณ." },
|
| 13 |
+
{ "type": "example",
|
| 14 |
+
"en": "Unsafe: \"Shorten this contract with Al Noor Trading, price QAR 2.4 million, signed by Ahmed Hassan.\"\nSafer: \"Shorten this contract clause. Client: [client]. Price: [amount]. Signatory: [name].\" You lose nothing, and you share nothing private.",
|
| 15 |
+
"ar": "ุบูุฑ ุขู
ู: \"ุงุฎุชุตุฑ ูุฐุง ุงูุนูุฏ ู
ุน ุดุฑูุฉ ุงูููุฑ ููุชุฌุงุฑุฉุ ุจููู
ุฉ 2.4 ู
ูููู ุฑูุงูุ ุจุชูููุน ุฃุญู
ุฏ ุญุณู.\"\nุฃูุซุฑ ุฃู
ุงููุง: \"ุงุฎุชุตุฑ ูุฐุง ุงูุจูุฏ. ุงูุนู
ูู: [ุงูุนู
ูู]. ุงูุณุนุฑ: [ุงูู
ุจูุบ]. ุงูู
ูููุน: [ุงูุงุณู
].\" ูุง ุชุฎุณุฑูู ุดูุฆูุงุ ููุง ุชุดุงุฑููู ุดูุฆูุง ุฎุงุตูุง.",
|
| 16 |
+
"gulf": "ู
ู ุขู
ู: \"ุงุฎุชุตุฑ ูุงูุนูุฏ ู
ุน ุดุฑูุฉ ุงูููุฑ ููุชุฌุงุฑุฉุ ุจููู
ุฉ 2.4 ู
ูููู ุฑูุงูุ ุจุชูููุน ุฃุญู
ุฏ ุญุณู.\"\nุขู
ู ุฃูุซุฑ: \"ุงุฎุชุตุฑ ูุงูุจูุฏ. ุงูุนู
ูู: [ุงูุนู
ูู]. ุงูุณุนุฑ: [ุงูู
ุจูุบ]. ุงูู
ููุน: [ุงูุงุณู
].\" ู
ุง ุชุฎุณุฑูู ุดูุ ูู
ุง ุชุดุงุฑููู ุดู ุฎุงุต." },
|
| 17 |
+
{ "type": "key_terms", "en": "", "ar": "", "terms": ["Personal data", "Confidentiality", "Bias", "Data policy"] },
|
| 18 |
+
{ "type": "exercise", "en": "", "ar": "",
|
| 19 |
+
"exercises": [
|
| 20 |
+
{ "type": "mcq",
|
| 21 |
+
"question": { "en": "Which one is personal data?", "ar": "ุฃู ู
ู
ุง ููู ุจูุงูุงุช ุดุฎุตูุฉุ", "gulf": "ุฃู ูุงุญุฏ ู
ู ูุฐู ุจูุงูุงุช ุดุฎุตูุฉุ" },
|
| 22 |
+
"options": [
|
| 23 |
+
{ "en": "The average price of oil last year", "ar": "ู
ุชูุณุท ุณุนุฑ ุงูููุท ุงูุนุงู
ุงูู
ุงุถู" },
|
| 24 |
+
{ "en": "An employee's ID number", "ar": "ุฑูู
ูููุฉ ู
ูุธู" },
|
| 25 |
+
{ "en": "The name of a public law", "ar": "ุงุณู
ูุงููู ุนุงู
" }
|
| 26 |
+
],
|
| 27 |
+
"correct": 1, "speak": "personal data",
|
| 28 |
+
"explanation": { "en": "An ID number can identify a person, so it is personal data.", "ar": "ุฑูู
ุงููููุฉ ูุญุฏุฏ ุดุฎุตูุงุ ููู ุจูุงูุงุช ุดุฎุตูุฉ.", "gulf": "ุฑูู
ุงูุจุทุงูุฉ ูุนุฑู ู
ูู ุงูุดุฎุตุ ููู ุจูุงูุงุช ุดุฎุตูุฉ." } },
|
| 29 |
+
{ "type": "match",
|
| 30 |
+
"prompt": { "en": "Match each term with its Arabic", "ar": "ุตูููุง ูู ู
ุตุทูุญ ุจู
ุง ูู๏ฟฝ๏ฟฝุจูู", "gulf": "ูุตููุง ูู ู
ุตุทูุญ ุจุงููู ููุงุจูู" },
|
| 31 |
+
"pairs": [
|
| 32 |
+
{ "left": "Confidentiality", "right": { "ar": "ุงูุณุฑูุฉ", "en": "ุงูุณุฑูุฉ" } },
|
| 33 |
+
{ "left": "Bias", "right": { "ar": "ุงูุชุญูุฒ", "en": "ุงูุชุญูุฒ" } },
|
| 34 |
+
{ "left": "Data policy", "right": { "ar": "ุณูุงุณุฉ ุงูุจูุงูุงุช", "en": "ุณูุงุณุฉ ุงูุจูุงูุงุช" } }
|
| 35 |
+
],
|
| 36 |
+
"explanation": { "en": "Know these three before you paste work text into any tool.", "ar": "ุงุนุฑููุง ูุฐู ุงูุซูุงุซุฉ ูุจู ูุตู ูุตูุต ุงูุนู
ู ูู ุฃู ุฃุฏุงุฉ.", "gulf": "ุงุนุฑููุง ูุงูุซูุงุซุฉ ูุจู ู
ุง ุชูุตููู ูุตูุต ุงูุดุบู ูู ุฃู ุฃุฏุงุฉ." } },
|
| 37 |
+
{ "type": "fill", "lang": "en",
|
| 38 |
+
"prompt": { "en": "Choose the missing word", "ar": "ุงุฎุชุงุฑูุง ุงูููู
ุฉ ุงููุงูุตุฉ", "gulf": "ุงุฎุชุงุฑูุง ุงูููู
ุฉ ุงููุงูุตุฉ" },
|
| 39 |
+
"sentence": { "en": "Remove personal ___ before you paste the text.", "ar": "Remove personal ___ before you paste the text." },
|
| 40 |
+
"bank": [ { "en": "data" }, { "en": "tone" }, { "en": "chart" } ],
|
| 41 |
+
"answer": 0,
|
| 42 |
+
"explanation": { "en": "Remove personal data before you paste the text.", "ar": "Remove personal data: ุงุญุฐููุง ุงูุจูุงูุงุช ุงูุดุฎุตูุฉ ูุจู ูุตู ุงููุต.", "gulf": "Remove personal data: ุดูููุง ุงูุจูุงูุงุช ุงูุดุฎุตูุฉ ูุจู ู
ุง ุชูุตููู ุงููุต." } }
|
| 43 |
+
] },
|
| 44 |
+
{ "type": "prompt_lab",
|
| 45 |
+
"config": {
|
| 46 |
+
"task_en": "Rewrite this prompt so it holds no confidential information: \"Write a reply to Sara Al Thani about her salary of QAR 18,000 and her medical leave.\"",
|
| 47 |
+
"task_ar": "ุฃุนูุฏูุง ูุชุงุจุฉ ูุฐุง ุงูุฃู
ุฑ ููุฎูู ู
ู ุงูู
ุนููู
ุงุช ุงูุณุฑูุฉ: \"ุงูุชุจ ุฑุฏูุง ุฅูู ุณุงุฑุฉ ุงูุซุงูู ุจุดุฃู ุฑุงุชุจูุง ุงูุจุงูุบ 18,000 ุฑูุงู ูุฅุฌุงุฒุชูุง ุงูู
ุฑุถูุฉ.\"",
|
| 48 |
+
"task_gulf": "ุนูุฏูุง ูุชุงุจุฉ ูุงูุจุฑูู
ุจุช ุนุดุงู ู
ุง ูููู ููู ู
ุนููู
ุงุช ุณุฑูุฉ: \"ุงูุชุจ ุฑุฏ ูุณุงุฑุฉ ุงูุซุงูู ุนู ุฑุงุชุจูุง 18,000 ุฑูุงู ูุฅุฌุงุฒุชูุง ุงูู
ุฑุถูุฉ.\""
|
| 49 |
+
} },
|
| 50 |
+
{ "type": "recap",
|
| 51 |
+
"en": "Check for [[Personal data]] and [[Confidentiality]] first.\nUse placeholders such as [client name].\nFollow your [[Data policy]], and review decisions for [[Bias]]. Tomorrow: your own AI workflow.",
|
| 52 |
+
"ar": "ุงุจุญุซูุง ุฃูููุง ุนู [[Personal data|ุงูุจูุงูุงุช ุงูุดุฎุตูุฉ]] ู[[Confidentiality|ุงูุณุฑูุฉ]].\nุงุณุชุฎุฏู
ูุง ุจุฏุงุฆู ู
ุซู [ุงุณู
ุงูุนู
ูู].\nุงุชุจุนูุง [[Data policy|ุณูุงุณุฉ ุงูุจูุงูุงุช]]ุ ูุฑุงุฌุนูุง ุงููุฑุงุฑุงุช ุจุญุซูุง ุนู [[Bias|ุงูุชุญูุฒ]]. ุบุฏูุง: ุณูุฑ ุนู
ููู
ุงูุดุฎุตู.",
|
| 53 |
+
"gulf": "ุดูููุง ุฃูู ุนูู [[Personal data|ุงูุจูุงูุงุช ุงูุดุฎุตูุฉ]] ู[[Confidentiality|ุงูุณุฑูุฉ]].\nุงุณุชุฎุฏู
ูุง ุจุฏุงูู ู
ุซู [ุงุณู
ุงูุนู
ูู].\nุงู
ุดูุง ุนูู [[Data policy|ุณูุงุณุฉ ุงูุจูุงูุงุช]]ุ ูุฑุงุฌุนูุง ุงููุฑุงุฑุงุช ู
ู [[Bias|ุงูุชุญูุฒ]]. ุจุงุฌุฑ: ุทุฑููุชูู
ุงูุฎุงุตุฉ ูู ุงูุดุบู ู
ุน ุงูู AI." }
|
| 54 |
+
]
|
| 55 |
+
}
|
content/day-7.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"slug": "day-7", "order": 7, "est_minutes": 12,
|
| 3 |
+
"title": { "en": "Build your personal AI workflow", "ar": "ุงุจููุง ุณูุฑ ุนู
ููู
ุงูุดุฎุตู ุจุงูุฐูุงุก ุงูุงุตุทูุงุนู", "gulf": "ุณููุง ุทุฑููุชูู
ุงูุฎุงุตุฉ ู
ุน ุงูู AI" },
|
| 4 |
+
"blocks": [
|
| 5 |
+
{ "type": "hook",
|
| 6 |
+
"en": "Every Thursday you write the same weekly update, and every Thursday you write the prompt from nothing. You have now learned enough to stop doing that.",
|
| 7 |
+
"ar": "ุชูุชุจูู ุงูุชูุฑูุฑ ุงูุฃุณุจูุนู ููุณู ูู ุฎู
ูุณุ ูุชูุชุจูู ุงูุฃู
ุฑ ู
ู ุงูุตูุฑ ูู ู
ุฑุฉ. ุชุนููู
ุชู
ุงูุขู ู
ุง ูููู ููุชููู ุนู ุฐูู.",
|
| 8 |
+
"gulf": "ูู ุฎู
ูุณ ุชูุชุจูู ููุณ ุงูุชูุฑูุฑ ุงูุฃุณุจูุนูุ ููู ู
ุฑุฉ ุชูุชุจูู ุงูุจุฑูู
ุจุช ู
ู ุงูุตูุฑ. ุงูุญูู ุชุนูู
ุชูุง ุงููู ูููู ุนุดุงู ุชููููู ูุงูุดู." },
|
| 9 |
+
{ "type": "concept",
|
| 10 |
+
"en": "Find a task you repeat, and write its steps: that is your [[Workflow]]. Turn the prompt into a [[Template]]: fixed text, with a [[Variable]] for whatever changes, such as [week] or [client]. For bigger tasks, use [[Chaining]]: the answer from one prompt becomes the input to the next. Summarize first, then write the email from the summary. Save your templates where you can find them.",
|
| 11 |
+
"ar": "ุงุฎุชุงุฑูุง ู
ูู
ุฉ ุชุชูุฑุฑ ูุงูุชุจูุง ุฎุทูุงุชูุง: ูุฐุง ูู [[Workflow|ุณูุฑ ุงูุนู
ู]] (workflow). ุญููููุง ุงูุฃู
ุฑ ุฅูู [[Template|ูุงูุจ]] (template): ูุต ุซุงุจุช ู
ุน [[Variable|ู
ุชุบูุฑ]] (variable) ููู ู
ุง ูุชุบูุฑุ ู
ุซู [ุงูุฃุณุจูุน] ุฃู [ุงูุนู
ูู]. ููู ุงูู
ูุงู
ุงูุฃูุจุฑ ุงุณุชุฎุฏู
ูุง [[Chaining|ุชุณูุณู ุงูุฃูุงู
ุฑ]] (chaining): ุชุตุจุญ ุฅุฌุงุจุฉ ุฃู
ุฑ ู
ุฏุฎููุง ููุฃู
ุฑ ุงูุชุงูู. ูุฎูุตูุง ุฃูููุงุ ุซู
ุงูุชุจูุง ุงูุฑุณุงูุฉ ู
ู ุงูู
ูุฎุต. ุงุญูุธูุง ููุงูุจูู
ูู ู
ูุงู ูุณูู ุงููุตูู ุฅููู.",
|
| 12 |
+
"gulf": "ุงุฎุชุงุฑูุง ุดุบูุฉ ุชุชูุฑุฑ ูุงูุชุจูุง ุฎุทูุงุชูุง: ูุฐุง ูู [[Workflow|ุณูุฑ ุงูุนู
ู]] (workflow). ุญูููุง ุงูุจุฑูู
ุจุช ุฅูู [[Template|ุชู
ุจูุช]] (template): ูุต ุซุงุจุช ู
ุน [[Variable|ู
ุชุบูุฑ]] (variable) ููู ุดู ูุชุบูุฑุ ู
ุซู [ุงูุฃุณุจูุน] ุฃู [ุงูุนู
ูู]. ููู ุงูุดุบู ุงูุฃูุจุฑ ุงุณุชุฎุฏู
ูุง [[Chaining|ุชุณูุณู ุงูุฃูุงู
ุฑ]] (chaining): ุฌูุงุจ ุจุฑูู
ุจุช ูุฏุฎู ูู ุงููู ุจุนุฏู. ูุฎุตูุง ุฃููุ ูุจุนุฏูู ุงูุชุจูุง ุงูุฅูู
ูู ู
ู ุงูู
ูุฎุต. ุงุญูุธูุง ุงูุชู
ุจูุชุงุช ูู ู
ูุงู ุณูู ุชูุตููู ูู." },
|
| 13 |
+
{ "type": "example",
|
| 14 |
+
"en": "Template: \"Act as my assistant. Using the notes below, write a weekly update for [manager name] covering [week]. Use 3 sections: done, next, blocked. Keep it under 120 words, in a formal tone. Notes: [notes]\". Next Thursday, you only fill in the blanks.",
|
| 15 |
+
"ar": "ุงููุงูุจ: \"ุชุตุฑูู ูู
ุณุงุนุฏู. ุจุงูุงุนุชู
ุงุฏ ุนูู ุงูู
ูุงุญุธุงุช ุฃุฏูุงูุ ุงูุชุจ ุชูุฑูุฑูุง ุฃุณุจูุนููุง ุฅูู [ุงุณู
ุงูู
ุฏูุฑ] ุนู [ุงูุฃุณุจูุน]ุ ูู 3 ุฃูุณุงู
: ู
ุง ุฃููุฌุฒุ ูุงูุชุงููุ ูุงูุนูุงุฆู. ูู ุฃูู ู
ู 120 ููู
ุฉ ูุจูุจุฑุฉ ุฑุณู
ูุฉ. ุงูู
ูุงุญุธุงุช: [ุงูู
ูุงุญุธุงุช]\". ูู ุงูุฎู
ูุณ ุงูุชุงููุ ุงู
ูุคูุง ุงููุฑุงุบุงุช ููุท.",
|
| 16 |
+
"gulf": "ุงูุชู
ุจูุช: \"ุชุตุฑู ูู
ุณุงุนุฏู. ู
ู ุงูู
ูุงุญุธุงุช ุงููู ุชุญุชุ ุงูุชุจ ุชูุฑูุฑ ุฃุณุจูุนู ูู [ุงุณู
ุงูู
ุฏูุฑ] ุนู [ุงูุฃุณุจูุน]ุ ูู 3 ุฃูุณุงู
: ุงููู ุฎูุตุ ูุงููู ุจุนุฏูุ ูุงูุนูุงูู. ุฃูู ู
ู 120 ููู
ุฉ ูุจุฃุณููุจ ุฑุณู
ู. ุงูู
ูุงุญุธุงุช: [ุงูู
ูุงุญุธุงุช]\". ุงูุฎู
ูุณ ุงูุฌุงูุ ุจุณ ุนุจูุง ุงููุฑุงุบุงุช." },
|
| 17 |
+
{ "type": "key_terms", "en": "", "ar": "", "terms": ["Workflow", "Template", "Variable", "Chaining"] },
|
| 18 |
+
{ "type": "exercise", "en": "", "ar": "",
|
| 19 |
+
"exercises": [
|
| 20 |
+
{ "type": "match",
|
| 21 |
+
"prompt": { "en": "Match each term with its Arabic", "ar": "ุตูููุง ูู ู
ุตุทูุญ ุจู
ุง ููุงุจูู", "gulf": "ูุตููุง ูู ู
ุตุทูุญ ุจุงููู ููุงุจูู" },
|
| 22 |
+
"pairs": [
|
| 23 |
+
{ "left": "Workflow", "right": { "ar": "ุณูุฑ ุงูุนู
ู", "en": "ุณูุฑ ุงูุนู
ู" } },
|
| 24 |
+
{ "left": "Template", "right": { "ar": "ูุงูุจ", "en": "ูุงูุจ", "gulf": "ุชู
ุจูุช" } },
|
| 25 |
+
{ "left": "Variable", "right": { "ar": "ู
ุชุบูุฑ", "en": "ู
ุชุบูุฑ" } },
|
| 26 |
+
{ "left": "Chaining", "right": { "ar": "ุชุณูุณู ุงูุฃูุงู
ุฑ", "en": "ุชุณูุณู ุงูุฃูุงู
ุฑ" } }
|
| 27 |
+
],
|
| 28 |
+
"explanation": { "en": "Together, these turn one good prompt into a habit that saves time every week.", "ar": "ู
ุนูุง ุชุญููู ูุฐู ุงูุฃู
ุฑ ุงูุฌูุฏ ุฅูู ุนุงุฏุฉ ุชููุฑ ุงูููุช ูู ุฃุณุจูุน.", "gulf": "ู
ุน ุจุนุถุ ุชุฎูู ุงูุจุฑูู
ุจุช ุงูุฒูู ุนุงุฏุฉ ุชููุฑ ุนูููู
ููุช ูู ุฃุณุจูุน." } },
|
| 29 |
+
{ "type": "mcq",
|
| 30 |
+
"question": { "en": "In a template, what is [client name]?", "ar": "ูู ุงููุงูุจุ ู
ุงุฐ๏ฟฝ๏ฟฝ ูููู [ุงุณู
ุงูุนู
ูู]ุ", "gulf": "ูู ุงูุชู
ุจูุชุ ุดูู ูููู [ุงุณู
ุงูุนู
ูู]ุ" },
|
| 31 |
+
"options": [
|
| 32 |
+
{ "en": "A variable", "ar": "ู
ุชุบูุฑ" },
|
| 33 |
+
{ "en": "A hallucination", "ar": "ูููุณุฉ" },
|
| 34 |
+
{ "en": "A citation", "ar": "ุงุณุชุดูุงุฏ ู
ุฑุฌุนู" }
|
| 35 |
+
],
|
| 36 |
+
"correct": 0, "speak": "variable",
|
| 37 |
+
"explanation": { "en": "A variable is a blank you fill in each time.", "ar": "ุงูู
ุชุบูุฑ ูุฑุงุบ ุชู
ูุคููู ูู ูู ู
ุฑุฉ.", "gulf": "ุงูู
ุชุบูุฑ ูุฑุงุบ ุชุนุจููู ูู ู
ุฑุฉ." } },
|
| 38 |
+
{ "type": "order",
|
| 39 |
+
"prompt": { "en": "Put these chaining steps in order", "ar": "ุฑุชูุจูุง ุฎุทูุงุช ุชุณูุณู ุงูุฃูุงู
ุฑ", "gulf": "ุฑุชุจูุง ุฎุทูุงุช ุชุณูุณู ุงูุฃูุงู
ุฑ" },
|
| 40 |
+
"items": [
|
| 41 |
+
{ "en": "Summarize the report", "ar": "ูุฎูุตูุง ุงูุชูุฑูุฑ", "gulf": "ูุฎุตูุง ุงูุชูุฑูุฑ" },
|
| 42 |
+
{ "en": "Write the email from the summary", "ar": "ุงูุชุจูุง ุงูุฑุณุงูุฉ ู
ู ุงูู
ูุฎุต", "gulf": "ุงูุชุจูุง ุงูุฅูู
ูู ู
ู ุงูู
ูุฎุต" },
|
| 43 |
+
{ "en": "Fact-check the email", "ar": "ุชุญูููุง ู
ู ุงูุฑุณุงูุฉ", "gulf": "ุชุฃูุฏูุง ู
ู ุงูุฅูู
ูู" },
|
| 44 |
+
{ "en": "Send it", "ar": "ุฃุฑุณูููุง", "gulf": "ุฃุฑุณููู" }
|
| 45 |
+
],
|
| 46 |
+
"explanation": { "en": "Each answer feeds the next step, and the check comes before you send.", "ar": "ูู ุฅุฌุงุจุฉ ุชุบุฐู ุงูุฎุทูุฉ ุงูุชุงููุฉุ ูุงูุชุญูู ูุฃุชู ูุจู ุงูุฅุฑุณุงู.", "gulf": "ูู ุฌูุงุจ ูุฏุฎู ูู ุงูุฎุทูุฉ ุงููู ุจุนุฏูุ ูุงูุชุฃูุฏ ูููู ูุจู ุงูุฅุฑุณุงู." } }
|
| 47 |
+
] },
|
| 48 |
+
{ "type": "prompt_lab",
|
| 49 |
+
"config": {
|
| 50 |
+
"task_en": "Write a reusable template for one task you repeat at work. Use at least two variables in square brackets, and include a goal, context, format and constraints.",
|
| 51 |
+
"task_ar": "ุงูุชุจูุง ูุงูุจูุง ููุนุงุฏ ุงุณุชุฎุฏุงู
ู ูู
ูู
ุฉ ุชุชูุฑุฑ ูู ุนู
ููู
. ุงุณุชุฎุฏู
ูุง ู
ุชุบูุฑูู ุนูู ุงูุฃูู ุจูู ููุณูู ู
ุฑุจุนููุ ู
ุน ูุฏู ูุณูุงู ูุตูุบุฉ ููููุฏ.",
|
| 52 |
+
"task_gulf": "ุงูุชุจูุง ุชู
ุจูุช ุชุณุชุฎุฏู
ููู ูู ู
ุฑุฉ ูุดุบูุฉ ุชุชูุฑุฑ ุนูุฏูู
. ุงุณุชุฎุฏู
ูุง ู
ุชุบูุฑูู ุนูู ุงูุฃูู ุจูู ููุณูู ู
ุฑุจุนุฉุ ูููู ูุฏู ูุณูุงู ูุตูุบุฉ ูุดุฑูุท."
|
| 53 |
+
} },
|
| 54 |
+
{ "type": "recap",
|
| 55 |
+
"en": "Find a repeated task: that is your [[Workflow]].\nSave a [[Template]] with a [[Variable]] for what changes.\nUse [[Chaining]] for bigger work. You finished the course, and your terms will keep coming back in review.",
|
| 56 |
+
"ar": "ุงุฎุชุงุฑูุง ู
ูู
ุฉ ู
ุชูุฑุฑุฉ: ูุฐุง ูู [[Workflow|ุณูุฑ ุงูุนู
ู]].\nุงุญูุธูุง [[Template|ูุงูุจูุง]] ู
ุน [[Variable|ู
ุชุบูุฑ]] ูู
ุง ูุชุบูุฑ.\nุงุณุชุฎุฏู
ูุง [[Chaining|ุชุณูุณู ุงูุฃูุงู
ุฑ]] ูู ุงูุฃุนู
ุงู ุงูุฃูุจุฑ. ุฃูู
ูุชู
ุงูุฏูุฑุฉุ ูุณุชูุงุตู ุงูู
ุตุทูุญุงุช ุงูุนูุฏุฉ ูู ุงูู
ุฑุงุฌุนุฉ.",
|
| 57 |
+
"gulf": "ุงุฎุชุงุฑูุง ุดุบูุฉ ุชุชูุฑุฑ: ูุฐุง ูู [[Workflow|ุณูุฑ ุงูุนู
ู]].\nุงุญูุธูุง [[Template|ุชู
ุจูุช]] ู
ุน [[Variable|ู
ุชุบูุฑ]] ููู ูุชุบูุฑ.\nุงุณุชุฎุฏู
ูุง [[Chaining|ุชุณูุณู ุงูุฃูุงู
ุฑ]] ูู ุงูุดุบู ุงูุฃูุจุฑ. ุฎูุตุชูุง ุงูุฏูุฑุฉุ ูุงูู
ุตุทูุญุงุช ุจุชุธู ุชุฑุฌุน ููู
ูู ุงูู
ุฑุงุฌุนุฉ." }
|
| 58 |
+
]
|
| 59 |
+
}
|
content/glossary.json
ADDED
|
@@ -0,0 +1,313 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"term_en": "AI", "term_msa": "ุงูุฐูุงุก ุงูุงุตุทูุงุนู", "term_gulf": "ุงูู AI",
|
| 4 |
+
"domain": "ai",
|
| 5 |
+
"analogy_ar": "ู
ุซู ู
ูุธู ุฌุฏูุฏ ุณุฑูุน ูุชุนูู
ู
ู ุฃู
ุซูุฉ ูุซูุฑุฉุ ูููู ูุญุชุงุฌ ุฅูู ู
ู ูุฑุงุฌุน ุนู
ูู.",
|
| 6 |
+
"analogy_en": "Like a fast new colleague who learned from many examples but still needs someone to check the work.",
|
| 7 |
+
"mistake_ar": "ุงูุธู ุฃูู ูููู
ููููุฑ ูู
ุง ูููุฑ ุงูุฅูุณุงู.",
|
| 8 |
+
"mistake_en": "Thinking it understands and reasons the way a person does.",
|
| 9 |
+
"related": ["Large language model","Hallucination"],
|
| 10 |
+
"def_en": "Computer systems that do tasks that usually need human thinking, such as writing or finding patterns.",
|
| 11 |
+
"def_ar": "ุฃูุธู
ุฉ ุญุงุณูุจูุฉ ุชุคุฏู ู
ูุงู
ุชุญุชุงุฌ ุนุงุฏุฉู ุฅูู ุชูููุฑ ุจุดุฑูุ ู
ุซู ุงููุชุงุจุฉ ุฃู ุงูุชุดุงู ุงูุฃูู
ุงุท.",
|
| 12 |
+
"def_gulf": "ุจุฑุงู
ุฌ ูู
ุจููุชุฑ ุชุณูู ุดุบู ูุญุชุงุฌ ุนุงุฏุฉู ุชูููุฑุ ู
ุซู ุงููุชุงุจุฉ ุฃู ู
ูุงุญุธุฉ ุงูุฃูู
ุงุท.",
|
| 13 |
+
"example_en": "Our team uses AI to draft meeting notes.",
|
| 14 |
+
"example_ar": "ูุณุชุฎุฏู
ูุฑูููุง ุงูุฐูุงุก ุงูุงุตุทูุงุนู ูุตูุงุบุฉ ู
ุญุงุถุฑ ุงูุงุฌุชู
ุงุนุงุช.",
|
| 15 |
+
"example_gulf": "ูุฑูููุง ูุณุชุฎุฏู
ุงูู AI ุนุดุงู ููุชุจ ู
ุญุงุถุฑ ุงูุงุฌุชู
ุงุนุงุช."
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"term_en": "Large language model", "term_msa": "ูู
ูุฐุฌ ูุบูู ูุจูุฑ", "term_gulf": null,
|
| 19 |
+
"domain": "ai",
|
| 20 |
+
"analogy_ar": "ู
ุซู ุฅูู
ุงู ุงูุฌู
ูุฉ ุชููุงุฆููุง ูู ูุงุชููุ ููู ุจูุฏุฑุฉ ุฃูุจุฑ ุจูุซูุฑ.",
|
| 21 |
+
"analogy_en": "Like your phone's autocomplete, but far more capable.",
|
| 22 |
+
"technical_ar": "ูู
ูุฐุฌ ูุชุฏุฑุจ ุนูู ูุตูุต ูุซูุฑุฉ ููุชููุน ุงูููู
ุฉ ุงูุชุงููุฉุ ูู
ู ุฐูู ููุชุจ ุฅุฌุงุจุงุช ูุงู
ูุฉ.",
|
| 23 |
+
"technical_en": "A model trained on large amounts of text to predict the next word, and in doing so writes whole answers.",
|
| 24 |
+
"mistake_ar": "ุงูุธู ุฃูู ูุจุญุซ ุนู ุงูุฅุฌุงุจุฉ ูู ูุงุนุฏุฉ ุญูุงุฆู.",
|
| 25 |
+
"mistake_en": "Thinking it looks answers up in a database of facts.",
|
| 26 |
+
"related": ["AI","Prompt","Hallucination"],
|
| 27 |
+
"def_en": "An AI system trained on a very large amount of text to predict and write language.",
|
| 28 |
+
"def_ar": "ูุธุงู
ุฐูุงุก ุงุตุทูุงุนู ุฏูุฑููุจ ุนูู ูู
ูุฉ ุถุฎู
ุฉ ู
ู ุงููุตูุต ููุชููุน ุงููุบุฉ ูููุชุจูุง.",
|
| 29 |
+
"def_gulf": "ูุธุงู
ุฐูุงุก ุงุตุทูุงุนู ุชุฏุฑูุจ ุนูู ูุตูุต ูุงูุฏ ุนุดุงู ูุชููุน ุงูููุงู
ูููุชุจู.",
|
| 30 |
+
"example_en": "A large language model writes one word at a time, based on patterns.",
|
| 31 |
+
"example_ar": "ููุชุจ ุงููู
ูุฐุฌ ุงููุบูู ุงููุจูุฑ ููู
ุฉ ุชูู ุฃุฎุฑู ุจูุงุกู ุนูู ุงูุฃูู
ุงุท.",
|
| 32 |
+
"example_gulf": "ุงููู
ูุฐุฌ ุงููุบูู ุงููุจูุฑ ููุชุจ ููู
ุฉ ูุฑุง ููู
ุฉ ุญุณุจ ุงูุฃูู
ุงุท.",
|
| 33 |
+
"other_forms_ar": "ูู
ูุฐุฌ ูุบุฉ ูุจูุฑ (UNESCO)ุ ุงููู
ุงุฐุฌ ุงููุบููุฉ ุงููุจุฑู (Okaz)",
|
| 34 |
+
"sources": [
|
| 35 |
+
{ "label": "MBZUAI", "url": "https://mbzuai.ac.ae/ar/?p=22399" },
|
| 36 |
+
{ "label": "UNESCO", "url": "https://gcedclearinghouse.org/sites/default/files/resources/230069ara.pdf" },
|
| 37 |
+
{ "label": "Google ML glossary", "url": "https://developers.google.com/machine-learning/glossary?hl=ar" }
|
| 38 |
+
]
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"term_en": "Prompt", "term_msa": "ุฃู
ุฑ", "term_gulf": "ุจุฑูู
ุจุช",
|
| 42 |
+
"domain": "ai",
|
| 43 |
+
"analogy_ar": "ู
ุซู ุงูุชุนููู
ุงุช ุงูุชู ุชุนุทููุง ูุฒู
ูู ุฌุฏูุฏ: ููู
ุง ูุงูุช ุฃูุถุญ ุฌุงุก ุงูุนู
ู ุฃูุถู.",
|
| 44 |
+
"analogy_en": "Like instructions to a new colleague: the clearer they are, the better the work.",
|
| 45 |
+
"mistake_ar": "ูุชุงุจุฉ ุทูุจ ูุตูุฑ ุฌุฏูุง ุจูุง ุณูุงู ุฃู ุดูู ู
ุทููุจ.",
|
| 46 |
+
"mistake_en": "Writing a very short request with no context or format.",
|
| 47 |
+
"related": ["Context","Constraint","Output format"],
|
| 48 |
+
"def_en": "The instruction you write to tell an AI tool what you want.",
|
| 49 |
+
"def_ar": "ุงูุชุนููู
ุงุช ุงูุชู ุชูุชุจูููุง ูุฅุฎุจุงุฑ ุฃุฏุงุฉ ุงูุฐูุงุก ุงูุงุตุทูุงุนู ุจู
ุง ุชุฑูุฏูู.",
|
| 50 |
+
"def_gulf": "ุงูููุงู
ุงููู ุชูุชุจููู ุนุดุงู ุชููููู ููู AI ุดูู ุชุจูู.",
|
| 51 |
+
"example_en": "A clear prompt saves time.",
|
| 52 |
+
"example_ar": "ุงูุฃู
ุฑ ุงููุงุถุญ ูููุฑ ุงูููุช.",
|
| 53 |
+
"example_gulf": "ุงูุจุฑูู
ุจุช ุงููุงุถุญ ูููุฑ ุนูููู
ููุช.",
|
| 54 |
+
"other_forms_ar": "ู
ูุทุงูุจุฉ (UNESCO)ุ ุทูุจ (Google)ุ ุงูู
ุญููุฒ ุงููุตูุ ุงูุชูุฌูู (Microsoft)ุ ููุฏุณุฉ ุงูุฃูุงู
ุฑ = prompt engineering",
|
| 55 |
+
"sources": [
|
| 56 |
+
{ "label": "UNESCO", "url": "https://gcedclearinghouse.org/sites/default/files/resources/230069ara.pdf" },
|
| 57 |
+
{ "label": "Microsoft Learn", "url": "https://learn.microsoft.com/ar-sa/azure/ai-services/openai/concepts/prompt-engineering" },
|
| 58 |
+
{ "label": "MBZUAI", "url": "https://mbzuai.ac.ae/ar/?p=22399" }
|
| 59 |
+
]
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"term_en": "Hallucination", "term_msa": "ุงููููุณุฉ", "term_gulf": "ุชุฃููู",
|
| 63 |
+
"domain": "ai",
|
| 64 |
+
"analogy_ar": "ู
ุซู ุดุฎุต ูุงุซู ูุฌูุจ ุนู ุณุคุงู ูุง ูุนุฑูู ุจุฏู ุฃู ูููู: ูุง ุฃุนุฑู.",
|
| 65 |
+
"analogy_en": "Like a confident person who answers a question they do not know instead of saying so.",
|
| 66 |
+
"mistake_ar": "ุชุตุฏูู ุงูุฅุฌุงุจุฉ ูุฃููุง ู
ูุชูุจุฉ ุจุซูุฉุ ุฏูู ุงูุชุญูู ู
ููุง.",
|
| 67 |
+
"mistake_en": "Believing an answer because it sounds confident, without checking it.",
|
| 68 |
+
"related": ["Fact-check","Source"],
|
| 69 |
+
"def_en": "When an AI states something false with confidence, as if it were a fact.",
|
| 70 |
+
"def_ar": "ุฃู ูุฐูุฑ ุงูุฐูุงุก ุงูุงุตุทูุงุนู ู
ุนููู
ุฉ ุฎุงุทุฆุฉ ุจุซูุฉ ูุฃููุง ุญูููุฉ.",
|
| 71 |
+
"def_gulf": "ูู
ุง ุงูู AI ูููู ุดู ุบูุท ุจูู ุซูุฉ ูุฃูู ุตุญ.",
|
| 72 |
+
"example_en": "Check the numbers: this report may contain a hallucination.",
|
| 73 |
+
"example_ar": "ุชุญูููุง ู
ู ุงูุฃุฑูุงู
ุ ููุฏ ูุญุชูู ูุฐุง ุงูุชูุฑูุฑ ุนูู ูููุณุฉ.",
|
| 74 |
+
"example_gulf": "ุดูููุง ุนูู ุงูุฃุฑูุงู
ุ ูู
ูู ูููุง ุชุฃููู ู
ู ุงูู AI.",
|
| 75 |
+
"other_forms_ar": "ููููุณ (ูุนูุ UNESCO)",
|
| 76 |
+
"sources": [
|
| 77 |
+
{ "label": "MBZUAI", "url": "https://mbzuai.ac.ae/ar/?p=22399" },
|
| 78 |
+
{ "label": "UNESCO", "url": "https://gcedclearinghouse.org/sites/default/files/resources/230069ara.pdf" }
|
| 79 |
+
]
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"term_en": "Context", "term_msa": "ุงูุณูุงู", "term_gulf": null,
|
| 83 |
+
"def_en": "The background information an AI needs to give a useful answer.",
|
| 84 |
+
"def_ar": "ุงูู
ุนููู
ุงุช ุงูุฎูููุฉ ุงูุชู ูุญุชุงุฌูุง ุงูุฐูุงุก ุงูุงุตุทูุงุนู ููุนุทู ุฅุฌุงุจุฉ ู
ููุฏุฉ.",
|
| 85 |
+
"def_gulf": "ุงูู
ุนููู
ุงุช ุงููู ูุญุชุงุฌูุง ุงูู AI ุนุดุงู ูุนุทููู
ุฌูุงุจ ูููุน.",
|
| 86 |
+
"example_en": "Add context: who will read this email?",
|
| 87 |
+
"example_ar": "ุฃุถูููุง ุงูุณูุงู: ู
ู ุณููุฑุฃ ูุฐู ุงูุฑุณุงูุฉุ",
|
| 88 |
+
"example_gulf": "ุฒูุฏูุง ุงูุณูุงู: ู
ูู ุจููุฑุง ูุงูุฅูู
ููุ"
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"term_en": "Constraint", "term_msa": "ููุฏ", "term_gulf": null,
|
| 92 |
+
"def_en": "A limit you set for the answer, such as length or what to avoid.",
|
| 93 |
+
"def_ar": "ุญุฏู ุชุถุนููู ููุฅุฌุงุจุฉุ ู
ุซู ุงูุทูู ุฃู ู
ุง ูุฌุจ ุชุฌูุจู.",
|
| 94 |
+
"def_gulf": "ุดุฑุท ุชุญุทููู ููุฌูุงุจุ ู
ุซู ุงูุทูู ุฃู ุงูุฃุดูุงุก ุงููู ู
ุง ุชุจูููุง.",
|
| 95 |
+
"example_en": "One constraint: no more than 100 words.",
|
| 96 |
+
"example_ar": "ุฃุญุฏ ุงููููุฏ: ุฃูุง ูุฒูุฏ ุงููุต ุนูู 100 ููู
ุฉ.",
|
| 97 |
+
"example_gulf": "ู
ู ุงูุดุฑูุท: ู
ุง ูุฒูุฏ ุนู 100 ููู
ุฉ."
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"term_en": "Output format", "term_msa": "ุตูุบุฉ ุงูู
ุฎุฑุฌุงุช", "term_gulf": null,
|
| 101 |
+
"def_en": "The shape you want the answer in, such as a table, a list or an email.",
|
| 102 |
+
"def_ar": "ุงูุดูู ุงูุฐู ุชุฑูุฏูู ุฃู ุชุฃุชู ุจู ุงูุฅุฌุงุจุฉุ ู
ุซู ุฌุฏูู ุฃู ูุงุฆู
ุฉ ุฃู ุฑุณุงูุฉ.",
|
| 103 |
+
"def_gulf": "ุงูุดูู ุงููู ุชุจูู ุงูุฌูุงุจ ูููุ ู
ุซู ุฌุฏูู ุฃู ููุงุท ุฃู ุฅูู
ูู.",
|
| 104 |
+
"example_en": "Output format: a table with three columns.",
|
| 105 |
+
"example_ar": "ุตูุบุฉ ุงูู
ุฎุฑุฌุงุช: ุฌุฏูู ู
ู ุซูุงุซุฉ ุฃุนู
ุฏุฉ.",
|
| 106 |
+
"example_gulf": "ุตูุบุฉ ุงูุฌูุงุจ: ุฌุฏูู ููู ุซูุงุซุฉ ุฃุนู
ุฏุฉ."
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"term_en": "Role", "term_msa": "ุฏูุฑ", "term_gulf": null,
|
| 110 |
+
"def_en": "A part you ask the AI to play, which shapes how it answers.",
|
| 111 |
+
"def_ar": "ุดุฎุตูุฉ ุชุทูุจูู ู
ู ุงูุฐูุงุก ุงูุงุตุทูุงุนู ุชูู
ูุตูุงุ ูุชุคุซุฑ ูู ุทุฑููุฉ ุฅุฌุงุจุชู.",
|
| 112 |
+
"def_gulf": "ุฏูุฑ ุชุทูุจูู ู
ู ุงูู AI ููุนุจูุ ููุฃุซุฑ ุนูู ุทุฑููุฉ ุฌูุงุจู.",
|
| 113 |
+
"example_en": "Role: act as an HR manager.",
|
| 114 |
+
"example_ar": "ุงูุฏูุฑ: ุชุตุฑูู ูู
ุฏูุฑ ู
ูุงุฑุฏ ุจุดุฑูุฉ.",
|
| 115 |
+
"example_gulf": "ุงูุฏูุฑ: ุชุตุฑู ูุฃูู ู
ุฏูุฑ ู
ูุงุฑุฏ ุจุดุฑูุฉ."
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"term_en": "Tone", "term_msa": "ูุจุฑุฉ", "term_gulf": "ุฃุณููุจ ุงูููุงู
",
|
| 119 |
+
"def_en": "The feeling of a piece of writing, such as formal or friendly.",
|
| 120 |
+
"def_ar": "ุงูุทุงุจุน ุงูุนุงู
ูููุตุ ู
ุซู ุงูุฑุณู
ู ุฃู ุงููุฏู.",
|
| 121 |
+
"def_gulf": "ุทุฑููุฉ ุงูููุงู
ูู ุงููุตุ ุฑุณู
ูุฉ ุฃู ูุฏูุฉ.",
|
| 122 |
+
"example_en": "Make the tone more polite.",
|
| 123 |
+
"example_ar": "ุงุฌุนููุง ุงููุจุฑุฉ ุฃูุซุฑ ุชูุฐูุจูุง.",
|
| 124 |
+
"example_gulf": "ุฎููุง ุฃุณููุจ ุงูููุงู
ุฃูุซุฑ ุฃุฏุจ."
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"term_en": "Draft", "term_msa": "ู
ุณูุฏุฉ", "term_gulf": "ุฏุฑุงูุช",
|
| 128 |
+
"def_en": "A first version that you still need to check and change.",
|
| 129 |
+
"def_ar": "ูุณุฎุฉ ุฃููู ุชุญุชุงุฌ ุฅูู ู
ุฑุงุฌุนุฉ ูุชุนุฏูู.",
|
| 130 |
+
"def_gulf": "ุฃูู ูุณุฎุฉุ ุจุงูู ุชุญุชุงุฌ ู
ุฑุงุฌุนุฉ ูุชุนุฏูู.",
|
| 131 |
+
"example_en": "AI wrote the draft, and I edited it.",
|
| 132 |
+
"example_ar": "ูุชุจ ุงูุฐูุงุก ุงูุงุตุทูุงุนู ุงูู
ุณูุฏุฉุ ูุนุฏููุชูุง ุฃูุง.",
|
| 133 |
+
"example_gulf": "ุงูู AI ูุชุจ ุงูุฏุฑุงูุชุ ูุฃูุง ุนุฏูุชู."
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"term_en": "Iteration", "term_msa": "๏ฟฝ๏ฟฝูุฑุงุฑ ุงูุชุญุณูู", "term_gulf": null,
|
| 137 |
+
"def_en": "Improving a result step by step by asking again with changes.",
|
| 138 |
+
"def_ar": "ุชุญุณูู ุงููุชูุฌุฉ ุฎุทูุฉ ุจุฎุทูุฉ ุจุฅุนุงุฏุฉ ุงูุทูุจ ู
ุน ุชุนุฏููุงุช.",
|
| 139 |
+
"def_gulf": "ุชุญุณููู ุงููุชูุฌุฉ ุฎุทูุฉ ุฎุทูุฉุ ุชุทูุจูู ู
ุฑุฉ ุซุงููุฉ ู
ุน ุชุนุฏููุงุช.",
|
| 140 |
+
"example_en": "The third iteration was much better.",
|
| 141 |
+
"example_ar": "ูุงูุช ุงูู
ุญุงููุฉ ุงูุซุงูุซุฉ ู
ู ุชูุฑุงุฑ ุงูุชุญุณูู ุฃูุถู ุจูุซูุฑ.",
|
| 142 |
+
"example_gulf": "ุงูู
ุญุงููุฉ ุงูุซุงูุซุฉ ุทูุนุช ุฃุญุณู ุจูุงูุฏ."
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"term_en": "Formal register", "term_msa": "ุงูุฃุณููุจ ุงูุฑุณู
ู", "term_gulf": null,
|
| 146 |
+
"def_en": "The careful, respectful language used in official writing.",
|
| 147 |
+
"def_ar": "ุงููุบุฉ ุงูู
ูุถุจุทุฉ ูุงูู
ุญุชุฑู
ุฉ ุงูู
ุณุชุฎุฏู
ุฉ ูู ุงููุชุงุจุฉ ุงูุฑุณู
ูุฉ.",
|
| 148 |
+
"def_gulf": "ุงููุบุฉ ุงูู
ุฑุชุจุฉ ูุงูู
ุญุชุฑู
ุฉ ุงููู ูุณุชุฎุฏู
ูุง ูู ุงููุชุงุจุฉ ุงูุฑุณู
ูุฉ.",
|
| 149 |
+
"example_en": "Use a formal register when writing to a minister.",
|
| 150 |
+
"example_ar": "ุงุณุชุฎุฏู
ูุง ุงูุฃุณููุจ ุงูุฑุณู
ู ุนูุฏ ุงููุชุงุจุฉ ุฅูู ูุฒูุฑ.",
|
| 151 |
+
"example_gulf": "ุงุณุชุฎุฏู
ูุง ุงูุฃุณููุจ ุงูุฑุณู
ู ูู
ุง ุชูุชุจูู ููุฒูุฑ."
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"term_en": "Summary", "term_msa": "ู
ูุฎุต", "term_gulf": null,
|
| 155 |
+
"def_en": "A short version that keeps only the main points.",
|
| 156 |
+
"def_ar": "ูุณุฎุฉ ูุตูุฑุฉ ุชุญุชูุธ ุจุงูููุงุท ุงูุฑุฆูุณูุฉ ููุท.",
|
| 157 |
+
"def_gulf": "ูุณุฎุฉ ูุตูุฑุฉ ูููุง ุงูููุงุท ุงูู
ูู
ุฉ ุจุณ.",
|
| 158 |
+
"example_en": "Give me a summary in three points.",
|
| 159 |
+
"example_ar": "ุฃุนุทูู ู
ูุฎุตูุง ูู ุซูุงุซ ููุงุท.",
|
| 160 |
+
"example_gulf": "ุนุทูู ู
ูุฎุต ูู ุซูุงุซ ููุงุท."
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"term_en": "Source", "term_msa": "ู
ุตุฏุฑ", "term_gulf": null,
|
| 164 |
+
"def_en": "Where a piece of information comes from.",
|
| 165 |
+
"def_ar": "ุงูู
ูุงู ุงูุฐู ุฌุงุกุช ู
ูู ุงูู
ุนููู
ุฉ.",
|
| 166 |
+
"def_gulf": "ุงูู
ูุงู ุงููู ุฌุงุช ู
ูู ุงูู
ุนููู
ุฉ.",
|
| 167 |
+
"example_en": "What is the source of this number?",
|
| 168 |
+
"example_ar": "ู
ุง ู
ุตุฏุฑ ูุฐุง ุงูุฑูู
ุ",
|
| 169 |
+
"example_gulf": "ู
ู ููู ูุงูุฑูู
ุ ุดูู ู
ุตุฏุฑูุ"
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"term_en": "Citation", "term_msa": "ุงุณุชุดูุงุฏ ู
ุฑุฌุนู", "term_gulf": null,
|
| 173 |
+
"def_en": "A note that says exactly which source a statement came from.",
|
| 174 |
+
"def_ar": "ุฅุดุงุฑุฉ ุชุญุฏุฏ ุงูู
ุตุฏุฑ ุงูุฐู ุฃูุฎุฐุช ู
ูู ุงูู
ุนููู
ุฉ ุจุฏูุฉ.",
|
| 175 |
+
"def_gulf": "ุฅุดุงุฑุฉ ุชููู ุจุงูุถุจุท ู
ู ุฃู ู
ุตุฏุฑ ุฌุงุช ุงูู
ุนููู
ุฉ.",
|
| 176 |
+
"example_en": "AI can invent a citation, so open the link yourself.",
|
| 177 |
+
"example_ar": "ูุฏ ูุฎุชุฑุน ุงูุฐูุงุก ุงูุงุตุทูุงุนู ุงุณุชุดูุงุฏูุง ู
ุฑุฌุนููุงุ ูุงูุชุญูุง ุงูุฑุงุจุท ุจุฃููุณูู
.",
|
| 178 |
+
"example_gulf": "ุงูู AI ู
ู
ูู ูุฃูู ู
ุฑุฌุนุ ูุงูุชุญูุง ุงูุฑุงุจุท ุจููุณูู
."
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"term_en": "Fact-check", "term_msa": "ุงูุชุญูู ู
ู ุงูู
ุนููู
ุงุช", "term_gulf": null,
|
| 182 |
+
"def_en": "Checking a claim against a trusted source before you use it.",
|
| 183 |
+
"def_ar": "ู
ุทุงุจูุฉ ุงูู
ุนููู
ุฉ ุจู
ุตุฏุฑ ู
ูุซูู ูุจู ุงุณุชุฎุฏุงู
ูุง.",
|
| 184 |
+
"def_gulf": "ุชุชุฃูุฏูู ู
ู ุงูู
ุนููู
ุฉ ู
ู ู
ุตุฏุฑ ู
ูุซูู ูุจู ู
ุง ุชุณุชุฎุฏู
ูููุง.",
|
| 185 |
+
"example_en": "Fact-check every date in the report.",
|
| 186 |
+
"example_ar": "ุชุญูููุง ู
ู ูู ุชุงุฑูุฎ ูู ุงูุชูุฑูุฑ.",
|
| 187 |
+
"example_gulf": "ุชุฃูุฏูุง ู
ู ูู ุชุงุฑูุฎ ูู ุงูุชูุฑูุฑ."
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"term_en": "Dataset", "term_msa": "ู
ุฌู
ูุนุฉ ุจูุงูุงุช", "term_gulf": "ุฏุงุชุง",
|
| 191 |
+
"def_en": "An organised collection of information, often in rows and columns.",
|
| 192 |
+
"def_ar": "ู
ุนููู
ุงุช ู
ูุธู
ุฉุ ุบุงูุจูุง ูู ุตููู ูุฃุนู
ุฏุฉ.",
|
| 193 |
+
"def_gulf": "ู
ุนููู
ุงุช ู
ุฑุชุจุฉุ ุบุงูุจูุง ูู ุตููู ูุฃุนู
ุฏุฉ.",
|
| 194 |
+
"example_en": "This dataset has one row for each sale.",
|
| 195 |
+
"example_ar": "ุชุญุชูู ู
ุฌู
ูุนุฉ ุงูุจูุงูุงุช ูุฐู ุนูู ุตู ููู ุนู
ููุฉ ุจูุน.",
|
| 196 |
+
"example_gulf": "ูุงูุฏุงุชุง ูููุง ุตู ููู ุนู
ููุฉ ุจูุน.",
|
| 197 |
+
"other_forms_ar": "ุจูุงูุงุช ุงูุชุฏุฑูุจ (training dataุ UAE)",
|
| 198 |
+
"sources": [
|
| 199 |
+
{ "label": "Google ML glossary", "url": "https://developers.google.com/machine-learning/glossary?hl=ar" },
|
| 200 |
+
{ "label": "UNESCO", "url": "https://gcedclearinghouse.org/sites/default/files/resources/230069ara.pdf" }
|
| 201 |
+
]
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"term_en": "Formula", "term_msa": "ู
ุนุงุฏูุฉ", "term_gulf": "ููุฑู
ููุง",
|
| 205 |
+
"def_en": "An instruction in a spreadsheet that calculates a value.",
|
| 206 |
+
"def_ar": "ุชุนููู
ุฉ ูู ุฌุฏูู ุงูุจูุงูุงุช ุชุญุณุจ ููู
ุฉ.",
|
| 207 |
+
"def_gulf": "ุฃู
ุฑ ูู ุงูุฅูุณู ูุญุณุจ ููู
ุฑูู
.",
|
| 208 |
+
"example_en": "Ask AI to explain this formula.",
|
| 209 |
+
"example_ar": "ุงุทูุจูุง ู
ู ุงูุฐูุงุก ุงูุงุตุทูุงุนู ุดุฑุญ ูุฐู ุงูู
ุนุงุฏูุฉ.",
|
| 210 |
+
"example_gulf": "ุฎููุง ุงูู AI ูุดุฑุญ ููู
ูุงูููุฑู
ููุง."
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"term_en": "Column", "term_msa": "ุนู
ูุฏ", "term_gulf": null,
|
| 214 |
+
"def_en": "A vertical list of values in a table.",
|
| 215 |
+
"def_ar": "ูุงุฆู
ุฉ ุนู
ูุฏูุฉ ู
ู ุงูููู
ูู ุฌุฏูู.",
|
| 216 |
+
"def_gulf": "ูุงุฆู
ุฉ ู
ู ููู ูุชุญุช ูู ุงูุฌุฏูู.",
|
| 217 |
+
"example_en": "The price is in column C.",
|
| 218 |
+
"example_ar": "ุงูุณุนุฑ ูู ุงูุนู
ูุฏ C.",
|
| 219 |
+
"example_gulf": "ุงูุณุนุฑ ูู ุนู
ูุฏ C."
|
| 220 |
+
},
|
| 221 |
+
{
|
| 222 |
+
"term_en": "Chart", "term_msa": "ุฑุณู
ุจูุงูู", "term_gulf": "ุชุดุงุฑุช",
|
| 223 |
+
"def_en": "A picture of numbers that makes a pattern easy to see.",
|
| 224 |
+
"def_ar": "ุตูุฑุฉ ููุฃุฑูุงู
ุชุณููู ุฑุคูุฉ ุงููู
ุท.",
|
| 225 |
+
"def_gulf": "ุฑุณู
ุฉ ููุฃุฑูุงู
ุชุฎูู ุงููู
ุท ูุงุถุญ.",
|
| 226 |
+
"example_en": "A chart shows the monthly trend.",
|
| 227 |
+
"example_ar": "ููุถุญ ุงูุฑุณู
ุงูุจูุงูู ุงูุงุชุฌุงู ุงูุดูุฑู.",
|
| 228 |
+
"example_gulf": "ุงูุชุดุงุฑุช ููุถุญ ุงูุงุชุฌุงู ูู ุดูุฑ."
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"term_en": "Personal data", "term_msa": "ุงูุจูุงูุงุช ุงูุดุฎุตูุฉ", "term_gulf": null,
|
| 232 |
+
"analogy_ar": "ู
ุซู ุงููููุฉ ูุงูุนููุงู ูุฑูู
ุงููุงุชู: ูุง ุชุนุทููุง ูุดุฎุต ูุง ุชุนุฑูู.",
|
| 233 |
+
"analogy_en": "Like your ID, address and phone number: you would not hand them to a stranger.",
|
| 234 |
+
"mistake_ar": "ูุตู ุจูุงูุงุช ุนู
ูู ุฃู ู
ูุธู ูู ุฃุฏุงุฉ ุฐูุงุก ุงุตุทูุงุนู ุบูุฑ ู
ุนุชู
ุฏุฉ.",
|
| 235 |
+
"mistake_en": "Pasting customer or employee details into an AI tool that has not been approved.",
|
| 236 |
+
"related": ["Confidentiality","Data policy"],
|
| 237 |
+
"def_en": "Information that can identify a person, such as a name or ID number.",
|
| 238 |
+
"def_ar": "ู
ุนููู
ุงุช ูู
ูู ุฃู ุชุญุฏุฏ ูููุฉ ุดุฎุตุ ู
ุซู ุงูุงุณู
ุฃู ุฑูู
ุงููููุฉ.",
|
| 239 |
+
"def_gulf": "ู
ุนููู
ุงุช ุชุนุฑู ู
ููุง ุงูุดุฎุตุ ู
ุซู ุงูุงุณู
ุฃู ุฑูู
ุงูุจุทุงูุฉ.",
|
| 240 |
+
"example_en": "Remove personal data before you paste the text.",
|
| 241 |
+
"example_ar": "ุงุญุฐููุง ุงูุจูุงูุงุช ุงูุดุฎุตูุฉ ูุจู ูุตู ุงููุต.",
|
| 242 |
+
"example_gulf": "ุดูููุง ุงูุจูุงูุงุช ุงูุดุฎุตูุฉ ูุจู ู
ุง ุชูุตููู ุงููุต."
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"term_en": "Confidentiality", "term_msa": "ุงูุณุฑูุฉ", "term_gulf": null,
|
| 246 |
+
"def_en": "Keeping work information from people who should not see it.",
|
| 247 |
+
"def_ar": "ุฅุจูุงุก ู
ุนููู
ุงุช ุงูุนู
ู ุจุนูุฏูุง ุนู
ู ูุง ูุญู ููู
ุงูุงุทูุงุน ุนูููุง.",
|
| 248 |
+
"def_gulf": "ุฅู ู
ุนููู
ุงุช ุงูุดุบู ู
ุง ุชูุตู ููุงุณ ู
ุง ููู
ุญู ูุดูููููุง.",
|
| 249 |
+
"example_en": "This contract falls under confidentiality rules.",
|
| 250 |
+
"example_ar": "ูุฎุถุน ูุฐุง ุงูุนูุฏ ูููุงุนุฏ ุงูุณุฑูุฉ.",
|
| 251 |
+
"example_gulf": "ูุงูุนูุฏ ุฏุงุฎู ุชุญุช ููุงุนุฏ ุงูุณุฑูุฉ."
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"term_en": "Bias", "term_msa": "ุงูุชุญูุฒ", "term_gulf": null,
|
| 255 |
+
"domain": "ai",
|
| 256 |
+
"analogy_ar": "ู
ุซู ู
ูุธู ุชุฏุฑุจ ุนูู ุญุงูุงุช ู
ู ูุฆุฉ ูุงุญุฏุฉุ ููุฎุทุฆ ู
ุน ุบูุฑูุง.",
|
| 257 |
+
"analogy_en": "Like a colleague trained only on cases from one group, who then gets others wrong.",
|
| 258 |
+
"mistake_ar": "ุงูุธู ุฃู ุงููุชูุฌุฉ ุนุงุฏูุฉ ูุฃู ู
ู ุฃุฎุฑุฌูุง ุฌูุงุฒ.",
|
| 259 |
+
"mistake_en": "Assuming a result is fair because a machine produced it.",
|
| 260 |
+
"related": ["Dataset","Fact-check"],
|
| 261 |
+
"def_en": "A pattern of unfair results, often learned from the training data.",
|
| 262 |
+
"def_ar": "ูู
ุท ู
ู ุงููุชุงุฆุฌ ุบูุฑ ุงูุนุงุฏูุฉุ ูููุชุณุจ ุบุงูุจูุง ู
ู ุจูุงูุงุช ุงูุชุฏุฑูุจ.",
|
| 263 |
+
"def_gulf": "ูุชุงูุฌ ู
ู ุนุงุฏูุฉ ุจุดูู ู
ุชูุฑุฑุ ุบุงูุจูุง ู
ู ุงูุจูุงูุงุช ุงููู ุชุฏุฑุจ ุนูููุง.",
|
| 264 |
+
"example_en": "Check CV screening tools for bias.",
|
| 265 |
+
"example_ar": "ุงูุญุตูุง ุฃุฏูุงุช ูุฑุฒ ุงูุณูุฑ ุงูุฐุงุชูุฉ ุจุญุซูุง ุนู ุงูุชุญูุฒ.",
|
| 266 |
+
"example_gulf": "ุดูููุง ุฃุฏูุงุช ูุฑุฒ ุงูุณูุฑ ุงูุฐุงุชูุฉ ุฅุฐุง ูููุง ุชุญูุฒ."
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"term_en": "Data policy", "term_msa": "ุณูุงุณุฉ ุงูุจูุงูุงุช", "term_gulf": null,
|
| 270 |
+
"def_en": "Your employer's rules on what data can go where.",
|
| 271 |
+
"def_ar": "ููุงุนุฏ ุฌูุฉ ุงูุนู
ู ุจุดุฃู ุงูุจูุงูุงุช ูุฃูู ูู
ูู ุงุณุชุฎุฏุงู
ูุง.",
|
| 272 |
+
"def_gulf": "ููุงููู ุงูุดุฑูุฉ ุนู ุงูุจูุงูุงุช ูููู ู
ู
ูู ุชุณุชุฎุฏู
ูููุง.",
|
| 273 |
+
"example_en": "Read the data policy before using a new tool.",
|
| 274 |
+
"example_ar": "ุงูุฑุคูุง ุณูุงุณุฉ ุงูุจูุงูุงุช ูุจู ุงุณุชุฎุฏุงู
ุฃุฏุงุฉ ุฌุฏูุฏุฉ.",
|
| 275 |
+
"example_gulf": "ุงูุฑูุง ุณูุงุณุฉ ุงูุจูุงูุงุช ูุจู ู
ุง ุชุณุชุฎุฏู
ูู ุฃุฏุงุฉ ุฌุฏูุฏุฉ."
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"term_en": "Workflow", "term_msa": "ุณูุฑ ุงูุนู
ู", "term_gulf": null,
|
| 279 |
+
"def_en": "The steps you follow, in order, to finish a recurring task.",
|
| 280 |
+
"def_ar": "ุงูุฎุทูุงุช ุงูุชู ุชุชุจุนูููุง ุจุงูุชุฑุชูุจ ูุฅูุฌุงุฒ ู
ูู
ุฉ ู
ุชูุฑุฑุฉ.",
|
| 281 |
+
"def_gulf": "ุงูุฎุทูุงุช ุงููู ุชู
ุดูู ุนูููุง ุจุงูุชุฑุชูุจ ุนุดุงู ุชุฎูุตูู ุดุบู ูุชูุฑุฑ.",
|
| 282 |
+
"example_en": "My weekly report workflow has three steps.",
|
| 283 |
+
"example_ar": "ูุชููู ุณูุฑ ุนู
ู ุชูุฑูุฑู ุงูุฃุณุจูุนู ู
ู ุซูุงุซ ุฎุทูุงุช.",
|
| 284 |
+
"example_gulf": "ุดุบู ุชูุฑูุฑู ุงูุฃุณุจูุนู ููู ุซูุงุซ ุฎุทูุงุช."
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"term_en": "Template", "term_msa": "ูุงูุจ", "term_gulf": "ุชู
ุจูุช",
|
| 288 |
+
"def_en": "A reusable text with blanks you fill in each time.",
|
| 289 |
+
"def_ar": "ูุต ููุนุงุฏ ุงุณุชุฎุฏุงู
ู ูููู ูุฑุงุบุงุช ุชูู
ูุฃ ูู ูู ู
ุฑุฉ.",
|
| 290 |
+
"def_gulf": "ูุต ุฌุงูุฒ ุชุณุชุฎุฏู
ููู ูู ู
ุฑุฉ ูุชุนุจูู ุงููุฑุงุบุงุช ููู.",
|
| 291 |
+
"example_en": "Save this prompt as a template.",
|
| 292 |
+
"example_ar": "ุงุญูุธูุง ูุฐุง ุงูุฃู
ุฑ ููุงูุจ.",
|
| 293 |
+
"example_gulf": "ุงุญูุธูุง ูุงูุจุฑูู
ุจุช ูุชู
ุจูุช."
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"term_en": "Variable", "term_msa": "ู
ุชุบูุฑ", "term_gulf": null,
|
| 297 |
+
"def_en": "A blank in a template that changes each time, such as [client name].",
|
| 298 |
+
"def_ar": "ูุฑุงุบ ูู ุงููุงูุจ ูุชุบูุฑ ูู ู
ุฑุฉุ ู
ุซู [ุงุณู
ุงูุนู
ูู].",
|
| 299 |
+
"def_gulf": "ูุฑุงุบ ูู ุงูุชู
ุจูุช ูุชุบูุฑ ูู ู
ุฑุฉุ ู
ุซู [ุงุณู
ุงูุนู
ูู].",
|
| 300 |
+
"example_en": "Put the date in a variable.",
|
| 301 |
+
"example_ar": "ุถุนูุง ุงูุชุงุฑูุฎ ูู ู
ุชุบูุฑ.",
|
| 302 |
+
"example_gulf": "ุญุทูุง ุงูุชุงุฑูุฎ ูู ู
ุชุบูุฑ."
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"term_en": "Chaining", "term_msa": "ุชุณูุณู ุงูุฃูุงู
ุฑ", "term_gulf": null,
|
| 306 |
+
"def_en": "Using the answer from one prompt as the input to the next.",
|
| 307 |
+
"def_ar": "ุงุณุชุฎุฏุงู
ุฅุฌุงุจุฉ ุฃู
ุฑ ูู
ุฏุฎู ููุฃู
ุฑ ุงูุชุงูู.",
|
| 308 |
+
"def_gulf": "ุชุงุฎุฐูู ุฌูุงุจ ุจุฑูู
ุจุช ูุชุญุทููู ูู ุงูุจุฑูู
ุจุช ุงููู ุจุนุฏู.",
|
| 309 |
+
"example_en": "Chaining: first summarize, then write the email.",
|
| 310 |
+
"example_ar": "ุชุณูุณู ุงูุฃูุงู
ุฑ: ูุฎูุตูุง ุฃูููุง ุซู
ุงูุชุจูุง ุงูุฑุณุงูุฉ.",
|
| 311 |
+
"example_gulf": "ูุฎุตูุง ุฃููุ ุจุนุฏูู ุงูุชุจูุง ุงูุฅูู
ูู ู
ู ุงูู
ูุฎุต."
|
| 312 |
+
}
|
| 313 |
+
]
|
content/terms-computing.json
ADDED
|
@@ -0,0 +1,167 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"term_en": "Binary", "term_msa": "ุงููุธุงู
ุงูุซูุงุฆู", "domain": "computing",
|
| 4 |
+
"def_en": "A way of writing numbers with only two digits, 0 and 1.",
|
| 5 |
+
"def_ar": "ุทุฑููุฉ ููุชุงุจุฉ ุงูุฃุฑูุงู
ุจุงุณุชุฎุฏุงู
ุฑูู
ูู ููุท: 0 ู1.",
|
| 6 |
+
"analogy_en": "Like a row of light switches, where each one is either off (0) or on (1).",
|
| 7 |
+
"analogy_ar": "ู
ุซู ุตู ู
ู ู
ูุงุชูุญ ุงูุฅุถุงุกุฉุ ูู ู
ูุชุงุญ ุฅู
ุง ู
ุทูุฃ (0) ุฃู ู
ุถุงุก (1).",
|
| 8 |
+
"technical_en": "A base-2 number system. Each position is worth double the one to its right.",
|
| 9 |
+
"technical_ar": "ูุธุงู
ุนุฏุฏู ุฃุณุงุณู 2ุ ููู ุฎุงูุฉ ุชุณุงูู ุถุนู ุงูุฎุงูุฉ ุงูุชู ุนูู ูู
ูููุง.",
|
| 10 |
+
"example_en": "The number 5 is written as 101 in binary.",
|
| 11 |
+
"example_ar": "ุงูุฑูู
5 ูููุชุจ 101 ูู ุงููุธุงู
ุงูุซูุงุฆู.",
|
| 12 |
+
"mistake_en": "Reading 10 in binary as ten. It means two.",
|
| 13 |
+
"mistake_ar": "ูุฑุงุกุฉ 10 ูู ุงููุธุงู
ุงูุซูุงุฆู ุนูู ุฃููุง ุนุดุฑุฉุ ููู ุชุนูู ุงุซููู.",
|
| 14 |
+
"formula": "101โ = 4 + 0 + 1 = 5",
|
| 15 |
+
"related": ["Bit", "Byte"]
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"term_en": "Bit", "term_msa": "ุจุช", "domain": "computing",
|
| 19 |
+
"def_en": "The smallest piece of data in a computer: a single 0 or 1.",
|
| 20 |
+
"def_ar": "ุฃุตุบุฑ ูุญุฏุฉ ุจูุงูุงุช ูู ุงูุญุงุณูุจ: 0 ูุงุญุฏ ุฃู 1 ูุงุญุฏ.",
|
| 21 |
+
"analogy_en": "Like one light switch: it has only two positions.",
|
| 22 |
+
"analogy_ar": "ู
ุซู ู
ูุชุงุญ ุฅุถุงุกุฉ ูุงุญุฏ: ูู ูุถุนุงู ููุท.",
|
| 23 |
+
"example_en": "A single yes or no answer can be stored in one bit.",
|
| 24 |
+
"example_ar": "ูู
ูู ุญูุธ ุฅุฌุงุจุฉ ูุงุญุฏุฉ ุจูุนู
ุฃู ูุง ูู ุจุช ูุงุญุฏ.",
|
| 25 |
+
"mistake_en": "Mixing up bits and bytes. Internet speeds use bits, file sizes use bytes.",
|
| 26 |
+
"mistake_ar": "ุงูุฎูุท ุจูู ุงูุจุช ูุงูุจุงูุช: ุณุฑุนุฉ ุงูุฅูุชุฑูุช ุชููุงุณ ุจุงูุจุชุ ูุญุฌู
ุงูู
ููุงุช ุจุงูุจุงูุช.",
|
| 27 |
+
"related": ["Binary", "Byte"]
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"term_en": "Byte", "term_msa": "ุจุงูุช", "domain": "computing",
|
| 31 |
+
"def_en": "A group of 8 bits, often enough to store one English letter.",
|
| 32 |
+
"def_ar": "ู
ุฌู
ูุนุฉ ู
ู 8 ุจุชุงุชุ ุชููู ุนุงุฏุฉู ูุญูุธ ุญุฑู ุฅูุฌููุฒู ูุงุญุฏ.",
|
| 33 |
+
"analogy_en": "If a bit is a letter, a byte is a short word made of 8 letters.",
|
| 34 |
+
"analogy_ar": "ุฅุฐุง ูุงู ุงูุจุช ุญุฑููุงุ ูุงูุจุงูุช ููู
ุฉ ูุตูุฑุฉ ู
ู 8 ุญุฑูู.",
|
| 35 |
+
"example_en": "The letter A is stored as the byte 01000001.",
|
| 36 |
+
"example_ar": "ููุญูุธ ุงูุญุฑู A ุนูู ุดูู ุงูุจุงูุช 01000001.",
|
| 37 |
+
"mistake_en": "Assuming every character is one byte. An Arabic letter usually takes two.",
|
| 38 |
+
"mistake_ar": "ุงูุธู ุฃู ูู ุญุฑู ูุณุงูู ุจุงูุชูุง ูุงุญุฏูุงุ ูุงูุญุฑู ุงูุนุฑุจู ูุฃุฎุฐ ุนุงุฏุฉู ุจุงูุชูู.",
|
| 39 |
+
"formula": "1 byte = 8 bits",
|
| 40 |
+
"related": ["Bit", "Binary"]
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"term_en": "Algorithm", "term_msa": "ุฎูุงุฑุฒู
ูุฉ", "domain": "programming",
|
| 44 |
+
"def_en": "A clear set of steps for solving a problem.",
|
| 45 |
+
"def_ar": "ู
ุฌู
ูุนุฉ ุฎุทูุงุช ูุงุถุญุฉ ูุญู ู
ุดููุฉ.",
|
| 46 |
+
"analogy_en": "Like a recipe: follow the same steps in order and you get the same dish.",
|
| 47 |
+
"analogy_ar": "ู
ุซู ูุตูุฉ ุทุจุฎ: ุงุชุจุน ุงูุฎุทูุงุช ููุณูุง ุจุงูุชุฑุชูุจ ูุชุญุตู ุนูู ุงูุทุจู ููุณู.",
|
| 48 |
+
"technical_en": "A finite, ordered sequence of well-defined instructions that turns an input into an output.",
|
| 49 |
+
"technical_ar": "ุณูุณูุฉ ู
ุญุฏูุฏุฉ ูู
ุฑุชุจุฉ ู
ู ุงูุชุนููู
ุงุช ุงููุงุถุญุฉ ุชุญููู ู
ุฏุฎูุงุช ุฅูู ู
ุฎุฑุฌุงุช.",
|
| 50 |
+
"example_en": "A sorting algorithm puts a list of names in order.",
|
| 51 |
+
"example_ar": "ุฎูุงุฑุฒู
ูุฉ ุงูุชุฑุชูุจ ุชุถุน ูุงุฆู
ุฉ ุฃุณู
ุงุก ูู ุชุฑุชูุจูุง ุงูุตุญูุญ.",
|
| 52 |
+
"mistake_en": "Thinking an algorithm must be code. It can be written in plain words.",
|
| 53 |
+
"mistake_ar": "ุงูุธู ุฃู ุงูุฎูุงุฑุฒู
ูุฉ ูุง ุจุฏ ุฃู ุชููู ุจุฑูุงู
ุฌูุงุ ููู
ูู ูุชุงุจุชูุง ุจููู
ุงุช ุนุงุฏูุฉ.",
|
| 54 |
+
"code": "for name in names:\n print(name)",
|
| 55 |
+
"related": ["Time complexity", "Function"]
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"term_en": "Time complexity", "term_msa": "ุงูุชุนููุฏ ุงูุฒู
ูู", "domain": "programming",
|
| 59 |
+
"def_en": "How the running time of an algorithm grows as its input grows.",
|
| 60 |
+
"def_ar": "ููู ูุฒูุฏ ููุช ุชุดุบูู ุงูุฎูุงุฑุฒู
ูุฉ ููู
ุง ูุจุฑุช ุงูู
ุฏุฎูุงุช.",
|
| 61 |
+
"analogy_en": "Finding a name in a sorted phone book is quick even if the book doubles in size. Reading every page is not.",
|
| 62 |
+
"analogy_ar": "ุงูุจุญุซ ุนู ุงุณู
ูู ุฏููู ู
ุฑุชุจ ูุจูู ุณุฑูุนูุง ุญุชู ูู ุชุถุงุนู ุญุฌู
ูุ ุฃู
ุง ูุฑุงุกุฉ ูู ุงูุตูุญุงุช ููุง.",
|
| 63 |
+
"technical_en": "Written in Big-O notation, such as O(n log n), which keeps only how fast the cost grows.",
|
| 64 |
+
"technical_ar": "ุชููุชุจ ุจุตูุบุฉ Big-O ู
ุซู O(n log n)ุ ูุชุตู ุณุฑุนุฉ ุฒูุงุฏุฉ ุงูุชูููุฉ ููุท.",
|
| 65 |
+
"example_en": "The algorithm has O(n log n) time complexity.",
|
| 66 |
+
"example_ar": "ุงูุชุนููุฏ ุงูุฒู
ูู ููุฐู ุงูุฎูุงุฑุฒู
ูุฉ ูู O(n log n).",
|
| 67 |
+
"mistake_en": "Treating it as a number of seconds. It describes growth, not exact time.",
|
| 68 |
+
"mistake_ar": "ุงุนุชุจุงุฑู ุนุฏุฏูุง ู
ู ุงูุซูุงููุ ููู ูุตู ูู
ุท ุงูุฒูุงุฏุฉ ูุง ุงูููุช ุงููุนูู.",
|
| 69 |
+
"formula": "O(n log n)",
|
| 70 |
+
"related": ["Algorithm"]
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"term_en": "Function", "term_msa": "ุฏุงูุฉ", "domain": "programming",
|
| 74 |
+
"def_en": "A named piece of code, or a maths rule, that takes an input and gives an output.",
|
| 75 |
+
"def_ar": "ุฌุฒุก ู
ู ุงูููุฏ ูู ุงุณู
ุ ุฃู ูุงุนุฏุฉ ุฑูุงุถูุฉุ ูุฃุฎุฐ ู
ุฏุฎููุง ููุนุทู ู
ุฎุฑุฌูุง.",
|
| 76 |
+
"analogy_en": "Like a juice machine: put in fruit, get juice, every time.",
|
| 77 |
+
"analogy_ar": "ู
ุซู ุขูุฉ ุงูุนุตูุฑ: ุชุถุน ุงููุงููุฉ ูุชุญุตู ุนูู ุงูุนุตูุฑ ูู ู
ุฑุฉ.",
|
| 78 |
+
"example_en": "A function can add tax to a price.",
|
| 79 |
+
"example_ar": "ูู
ูู ูุฏุงูุฉ ุฃู ุชุถูู ุงูุถุฑูุจุฉ ุฅูู ุงูุณุนุฑ.",
|
| 80 |
+
"mistake_en": "Calling any block of code a function. It needs a name and can be reused.",
|
| 81 |
+
"mistake_ar": "ุชุณู
ูุฉ ุฃู ุฌุฒุก ู
ู ุงูููุฏ ุฏุงูุฉุ ูุงูุฏุงูุฉ ููุง ุงุณู
ูููุนุงุฏ ุงุณุชุฎุฏุงู
ูุง.",
|
| 82 |
+
"code": "def add_tax(price):\n return price * 1.05",
|
| 83 |
+
"formula": "f(x) = 2x",
|
| 84 |
+
"related": ["Algorithm", "Derivative"]
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"term_en": "API", "term_msa": "ูุงุฌูุฉ ุจุฑู
ุฌุฉ ุงูุชุทุจููุงุช", "domain": "programming",
|
| 88 |
+
"def_en": "An agreed way for one program to ask another program for something.",
|
| 89 |
+
"def_ar": "ุทุฑููุฉ ู
ุชูู ุนูููุง ูุทูุจ ุจูุง ุจุฑูุงู
ุฌ ุดูุฆูุง ู
ู ุจุฑูุงู
ุฌ ุขุฎุฑ.",
|
| 90 |
+
"analogy_en": "Like a waiter: you order from the menu, and you never need to enter the kitchen.",
|
| 91 |
+
"analogy_ar": "ู
ุซู ุงููุงุฏู ูู ุงูู
ุทุนู
: ุชุทูุจ ู
ู ุงููุงุฆู
ุฉ ุฏูู ุฃู ุชุฏุฎู ุงูู
ุทุจุฎ.",
|
| 92 |
+
"technical_en": "A defined set of requests and responses that a service makes available to other software.",
|
| 93 |
+
"technical_ar": "ู
ุฌู
ูุนุฉ ู
ุญุฏุฏุฉ ู
ู ุงูุทูุจุงุช ูุงูุฑุฏูุฏ ุชุชูุญูุง ุฎุฏู
ุฉ ููุจุฑุงู
ุฌ ุงูุฃุฎุฑู.",
|
| 94 |
+
"example_en": "A travel app uses a weather API to show the forecast.",
|
| 95 |
+
"example_ar": "ูุณุชุฎุฏู
ุชุทุจูู ุงูุณูุฑ ูุงุฌูุฉ ุจุฑู
ุฌูุฉ ููุทูุณ ููุนุฑุถ ุญุงูุฉ ุงูุทูุณ.",
|
| 96 |
+
"mistake_en": "Thinking an API is a screen people use. It is for programs.",
|
| 97 |
+
"mistake_ar": "ุงูุธู ุฃููุง ุดุงุดุฉ ูุณุชุฎุฏู
ูุง ุงููุงุณุ ููู ู
ุฎุตุตุฉ ููุจุฑุงู
ุฌ.",
|
| 98 |
+
"related": ["Function", "Database"]
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"term_en": "Database", "term_msa": "ูุงุนุฏุฉ ุจูุงูุงุช", "domain": "databases",
|
| 102 |
+
"def_en": "An organised store of data that is easy to search and update.",
|
| 103 |
+
"def_ar": "ู
ุฎุฒู ู
ูุธู
ููุจูุงูุงุช ูุณูู ุงูุจุญุซ ููู ูุชุญุฏูุซู.",
|
| 104 |
+
"analogy_en": "Like a well-kept filing room, where you can find any file in seconds.",
|
| 105 |
+
"analogy_ar": "ู
ุซู ุบุฑูุฉ ู
ููุงุช ู
ูุธู
ุฉุ ุชุฌุฏ ูููุง ุฃู ู
ูู ุฎูุงู ุซูุงูู.",
|
| 106 |
+
"example_en": "The company keeps its customer list in a database.",
|
| 107 |
+
"example_ar": "ุชุญูุธ ุงูุดุฑูุฉ ูุงุฆู
ุฉ ุนู
ูุงุฆูุง ูู ูุงุนุฏุฉ ุจูุงูุงุช.",
|
| 108 |
+
"mistake_en": "Treating a spreadsheet as a database. Many people editing at once is where it breaks.",
|
| 109 |
+
"mistake_ar": "ู
ุนุงู
ูุฉ ุฌุฏูู ุงูุจูุงูุงุช ูุฃูู ูุงุนุฏุฉ ุจูุงูุงุชุ ููู ูุชุนุซุฑ ุญูู ูุนุฏููู ูุซูุฑูู ู
ุนูุง.",
|
| 110 |
+
"code": "SELECT name FROM customers;",
|
| 111 |
+
"related": ["API"]
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"term_en": "Derivative", "term_msa": "ู
ุดุชูุฉ", "domain": "math",
|
| 115 |
+
"def_en": "How fast something is changing at a given moment.",
|
| 116 |
+
"def_ar": "ู
ูุฏุงุฑ ุณุฑุนุฉ ุชุบููุฑ ุดูุก ู
ุง ูู ูุญุธุฉ ู
ุนููุฉ.",
|
| 117 |
+
"analogy_en": "Like a car's speedometer: it shows how fast your distance is changing right now.",
|
| 118 |
+
"analogy_ar": "ู
ุซู ุนุฏุงุฏ ุงูุณุฑุนุฉ ูู ุงูุณูุงุฑุฉ: ูุจูู ุณุฑุนุฉ ุชุบููุฑ ุงูู
ุณุงูุฉ ูู ูุฐู ุงููุญุธุฉ.",
|
| 119 |
+
"technical_en": "The limit of the change in a function's output divided by the change in its input.",
|
| 120 |
+
"technical_ar": "ููุงูุฉ ูุณุจุฉ ุชุบููุฑ ู
ุฎุฑุฌ ุงูุฏุงูุฉ ุฅูู ุชุบููุฑ ู
ุฏุฎููุง.",
|
| 121 |
+
"example_en": "The derivative of xยฒ is 2x.",
|
| 122 |
+
"example_ar": "ู
ุดุชูุฉ xยฒ ูู 2x.",
|
| 123 |
+
"mistake_en": "Reading dy/dx as an ordinary fraction you can cancel.",
|
| 124 |
+
"mistake_ar": "ูุฑุงุกุฉ dy/dx ุนูู ุฃููุง ูุณุฑ ุนุงุฏู ูู
ูู ุงุฎุชุตุงุฑู.",
|
| 125 |
+
"formula": "dy/dx = 2x",
|
| 126 |
+
"related": ["Function", "Differential equation"]
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"term_en": "Differential equation", "term_msa": "ู
ุนุงุฏูุฉ ุชูุงุถููุฉ", "domain": "math",
|
| 130 |
+
"def_en": "An equation that links a function to its rate of change.",
|
| 131 |
+
"def_ar": "ู
ุนุงุฏูุฉ ุชุฑุจุท ุฏุงูุฉ ุจู
ุนุฏู ุชุบููุฑูุง.",
|
| 132 |
+
"analogy_en": "Like knowing a car's speed now and how that speed changes over time.",
|
| 133 |
+
"analogy_ar": "ู
ุซู ู
ุนุฑูุฉ ุณุฑุนุฉ ุณูุงุฑุฉ ุงูุขู ูููู ุชุชุบูุฑ ุณุฑุนุชูุง ู
ุน ุงูููุช.",
|
| 134 |
+
"technical_en": "An equation containing a function and one or more of its derivatives. Its solution is a function, not a number.",
|
| 135 |
+
"technical_ar": "ู
ุนุงุฏูุฉ ุชุญุชูู ุนูู ุฏุงูุฉ ูู
ุดุชูุฉ ูุงุญุฏุฉ ููุง ุฃู ุฃูุซุฑุ ูุญููุง ุฏุงูุฉ ูููุณ ุฑูู
ูุง.",
|
| 136 |
+
"example_en": "dy/dx = 2x is a simple differential equation.",
|
| 137 |
+
"example_ar": "ุงูู
ุนุงุฏูุฉ dy/dx = 2x ู
ุนุงุฏูุฉ ุชูุงุถููุฉ ุจุณูุทุฉ.",
|
| 138 |
+
"mistake_en": "Expecting the answer to be a number.",
|
| 139 |
+
"mistake_ar": "ุชููุน ุฃู ูููู ุงูุญู ุฑูู
ูุง.",
|
| 140 |
+
"formula": "dy/dx = 2x",
|
| 141 |
+
"related": ["Derivative", "Function"]
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"term_en": "Machine learning", "term_msa": "ุชุนูู
ุงูุขูุฉ", "domain": "ai",
|
| 145 |
+
"def_en": "Teaching computers to find patterns from examples instead of writing every rule by hand.",
|
| 146 |
+
"def_ar": "ุชุนููู
ุงูุญูุงุณูุจ ุงูุชุดุงู ุงูุฃูู
ุงุท ู
ู ุงูุฃู
ุซูุฉ ุจุฏู ูุชุงุจุฉ ูู ูุงุนุฏุฉ ูุฏูููุง.",
|
| 147 |
+
"analogy_en": "Like learning to spot spam by seeing thousands of emails, not by reading a rule book.",
|
| 148 |
+
"analogy_ar": "ู
ุซู ุชุนูู
ุชู
ููุฒ ุงูุฑุณุงุฆู ุงูู
ุฒุนุฌุฉ ู
ู ุฑุคูุฉ ุขูุงู ุงูุฑุณุงุฆูุ ูุง ู
ู ูุฑุงุกุฉ ูุชุงุจ ููุงุนุฏ.",
|
| 149 |
+
"example_en": "Banks use machine learning to flag unusual card payments.",
|
| 150 |
+
"example_ar": "ุชุณุชุฎุฏู
ุงูุจููู ุชุนูู
ุงูุขูุฉ ูุฑุตุฏ ุนู
ููุงุช ุงูุจุทุงูุงุช ุบูุฑ ุงูู
ุนุชุงุฏุฉ.",
|
| 151 |
+
"mistake_en": "Thinking it is the same as all of AI. It is one part of AI.",
|
| 152 |
+
"mistake_ar": "ุงูุธู ุฃูู ูุณุงูู ุงูุฐูุงุก ุงูุงุตุทูุงุนู ูููุ ููู ุฌุฒุก ู
ูู.",
|
| 153 |
+
"related": ["AI", "Training data"]
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"term_en": "Training data", "term_msa": "ุจูุงูุงุช ุงูุชุฏุฑูุจ", "domain": "ai",
|
| 157 |
+
"def_en": "The examples a model learns from.",
|
| 158 |
+
"def_ar": "ุงูุฃู
ุซูุฉ ุงูุชู ูุชุนูู
ู
ููุง ุงููู
ูุฐุฌ.",
|
| 159 |
+
"analogy_en": "Like the past exam papers a student studies from: the quality of what they learn depends on them.",
|
| 160 |
+
"analogy_ar": "ู
ุซู ูู
ุงุฐุฌ ุงูุงู
ุชุญุงูุงุช ุงูุณุงุจูุฉ ุงูุชู ูุฐุงูุฑ ู
ููุง ุงูุทุงูุจ: ุฌูุฏุฉ ู
ุง ูุชุนูู
ู ุชุนุชู
ุฏ ุนูููุง.",
|
| 161 |
+
"example_en": "If the training data is mostly in English, the model may be weaker in Arabic.",
|
| 162 |
+
"example_ar": "ุฅุฐุง ูุงูุช ุจูุงูุงุช ุงูุชุฏุฑูุจ ุจุงูุฅูุฌููุฒูุฉ ุบุงูุจูุงุ ููุฏ ูููู ุงููู
ูุฐุฌ ุฃุถุนู ูู ุงูุนุฑุจูุฉ.",
|
| 163 |
+
"mistake_en": "Assuming more data is always better. Biased or wrong data teaches the wrong thing.",
|
| 164 |
+
"mistake_ar": "ุงูุธู ุฃู ุฒูุงุฏุฉ ุงูุจูุงูุงุช ุฃูุถู ุฏุงุฆู
ูุงุ ูุงูุจูุงูุงุช ุงูู
ูุญุงุฒุฉ ุฃู ุงูุฎุงุทุฆุฉ ุชุนููู
ุงูุฎุทุฃ.",
|
| 165 |
+
"related": ["Machine learning", "Bias"]
|
| 166 |
+
}
|
| 167 |
+
]
|
content/words-ar.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
content/words-en.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
docs/BRIEF.md
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Darby (ุฏุฑุจู): hackathon brief
|
| 2 |
+
|
| 3 |
+
Qai x Hugging Face Hackathon 01, Doha, 5 to 6 November 2026.
|
| 4 |
+
|
| 5 |
+
## The challenge
|
| 6 |
+
|
| 7 |
+
"Build an AI system that solves a real problem in Qatar. Must be grounded in Qatar or the wider Middle East, and run on Hugging Face. Projects that aren't clearly regional are disqualified." Themes: everyday life, government services, business, education, transport, culture, industry.
|
| 8 |
+
|
| 9 |
+
## The problem we solve
|
| 10 |
+
|
| 11 |
+
Arabic-speaking professionals in Qatar are expected to use AI at work, but the material, the tools and the vocabulary are all in English. An employee gets an email that says "check it for hallucinations and give the model more context in your prompt" and has no one to ask. Existing Arabic options are short government workshops, paid video courses, or scattered YouTube.
|
| 12 |
+
|
| 13 |
+
## The product
|
| 14 |
+
|
| 15 |
+
Darby (ุฏุฑุจู, "my path") is a web app that teaches AI and its English vocabulary in simple Arabic or Gulf dialect, through short game mechanics. It runs entirely on Hugging Face. Its brain is Fanar 2, the Arabic model built in Qatar by QCRI, served on Hugging Face hardware. Every model, job, dataset and file runs on or lives on Hugging Face (see `docs/HF_PLAN.md`).
|
| 16 |
+
|
| 17 |
+
Pitch line: a Qatari model teaching Qataris the language of AI.
|
| 18 |
+
|
| 19 |
+
Name: Darby / ุฏุฑุจู everywhere in the UI. The repo is `arabize-hf` (the old product was Arabize).
|
| 20 |
+
|
| 21 |
+
## Judging and budget
|
| 22 |
+
|
| 23 |
+
Judged on impact, use of Hugging Face, technical execution, efficiency of compute spend, and the demo. USD 100 of credits for the whole team. Use as many HF surfaces as genuinely help (Spaces, Endpoints, Jobs, Hub models, Hub datasets, a collection) and spend as little as possible. `docs/HF_PLAN.md` is binding for every infrastructure choice.
|
| 24 |
+
|
| 25 |
+
## Features, in build priority
|
| 26 |
+
|
| 27 |
+
Build in this order. Each one must be demoable before the next starts.
|
| 28 |
+
|
| 29 |
+
### P0-1. Smart Explain (the hero, the demo opens here)
|
| 30 |
+
- Learner pastes any English work text (email, report, Slack message), up to 2,000 characters.
|
| 31 |
+
- Known terms are found deterministically from the term bank (our glossary, GIST's 5,000 AI terms, the Microsoft software glossary; see `docs/HF_PLAN.md`), case-insensitive, plural and simple suffix forms, longest multi-word match first (Aho-Corasick or a trie). No AI needed for this step. Known terms show in teal ("in your dictionary"), new or AI-found terms in maroon ("new to you").
|
| 32 |
+
- "ูููู
ูู" sends the text to Fanar, which returns JSON: a plain explanation of the text in the chosen language, a card per important term (term_en, term_ar, explanation, analogy, related terms), and one multiple-choice practice question with 4 options and the correct answer.
|
| 33 |
+
- Explanation language: EN, ูุตุญู (simple MSA), or ุฎููุฌู (simple Gulf). Seven explanation styles from the old repo (`school, life, technical, one_line, code, sentences, work`) as chips, default `work`.
|
| 34 |
+
- Every explanation ends in the practice question. Right answer: points and a small celebration. Wrong: show why, no telling-off.
|
| 35 |
+
- Save a term to "my dictionary" (local storage).
|
| 36 |
+
- Nothing the learner pastes is stored. Text that looks private (emails, phone numbers, QID-like numbers) gets a warning before sending.
|
| 37 |
+
|
| 38 |
+
### P0-2. Glossary (ุงููุงู
ูุณ)
|
| 39 |
+
- All terms with English, MSA, Gulf usage, definition in both languages, analogy, common mistake, example sentence, related terms. Source: `content/glossary.json` (28 AI terms) and `content/terms-computing.json`.
|
| 40 |
+
- Search in both languages, filter by domain, a listen button per term (voice, see P1).
|
| 41 |
+
- Every term in the bank gets a full Arabic translation, acronyms included (A2C becomes ุงูู
ู
ุซู ูุงููุงูุฏ ุฐู ุงูู
ูุฒุฉ (A2C: Advantage Actor-Critic)); the cleaning, EDA and translation pipeline is in `docs/DATA_PIPELINE.md`.
|
| 42 |
+
- Choose about 100 office-relevant terms from GIST for full cards, using GIST's human Arabic as the MSA term. Expand the glossary to those terms in an HF Job (`jobs/generate_content.py`: full bf16 Fanar 2 with vLLM on 1x A100, explicit timeout), marked `"reviewed": false`, pushed straight to the Hub from inside the job. A team member spot-checks the Arabic.
|
| 43 |
+
- Publish the glossary as a Hugging Face Dataset (`<org>/darby-ai-glossary-ar-en`) with a dataset card. The Space loads it from the Hub at startup. This is a regional open resource and a strong judging point.
|
| 44 |
+
- Semantic search across both languages with `intfloat/multilingual-e5-small` on CPU, so "ุงูุฃูุงู
ุฑ" finds Prompt and "made-up facts" finds Hallucination.
|
| 45 |
+
|
| 46 |
+
### P0-3. AI tutor + prompt lab
|
| 47 |
+
- Tutor: chat scoped to the current lesson and glossary, answers in the learner's chosen language, streams tokens, refuses unrelated or unsafe requests politely, labels general knowledge as such. Cap 20 messages per session per IP.
|
| 48 |
+
- Prompt lab: learner writes a prompt for a real Doha work task (from the lesson's `prompt_lab` block). The model scores goal, context, format and constraints from 1 to 5 with feedback, and returns an improved prompt. Port the rubric and the escaping from `../arabaize/src/lib/ai/prompt-lab.ts`.
|
| 49 |
+
|
| 50 |
+
### P0-4. Your path (ุฏุฑุจู) + daily code (ุดููุฑุฉ ุงูููู
)
|
| 51 |
+
- Home screen: greeting, daily goal, streak and points, the daily code card, and the path of 7 lessons from `content/day-1.json` to `day-7.json` (done, current, locked), plus "3 terms to review today".
|
| 52 |
+
- Lesson player: one step per screen with a progress bar: hook, concept, example, term cards, exercises, prompt lab, recap. Missed exercises come back before the recap. Text in `en`, `ar` or `gulf` (gulf falls back to ar). Glossary terms in lesson text are marked `[[Prompt]]` or `[[Prompt|ุงูุฃู
ุฑ]]` and are tappable.
|
| 53 |
+
- Daily code: guess a one-word glossary term (3 to 9 letters) in 6 tries, English or Arabic, with its meaning in the other language as the clue. The server picks the word by date in Qatar time and marks guesses; the client never receives the answer before the game ends. A guess must be a real word (`content/words-en.json`, `content/words-ar.json`) or it is refused at no cost. Port normalisation and marking rules from `../arabaize/supabase/migrations/20261102000003_daily_code.sql` and `../arabaize/mobile/src/lib/learning.ts`. Shareable result grid that never shows the word. Do not call it Wordle.
|
| 54 |
+
- XP, streaks, mastery and progress live in local storage for the hackathon (no accounts). Use the XP rules from `../arabaize/CLAUDE.md`.
|
| 55 |
+
|
| 56 |
+
### P1. Voice (infrastructure now, switch on once P0 is solid)
|
| 57 |
+
- `/api/tts` and `/api/asr` behind a `VOICE_ENABLED` flag and a provider interface, so models can be swapped.
|
| 58 |
+
- English TTS: `hexgrad/Kokoro-82M` (Apache 2.0) in the browser through Transformers.js (`kokoro-js`), with a server copy in the Space as fallback (`pip install kokoro soundfile`, `apt espeak-ng`). Kokoro has no Arabic.
|
| 59 |
+
- Arabic TTS: `facebook/mms-tts-ara` (transformers `VitsModel`, CPU). Check `tokenizer.is_uroman`; if true, romanise with the `uroman` package first. Licence is CC BY-NC 4.0: fine for a hackathon demo, flag it in the README. If quality is poor, try `MBZUAI/speecht5_tts_clartts_ar`.
|
| 60 |
+
- ASR (later): `openai/whisper-large-v3-turbo` for asking the tutor by voice.
|
| 61 |
+
- Cache generated audio per term on disk so the glossary plays instantly in the demo. Pre-generate audio for all glossary terms at build or startup.
|
| 62 |
+
|
| 63 |
+
### Out of scope
|
| 64 |
+
Accounts, payments, Supabase, the Expo app, the App Store work, admin CMS, leaderboards.
|
| 65 |
+
|
| 66 |
+
## Tech
|
| 67 |
+
|
| 68 |
+
| Layer | Choice |
|
| 69 |
+
|---|---|
|
| 70 |
+
| Hosting | One Hugging Face Docker Space (`sdk: docker`, `app_port: 7860`), public, under the team's HF org |
|
| 71 |
+
| Frontend | Vite + React 19 + TypeScript + Tailwind CSS 4, built to static files and served by the backend |
|
| 72 |
+
| Backend | Python 3.11, FastAPI, uvicorn, pydantic v2, `huggingface_hub` |
|
| 73 |
+
| LLM | `QCRI/Fanar-2-27B-Instruct` for every feature: quantized GGUF on an HF Inference Endpoint (llama.cpp, 1x L4, scale to zero). All calls go through `huggingface_hub.InferenceClient` (OpenAI-compatible chat completions). See `docs/HF_PLAN.md` |
|
| 74 |
+
| LLM fallback | If the endpoint is waking or failing: a friendly "waking up" state and the offline `DEMO_MODE` fixtures. Kept warm during judging |
|
| 75 |
+
| Kernels | HF `kernels` used in the quality Job to benchmark Fanar with and without Hub kernels |
|
| 76 |
+
| Voice | Kokoro-82M (EN, in the browser), mms-tts-ara (AR, in the Space), glossary audio pre-generated in a Job and served from an HF Storage Bucket, Whisper (later) |
|
| 77 |
+
| More HF | Storage Buckets, Transformers.js, Gradio MCP server, smolagents tutor, Sign in with HF, scheduled Jobs: tiers and order in `docs/HF_PLAN.md` |
|
| 78 |
+
| Data | JSON content files in `content/`, the glossary also published as an HF Dataset. No database |
|
| 79 |
+
|
| 80 |
+
Environment variables (Space secrets): `HF_TOKEN`, `FANAR_ENDPOINT_URL`, `FANAR_MODEL` (default `QCRI/Fanar-2-27B-Instruct`), `HF_BUCKET` (audio and progress bucket), `VOICE_ENABLED`, `DEMO_MODE`.
|
| 81 |
+
|
| 82 |
+
### LLM rules
|
| 83 |
+
- One module, `server/llm.py`, owns every model call. Nothing else imports the client.
|
| 84 |
+
- Fanar 2 (and other reasoning models) can emit `<think>...</think>` blocks. Turn reasoning off in the request where supported, and always strip think blocks before parsing or streaming to the user.
|
| 85 |
+
- Structured answers (explain, prompt lab, practice questions) use JSON with a pydantic schema. Use guided decoding / `response_format` with a JSON schema when the endpoint supports it, otherwise ask for JSON, parse, validate, retry once, then fall back to a glossary-only answer. Temperature 0.3 for JSON, 0.6 for tutor chat.
|
| 86 |
+
- Learner text is data, never instructions: wrap it in tags and escape `<` and `>` (port `escapeLearnerText`).
|
| 87 |
+
- Timeouts: 30 s for JSON calls, streaming for the tutor. First token under 2 s is the target.
|
| 88 |
+
- In-memory rate limit per IP (for example 30 AI calls per 10 minutes). Cap input at 2,000 characters.
|
| 89 |
+
- `DEMO_MODE=1` or an endpoint failure serves recorded responses for the three demo inputs in `server/fixtures/`, so the pitch never breaks on stage. Record them from real Fanar output once the endpoint is up.
|
| 90 |
+
- Arabic terms: the word for "prompt" is ุฃู
ุฑ (plural ุงูุฃูุงู
ุฑ). Keep English terms in brackets after the Arabic term.
|
| 91 |
+
|
| 92 |
+
### Repo layout
|
| 93 |
+
```
|
| 94 |
+
arabize-hf/
|
| 95 |
+
README.md HF Space card (YAML front matter) + project readme
|
| 96 |
+
Dockerfile multi-stage: build web/, then python image serving it on 7860
|
| 97 |
+
CLAUDE.md
|
| 98 |
+
docs/BRIEF.md this file
|
| 99 |
+
docs/design/ design references and tokens
|
| 100 |
+
content/ lessons, glossary, word lists (copied from ../arabaize/mobile/content)
|
| 101 |
+
server/ FastAPI app: main.py, llm.py, prompts/, routes/, voice/, game/, fixtures/
|
| 102 |
+
web/ Vite React app
|
| 103 |
+
scripts/ expand_glossary.py, push_dataset.py, pregen_audio.py
|
| 104 |
+
tests/ pytest for server, vitest for web
|
| 105 |
+
```
|
| 106 |
+
|
| 107 |
+
## UI and UX
|
| 108 |
+
|
| 109 |
+
The old app's look is retired. The new direction is in `docs/design/` (open the two `.reference.html` files; they are design-canvas files, so read them as markup and inline styles, not as code to copy). Summary:
|
| 110 |
+
|
| 111 |
+
- Qatari colours with game mechanics: maroon as the brand, a cream sand page, white cards with a chunky bottom shadow, gold for points, flame for streaks, teal for known terms, green for correct.
|
| 112 |
+
- Arabic first, right to left. Use logical properties only (`ms-`, `pe-`, `start-`, `text-start`). English passages, code and prompts are always `dir="ltr"`. English terms inside Arabic sentences go in `<bdi>`. Western digits (0 to 9) everywhere.
|
| 113 |
+
- UI language toggle (AR, EN) and a separate explanation language (EN, ูุตุญู, ุฎููุฌู).
|
| 114 |
+
- Phone first: every screen works at 360 px with no horizontal scroll; at 360 px the page padding drops to 16 px and cards to 20 px.
|
| 115 |
+
- State is shown with an icon and words, never colour alone. Text contrast at least 4.5:1. Targets at least 44 px. Keyboard reachable. Reduce Motion respected.
|
| 116 |
+
- Small delights: points fly up on a right answer, the streak flame pulses, the current path node gently glows. Nothing loud.
|
| 117 |
+
- One home screen holds both: Smart Explain is the main column (the hero), and the daily code, the path (ุฏุฑุจู) and the review banner sit in a side column. See `docs/design/home.reference.html`; `explain.reference.html` shows the explain result at full size.
|
| 118 |
+
- Navigation: ุงูุฑุฆูุณูุฉ (home), ุงููุงู
ูุณ (glossary), ุงูู
ุนููู
(tutor). Lessons open from the path.
|
| 119 |
+
- Headings use Readex Pro, not a heavy Kufi face.
|
| 120 |
+
|
| 121 |
+
## The demo (3 minutes)
|
| 122 |
+
|
| 123 |
+
1. Problem in one line, with a real-looking work email in English (15 s).
|
| 124 |
+
2. Paste it into Smart Explain in Gulf dialect: terms light up, Fanar explains, tap listen, answer the question, points fly (60 s).
|
| 125 |
+
3. Open the glossary, search "ุงููููุณุฉ", play the pronunciation (20 s).
|
| 126 |
+
4. Ask the tutor a follow-up in Gulf Arabic, then score a prompt in the prompt lab (40 s).
|
| 127 |
+
5. Home: today's daily code and the path (20 s).
|
| 128 |
+
6. Show it all runs on Hugging Face: the Space, the Fanar endpoint, the quality and kernels results in the eval dataset, the published glossary dataset, total spend (20 s).
|
| 129 |
+
7. What's next: our own fine-tune of Fanar on consented, reviewed learner data; companies as customers (10 s).
|
| 130 |
+
|
| 131 |
+
## Writing style
|
| 132 |
+
No em dashes or en dashes anywhere (UI, docs, comments, commits). Plain factual wording; no invented numbers, users or testimonials. Commits have no AI co-author trailer or AI attribution.
|
docs/DATA_PIPELINE.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Term bank data pipeline
|
| 2 |
+
|
| 3 |
+
How the raw term sources become one clean, fully translated term bank. Treat this as a real data engineering task: inspect before transforming, keep raw data untouched, make every step reproducible, measure quality, and send real ambiguity to a human.
|
| 4 |
+
|
| 5 |
+
## Sources
|
| 6 |
+
|
| 7 |
+
| Source | Rows (approx.) | Arabic origin |
|
| 8 |
+
|---|---|---|
|
| 9 |
+
| `content/glossary.json` + `content/terms-computing.json` (ours) | 28 + computing terms | Written by us, reviewed choices |
|
| 10 |
+
| `Jerry999/multilingual-terminology` (GIST), file `Arabic.csv` (`Index`, `English`, `Arabic`) | about 5,000 AI terms | Human translation, refined with GPT-4o |
|
| 11 |
+
| `ymoslem/MS-Glossary-EN-AR` (Parquet; inspect real column names) | about 22,000 software terms | Microsoft localisation |
|
| 12 |
+
|
| 13 |
+
## Stage 0: raw snapshot
|
| 14 |
+
- Download each source with `huggingface_hub` (GIST: `hf_hub_download` of the CSV, since `load_dataset` fails on its mixed columns). Use the Dataset Viewer API or the `huggingface-datasets` skill to inspect splits and columns first.
|
| 15 |
+
- Save untouched copies under `data/raw/` with a manifest: repo id, revision (commit sha), file, row count, sha256. Never edit raw files.
|
| 16 |
+
|
| 17 |
+
## Stage 1: EDA (exploratory data analysis)
|
| 18 |
+
Write `notebooks/eda.ipynb` (executed, outputs saved) and a short `data/reports/eda.md`. At minimum:
|
| 19 |
+
- Row counts per source; nulls and empty strings per column.
|
| 20 |
+
- Duplicates: exact, case-insensitive, after normalisation; within and across sources.
|
| 21 |
+
- Untranslated rows: Arabic empty, Arabic identical to English, Arabic that is Latin script only, Arabic that keeps the English acronym with no Arabic words.
|
| 22 |
+
- Acronyms and short forms in English: all caps, digits mixed with letters (A2C, GPT-4, F1), slashes (A/B testing), dots (e.g., i.i.d.), plurals of acronyms (LLMs). Count them and list the top 50.
|
| 23 |
+
- Script analysis: share of Arabic characters per Arabic value, diacritics present, tatweel (ู), Arabic presentation forms, mixed digits (Eastern Arabic vs Western), stray HTML, extra whitespace, odd punctuation.
|
| 24 |
+
- Multiple translations packed into one cell (separated by `;`, `/`, `ุ`, `or`, `ุฃู`).
|
| 25 |
+
- Conflicts: the same English term with different Arabic across sources (expected between GIST and MS; list them).
|
| 26 |
+
- Length distributions (characters and words) to spot junk rows.
|
| 27 |
+
- Coverage: which terms actually appear in our 7 lessons, our demo emails, and typical office text; this guides which about 100 terms get full cards.
|
| 28 |
+
- Charts saved as images in `data/reports/`.
|
| 29 |
+
|
| 30 |
+
Share the EDA summary with the team before moving on.
|
| 31 |
+
|
| 32 |
+
## Stage 2: cleaning and normalisation
|
| 33 |
+
- Unicode NFC; convert Arabic presentation forms to standard letters; remove tatweel; collapse whitespace; strip HTML; Western digits; standard Arabic punctuation (ุ ุ ุ) in Arabic fields.
|
| 34 |
+
- Split packed variants into `ar_variants` (list). Choose `ar_display` by rule: our reviewed choice, then GIST, then MS, then the most common variant.
|
| 35 |
+
- Keys for matching only, never for display:
|
| 36 |
+
- `en_key`: lower case, punctuation-normalised, simple plural and suffix handling, acronyms kept exact (do not lower-case-merge "IT" with "it": acronym keys are case-sensitive).
|
| 37 |
+
- `ar_key`: diacritics stripped, alef forms (ุฃ ุฅ ุข) to ุง, ู to ู, ุฉ to ู.
|
| 38 |
+
- Deduplicate on `en_key`, merging variants and keeping every source in `sources`.
|
| 39 |
+
- Drop rows that are clearly junk (empty English, pure numbers, single characters), but log every dropped row with its reason in `data/reports/dropped.csv`.
|
| 40 |
+
|
| 41 |
+
## Stage 3: complete the translations (acronyms and untranslated terms)
|
| 42 |
+
Every term must have an Arabic translation of its full meaning, including short terms and acronyms. Transliteration alone is not a translation.
|
| 43 |
+
|
| 44 |
+
1. Find candidates: every row from Stage 1's untranslated and acronym lists.
|
| 45 |
+
2. Expand to the full English form (`en_expanded`):
|
| 46 |
+
- First, deterministic: if the same source or another source has both the acronym and its long form, link them. Keep a small curated table `data/curated/expansions.csv` for common ones.
|
| 47 |
+
- Then Fanar 2 (full bf16 in an HF Job, temperature 0, JSON schema output) with the term, its source domain (AI research for GIST, software for MS) and a few neighbouring terms as context.
|
| 48 |
+
- If an acronym has several plausible expansions in the domain (for example SAC, PPO is fine, "MoE" is fine), set `needs_review` and list the options.
|
| 49 |
+
3. Translate the full form into Arabic (`ar_full`), using established Arabic technical terminology where it exists (prefer GIST and MS conventions, then standard usage); transliterate only established loanwords (for example ุจุงูุซูู), and then also give a meaning.
|
| 50 |
+
4. Build the display form: Arabic meaning first, original in brackets.
|
| 51 |
+
- A2C: `ุงูู
ู
ุซู ูุงููุงูุฏ ุฐู ุงูู
ูุฒุฉ (A2C: Advantage Actor-Critic)`, possibly with a longer explanatory variant such as `ุฎูุงุฑุฒู
ูุฉ ุงูู
ู
ุซู ูุงููุงูุฏ ุจุงูุงุนุชู
ุงุฏ ุนูู ุงูู
ูุฒุฉ`.
|
| 52 |
+
- A/B testing: `ุงุฎุชุจุงุฑ ุงูู
ูุงุฑูุฉ ุจูู ูุณุฎุชูู (A/B testing)`.
|
| 53 |
+
- LLM: `ูู
ูุฐุฌ ูุบูู ูุจูุฑ (LLM: Large Language Model)`.
|
| 54 |
+
These are examples of the pattern, not final wording.
|
| 55 |
+
5. Check every generated translation automatically:
|
| 56 |
+
- Back-translate `ar_full` to English with Fanar and compare it with `en_expanded` using `multilingual-e5-small` cosine similarity; below the threshold, set `needs_review`.
|
| 57 |
+
- Reject outputs that are Latin-only, empty, or identical to the input.
|
| 58 |
+
6. Never overwrite a human translation. Stage 3 only fills gaps. Record `ar_origin`: `darby_editor`, `human_gist`, `human_ms`, or `fanar_generated`, plus `reviewed` (true or false).
|
| 59 |
+
7. Write the review queue to `data/review/needs_review.csv` (term, expansion options, proposed Arabic, reason) and ask the team's Arabic speaker to go through it. Apply their answers through `data/curated/overrides.csv`, which always wins.
|
| 60 |
+
|
| 61 |
+
## Output schema (`term_bank`)
|
| 62 |
+
`id`, `en`, `en_key`, `en_expanded`, `is_acronym`, `ar_display`, `ar_full`, `ar_variants`, `ar_key`, `ar_origin`, `reviewed`, `needs_review`, `domain` (ai, software, general), `sources` (list of repo id and row id), `has_full_card`, `embedding` (stored in a separate parquet column or file).
|
| 63 |
+
|
| 64 |
+
## Quality gates (pytest, run in CI and before publishing)
|
| 65 |
+
- No row without `ar_display`; no `ar_display` that is Latin-only.
|
| 66 |
+
- Every acronym has `en_expanded`.
|
| 67 |
+
- `en_key` unique.
|
| 68 |
+
- Every row has at least one source.
|
| 69 |
+
- Report, do not hide: counts before and after each stage, rows dropped, rows generated, rows needing review, back-translation similarity distribution.
|
| 70 |
+
|
| 71 |
+
## Running and publishing
|
| 72 |
+
- `data/pipeline.py` with one function per stage, deterministic and idempotent, cached between stages. Stages 0 to 2 run locally on CPU; Stage 3 and the embeddings run as an HF Job (explicit timeout, cost shown to the team first) and push results to the Hub from inside the Job.
|
| 73 |
+
- Publish `<org>/darby-term-bank` with a dataset card in English and Arabic: sources and licences, the EDA summary, every cleaning step, before and after counts, how translations were completed and checked, and known limits. Microsoft rows are referenced by repo id (the Space merges them at startup) rather than re-uploaded.
|
docs/HF_PLAN.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Hugging Face usage, models and budget
|
| 2 |
+
|
| 3 |
+
Binding for every infrastructure and model choice. Goal: every piece of AI and compute runs on Hugging Face's own hardware, and we use as many HF products as genuinely add something to the product or the proof.
|
| 4 |
+
|
| 5 |
+
Judging criteria (from the organisers): 1 Impact and relevance, 2 Use of Hugging Face ("the system genuinely runs on HF infrastructure"), 3 Technical execution ("it actually works, end to end"), 4 Efficiency ("smart, resourceful use of the compute budget"), 5 Demo and pitch.
|
| 6 |
+
|
| 7 |
+
Credits: USD 100 per team, one shared pool, no top-ups. HF Jobs stop after 30 minutes by default; save results to the Hub from inside the job.
|
| 8 |
+
|
| 9 |
+
## Models
|
| 10 |
+
|
| 11 |
+
| Role | Model | Where it runs |
|
| 12 |
+
|---|---|---|
|
| 13 |
+
| The brain: Smart Explain, tutor, prompt lab, content | `QCRI/Fanar-2-27B-Instruct` (Qatar, QCRI, Apache 2.0) | Quantized GGUF (Q5_K_M, or Q4_K_M if memory is tight) on an HF Inference Endpoint, llama.cpp container, 1x L4, scale to zero after 15 idle minutes. Full bf16 only inside Jobs |
|
| 14 |
+
| Grader for the quality test (never shown to learners) | `openai/gpt-oss-120b` (open weights on the Hub) | vLLM inside the same HF Job as the test |
|
| 15 |
+
| English voice | `hexgrad/Kokoro-82M` | In the learner's browser through Transformers.js (`kokoro-js`), so live English audio costs no server compute; server copy in the Space as fallback |
|
| 16 |
+
| Arabic voice | `facebook/mms-tts-ara` (check `tokenizer.is_uroman`; licence CC BY-NC 4.0, fine for a demo, say so in the README) | In the Space on CPU; glossary audio pre-generated in a Job and served from an HF Storage Bucket |
|
| 17 |
+
| Semantic search | `intfloat/multilingual-e5-small` | In the Space on CPU (term vectors pre-computed in a Job and stored with the dataset) |
|
| 18 |
+
| Voice questions (P1) | `openai/whisper-large-v3-turbo` in the Space, or a small Whisper in the browser through Transformers.js | Space CPU or browser |
|
| 19 |
+
|
| 20 |
+
No Inference Providers, no outside AI APIs, never Fanar's own API (api.fanar.qa). If the Fanar endpoint is asleep or failing, the app shows a "waking up" state and serves `DEMO_MODE` fixtures; during judging the endpoint is kept warm so this never shows.
|
| 21 |
+
|
| 22 |
+
## Community datasets we build on
|
| 23 |
+
|
| 24 |
+
| Dataset | What it is | Licence | How we use it |
|
| 25 |
+
|---|---|---|---|
|
| 26 |
+
| `Jerry999/multilingual-terminology` (GIST) | About 5,000 English AI terms from award-winning papers at 18 top AI conferences (2000 to 2023), with human Arabic translations refined by GPT-4o (paper: arXiv 2412.18367). Columns `Index`, `English`, `Arabic`. CSV per language; the Hub viewer errors, so download `Arabic.csv` with `hf_hub_download` instead of `load_dataset` | Apache 2.0 | (1) Term bank for Smart Explain, so any of 5,000 AI terms is recognised, not only our 100. (2) Source of the MSA term when generating glossary cards: Fanar writes the Gulf usage, definition, analogy and example around the human translation instead of inventing the Arabic. (3) Eval metric: does Fanar use the standard Arabic term? (4) Credited in our dataset card. Many terms are research-level ("Bellman operator"); pick the about 100 card terms by relevance to office work. Spot-check the Arabic |
|
| 27 |
+
| `ymoslem/MS-Glossary-EN-AR` | English to Arabic part of the Microsoft software localization glossary, about 22,000 term pairs ("log off" ุชุณุฌูู ุงูุฎุฑูุฌ, "drop-down menu" ูุงุฆู
ุฉ ู
ูุณุฏูุฉ). Parquet; the card and viewer disagree on column names (`text_en`/`text_ar` vs `en_term`/`ar_term`/`en_def`), so inspect the file | Not stated on the card (team decision: use it for the hackathon) | Term bank for everyday software words in work emails (Excel, Teams, Outlook) and the computing course. Used fully in the app and Jobs, credited to Microsoft and to the uploader. Our published dataset references it by repo id instead of re-uploading its rows, which costs nothing in features |
|
| 28 |
+
|
| 29 |
+
Term bank rules (full pipeline, EDA, cleaning and acronym translation in `docs/DATA_PIPELINE.md`):
|
| 30 |
+
- Build `term_bank` in a Job: our glossary, then GIST, then MS, normalised (case, plurals, simple suffixes), deduped. Our reviewed choices win on conflicts (for example ุฃู
ุฑ for prompt), then GIST for AI terms, then MS for software terms. Keep a `source` field on every entry.
|
| 31 |
+
- Two levels in the UI: a full Darby card (our about 100 terms: Gulf, analogy, example, audio) or a quick card (term bank: English, Arabic, source, plus "ask Fanar to explain").
|
| 32 |
+
- Search vectors for the whole bank (about 27,000 terms) are computed once in a CPU Job with `multilingual-e5-small` and stored with the dataset.
|
| 33 |
+
- The published `term_bank` dataset holds our entries and GIST in full, and links to `ymoslem/MS-Glossary-EN-AR` for the Microsoft entries (the Space merges them at startup).
|
| 34 |
+
|
| 35 |
+
## Every HF product we use
|
| 36 |
+
|
| 37 |
+
### P0: core (build these as part of the normal build order)
|
| 38 |
+
| # | HF product | What we use it for |
|
| 39 |
+
|---|---|---|
|
| 40 |
+
| 1 | Spaces (Docker) | The Darby app: React frontend, FastAPI backend, Arabic TTS, search |
|
| 41 |
+
| 2 | Inference Endpoints | Fanar 2 27B, scale to zero |
|
| 42 |
+
| 3 | Hub models | Every model above, loaded from the Hub |
|
| 43 |
+
| 4 | Hub datasets | `<org>/darby-ai-glossary-ar-en` (with search vectors), `<org>/darby-lessons`, `<org>/darby-eval`. The Space loads glossary and lessons from the Hub at startup, so content lives on HF |
|
| 44 |
+
| 5 | Jobs | (a) Content generation with full Fanar (glossary to about 100 terms, Gulf versions, practice questions). (b) Audio and search-vector pre-generation. (c) Quality and kernels test |
|
| 45 |
+
| 6 | Kernels | Hub kernels benchmark inside the quality Job |
|
| 46 |
+
| 7 | Storage Buckets | Pre-generated audio for every term (and any other generated media), served to the app from the bucket. Read https://huggingface.co/docs/hub/storage-buckets first |
|
| 47 |
+
| 8 | Collection | `<org>/darby`: Space, datasets, bucket, models, eval and kernels results. Shown in the pitch |
|
| 48 |
+
| 9 | Dataset Viewer and cards | Proper dataset cards (bilingual description, fields, licence, how it was made, "AI-drafted, spot-checked") so the Hub pages look professional to judges |
|
| 49 |
+
|
| 50 |
+
### P1: after every P0 feature demos end to end
|
| 51 |
+
| # | HF product | What we use it for |
|
| 52 |
+
|---|---|---|
|
| 53 |
+
| 10 | Transformers.js | Kokoro English voice in the browser (`kokoro-js`); optionally a small Whisper in the browser for voice questions. Pitch point: "pronunciation runs on your own device, zero server cost" |
|
| 54 |
+
| 11 | Gradio MCP server | Mount a small Gradio app inside FastAPI (`gr.mount_gradio_app`) with `mcp_server=True`, exposing `lookup_term`, `explain_text` and `todays_code_clue` as tools, so any AI assistant can use Darby's Arabic AI glossary. Read the Gradio MCP and `mount_gradio_app` docs first |
|
| 55 |
+
| 12 | smolagents | The tutor as a small agent with tools (glossary lookup, current lesson lookup), running on Fanar, so its answers are grounded in our content |
|
| 56 |
+
| 13 | Sign in with Hugging Face | OAuth on the Space; progress (XP, streak, saved terms) saved per user as a small JSON file in the Storage Bucket. Without sign-in, progress stays in local storage as now |
|
| 57 |
+
| 14 | Scheduled Jobs | A CPU-basic Job each morning (Qatar time) that prepares the day's code word, clue and audio and pushes them to the Hub. Costs about USD 0.01 per run |
|
| 58 |
+
| 15 | QCRI's `FanarGuard` dataset | If its licence allows, add 10 of its Arabic safety cases to our eval to test the tutor's refusals. Check the licence first; skip if unclear |
|
| 59 |
+
|
| 60 |
+
### Stretch: only with time and budget left
|
| 61 |
+
| # | HF product | What we use it for |
|
| 62 |
+
|---|---|---|
|
| 63 |
+
| 16 | `QCRI/Fanar-2-Oryx-IVU` (image understanding) | Photo explain: snap a slide or English screen, Fanar reads it, Smart Explain runs. Second L4 endpoint, scale to zero |
|
| 64 |
+
| 17 | `QCRI/Fanar-2-Oryx-IG` (image generation) | A Job that draws one illustration per lesson in a Qatari setting, saved to the bucket |
|
| 65 |
+
| 18 | TRL + PEFT in a Job | LoRA fine-tune on Fanar's reviewed explain outputs, adapter pushed to the Hub with a model card. Pitched as the path to our own model |
|
| 66 |
+
| 19 | lighteval | Use it as the eval harness for the quality Job if our tasks fit it; otherwise keep the custom script |
|
| 67 |
+
|
| 68 |
+
## Quality and kernels Job (`jobs/bakeoff.py`)
|
| 69 |
+
Evidence for the pitch, not a model choice.
|
| 70 |
+
- Test set `<org>/darby-eval`: about 30 items written by us: 12 Smart Explain texts (scored in Gulf and MSA), 8 tutor questions in Gulf Arabic, 6 prompt lab prompts, 4 safety and refusal cases (plus FanarGuard items if allowed).
|
| 71 |
+
- Answers from full bf16 Fanar 2 (vLLM in the Job) and from our quantized endpoint. Graded by gpt-oss-120b, loaded in vLLM in the same Job after Fanar is unloaded, with a fixed rubric: valid JSON rate, technical accuracy, natural Gulf dialect, correct Arabic terms (ุฃู
ุฑ for prompt), refusals where expected. Plus latency and cost per 1,000 answers. A team member who speaks Gulf Arabic checks 10 answers by hand and we report agreement.
|
| 72 |
+
- Kernels: Fanar 2 in transformers on the same prompts with default attention, then with Hub kernels (for example `kernels-community/flash-attn3` on Hopper). Tokens per second, time to first token, peak memory, cost per 1,000 answers. Check `has_kernel(...)` first and fall back cleanly. Read https://huggingface.co/docs/kernels first.
|
| 73 |
+
- Hardware: 1x H200 (141 GB, USD 5 per hour; fits each model in turn and supports flash-attn3). Explicit timeout. Results pushed to `<org>/darby-eval` from inside the Job, and a table in the README.
|
| 74 |
+
|
| 75 |
+
## Budget (USD 100)
|
| 76 |
+
|
| 77 |
+
| Item | Estimate |
|
| 78 |
+
|---|---|
|
| 79 |
+
| Fanar endpoint, about 15 awake hours (dev, testing, judging) | 12 |
|
| 80 |
+
| Quality and kernels Job (2 runs, about 45 min each on H200) | 8 |
|
| 81 |
+
| Content generation, audio and vector Jobs | 6 |
|
| 82 |
+
| Scheduled daily Job | under 1 |
|
| 83 |
+
| Stretch (Oryx endpoint, image Job, LoRA) | up to 20 |
|
| 84 |
+
| Reserve | 50+ |
|
| 85 |
+
|
| 86 |
+
Rules:
|
| 87 |
+
- Never leave a GPU awake by accident. Scale-to-zero on every endpoint, an explicit timeout on every Job.
|
| 88 |
+
- Before any paid Job or endpoint, tell the team the hardware, timeout and expected cost.
|
| 89 |
+
- Log every paid run in `docs/BUDGET.md` (time, hardware, minutes, cost). This is evidence for criterion 4.
|
| 90 |
+
- Build against fixtures and a mock first; wake the endpoint only when real output is needed.
|
| 91 |
+
- Before judging: wake the endpoint 15 minutes early and keep it warm with a health ping until the pitch ends.
|
| 92 |
+
- Fonts are bundled in the app (self-hosted woff2 files), not loaded from Google, so the Space depends on nothing outside HF at run time.
|
| 93 |
+
|
| 94 |
+
## Pitch line for criteria 2 and 4
|
| 95 |
+
"Every part of Darby runs on Hugging Face. Its brain is Qatar's own Fanar 2 on an Inference Endpoint that sleeps when idle. Its content was generated, voiced and quality-tested in HF Jobs, with Hub kernels making inference faster, and it lives in open Hub datasets and a Storage Bucket. English pronunciation runs in your browser with Transformers.js, and any AI assistant can use our glossary through the Space's MCP server. Total compute spend: USD [X] of 100."
|
docs/design/explain.reference.html
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
+
<html lang="ar">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8">
|
| 5 |
+
<title>Darby Smart Explain</title>
|
| 6 |
+
<script src="./support.js"></script>
|
| 7 |
+
</head>
|
| 8 |
+
<body>
|
| 9 |
+
<x-dc>
|
| 10 |
+
<helmet>
|
| 11 |
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 12 |
+
<link href="https://fonts.googleapis.com/css2?family=Readex+Pro:wght@500;600;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=IBM+Plex+Sans:wght@500;600;700&display=swap" rel="stylesheet">
|
| 13 |
+
<style>
|
| 14 |
+
body{margin:0}
|
| 15 |
+
a{color:#8A1538}a:hover{color:#5E0E26}
|
| 16 |
+
</style>
|
| 17 |
+
</helmet>
|
| 18 |
+
<div dir="rtl" lang="ar" style="min-height: 1040px; background: #F5EBDD; color: #22181A; font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif; font-size: 16px; line-height: 1.7">
|
| 19 |
+
<header style="background: #FFFDF9; border-bottom: 1px solid #E8D9C3">
|
| 20 |
+
<div style="max-width: 1160px; margin: 0 auto; padding: 14px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px">
|
| 21 |
+
<div style="display: flex; align-items: center; gap: 10px">
|
| 22 |
+
<div style="width: 44px; height: 44px; border-radius: 14px; background: #8A1538; box-shadow: 0 4px 0 #5E0E26; color: #FFFFFF; display: flex; align-items: center; justify-content: center">
|
| 23 |
+
<svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 20c3-1 4-4 7-4s4 3 7 4"></path><path d="M8 12c2-.5 2.5-2.5 4-2.5S14 11.5 16 12"></path><circle cx="12" cy="5" r="1.6"></circle></svg>
|
| 24 |
+
</div>
|
| 25 |
+
<div style="display: flex; align-items: baseline; gap: 8px">
|
| 26 |
+
<span style="font-family: 'Readex Pro', sans-serif; font-size: 28px; font-weight: 700; color: #8A1538; line-height: 1">ุฏุฑุจู</span>
|
| 27 |
+
<span style="font-family: 'IBM Plex Sans', sans-serif; font-size: 15px; font-weight: 600; color: #6A5D55">Darby</span>
|
| 28 |
+
</div>
|
| 29 |
+
</div>
|
| 30 |
+
<nav aria-label="ุงูุฃูุณุงู
" style="display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; font-weight: 600">
|
| 31 |
+
<a href="#" style="text-decoration: none; padding: 8px 16px; border-radius: 999px; color: #4A3D38">ุฏุฑุจู</a>
|
| 32 |
+
<a href="#" style="text-decoration: none; padding: 8px 16px; border-radius: 999px; background: #8A1538; color: #FFFFFF">ุงุดุฑุญ ูู</a>
|
| 33 |
+
<a href="#" style="text-decoration: none; padding: 8px 16px; border-radius: 999px; color: #4A3D38">ุงููุงู
ูุณ</a>
|
| 34 |
+
<a href="#" style="text-decoration: none; padding: 8px 16px; border-radius: 999px; color: #4A3D38">ุงูู
ุนููู
</a>
|
| 35 |
+
</nav>
|
| 36 |
+
<div style="display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: 15px">
|
| 37 |
+
<span style="display: flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: #FFFFFF; border: 1px solid #E8D9C3">
|
| 38 |
+
<svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="#D9622B"><path d="M12 2c1 4 5 6 5 11a5 5 0 0 1-10 0c0-2 1-3 2-4 0 2 1 3 2 3 0-4-1-6 1-10z"></path></svg>
|
| 39 |
+
7 ุฃูุงู
|
| 40 |
+
</span>
|
| 41 |
+
<span style="display: flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: #FFFFFF; border: 1px solid #E8D9C3">
|
| 42 |
+
<svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="#E9A93B"><path d="M12 2l3 7h7l-5.5 4.5L18 21l-6-4-6 4 1.5-7.5L2 9h7z"></path></svg>
|
| 43 |
+
340
|
| 44 |
+
</span>
|
| 45 |
+
</div>
|
| 46 |
+
</div>
|
| 47 |
+
</header>
|
| 48 |
+
|
| 49 |
+
<main style="max-width: 1160px; margin: 0 auto; padding: 40px 40px 56px">
|
| 50 |
+
<div style="display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px">
|
| 51 |
+
<div>
|
| 52 |
+
<h1 style="margin: 0; font-family: 'Readex Pro', sans-serif; font-size: 40px; font-weight: 700; line-height: 1.3">ุงููู
ุฃู ูุต ุชูููุ ุจููุฌุชู</h1>
|
| 53 |
+
<p style="margin: 6px 0 0; color: #6A5D55; font-size: 18px">ุงูุตู ุฅูู
ูู ุฃู ุชูุฑูุฑ ู
ู ุงูุดุบู. ูุดุฑุญ ูู ุงูู
ุตุทูุญุงุชุ ูุจุนุฏูู ุณุคุงู ูุงุญุฏ.</p>
|
| 54 |
+
</div>
|
| 55 |
+
<div role="group" aria-label="ูุบุฉ ุงูุดุฑุญ" style="display: flex; gap: 4px; background: #FFFDF9; padding: 4px; border-radius: 999px; border: 1px solid #E8D9C3; font-weight: 700">
|
| 56 |
+
<button type="button" style="border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: inherit; color: #4A3D38; min-height: 40px; cursor: pointer">EN</button>
|
| 57 |
+
<button type="button" style="border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: inherit; color: #4A3D38; min-height: 40px; cursor: pointer">ูุตุญู</button>
|
| 58 |
+
<button type="button" aria-pressed="true" style="border: 0; background: #8A1538; color: #FFFFFF; padding: 8px 16px; border-radius: 999px; font: inherit; min-height: 40px; cursor: pointer">ุฎููุฌู</button>
|
| 59 |
+
</div>
|
| 60 |
+
</div>
|
| 61 |
+
|
| 62 |
+
<div style="display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start">
|
| 63 |
+
<section style="flex: 1 1 420px; min-width: 0; background: #FFFDF9; border: 1px solid #E8D9C3; border-radius: 20px; padding: 28px; box-shadow: 0 6px 0 #E2CFB3">
|
| 64 |
+
<label style="display: block; font-weight: 700; font-size: 18px; margin-bottom: 12px">ุงููุต ุงููู ูุตูู</label>
|
| 65 |
+
<div dir="ltr" lang="en" style="font-family: 'IBM Plex Sans', sans-serif; font-size: 17px; line-height: 1.9; background: #FBF6EE; border: 1px solid #E8D9C3; border-radius: 14px; padding: 20px; min-height: 200px; text-align: left">
|
| 66 |
+
Before you send the summary to the client, check it for <span style="background: #F6E1E6; color: #7A1231; padding: 2px 8px; border-radius: 999px; font-weight: 700">hallucinations</span>. Give the <span style="background: #DDEFEC; color: #0A5A56; padding: 2px 8px; border-radius: 999px; font-weight: 600">model</span> more <span style="background: #DDEFEC; color: #0A5A56; padding: 2px 8px; border-radius: 999px; font-weight: 600">context</span> in your <span style="background: #DDEFEC; color: #0A5A56; padding: 2px 8px; border-radius: 999px; font-weight: 600">prompt</span> and ask it to cite the source paragraph.
|
| 67 |
+
</div>
|
| 68 |
+
<div style="display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 14px; color: #4A3D38">
|
| 69 |
+
<span style="display: flex; align-items: center; gap: 6px"><span style="width: 12px; height: 12px; border-radius: 50%; background: #8A1538"></span>ุฌุฏูุฏ ุนููู</span>
|
| 70 |
+
<span style="display: flex; align-items: center; gap: 6px"><span style="width: 12px; height: 12px; border-radius: 50%; background: #0B6E69"></span>ูู ูุงู
ูุณู</span>
|
| 71 |
+
</div>
|
| 72 |
+
<button type="button" style="margin-top: 20px; width: 100%; border: 0; background: #8A1538; color: #FFFFFF; font: inherit; font-size: 19px; font-weight: 700; padding: 14px 22px; border-radius: 16px; min-height: 56px; box-shadow: 0 5px 0 #5E0E26; cursor: pointer">ูููู
ูู</button>
|
| 73 |
+
</section>
|
| 74 |
+
|
| 75 |
+
<section style="flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px">
|
| 76 |
+
<article style="background: #FFFDF9; border: 1px solid #E8D9C3; border-radius: 20px; padding: 28px; box-shadow: 0 6px 0 #E2CFB3">
|
| 77 |
+
<div style="display: flex; align-items: center; gap: 16px">
|
| 78 |
+
<div style="width: 60px; height: 60px; flex: 0 0 60px; border-radius: 18px; background: #F6E1E6; color: #8A1538; display: flex; align-items: center; justify-content: center">
|
| 79 |
+
<svg aria-hidden="true" width="30" height="30" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"></circle><path d="M9 10h.01M15 10h.01"></path><path d="M9 15.5c1-.8 2-1 3-1s2 .2 3 1"></path></svg>
|
| 80 |
+
</div>
|
| 81 |
+
<div style="flex: 1 1 auto">
|
| 82 |
+
<div style="font-family: 'Readex Pro', sans-serif; font-size: 30px; font-weight: 700; color: #8A1538; line-height: 1.3">ุงููููุณุฉ</div>
|
| 83 |
+
<div dir="ltr" style="font-family: 'IBM Plex Sans', sans-serif; font-size: 18px; font-weight: 600; color: #4A3D38; text-align: right">Hallucination</div>
|
| 84 |
+
</div>
|
| 85 |
+
<button type="button" aria-label="ุงุณุชู
ุน ูููุทู" style="width: 52px; height: 52px; border-radius: 16px; border: 0; background: #DDEFEC; color: #0A5A56; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 0 #B7DCD7; cursor: pointer">
|
| 86 |
+
<svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M11 5 6 9H2v6h4l5 4V5z"></path><path d="M15.5 8.5a5 5 0 0 1 0 7"></path><path d="M19 5a10 10 0 0 1 0 14"></path></svg>
|
| 87 |
+
</button>
|
| 88 |
+
</div>
|
| 89 |
+
<p style="margin: 16px 0 0; font-size: 18px">ูุนูู ุงูู AI ูุฃููู ู
ุนููู
ุฉ ู
ู ู
ูุฌูุฏุฉ ููููููุง ุจุซูุฉุ ูุฃููุง ุญูููุฉ. ุนุดุงู ุชููู ู
ููุงุ ุนุทู <bdi>context</bdi> ุฃูุซุฑุ ูุงุทูุจ ู
ูู ูุฐูุฑ ุงูููุฑุฉ ุงููู ุฃุฎุฐ ู
ููุง.</p>
|
| 90 |
+
<div style="margin-top: 16px; padding: 14px 16px; background: #F7F0E6; border-radius: 14px; color: #4A3D38">ู
ุซู ุฒู
ูู ุฌุฏูุฏ ูุฌุงูุจ ุนูู ูู ุณุคุงู ุญุชู ูู ู
ุง ูุนุฑู ุงูุฌูุงุจ.</div>
|
| 91 |
+
<div style="display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center">
|
| 92 |
+
<button type="button" style="border: 1px solid #E8D9C3; background: #FFFFFF; color: #22181A; font: inherit; font-weight: 700; padding: 8px 16px; border-radius: 999px; min-height: 44px; cursor: pointer">+ ุงุญูุธ ูู ูุงู
ูุณู</button>
|
| 93 |
+
<span style="font-size: 14px; padding: 4px 12px; border-radius: 999px; background: #F6E1E6; color: #7A1231">ูุตุญู: ุงููููุณุฉ</span>
|
| 94 |
+
</div>
|
| 95 |
+
</article>
|
| 96 |
+
|
| 97 |
+
<article style="background: #FFFDF9; border: 1px solid #E8D9C3; border-radius: 20px; padding: 28px; box-shadow: 0 6px 0 #E2CFB3">
|
| 98 |
+
<div style="display: flex; justify-content: space-between; align-items: center; gap: 12px">
|
| 99 |
+
<span style="font-weight: 700; color: #8A1538">ุณุคุงู ุณุฑูุน</span>
|
| 100 |
+
<span style="font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; background: #FBE7BF; color: #6B4300">+15 ููุทุฉ</span>
|
| 101 |
+
</div>
|
| 102 |
+
<p style="margin: 8px 0 18px; font-size: 19px; font-weight: 700">ุฒู
ููู ูููู ุฅู ุงูู AI ุฐูุฑ ุฑูู
ู
ู ู
ูุฌูุฏ ูู ุงูุชูุฑูุฑ ุฃุจุฏ. ุดูู ุงุณู
ูุงูุดูุ</p>
|
| 103 |
+
<div dir="ltr" style="display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; font-family: 'IBM Plex Sans', sans-serif">
|
| 104 |
+
<button type="button" style="font: inherit; font-weight: 600; min-height: 56px; border-radius: 16px; border: 2px solid #E8D9C3; background: #FFFFFF; color: #22181A; box-shadow: 0 4px 0 #E2CFB3; cursor: pointer">Prompt</button>
|
| 105 |
+
<button type="button" style="font: inherit; font-weight: 700; min-height: 56px; border-radius: 16px; border: 2px solid #1F7A4D; background: #E2F3E9; color: #145236; box-shadow: 0 4px 0 #1F7A4D; cursor: pointer">Hallucination โ</button>
|
| 106 |
+
<button type="button" style="font: inherit; font-weight: 600; min-height: 56px; border-radius: 16px; border: 2px solid #E8D9C3; background: #FFFFFF; color: #22181A; box-shadow: 0 4px 0 #E2CFB3; cursor: pointer">Token</button>
|
| 107 |
+
<button type="button" style="font: inherit; font-weight: 600; min-height: 56px; border-radius: 16px; border: 2px solid #E8D9C3; background: #FFFFFF; color: #22181A; box-shadow: 0 4px 0 #E2CFB3; cursor: pointer">Context</button>
|
| 108 |
+
</div>
|
| 109 |
+
</article>
|
| 110 |
+
</section>
|
| 111 |
+
</div>
|
| 112 |
+
|
| 113 |
+
<footer style="margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: #6A5D55; font-size: 14px">
|
| 114 |
+
<span style="padding: 6px 14px; border: 1px solid #E8D9C3; border-radius: 999px; background: #FFFDF9">ูุนู
ู ุจูู
ูุฐุฌ <bdi>Fanar 2</bdi> ุงููุทุฑู ุนูู <bdi>Hugging Face</bdi></span>
|
| 115 |
+
<span>ุงููุต ู
ุง ููุญูุธ.</span>
|
| 116 |
+
</footer>
|
| 117 |
+
</main>
|
| 118 |
+
</div>
|
| 119 |
+
</x-dc>
|
| 120 |
+
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":1280,"height":1040}}'>
|
| 121 |
+
class Component extends DCLogic {
|
| 122 |
+
renderVals() {
|
| 123 |
+
return {};
|
| 124 |
+
}
|
| 125 |
+
}
|
| 126 |
+
</script>
|
| 127 |
+
</body>
|
| 128 |
+
</html>
|
docs/design/home.reference.html
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
+
<html lang="ar">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8">
|
| 5 |
+
<title>Darby home with Smart Explain</title>
|
| 6 |
+
<script src="./support.js"></script>
|
| 7 |
+
</head>
|
| 8 |
+
<body>
|
| 9 |
+
<x-dc>
|
| 10 |
+
<helmet>
|
| 11 |
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 12 |
+
<link href="https://fonts.googleapis.com/css2?family=Readex+Pro:wght@500;600;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=IBM+Plex+Sans:wght@500;600;700&display=swap" rel="stylesheet">
|
| 13 |
+
<style>
|
| 14 |
+
body{margin:0}
|
| 15 |
+
a{color:#8A1538}a:hover{color:#5E0E26}
|
| 16 |
+
</style>
|
| 17 |
+
</helmet>
|
| 18 |
+
<div dir="rtl" lang="ar" style="min-height: 1320px; background: #F5EBDD; color: #22181A; font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif; font-size: 16px; line-height: 1.7">
|
| 19 |
+
<header style="background: #FFFDF9; border-bottom: 1px solid #E8D9C3">
|
| 20 |
+
<div style="max-width: 1240px; margin: 0 auto; padding: 14px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px">
|
| 21 |
+
<div style="display: flex; align-items: center; gap: 10px">
|
| 22 |
+
<div style="width: 44px; height: 44px; border-radius: 14px; background: #8A1538; box-shadow: 0 4px 0 #5E0E26; color: #FFFFFF; display: flex; align-items: center; justify-content: center">
|
| 23 |
+
<svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 20c3-1 4-4 7-4s4 3 7 4"></path><path d="M8 12c2-.5 2.5-2.5 4-2.5S14 11.5 16 12"></path><circle cx="12" cy="5" r="1.6"></circle></svg>
|
| 24 |
+
</div>
|
| 25 |
+
<div style="display: flex; align-items: baseline; gap: 8px">
|
| 26 |
+
<span style="font-family: 'Readex Pro', sans-serif; font-size: 26px; font-weight: 600; color: #8A1538; line-height: 1">ุฏุฑุจู</span>
|
| 27 |
+
<span style="font-family: 'IBM Plex Sans', sans-serif; font-size: 15px; font-weight: 600; color: #6A5D55">Darby</span>
|
| 28 |
+
</div>
|
| 29 |
+
</div>
|
| 30 |
+
<nav aria-label="ุงูุฃูุณุงู
" style="display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; font-weight: 600">
|
| 31 |
+
<a href="#" style="text-decoration: none; padding: 8px 16px; border-radius: 999px; background: #8A1538; color: #FFFFFF">ุงูุฑุฆูุณูุฉ</a>
|
| 32 |
+
<a href="#" style="text-decoration: none; padding: 8px 16px; border-radius: 999px; color: #4A3D38">ุงููุงู
ูุณ</a>
|
| 33 |
+
<a href="#" style="text-decoration: none; padding: 8px 16px; border-radius: 999px; color: #4A3D38">ุงูู
ุนููู
</a>
|
| 34 |
+
</nav>
|
| 35 |
+
<div style="display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: 15px">
|
| 36 |
+
<span style="display: flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: #FFFFFF; border: 1px solid #E8D9C3">
|
| 37 |
+
<svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="#D9622B"><path d="M12 2c1 4 5 6 5 11a5 5 0 0 1-10 0c0-2 1-3 2-4 0 2 1 3 2 3 0-4-1-6 1-10z"></path></svg>
|
| 38 |
+
7 ุฃูุงู
|
| 39 |
+
</span>
|
| 40 |
+
<span style="display: flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: #FFFFFF; border: 1px solid #E8D9C3">
|
| 41 |
+
<svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="#E9A93B"><path d="M12 2l3 7h7l-5.5 4.5L18 21l-6-4-6 4 1.5-7.5L2 9h7z"></path></svg>
|
| 42 |
+
340 ููุทุฉ
|
| 43 |
+
</span>
|
| 44 |
+
</div>
|
| 45 |
+
</div>
|
| 46 |
+
</header>
|
| 47 |
+
|
| 48 |
+
<main style="max-width: 1240px; margin: 0 auto; padding: 40px 40px 56px">
|
| 49 |
+
<div style="display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px">
|
| 50 |
+
<div>
|
| 51 |
+
<h1 style="margin: 0; font-family: 'Readex Pro', sans-serif; font-size: 36px; font-weight: 600; line-height: 1.35">ุตุจุงุญ ุงูุฎูุฑุ ููุฑุฉ</h1>
|
| 52 |
+
<p style="margin: 4px 0 0; color: #6A5D55; font-size: 18px">ูุตูู ูุต ู
ุง ููู
ุชูุ ุงูุตูู ููุง. ูุจุงูู ูู 10 ุฏูุงูู ุนูู ูุฏู ุงูููู
.</p>
|
| 53 |
+
</div>
|
| 54 |
+
<div role="group" aria-label="ูุบุฉ ุงูุดุฑุญ" style="display: flex; gap: 4px; background: #FFFDF9; padding: 4px; border-radius: 999px; border: 1px solid #E8D9C3; font-weight: 600">
|
| 55 |
+
<button type="button" style="border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: inherit; color: #4A3D38; min-height: 40px; cursor: pointer">EN</button>
|
| 56 |
+
<button type="button" style="border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: inherit; color: #4A3D38; min-height: 40px; cursor: pointer">ูุตุญู</button>
|
| 57 |
+
<button type="button" aria-pressed="true" style="border: 0; background: #8A1538; color: #FFFFFF; padding: 8px 16px; border-radius: 999px; font: inherit; min-height: 40px; cursor: pointer">ุฎููุฌู</button>
|
| 58 |
+
</div>
|
| 59 |
+
</div>
|
| 60 |
+
|
| 61 |
+
<div style="display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start">
|
| 62 |
+
|
| 63 |
+
<div style="flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 28px">
|
| 64 |
+
<section aria-labelledby="explain-h" style="background: #FFFDF9; border: 1px solid #E8D9C3; border-radius: 20px; padding: 28px; box-shadow: 0 6px 0 #E2CFB3">
|
| 65 |
+
<div style="display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px">
|
| 66 |
+
<h2 id="explain-h" style="margin: 0; font-family: 'Readex Pro', sans-serif; font-size: 22px; font-weight: 600; color: #8A1538">ุงุดุฑุญ ูู</h2>
|
| 67 |
+
<span style="font-size: 14px; color: #6A5D55">4 ู
ุตุทูุญุงุชุ 3 ู
ููุง ูู ูุงู
ูุณู</span>
|
| 68 |
+
</div>
|
| 69 |
+
<div dir="ltr" lang="en" style="font-family: 'IBM Plex Sans', sans-serif; font-size: 17px; line-height: 1.9; background: #FBF6EE; border: 1px solid #E8D9C3; border-radius: 14px; padding: 20px; text-align: left">
|
| 70 |
+
Before you send the summary to the client, check it for <span style="background: #F6E1E6; color: #7A1231; padding: 2px 8px; border-radius: 999px; font-weight: 700">hallucinations</span>. Give the <span style="background: #DDEFEC; color: #0A5A56; padding: 2px 8px; border-radius: 999px; font-weight: 600">model</span> more <span style="background: #DDEFEC; color: #0A5A56; padding: 2px 8px; border-radius: 999px; font-weight: 600">context</span> in your <span style="background: #DDEFEC; color: #0A5A56; padding: 2px 8px; border-radius: 999px; font-weight: 600">prompt</span> and ask it to cite the source paragraph.
|
| 71 |
+
</div>
|
| 72 |
+
<div style="display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 16px">
|
| 73 |
+
<div style="display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: #4A3D38">
|
| 74 |
+
<span style="display: flex; align-items: center; gap: 6px"><span style="width: 12px; height: 12px; border-radius: 50%; background: #8A1538"></span>ุฌุฏูุฏ ุนููู</span>
|
| 75 |
+
<span style="display: flex; align-items: center; gap: 6px"><span style="width: 12px; height: 12px; border-radius: 50%; background: #0B6E69"></span>ูู ูุงู
ูุณู</span>
|
| 76 |
+
</div>
|
| 77 |
+
<button type="button" style="border: 0; background: #8A1538; color: #FFFFFF; font: inherit; font-size: 18px; font-weight: 700; padding: 12px 32px; border-radius: 16px; min-height: 52px; box-shadow: 0 5px 0 #5E0E26; cursor: pointer">ูููู
ูู</button>
|
| 78 |
+
</div>
|
| 79 |
+
</section>
|
| 80 |
+
|
| 81 |
+
<section aria-label="ุงูุดุฑุญ" style="background: #FFFDF9; border: 1px solid #E8D9C3; border-radius: 20px; padding: 28px; box-shadow: 0 6px 0 #E2CFB3; display: flex; flex-wrap: wrap; gap: 28px">
|
| 82 |
+
<article style="flex: 1 1 300px; min-width: 0">
|
| 83 |
+
<div style="display: flex; align-items: center; gap: 14px">
|
| 84 |
+
<div style="width: 56px; height: 56px; flex: 0 0 56px; border-radius: 18px; background: #F6E1E6; color: #8A1538; display: flex; align-items: center; justify-content: center">
|
| 85 |
+
<svg aria-hidden="true" width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"></circle><path d="M9 10h.01M15 10h.01"></path><path d="M9 15.5c1-.8 2-1 3-1s2 .2 3 1"></path></svg>
|
| 86 |
+
</div>
|
| 87 |
+
<div style="flex: 1 1 auto">
|
| 88 |
+
<div style="font-family: 'Readex Pro', sans-serif; font-size: 26px; font-weight: 600; color: #8A1538; line-height: 1.3">ุงููููุณุฉ</div>
|
| 89 |
+
<div dir="ltr" style="font-family: 'IBM Plex Sans', sans-serif; font-size: 17px; font-weight: 600; color: #4A3D38; text-align: right">Hallucination</div>
|
| 90 |
+
</div>
|
| 91 |
+
<button type="button" aria-label="ุงุณุชู
ุน ูููุทู" style="width: 48px; height: 48px; border-radius: 16px; border: 0; background: #DDEFEC; color: #0A5A56; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 0 #B7DCD7; cursor: pointer">
|
| 92 |
+
<svg aria-hidden="true" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M11 5 6 9H2v6h4l5 4V5z"></path><path d="M15.5 8.5a5 5 0 0 1 0 7"></path><path d="M19 5a10 10 0 0 1 0 14"></path></svg>
|
| 93 |
+
</button>
|
| 94 |
+
</div>
|
| 95 |
+
<p style="margin: 14px 0 0; font-size: 17px">ูุนูู ุงูู AI ูุฃููู ู
ุนููู
ุฉ ู
ู ู
ูุฌูุฏุฉ ููููููุง ุจุซูุฉุ ูุฃููุง ุญูููุฉ. ุนุดุงู ุชููู ู
ููุงุ ุนุทู <bdi>context</bdi> ุฃูุซุฑุ ูุงุทูุจ ู
ูู ูุฐูุฑ ุงูููุฑุฉ ุงููู ุฃุฎุฐ ู
ููุง.</p>
|
| 96 |
+
<div style="margin-top: 14px; padding: 12px 16px; background: #F7F0E6; border-radius: 14px; color: #4A3D38">ู
ุซู ุฒู
ูู ุฌุฏูุฏ ูุฌุงูุจ ุนูู ูู ุณุคุงู ุญุชู ูู ู
ุง ูุนุฑู ุงูุฌูุงุจ.</div>
|
| 97 |
+
<button type="button" style="margin-top: 14px; border: 1px solid #E8D9C3; background: #FFFFFF; color: #22181A; font: inherit; font-weight: 700; padding: 8px 16px; border-radius: 999px; min-height: 44px; cursor: pointer">+ ุงุญูุธ ูู ูุงู
ูุณู</button>
|
| 98 |
+
</article>
|
| 99 |
+
|
| 100 |
+
<article style="flex: 1 1 300px; min-width: 0; padding: 20px; border-radius: 16px; background: #FBF6EE; border: 1px solid #E8D9C3">
|
| 101 |
+
<div style="display: flex; justify-content: space-between; align-items: center; gap: 12px">
|
| 102 |
+
<span style="font-weight: 700; color: #8A1538">ุณุคุงู ุณุฑูุน</span>
|
| 103 |
+
<span style="font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; background: #FBE7BF; color: #6B4300">+15 ููุทุฉ</span>
|
| 104 |
+
</div>
|
| 105 |
+
<p style="margin: 8px 0 16px; font-size: 18px; font-weight: 700">ุฒู
ููู ูููู ุฅู ุงูู AI ุฐูุฑ ุฑูู
ู
ู ู
ูุฌูุฏ ูู ุงูุชูุฑูุฑ ุฃุจุฏ. ุดูู ุงุณู
ูุงูุดูุ</p>
|
| 106 |
+
<div dir="ltr" style="display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; font-family: 'IBM Plex Sans', sans-serif">
|
| 107 |
+
<button type="button" style="font: inherit; font-weight: 600; min-height: 52px; border-radius: 14px; border: 2px solid #E8D9C3; background: #FFFFFF; color: #22181A; box-shadow: 0 4px 0 #E2CFB3; cursor: pointer">Prompt</button>
|
| 108 |
+
<button type="button" style="font: inherit; font-weight: 700; min-height: 52px; border-radius: 14px; border: 2px solid #1F7A4D; background: #E2F3E9; color: #145236; box-shadow: 0 4px 0 #1F7A4D; cursor: pointer">Hallucination โ</button>
|
| 109 |
+
<button type="button" style="font: inherit; font-weight: 600; min-height: 52px; border-radius: 14px; border: 2px solid #E8D9C3; background: #FFFFFF; color: #22181A; box-shadow: 0 4px 0 #E2CFB3; cursor: pointer">Token</button>
|
| 110 |
+
<button type="button" style="font: inherit; font-weight: 600; min-height: 52px; border-radius: 14px; border: 2px solid #E8D9C3; background: #FFFFFF; color: #22181A; box-shadow: 0 4px 0 #E2CFB3; cursor: pointer">Context</button>
|
| 111 |
+
</div>
|
| 112 |
+
<p style="margin: 14px 0 0; font-size: 14px; color: #145236; font-weight: 600">ุตุญ! ูุฐู ุจุงูุถุจุท ุงููููุณุฉ.</p>
|
| 113 |
+
</article>
|
| 114 |
+
</section>
|
| 115 |
+
</div>
|
| 116 |
+
|
| 117 |
+
<aside style="flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 28px">
|
| 118 |
+
<section aria-labelledby="code-h" style="background: #FFFDF9; border: 1px solid #E8D9C3; border-radius: 20px; padding: 24px; box-shadow: 0 6px 0 #E2CFB3">
|
| 119 |
+
<div style="display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px">
|
| 120 |
+
<h2 id="code-h" style="margin: 0; font-family: 'Readex Pro', sans-serif; font-size: 22px; font-weight: 600; color: #8A1538">ุดููุฑุฉ ุงูููู
</h2>
|
| 121 |
+
<span style="font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; background: #FBE7BF; color: #6B4300">+20</span>
|
| 122 |
+
</div>
|
| 123 |
+
<p style="margin: 0 0 16px; color: #4A3D38; font-size: 15px">ุงูุฏููู: <strong>ุงูู
ุณูุฏุฉ</strong>ุ ุฃูู ูุณุฎุฉ ู
ู ุงููุต ูุจู ุงูุชุนุฏูู.</p>
|
| 124 |
+
<div dir="ltr" style="display: flex; flex-direction: column; gap: 6px; align-items: center; font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; font-size: 20px">
|
| 125 |
+
<div style="display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; width: 260px">
|
| 126 |
+
<div style="height: 46px; border-radius: 10px; background: #CFC3B4; color: #FFFFFF; display: flex; align-items: center; justify-content: center">C</div>
|
| 127 |
+
<div style="height: 46px; border-radius: 10px; background: #CFC3B4; color: #FFFFFF; display: flex; align-items: center; justify-content: center">H</div>
|
| 128 |
+
<div style="height: 46px; border-radius: 10px; background: #1F7A4D; color: #FFFFFF; display: flex; align-items: center; justify-content: center">A</div>
|
| 129 |
+
<div style="height: 46px; border-radius: 10px; background: #C98A1A; color: #FFFFFF; display: flex; align-items: center; justify-content: center">R</div>
|
| 130 |
+
<div style="height: 46px; border-radius: 10px; background: #1F7A4D; color: #FFFFFF; display: flex; align-items: center; justify-content: center">T</div>
|
| 131 |
+
</div>
|
| 132 |
+
<div style="display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; width: 260px">
|
| 133 |
+
<div style="height: 46px; border-radius: 10px; background: #CFC3B4; color: #FFFFFF; display: flex; align-items: center; justify-content: center">C</div>
|
| 134 |
+
<div style="height: 46px; border-radius: 10px; background: #1F7A4D; color: #FFFFFF; display: flex; align-items: center; justify-content: center">R</div>
|
| 135 |
+
<div style="height: 46px; border-radius: 10px; background: #1F7A4D; color: #FFFFFF; display: flex; align-items: center; justify-content: center">A</div>
|
| 136 |
+
<div style="height: 46px; border-radius: 10px; background: #1F7A4D; color: #FFFFFF; display: flex; align-items: center; justify-content: center">F</div>
|
| 137 |
+
<div style="height: 46px; border-radius: 10px; background: #1F7A4D; color: #FFFFFF; display: flex; align-items: center; justify-content: center">T</div>
|
| 138 |
+
</div>
|
| 139 |
+
<div style="display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; width: 260px">
|
| 140 |
+
<div style="height: 46px; border-radius: 10px; border: 2px solid #8A1538; background: #FFFFFF; color: #22181A; display: flex; align-items: center; justify-content: center">D</div>
|
| 141 |
+
<div style="height: 46px; border-radius: 10px; border: 2px solid #E8D9C3; background: #FFFFFF"></div>
|
| 142 |
+
<div style="height: 46px; border-radius: 10px; border: 2px solid #E8D9C3; background: #FFFFFF"></div>
|
| 143 |
+
<div style="height: 46px; border-radius: 10px; border: 2px solid #E8D9C3; background: #FFFFFF"></div>
|
| 144 |
+
<div style="height: 46px; border-radius: 10px; border: 2px solid #E8D9C3; background: #FFFFFF"></div>
|
| 145 |
+
</div>
|
| 146 |
+
</div>
|
| 147 |
+
<div style="display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 14px; font-size: 13px; color: #4A3D38">
|
| 148 |
+
<span style="display: flex; align-items: center; gap: 6px"><span style="width: 12px; height: 12px; border-radius: 3px; background: #1F7A4D"></span>ูู ู
ูุงูู</span>
|
| 149 |
+
<span style="display: flex; align-items: center; gap: 6px"><span style="width: 12px; height: 12px; border-radius: 3px; background: #C98A1A"></span>ุจู
ูุงู ุซุงูู</span>
|
| 150 |
+
<span style="display: flex; align-items: center; gap: 6px"><span style="width: 12px; height: 12px; border-radius: 3px; background: #CFC3B4"></span>ู
ู ู
ูุฌูุฏ</span>
|
| 151 |
+
</div>
|
| 152 |
+
</section>
|
| 153 |
+
|
| 154 |
+
<section aria-labelledby="path-h" style="background: #FFFDF9; border: 1px solid #E8D9C3; border-radius: 20px; padding: 24px; box-shadow: 0 6px 0 #E2CFB3">
|
| 155 |
+
<div style="display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px">
|
| 156 |
+
<h2 id="path-h" style="margin: 0; font-family: 'Readex Pro', sans-serif; font-size: 22px; font-weight: 600; color: #8A1538">ุฏุฑุจู</h2>
|
| 157 |
+
<span style="font-size: 14px; color: #6A5D55; font-weight: 600">2 ู
ู 7</span>
|
| 158 |
+
</div>
|
| 159 |
+
<ol style="list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px">
|
| 160 |
+
<li style="display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #F7F0E6">
|
| 161 |
+
<span style="width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: #1F7A4D; box-shadow: 0 3px 0 #145236; color: #FFFFFF; display: flex; align-items: center; justify-content: center">
|
| 162 |
+
<svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12l5 5L19 7"></path></svg>
|
| 163 |
+
</span>
|
| 164 |
+
<span style="flex: 1 1 auto; min-width: 0"><span style="display: block; font-weight: 600; font-size: 15px">ุดูู ููุฏุฑ ูุณูู ุงูู AI ูู ุดุบููู
ุ</span><span style="font-size: 13px; color: #6A5D55">ุฎูุตุชู</span></span>
|
| 165 |
+
</li>
|
| 166 |
+
<li style="display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #F6E1E6; border: 2px solid #8A1538">
|
| 167 |
+
<span style="width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: #8A1538; box-shadow: 0 3px 0 #5E0E26; color: #FFFFFF; display: flex; align-items: center; justify-content: center">
|
| 168 |
+
<svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2l3 7h7l-5.5 4.5L18 21l-6-4-6 4 1.5-7.5L2 9h7z"></path></svg>
|
| 169 |
+
</span>
|
| 170 |
+
<span style="flex: 1 1 auto; min-width: 0"><span style="display: block; font-weight: 700; font-size: 15px">ุดููู ุชูุชุจูู <bdi>prompt</bdi> ุฒูู</span><span style="font-size: 13px; color: #5E0E26">ุงูุญุงูู ยท 10 ุฏูุงูู</span></span>
|
| 171 |
+
<a href="#" style="text-decoration: none; background: #8A1538; color: #FFFFFF; font-weight: 700; padding: 8px 16px; border-radius: 12px; box-shadow: 0 3px 0 #5E0E26; min-height: 44px; display: flex; align-items: center">ูู
ูู</a>
|
| 172 |
+
</li>
|
| 173 |
+
<li style="display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px">
|
| 174 |
+
<span style="width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: #EADCC8; color: #8A7B70; display: flex; align-items: center; justify-content: center">
|
| 175 |
+
<svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><rect x="5" y="11" width="14" height="10" rx="2"></rect><path d="M8 11V8a4 4 0 0 1 8 0v3"></path></svg>
|
| 176 |
+
</span>
|
| 177 |
+
<span style="flex: 1 1 auto; min-width: 0"><span style="display: block; font-weight: 600; font-size: 15px; color: #4A3D38">ุงูุฅูู
ููุงุช ูุงูุชูุงุฑูุฑ ู
ุน ุงูู AI</span><span style="font-size: 13px; color: #6A5D55">ู
ููู</span></span>
|
| 178 |
+
</li>
|
| 179 |
+
</ol>
|
| 180 |
+
<a href="#" style="display: block; margin-top: 12px; text-align: center; font-weight: 600; font-size: 15px">ุดูู ุงูุฏุฑุจ ูุงู
ู</a>
|
| 181 |
+
</section>
|
| 182 |
+
|
| 183 |
+
<section style="padding: 16px 20px; border-radius: 20px; background: #FBE7BF; display: flex; align-items: center; gap: 14px">
|
| 184 |
+
<svg aria-hidden="true" width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="#6B4300" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h16v12H8l-4 4z"></path></svg>
|
| 185 |
+
<span style="flex: 1 1 auto; color: #4A2E00; font-weight: 600">3 ู
ุตุทูุญุงุช ุชุจู ู
ุฑุงุฌุนุฉ ุงูููู
</span>
|
| 186 |
+
<a href="#" style="text-decoration: none; color: #4A2E00; font-weight: 700; border: 2px solid #6B4300; padding: 6px 14px; border-radius: 12px; min-height: 44px; display: flex; align-items: center">ุฑุงุฌุน</a>
|
| 187 |
+
</section>
|
| 188 |
+
</aside>
|
| 189 |
+
</div>
|
| 190 |
+
|
| 191 |
+
<footer style="margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: #6A5D55; font-size: 14px">
|
| 192 |
+
<span style="padding: 6px 14px; border: 1px solid #E8D9C3; border-radius: 999px; background: #FFFDF9">ูุนู
ู ุจูู
ูุฐุฌ <bdi>Fanar 2</bdi> ุงููุทุฑู ุนูู <bdi>Hugging Face</bdi></span>
|
| 193 |
+
<span>ุงููุต ุงููู ุชูุตูู ู
ุง ููุญูุธ.</span>
|
| 194 |
+
</footer>
|
| 195 |
+
</main>
|
| 196 |
+
</div>
|
| 197 |
+
</x-dc>
|
| 198 |
+
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":1360,"height":1320}}'>
|
| 199 |
+
class Component extends DCLogic {
|
| 200 |
+
renderVals() {
|
| 201 |
+
return {};
|
| 202 |
+
}
|
| 203 |
+
}
|
| 204 |
+
</script>
|
| 205 |
+
</body>
|
| 206 |
+
</html>
|
docs/design/tokens.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Darby design tokens
|
| 2 |
+
|
| 3 |
+
Light mode only for the hackathon. Put these in one place (`web/src/styles/tokens.css` as CSS variables, mapped into Tailwind's theme) and never write a hex in a component.
|
| 4 |
+
|
| 5 |
+
## Colour
|
| 6 |
+
|
| 7 |
+
| Token | Hex | Use |
|
| 8 |
+
|---|---|---|
|
| 9 |
+
| bg | #F5EBDD | page, cream sand |
|
| 10 |
+
| surface | #FFFDF9 | cards, header |
|
| 11 |
+
| surface-2 | #FBF6EE | text wells inside cards |
|
| 12 |
+
| surface-3 | #F7F0E6 | analogy box, done path rows |
|
| 13 |
+
| line | #E8D9C3 | borders |
|
| 14 |
+
| shadow | #E2CFB3 | chunky card shadow `0 6px 0` |
|
| 15 |
+
| ink | #22181A | main text |
|
| 16 |
+
| ink-2 | #4A3D38 | secondary text |
|
| 17 |
+
| muted | #6A5D55 | captions (passes 4.5:1 on bg) |
|
| 18 |
+
| maroon | #8A1538 | brand, primary buttons, current step, new terms |
|
| 19 |
+
| maroon-deep | #5E0E26 | primary button shadow, hover |
|
| 20 |
+
| maroon-soft | #F6E1E6 | new-term chip ground |
|
| 21 |
+
| maroon-text | #7A1231 | text on maroon-soft |
|
| 22 |
+
| teal | #0B6E69 | known terms, listen button |
|
| 23 |
+
| teal-soft | #DDEFEC | known-term chip ground |
|
| 24 |
+
| teal-text | #0A5A56 | text on teal-soft |
|
| 25 |
+
| gold | #E9A93B | points icon |
|
| 26 |
+
| gold-soft | #FBE7BF | points chips, review banner |
|
| 27 |
+
| gold-text | #6B4300 | text on gold-soft |
|
| 28 |
+
| flame | #D9622B | streak icon |
|
| 29 |
+
| success | #1F7A4D | correct answer, done node, letter in place |
|
| 30 |
+
| success-soft | #E2F3E9 | correct answer ground |
|
| 31 |
+
| success-text | #145236 | text on success-soft |
|
| 32 |
+
| present | #C98A1A | daily code: letter elsewhere |
|
| 33 |
+
| absent | #CFC3B4 | daily code: letter not in word |
|
| 34 |
+
| locked | #EADCC8 | locked path node |
|
| 35 |
+
|
| 36 |
+
## Type
|
| 37 |
+
|
| 38 |
+
- Display and headings: Readex Pro 500/600, bundled as woff2 files in the app (no Google Fonts link at run time; same for IBM Plex Sans Arabic and IBM Plex Sans, all under the SIL Open Font License). Soft and rounded on purpose: the earlier Reem Kufi was rejected as too strong. Do not use heavy or calligraphic Kufi faces.
|
| 39 |
+
- Arabic body and UI: IBM Plex Sans Arabic 400 to 700.
|
| 40 |
+
- English passages, terms and answer options: IBM Plex Sans 500 to 700.
|
| 41 |
+
- Sizes: h1 36 (28 on phone), section titles 22, term title 26, body 16 to 18, captions 13 to 14. Line height 1.7 for Arabic.
|
| 42 |
+
|
| 43 |
+
## Shape and space
|
| 44 |
+
|
| 45 |
+
- Page: max width 1240, padding-inline 40 (16 on phone), top padding 40.
|
| 46 |
+
- Home layout: main column (Smart Explain input, then the result card with the term and the quick question side by side) `flex: 999 1 600px`, and a side column `flex: 1 1 340px` with the daily code, the path and the review banner. In RTL the main column sits on the right. On a phone the side column stacks below.
|
| 47 |
+
- Title block to content: 32. Column gap and stacked card gap: 28 (20 on phone).
|
| 48 |
+
- Card: radius 20, padding 28 (20 on phone), 1px line border, `box-shadow: 0 6px 0 shadow`.
|
| 49 |
+
- Inner wells and buttons: radius 14 to 16. Chips and nav: pill (999).
|
| 50 |
+
- Primary button: maroon, white text, `box-shadow: 0 5px 0 maroon-deep`, min height 56; on press translateY(3px) and shadow 2px.
|
| 51 |
+
- Answer buttons: white, 2px line border, `0 4px 0 shadow`; correct state success colours with a check icon and the word.
|
| 52 |
+
- Icons: stroke icons (lucide-react is fine), 2 to 2.2 stroke, never emoji.
|