From e7f1b58e5d5b156c6f2e673df2cff46fb78a0c74 Mon Sep 17 00:00:00 2001 From: Hyun-Hwan Jeong Date: Sun, 18 Jan 2026 22:11:13 -0600 Subject: [PATCH] Update honors schema to use members field instead of level Changes: - Remove 'level' field (Special, First, Second, Third) - Add 'members' field to track team members who received honors - Add 'Dream Challenge' to honor types - Remove old placeholder honor files - Add AICLR-dream honor with members list This change allows honors to properly credit all team members who contributed to achievements. --- src/content.config.ts | 4 ++-- src/content/books/.gitkeep | 0 src/content/honors/AICLR-dream.md | 8 ++++++++ src/content/honors/challenge-cup.md | 8 -------- src/content/honors/honor-second.md | 9 --------- src/content/honors/honor-special.md | 9 --------- src/content/honors/honor-third.md | 9 --------- 7 files changed, 10 insertions(+), 37 deletions(-) create mode 100644 src/content/books/.gitkeep create mode 100644 src/content/honors/AICLR-dream.md delete mode 100644 src/content/honors/challenge-cup.md delete mode 100644 src/content/honors/honor-second.md delete mode 100644 src/content/honors/honor-special.md delete mode 100644 src/content/honors/honor-third.md diff --git a/src/content.config.ts b/src/content.config.ts index a011756..4a0f5e4 100644 --- a/src/content.config.ts +++ b/src/content.config.ts @@ -133,8 +133,8 @@ const honors = defineCollection({ award: z.string(), // e.g., "Gold Medal", "First Prize" date: z.date(), year: z.string(), // Display year on badge - type: z.enum(['Challenge Cup', 'Internet+', 'Other']).default('Other'), - level: z.enum(['Special', 'First', 'Second', 'Third']).default('Third'), + type: z.enum(['Challenge Cup', 'Internet+', 'Dream Challenge', 'Other']).default('Other'), + members: z.array(z.string()), // Team members who received the honor }), }); diff --git a/src/content/books/.gitkeep b/src/content/books/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/src/content/honors/AICLR-dream.md b/src/content/honors/AICLR-dream.md new file mode 100644 index 0000000..a15b04f --- /dev/null +++ b/src/content/honors/AICLR-dream.md @@ -0,0 +1,8 @@ +--- +title: "Allen Institute Cell Lineage Reconstruction DREAM Challenge" +award: "1st place, Subchallenge 1" +date: 2020-03-04 +year: "2020" +type: "Dream Challenge" +members: ["Zhandong Liu", "Jingyuan (Jasper) Hu"] +--- diff --git a/src/content/honors/challenge-cup.md b/src/content/honors/challenge-cup.md deleted file mode 100644 index 4da0e8a..0000000 --- a/src/content/honors/challenge-cup.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: "18th Challenge Cup National College Student Extracurricular Academic Science and Technology Works Competition" -award: "Grand Prize" -date: 2023-10-30 -year: "2023" -type: "Challenge Cup" -level: "Special" ---- diff --git a/src/content/honors/honor-second.md b/src/content/honors/honor-second.md deleted file mode 100644 index a851f84..0000000 --- a/src/content/honors/honor-second.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: "Second Prize of National Mathematical Modeling Contest" -award: "National Second Prize" -date: 2023-09-15 -year: "2023" -type: "Other" -level: "Second" ---- -Awarded for the project "Optimization of Logistics Network". diff --git a/src/content/honors/honor-special.md b/src/content/honors/honor-special.md deleted file mode 100644 index d1d233a..0000000 --- a/src/content/honors/honor-special.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: "Special Award of Internet+" -award: "National Special Award" -date: 2024-05-20 -year: "2024" -type: "Internet+" -level: "Special" ---- -Awarded for the project "Next Gen AI". diff --git a/src/content/honors/honor-third.md b/src/content/honors/honor-third.md deleted file mode 100644 index dd43a58..0000000 --- a/src/content/honors/honor-third.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: "Third Prize of ACM-ICPC Regional" -award: "Regional Third Prize" -date: 2023-11-05 -year: "2023" -type: "Other" -level: "Third" ---- -Awarded to the team "CodeWarriors".