Skip to content

feat: add comprehensive quiz questions database for CodeBot knowledge assessment - #3091

Open
amirbiron wants to merge 3 commits into
mainfrom
claude/telegram-quiz-bot-mKxfR
Open

feat: add comprehensive quiz questions database for CodeBot knowledge assessment#3091
amirbiron wants to merge 3 commits into
mainfrom
claude/telegram-quiz-bot-mKxfR

Conversation

@amirbiron

Copy link
Copy Markdown
Owner

✨ תיאור קצר

הוספת מסד נתונים מקיף של שאלות חידון (quiz) המכסה את כל היבטי CodeBot - מארכיטקטורה, בסיס נתונים, אבטחה, בדיקות, אינטגרציות, ביצועים, ניטור, הגדרות, עמידות, התראות, handlers ותיעוד. 736 שורות של שאלות מובנות עם קטגוריות, הסברים מפורטים ותשובות נכונות.

📦 שינויים עיקריים

  • קוד (Backend)
  • תיעוד (docs/)
  • בוט טלגרם
  • מסד נתונים/מיגרציות
  • DevOps/CI/CD

פירוט:

  • יצירת קובץ quiz/questions.js חדש עם:

    • 12 קטגוריות עם emoji וכותרות בעברית:

      • 🏗️ ארכיטקטורה
      • 💾 בסיס נתונים
      • 🔒 אבטחה
      • 🧪 בדיקות ו-CI
      • 🔗 אינטגרציות
      • ⚡ ביצועים
      • 📊 ניטור ו-Metrics
      • ⚙️ הגדרות
      • 🛡️ עמידות
      • 🚨 התראות
      • 🔄 Handlers ו-State
      • 📝 תיעוד ו-Conventions
    • 60+ שאלות בסוגים שונים:

      • Multiple choice (בחירה מרובה)
      • Boolean (נכון/לא נכון)
      • כל שאלה כוללת: ID, קטגוריה, סוג, שאלה, אפשרויות, תשובה נכונה, הסבר מפורט
  • כיסוי נושאים:

    • ארכיטקטורה: 5 שאלות על Clean Architecture, Dependency Injection, HTTP sessions, storage backends
    • בסיס נתונים: 5 שאלות על MongoDB indexes, TTL, compound indexes, pool size
    • אבטחה: 5 שאלות על callback data limits, rate limiting, encryption, PII handling
    • בדיקות: 5 שאלות על CI checks, test stubs, markers, environment variables
    • אינטגרציות: 4 שאלות על GitHub API, scopes, rate limits
    • ביצועים: 5 שאלות על Sticky Notes, projections, timeouts, COLLSCAN
    • ניטור: 5 שאלות על Prometheus, Jaeger, structlog, metrics
    • הגדרות: 4 שאלות על environment variables, defaults, validation
    • עמידות: 5 שאלות על retry, circuit breaker, backoff
    • התראות: 5 שאלות על cooldown, grace period, disk space, Visual Rule Engine
    • Handlers: 4 שאלות על Save Flow, states, GitHub Upload
    • תיעוד: 5 שאלות על Sphinx, Conventional Commits, pre-commit hooks
    • שאלות מעורבות: 5 שאלות נוספות

🧪 בדיקות

  • סוג בדיקה:

https://claude.ai/code/session_01AT9pU5W8vMheXQU9vmUgTi

קובץ עם 50 שאלות ברמה בינונית על תכני אתר התיעוד:
- שאלות אמריקאיות (multiple choice)
- שאלות נכון/לא נכון (boolean)
- 12 קטגוריות: ארכיטקטורה, בסיס נתונים, אבטחה, בדיקות, אינטגרציות ועוד

https://claude.ai/code/session_01AT9pU5W8vMheXQU9vmUgTi
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

github-actions Bot commented Feb 15, 2026

Copy link
Copy Markdown

🧯 Dangerous deletes guard report

Policy: see .cursorrules — dangerous deletions are blocked unless wrapped safely.

Summary:

  • Flagged findings (blocking): 0
    0
  • Excluded matches (not blocking): 15
  • Total matches (all files): 129

Flagged findings (file:line:snippet):
(none)

