Spaces:
Runtime error
Runtime error
Commit History
-
✨ Admin: quiz-detail view (raw files + structured Q&A) + student raw answers
chih.yikuan +1: Claude Opus 4.8 (1M context)- Admin GET /api/admin/sessions/{id}: structured questions, structured answers (official + per-student), and raw files with Supabase Storage signed URLs. - storage.create_signed_url() for short-lived raw-file download links. - database.get_quiz_results() joins student_results with student names. - AdminDashboard: student 跨測驗歷程 now expands raw structured answers (AnswerChips) and links to the quiz; 測驗 tab gains a detail view with 題目/作答 structured data + 原始檔案 downloads. - Review fixes: '=' (no-key marker) not shown as official/green; official-answer lookup prefers question_number match; stable React keys. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>d6c5e05 -
Add database management: Supabase persistence, teacher profiles, admin dashboard (#1)
- ✨ Add database management: Supabase persistence, teacher profiles, admin dashboard (9f97e2888339dd0323b003479f8691cbcf0ea052) - 🐳 Bump frontend builder to node:22-slim for Vite 7 (>=20.19/22.12 required) (c7044b0c28cc90bebd5f45e00831a4cf5ca1accb) - 🛡️ Fail loud on misconfigured prod DB; Dockerfile migrate && serve (c43fd58ec8aff83b88ef376511e291a963d246a8)4c4a722
-
custom csv upload logic
Yu Chen0641d27
-
rm logic for tool selection for qustion parsing
Yu Chen5aa8761 -
rebuild the pdf parsing logic
Yu Chen8d3145b -
fix the answer parsing not aligned logic
Yu Chen1ce0b71 -
Refactor to add answer grid & assoicate llm parsing
Yu Chenad5d4b6
-
Simplify: send raw data to LLM, let user's prompt control interpretation
chih.yikuan +1: Claude Opus 4.6 (1M context)Remove all backend filtering logic (correct markers, teacher answer comparison). Now sends raw student answers + all questions + teacher answers (if any) directly into the prompt template. The user controls how data is interpreted via the prompt editor (e.g. "'-' means correct"). Default prompt includes data format instructions. Preview and generate endpoints both accept the user's prompt_template. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>34b22f3 -
Add final prompt preview tab with real student data substitution
chih.yikuan +1: Claude Opus 4.6 (1M context)DataPreviewModal now opens on "最終提示詞" tab first, showing the actual filled prompt for a selected student with {wrong_questions}, {wrong_answers} etc. replaced by real data. Users can switch students via dropdown to see each student's specific prompt. Textareas are resizable. Backend adds /preview-student-prompt endpoint. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>5722fbf -
Add prompt editor and data preview back to Step 2
chih.yikuan +1: Claude Opus 4.6 (1M context)Step 2 now has: student checkboxes → prompt editor (save/load) → "預覽分析資料" button → DataPreviewModal → "生成報告". Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>40aa09c -
Redesign Step 2: per-student report generation with wrong-answer filtering
chih.yikuan +1: Claude Opus 4.6 (1M context)Step 2 now shows a student checklist instead of prompt editor. Users select which students to generate reports for. Backend filters each student's wrong answers and only sends the relevant questions + wrong answers to the LLM, dramatically reducing prompt size. Reports generate sequentially with live progress in Step 3's tabbed viewer. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>f002ae5 -
Add data preview modal before report generation
chih.yikuan +1: Claude Opus 4.6 (1M context)Users can now review and edit parsed JSON data (questions, student answers, teacher answers) in a tabbed modal before generating the report. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>e1ed51d
-
Add invite code gate page before login
chih.yikuan +1: Claude Opus 4.6Users must enter "taboola-npo-cz" to access the app. Code is saved in localStorage so it only needs to be entered once per browser. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>459bded -
Redesign ClassLens v2: 3-step exam analysis workflow
chih.yikuan +1: Claude Opus 4.6Replace ChatKit-based chat UI with a structured 3-step workflow: 1. Upload & parse exam files (questions, student answers, teacher answers) via GPT Vision 2. Edit analysis prompts with save/load/share functionality 3. Generate and export HTML reports (PDF/PNG) - Add JWT email/password auth (replace Google OAuth) - Add file processor with multi-format support (PDF, images, text files) - Add image-to-text description for visual exam content - Add model selector (GPT-5.4, 5.3 Instant, 4o, etc.) - Add per-zone file upload with inline parsed data preview - Remove ChatKit SDK, Google Sheets, email service dependencies - Remove .env from tracking (contains API keys) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>bc45e54
-
email-done
chih.yikuan5ee5085
-
🔧 Fix OAuth: auto-detect redirect_uri + sync all ClassLens updates
chih.yikuane5c2788 -
🚀 ExamInsight: AI-powered exam analysis for teachers
chih.yikuanFeatures: - Google Forms/Sheets integration - AI grading with GPT-4.1-mini - Beautiful HTML report generation (bilingual EN/中文) - Chart.js visualizations - Real-time tool call logging - Email reports via Gmail SMTP - Docker deployment for HF Spaces054d73a
-
Add unmanged sample with a minimal backend (#98)
* Move existing starter app to managed-chatkit * Add chatkit example * Update CI * Small fixes * Remove to_message_content * Simplify * Next -> Vite69f2236