yms yms

yms didorong ke main di gwd/math_cms

  • 9d9bff2856 Unify calibrated difficulty usage across exam assembly paths

1 hari lalu

yms didorong ke main di gwd/math_cms

  • 62b1e1f91f Optimize category 3/4 difficulty matching and harden answer floor

1 hari lalu

yms didorong ke main di gwd/math_cms

  • 78392cfc5f fix: serve Livewire JS on legacy /livewire/livewire*.js paths Livewire v4 uses hashed URLs; cached HTML or proxies may still request /livewire/livewire.min.js and get 404. Register web routes that delegate to the same FrontendAssets handler as the official script route. Co-authored-by: Cursor <cursoragent@cursor.com>

2 hari lalu

yms didorong ke main di gwd/math_cms

  • 327140c511 fix: avoid Livewire/Filament 404 from route cache built without production APP_KEY Livewire v4 registers POST .../livewire-{hash}/update where hash is derived from APP_KEY. Docker build excludes .env, so route:cache baked wrong URIs. Remove route:cache from Dockerfile; clear routes on nginx container start; clear routes in deploy.sh after cache clear. Co-authored-by: Cursor <cursoragent@cursor.com>

2 hari lalu

yms didorong ke main di gwd/math_cms

  • 566d4df4d4 revert: remove nginx.conf volume mount from all mount yml files Co-authored-by: Cursor <cursoragent@cursor.com>

2 hari lalu

yms didorong ke main di gwd/math_cms

  • 74d6196153 perf: mount nginx.conf into container to avoid rebuild on config changes Add ./docker/nginx.conf volume mount to all mount.yml files. After this, changing nginx.conf only needs a reload, not a full image rebuild (~10min). Applicable to all 4 servers. Quick reload after nginx change: docker exec math_cms_app nginx -s reload Co-authored-by: Cursor <cursoragent@cursor.com>

2 hari lalu