Excluded matches (by path pattern)
./webapp/static/js/md_preview.bundle.js.map:4:  "sourcesContent": ["// Markdown-it plugin to render GitHub-style task lists; see\n//\n// https://github.com/blog/1375-task-lists-in-gfm-issues-pulls-comments\n// https://github.com/blog/1825-t … [truncated]
./README.md:842:find . -name "__pycache__" -exec rm -rf {} +
./node_modules/mermaid/dist/mermaid.min.js:1524:`,"getStyles"),c1e=RQe});var h1e={};dr(h1e,{diagram:()=>NQe});var NQe,f1e=N(()=>{"use strict";$ge();a1e();l1e();u1e();NQe={parser:Fge,db:n1e,renderer:o1e,styles:c1e}});var m1e,g1e=N(()=>{"use  … [truncated]
./node_modules/mermaid/dist/chunks/mermaid.esm.min/chunk-4HFYJGYH.mjs:1:var r={name:"mermaid",version:"11.12.0",description:"Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graph … [truncated]
./node_modules/mermaid/dist/chunks/mermaid.esm.min/chunk-4HFYJGYH.mjs.map:4:  "sourcesContent": ["{\n  \"name\": \"mermaid\",\n  \"version\": \"11.12.0\",\n  \"description\": \"Markdown-ish syntax for generating flowcharts, mindmaps, sequen … [truncated]
./node_modules/mermaid/dist/chunks/mermaid.esm/chunk-2M32CCKP.mjs.map:4:  "sourcesContent": ["{\n  \"name\": \"mermaid\",\n  \"version\": \"11.12.0\",\n  \"description\": \"Markdown-ish syntax for generating flowcharts, mindmaps, sequence d … [truncated]
./node_modules/mermaid/dist/chunks/mermaid.core/chunk-KS23V3DP.mjs.map:4:  "sourcesContent": ["{\n  \"name\": \"mermaid\",\n  \"version\": \"11.12.0\",\n  \"description\": \"Markdown-ish syntax for generating flowcharts, mindmaps, sequence  … [truncated]
./node_modules/mermaid/dist/mermaid.js.map:4:  "sourcesContent": ["/**\n* Default values for dimensions\n*/\nconst defaultIconDimensions = Object.freeze({\n\tleft: 0,\n\ttop: 0,\n\twidth: 16,\n\theight: 16\n});\n/**\n* Default values for tr … [truncated]
./node_modules/mermaid/dist/mermaid.min.js.map:4:  "sourcesContent": ["/**\n* Default values for dimensions\n*/\nconst defaultIconDimensions = Object.freeze({\n\tleft: 0,\n\ttop: 0,\n\twidth: 16,\n\theight: 16\n});\n/**\n* Default values fo … [truncated]
./node_modules/katex/package.json:153:    "build": "rimraf dist/ && mkdirp dist && cp README.md dist && rollup -c --failAfterWarnings && webpack && node update-sri.js package dist/README.md",
./node_modules/katex/src/fonts/Makefile:139:	rm -rf pfa ff otf ttf woff woff2
./docs/Makefile:24:	rm -rf $(BUILDDIR)
./docs/DOCUMENTATION_GUIDE.md:453:rm -rf _build
./Dockerfile:42:    rm -rf /var/lib/apt/lists/*
./Dockerfile:121:    rm -rf /var/lib/apt/lists/*

@github-actions

github-actions Bot commented Feb 15, 2026

Copy link
Copy Markdown

⏱️ Performance report

(No performance test durations collected. Mark tests with @pytest.mark.performance.)

Comment thread quiz/questions.js Outdated
Comment thread quiz/questions.js Outdated
Comment thread quiz/questions.js
@sentry

sentry Bot commented Feb 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

- arch_5: תוקן מ-PostgreSQL ל-MongoDB כ-storage backend הראשי
- config_1: תוקן סדר עדיפויות ההגדרות – ENV variables גוברים על .env
- docs_3: נוסף perf לרשימת ה-Conventional Commit types

https://claude.ai/code/session_01AT9pU5W8vMheXQU9vmUgTi

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment thread quiz/questions.js Outdated
ברירת המחדל של ALERT_STARTUP_GRACE_PERIOD_SECONDS היא 1200 שניות
(20 דקות) ולא 300 שניות כפי שהיה כתוב.

https://claude.ai/code/session_01AT9pU5W8vMheXQU9vmUgTi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants