Commit Graph

49 Commits

Author SHA1 Message Date
hblu
b399edb061 Update content
All checks were successful
autograde-final-vibevault / check-trigger (push) Successful in 12s
autograde-final-vibevault / grade (push) Has been skipped
2025-12-03 13:04:02 +08:00
hblu
8dfb1bba8a Update content 2025-12-03 12:46:38 +08:00
hblu
f6a83a1c80 Update content 2025-12-03 12:10:37 +08:00
cf43ba662d Update content [skip ci] 2025-12-02 16:21:06 +08:00
b979960828 feat: add [skip ci] support and tag trigger
- Skip CI when commit message contains [skip ci]
- Add tag trigger: push 'submit' or 'submit-*' tag to grade
- Prevents unnecessary CI runs during initialization
2025-12-02 16:04:42 +08:00
9fe26069d6 Add grade report for 6ab2aec 2025-12-02 15:58:23 +08:00
6ab2aec57e Update content 2025-12-02 15:55:32 +08:00
5e8d901a18 security: remove .autograde from student repo
- Grading scripts are now fetched from tests repo at runtime
- Students cannot modify grading scripts to cheat
- Workflow fetches scripts from private tests repo
2025-12-02 15:17:54 +08:00
8db9ee9b05 Add grade report for 3dc3436 2025-12-02 14:38:47 +08:00
3dc343684d fix: enforce integer scores matching rubric scoring_guide
- Prompt now explicitly requires integer scores (0/1/2/3/4)
- Code rounds any decimal scores to nearest integer
- Prevents LLM from giving 2.5, 3.5 etc.
2025-12-02 14:36:33 +08:00
735b378b32 Add grade report for 65ceb07 2025-12-02 14:36:02 +08:00
65ceb07569 Add grade report for daaf485 2025-12-02 14:27:55 +08:00
daaf48599a Add grade report for c25bcfd 2025-12-02 14:23:56 +08:00
c25bcfddd0 fix: improve LLM prompt to use actual rubric score ranges
Previous prompt had hardcoded 0-3 score examples which misled LLM.
Now prompt instructs LLM to read max_score from rubric for each criterion.
2025-12-02 14:21:42 +08:00
1afc2eae48 Add grade report for 38b6d54 2025-12-02 14:21:19 +08:00
38b6d5498d fix: calculate total from criteria scores instead of trusting LLM
LLM sometimes returns inconsistent total values. Now we always
compute total = sum(criteria.score) for accuracy.
2025-12-02 14:19:16 +08:00
7ef1bf7f40 Add grade report for caf78c7 2025-12-02 14:16:27 +08:00
caf78c71c8 Add grade report for 8237131 2025-12-02 14:11:10 +08:00
8237131242 feat: add commit SHA marker at top-right corner of each page 2025-12-02 14:08:08 +08:00
668a22b5ff Add grade report for 96bf9e3 2025-12-02 14:03:55 +08:00
96bf9e34a8 Add grade report for fd73c62 2025-12-02 13:58:26 +08:00
fd73c62d85 feat: add student info and watermark to PDF report
- Auto-fill student name/class from .student_info.json
- Add anti-cheating watermark with student ID and unique hash
- Pass commit SHA for watermark generation
- Read student info from workflow environment
2025-12-02 13:55:37 +08:00
6629215d11 Add grade report for 26eb6ea 2025-12-02 13:50:34 +08:00
26eb6eacb7 Add grade report for c5665e4 2025-12-02 13:45:12 +08:00
c5665e46d0 Add grade report for aad4c21 2025-12-02 13:40:19 +08:00
aad4c21452 Add grade report for 89e330b 2025-12-02 13:35:16 +08:00
89e330bbe7 Add grade report for 8fca930 2025-12-02 13:29:57 +08:00
8fca930a83 Add grade report for b41a5f3 2025-12-02 13:24:04 +08:00
b41a5f3fb7 Add grade report for 9647054 2025-12-02 13:18:54 +08:00
9647054b67 fix: use file for curl data to avoid argument list too long 2025-12-02 13:16:27 +08:00
92526feba2 feat: professional PDF report with cover page and proper Chinese fonts
- Cover page with course title, student info fields
- Proper A4 layout with margins for printing
- Chinese fonts support (Noto CJK, WenQuanYi)
- Structured sections: Reports → Grade details
- Professional styling suitable for archival
2025-12-02 13:08:01 +08:00
5fac5c1952 Add grade report for 93a1d03 2025-12-02 13:04:59 +08:00
93a1d03e5e Add grade report for 3105d27 2025-12-02 13:00:16 +08:00
3105d27d75 fix: use POST for new files, PUT only for updates 2025-12-02 12:58:11 +08:00
f54d84136c feat: generate PDF grade report and upload to student repo
- Add generate_pdf_report.py using weasyprint
- Install weasyprint dependencies in workflow
- Generate combined report with grades, REPORT.md, FRONTEND.md
- Upload PDF/Markdown report to student repo's reports/ directory
2025-12-02 12:48:34 +08:00
fa3918feb9 docs: add images/ directory for frontend screenshots
- Create images/ directory with .gitkeep
- Update FRONTEND.md with screenshot usage instructions
- Update FRONTEND_GUIDE.md with file location details
2025-12-02 12:13:55 +08:00
bf78d9074c feat: preserve LLM grading details (criteria, confidence, reasons)
- aggregate_final_grade.py now keeps criteria and confidence from LLM output
- create_minimal_metadata.py includes these in the uploaded metadata
2025-12-02 12:05:48 +08:00
fa984b79f2 fix: support final grade type and flexible repo name parsing
- Add GRADE_TYPE=final support for final_grade.json
- Fix assignment_id extraction for non-hw format (e.g. final-vibevault)
- Fix student_id extraction for xxx-stu_yyy format
- Change default language from python to java
2025-12-02 10:09:29 +08:00
183959f4a0 fix: handle list response when checking file existence 2025-12-02 10:01:40 +08:00
c5c5e8bbfd fix: use current org's course-metadata instead of hardcoded CS101
Use ${{ github.repository_owner }}/course-metadata to dynamically
determine the metadata repository based on current organization.
2025-12-02 09:57:33 +08:00
2e6c1724ef docs: redesign FRONTEND to focus on reflection (3 questions, 10 points)
- Simplified from 6 sections to 3 focused questions
- Emphasize screenshots (5pts), problem-solving (3pts), reflection (2pts)
- Updated rubric to match new structure
2025-12-02 09:32:15 +08:00
c17e6be1e6 docs: redesign REPORT to focus on reflection (3 questions, 10 points) 2025-12-02 00:07:17 +08:00
9de97bddf1 fix: allow --question to be a string instead of file path 2025-12-01 23:46:38 +08:00
5abb6a47e8 docs: separate guide files from student submission files
- REPORT_GUIDE.md and FRONTEND_GUIDE.md: writing instructions
- REPORT.md and FRONTEND.md: empty files for student submissions
- Update README.md to reference guide files
2025-12-01 23:42:13 +08:00
3f16fbe8e3 fix: use Runner env vars for LLM config instead of secrets 2025-12-01 23:36:52 +08:00
c17de1d21a fix: use token for authentication to support private repos 2025-12-01 23:27:25 +08:00
f066e4bdb1 chore: switch all mirrors to Aliyun (APT, PyPI, Maven/Gradle) 2025-12-01 22:18:50 +08:00
f46365a317 fix: use native git instead of actions/checkout to avoid missing nodejs 2025-12-01 22:16:54 +08:00
d0a4992cd6 Initial commit 2025-12-01 22:12:02 +08:00