yms didorong ke main di gwd/math_cms

  • 22fff4d9c6 fix(nginx): route /livewire/update to PHP-FPM for Livewire v4 Livewire v4 may use /livewire/update as endpoint (without hash prefix). The existing nginx rules only matched /livewire/* (with trailing slash) and /livewire-* (with hash). Add a regex location to catch /livewire paths without trailing slash and forward them to PHP. Co-authored-by: Cursor <cursoragent@cursor.com>

2 hari lalu

yms didorong ke main di gwd/math_cms

  • e291c5be56 fix(report): fix dot chart avg line and mPDF SVG rendering - Use float-based yAtF() for avg line so it renders as exact horizontal line instead of integer-rounded position - Fix SVG for mPDF: use fixed width/height instead of percentage, remove style attribute, remove opacity/transform/g attributes that mPDF does not support - Remove Chinese text from SVG (use English labels) since mPDF may not render Chinese inside SVG correctly Co-authored-by: Cursor <cursoragent@cursor.com>

3 hari lalu

yms didorong ke main di gwd/math_cms

  • 336b7a9fc5 fix(report): reuse existing day-slice query pattern for dot chart Use the same Carbon-based day iteration + per-day count query that $dailyNaturalSlices already uses successfully. One query per day, no timezone gymnastics, no raw SQL. Co-authored-by: Cursor <cursoragent@cursor.com>

3 hari lalu

yms didorong ke main di gwd/math_cms

  • d643e1fdf8 fix(report): use raw SQL and DateTime for dot chart to avoid timezone issues Replace Carbon-based date range with raw SQL query and plain DateTime iteration. Previous versions had Carbon mutable object issues and timezone mismatches between query params and DATE() keys. Co-authored-by: Cursor <cursoragent@cursor.com>

3 hari lalu

yms didorong ke main di gwd/math_cms

  • 89412a8029 fix(report): align dot chart date keys with UTC storage in papers table created_at is stored in UTC. Use UTC for both query range and CarbonPeriod iteration to ensure DATE(created_at) keys match the period dates. Previous version used local timezone for period but UTC for DB DATE(), causing a mismatch and empty data. Co-authored-by: Cursor <cursoragent@cursor.com>

3 hari lalu

yms didorong ke main di gwd/math_cms

  • d8928a8b23 feat(report): add daily paper count dot chart from Jan 6 to now Add a scatter/dot chart showing daily paper assembly count from 2026-01-06 to present. Dots above average are highlighted in blue, below in light blue, with a dashed yellow average line. Includes summary stats (total days, cumulative count, daily average, peak day). Co-authored-by: Cursor <cursoragent@cursor.com>

3 hari lalu

yms didorong ke main di gwd/math_cms

  • 720817b7dd feat(report): add teacher weekly stats scripts Extract report_teacher_weekly_stats.php and report_teacher_weekly_stats_pdf.php from ye/report-teacher-weekly-stats branch. These scripts generate weekly teacher activity reports covering paper assembly counts, exam analysis counts, active teacher counts with period-over-period comparison. Usage: php scripts/report_teacher_weekly_stats.php php scripts/report_teacher_weekly_stats_pdf.php TEACHER_WEEKLY_REPORT_DAYS=14 php scripts/report_teacher_weekly_stats.php Co-authored-by: Cursor <cursoragent@cursor.com>

3 hari lalu

yms didorong ke main di gwd/math_cms

  • a4c3a5eb78 fix: remove public/build from git, rely on deploy.sh to build Frontend assets are not committed to Git to avoid repo bloat. deploy.sh handles npm/bun build on each server before container restart. mount yml files no longer exclude /app/public/build — the host's build output is mounted into the container via .:/app bind mount. Co-authored-by: Cursor <cursoragent@cursor.com>

4 hari lalu

yms didorong ke main di gwd/math_cms

  • 0cae40cda5 fix: resolve frontend build hash mismatch across servers - Include public/build in Git to ensure consistent deploy across 4 servers - Remove unstable /app/public/build anonymous volume from all mount yml files - Add unified deploy.sh script for all server types (main/api/pdf) - Build frontend locally before mount, so .:/app carries correct assets Co-authored-by: Cursor <cursoragent@cursor.com>

4 hari lalu

yms didorong ke main di gwd/math_cms

  • 72cb39bd87 fix(pdf): derive KP explain list from questions, sort by KP tree Reorder explanation sections DFS by parent_kp_code; fallback chain unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>
  • 7fea63df76 feat(assemble): add types 11/12/13 with KP explain PDF, map to 1/2/3 Introduce AssembleType helper; job passes strategy type; store 11-13 on paper; unified PDF includes explain only for 11-12-13; labels match 1/2/3. Co-authored-by: Cursor <cursoragent@cursor.com>
  • facfbc7ddc chore: remove verbose assemble/status and callback payload logs Co-authored-by: Cursor <cursoragent@cursor.com>
  • a03f395786 fix(knowledge-explanation): fill paper_info fields and align exam_content stats Populate difficulty_category from task data, grading_code, statistics, question metadata labels; sync papers row; add callback stats payload. Co-authored-by: Cursor <cursoragent@cursor.com>
  • cc9a5b7c75 fix: log task status and score knowledge cases to 100 Add status endpoint request/response logging and callback_url in assemble.request; set knowledge exam total score to 100 and distribute per-question scores in exam_content. Co-authored-by: Cursor <cursoragent@cursor.com>
  • Lihat perbandingan dari komit ini 13 »

4 hari lalu

yms didorong ke feature/assemble-type-22-knowledge-explanation di gwd/math_cms

  • 72cb39bd87 fix(pdf): derive KP explain list from questions, sort by KP tree Reorder explanation sections DFS by parent_kp_code; fallback chain unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>

4 hari lalu

yms didorong ke feature/assemble-type-22-knowledge-explanation di gwd/math_cms

  • 7fea63df76 feat(assemble): add types 11/12/13 with KP explain PDF, map to 1/2/3 Introduce AssembleType helper; job passes strategy type; store 11-13 on paper; unified PDF includes explain only for 11-12-13; labels match 1/2/3. Co-authored-by: Cursor <cursoragent@cursor.com>

4 hari lalu

yms didorong ke feature/assemble-type-22-knowledge-explanation di gwd/math_cms

  • facfbc7ddc chore: remove verbose assemble/status and callback payload logs Co-authored-by: Cursor <cursoragent@cursor.com>

5 hari lalu

yms didorong ke feature/assemble-type-22-knowledge-explanation di gwd/math_cms

  • a03f395786 fix(knowledge-explanation): fill paper_info fields and align exam_content stats Populate difficulty_category from task data, grading_code, statistics, question metadata labels; sync papers row; add callback stats payload. Co-authored-by: Cursor <cursoragent@cursor.com>

5 hari lalu