@thanh01.pmt/curriculum-kit 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1732 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +158 -1
- package/dist/index.d.ts +158 -1
- package/dist/index.mjs +1707 -22
- package/dist/index.mjs.map +1 -1
- package/dist/workflow/index.cjs +11 -6
- package/dist/workflow/index.cjs.map +1 -1
- package/dist/workflow/index.mjs +11 -6
- package/dist/workflow/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3021,6 +3021,336 @@ This lab focuses on the practical implementation of core technical concepts, bri
|
|
|
3021
3021
|
{{CHECKLIST_ITEMS}}
|
|
3022
3022
|
`.trim();
|
|
3023
3023
|
|
|
3024
|
+
// src/templates/handoutTemplate.ts
|
|
3025
|
+
var HANDOUT_TEMPLATE = `
|
|
3026
|
+
---
|
|
3027
|
+
id: "{{ID}}"
|
|
3028
|
+
title: "{{TITLE}}"
|
|
3029
|
+
type: "HANDOUT"
|
|
3030
|
+
created_by: "Curriculum OS Builder"
|
|
3031
|
+
phase: "{{PHASE}}"
|
|
3032
|
+
deliverable: "P3-T6"
|
|
3033
|
+
version: "{{VERSION}}"
|
|
3034
|
+
date: "{{DATE}}"
|
|
3035
|
+
---
|
|
3036
|
+
|
|
3037
|
+
# STUDENT HANDOUT: {{TITLE}}
|
|
3038
|
+
**Quick-Reference Cheat Sheet & Concept Summary**
|
|
3039
|
+
|
|
3040
|
+
> **For Students:** This document summarizes the core concepts and the most important syntax following the **5-Second Rule** (instant look-up). Use it as a quick reference during your lab tasks or projects.
|
|
3041
|
+
|
|
3042
|
+
## \u{1F4D6} 1. Core Concepts
|
|
3043
|
+
{{CORE_CONCEPTS_SUMMARY}}
|
|
3044
|
+
|
|
3045
|
+
## \u26A1 2. Common Syntax & Configurations
|
|
3046
|
+
| Syntax / Config | Meaning & Function | Example / Snippet |
|
|
3047
|
+
| :--- | :--- | :--- |
|
|
3048
|
+
{{SYNTAX_TABLE_ROWS}}
|
|
3049
|
+
|
|
3050
|
+
## \u{1F680} 3. General Problem-Solving Procedure
|
|
3051
|
+
*Three general thinking steps when tackling problems in this domain:*
|
|
3052
|
+
1. **Step 1 (Input/Trigger):** {{STEP1_TRIGGER}}
|
|
3053
|
+
2. **Step 2 (Logic/Transform):** {{STEP2_LOGIC}}
|
|
3054
|
+
3. **Step 3 (Output/Verify):** {{STEP3_OUTPUT}}
|
|
3055
|
+
|
|
3056
|
+
---
|
|
3057
|
+
|
|
3058
|
+
### \u{1F4A1} Pro-tip
|
|
3059
|
+
{{PRO_TIPS}}
|
|
3060
|
+
`.trim();
|
|
3061
|
+
|
|
3062
|
+
// src/templates/slideTemplate.ts
|
|
3063
|
+
var SLIDE_TEMPLATE = `
|
|
3064
|
+
---
|
|
3065
|
+
marp: true
|
|
3066
|
+
theme: {{THEME}}
|
|
3067
|
+
paginate: true
|
|
3068
|
+
header: "{{HEADER_TITLE}}"
|
|
3069
|
+
footer: "LearnWell Platform | {{LESSON_ID}}"
|
|
3070
|
+
---
|
|
3071
|
+
|
|
3072
|
+
# \u{1F680} {{TITLE}}
|
|
3073
|
+
### {{SUBTITLE}}
|
|
3074
|
+
|
|
3075
|
+
**Audience:** {{AUDIENCE}}
|
|
3076
|
+
**Tech Stack:** {{TECH_STACK}}
|
|
3077
|
+
**Estimated Time:** {{DURATION_MINS}} mins
|
|
3078
|
+
|
|
3079
|
+
<!--
|
|
3080
|
+
Presenter Notes:
|
|
3081
|
+
{{TITLE_PRESENTER_NOTES}}
|
|
3082
|
+
-->
|
|
3083
|
+
|
|
3084
|
+
---
|
|
3085
|
+
|
|
3086
|
+
## \u{1F5FA}\uFE0F Agenda & Milestone Journey Map
|
|
3087
|
+
|
|
3088
|
+
| Time | Stage | Focus Activity |
|
|
3089
|
+
|:---:|---|---|
|
|
3090
|
+
{{AGENDA_ROWS}}
|
|
3091
|
+
|
|
3092
|
+
<!--
|
|
3093
|
+
Presenter Notes:
|
|
3094
|
+
{{AGENDA_PRESENTER_NOTES}}
|
|
3095
|
+
-->
|
|
3096
|
+
|
|
3097
|
+
---
|
|
3098
|
+
|
|
3099
|
+
## \u26A1 Warm-Up & Prior Knowledge Recall
|
|
3100
|
+
|
|
3101
|
+
{{WARMUP_CONTENT}}
|
|
3102
|
+
|
|
3103
|
+
<!--
|
|
3104
|
+
Presenter Notes:
|
|
3105
|
+
{{WARMUP_PRESENTER_NOTES}}
|
|
3106
|
+
-->
|
|
3107
|
+
|
|
3108
|
+
---
|
|
3109
|
+
|
|
3110
|
+
## \u{1F3AF} Hook Scenario: The Real-World Engineering Challenge
|
|
3111
|
+
|
|
3112
|
+
> \u26A0\uFE0F **The Problem / System Failure:**
|
|
3113
|
+
> {{HOOK_SCENARIO}}
|
|
3114
|
+
|
|
3115
|
+
- **Key Constraint:** {{HOOK_CONSTRAINT}}
|
|
3116
|
+
- **Mission Question:** {{HOOK_QUESTION}}
|
|
3117
|
+
|
|
3118
|
+
<!--
|
|
3119
|
+
Presenter Notes:
|
|
3120
|
+
{{HOOK_PRESENTER_NOTES}}
|
|
3121
|
+
-->
|
|
3122
|
+
|
|
3123
|
+
---
|
|
3124
|
+
|
|
3125
|
+
<!-- [CONCEPT_MICRO_CYCLES_START] -->
|
|
3126
|
+
{{CONCEPT_MICRO_CYCLES_SECTION}}
|
|
3127
|
+
<!-- [CONCEPT_MICRO_CYCLES_END] -->
|
|
3128
|
+
|
|
3129
|
+
---
|
|
3130
|
+
|
|
3131
|
+
## \u{1F6E0}\uFE0F Integrated Hands-On Lab: Capstone Challenge
|
|
3132
|
+
|
|
3133
|
+
### \u{1F3AF} Mission Goal:
|
|
3134
|
+
{{ADVANCED_LAB_GOAL}}
|
|
3135
|
+
|
|
3136
|
+
### 3-Tier Progressive Differentiation:
|
|
3137
|
+
- \u{1F949} **Bronze Tier:** {{BRONZE_TASK}}
|
|
3138
|
+
- \u{1F948} **Silver Tier:** {{SILVER_TASK}}
|
|
3139
|
+
- \u{1F947} **Gold Tier:** {{GOLD_TASK}}
|
|
3140
|
+
|
|
3141
|
+
<!--
|
|
3142
|
+
Presenter Notes:
|
|
3143
|
+
{{ADVANCED_LAB_PRESENTER_NOTES}}
|
|
3144
|
+
-->
|
|
3145
|
+
|
|
3146
|
+
---
|
|
3147
|
+
|
|
3148
|
+
## \u{1F6A6} Formative Checkpoint: Traffic Light Assessment
|
|
3149
|
+
|
|
3150
|
+
- \u{1F7E2} **Ready to Accelerate:** Solved Bronze + Silver, ready for Gold tier!
|
|
3151
|
+
- \u{1F7E1} **Need Quick Help:** Stuck on syntax or compilation error $\rightarrow$ Call assistant / check troubleshooting matrix.
|
|
3152
|
+
- \u{1F534} **Blocked:** Concept unclear $\rightarrow$ Step back to Micro-Practice 1.
|
|
3153
|
+
|
|
3154
|
+
<!--
|
|
3155
|
+
Presenter Notes:
|
|
3156
|
+
{{CHECKPOINT_PRESENTER_NOTES}}
|
|
3157
|
+
-->
|
|
3158
|
+
|
|
3159
|
+
---
|
|
3160
|
+
|
|
3161
|
+
## \u{1F39F}\uFE0F Exit Ticket & Metacognitive Reflection
|
|
3162
|
+
|
|
3163
|
+
1. **Scenario Question 1:** {{EXIT_Q1}}
|
|
3164
|
+
2. **Scenario Question 2:** {{EXIT_Q2}}
|
|
3165
|
+
3. **Metacognitive Reflection:** {{EXIT_REFLECTION}}
|
|
3166
|
+
|
|
3167
|
+
<!--
|
|
3168
|
+
Presenter Notes:
|
|
3169
|
+
{{EXIT_PRESENTER_NOTES}}
|
|
3170
|
+
-->
|
|
3171
|
+
|
|
3172
|
+
---
|
|
3173
|
+
|
|
3174
|
+
## \u{1F3C1} Summary & Key Takeaways
|
|
3175
|
+
|
|
3176
|
+
- \u2705 **Rule 1:** {{TAKEAWAY_1}}
|
|
3177
|
+
- \u2705 **Rule 2:** {{TAKEAWAY_2}}
|
|
3178
|
+
- \u2705 **Rule 3:** {{TAKEAWAY_3}}
|
|
3179
|
+
|
|
3180
|
+
\u{1F449} **Next Milestone Preview:** {{NEXT_MILESTONE_PREVIEW}}
|
|
3181
|
+
`.trim();
|
|
3182
|
+
|
|
3183
|
+
// src/templates/worksheetTemplate.ts
|
|
3184
|
+
var WORKSHEET_TEMPLATE = `
|
|
3185
|
+
---
|
|
3186
|
+
id: "{{ID}}"
|
|
3187
|
+
title: "{{TITLE}}"
|
|
3188
|
+
type: "WKS"
|
|
3189
|
+
created_by: "Curriculum OS Builder"
|
|
3190
|
+
phase: "{{PHASE}}"
|
|
3191
|
+
deliverable: "P3-T7"
|
|
3192
|
+
version: "{{VERSION}}"
|
|
3193
|
+
date: "{{DATE}}"
|
|
3194
|
+
---
|
|
3195
|
+
|
|
3196
|
+
# WORKSHEET: {{TITLE}}
|
|
3197
|
+
|
|
3198
|
+
**Student Name:** _______________________
|
|
3199
|
+
**Class / Cohort:** _______________________
|
|
3200
|
+
**Date:** _______________________
|
|
3201
|
+
|
|
3202
|
+
> **For Students:** This document guides you step-by-step through practical tasks. Read carefully, fill in the blanks, and check off [x] once completed. If you encounter errors, refer back to your **HANDOUT**.
|
|
3203
|
+
|
|
3204
|
+
## Part 1: Knowledge Check
|
|
3205
|
+
{{PART1_KNOWLEDGE_CHECK}}
|
|
3206
|
+
|
|
3207
|
+
## Part 2: Guided Practice (Step-by-Step)
|
|
3208
|
+
**Task Objective:** {{PART2_OBJECTIVE}}
|
|
3209
|
+
|
|
3210
|
+
{{PART2_STEPS}}
|
|
3211
|
+
|
|
3212
|
+
## Part 3: Reflection / Computational Thinking
|
|
3213
|
+
- What is the most critical lesson learned from today's practice?
|
|
3214
|
+
____________________________________________________________________
|
|
3215
|
+
- If you wanted to scale this system for 10,000 active users, where do you predict the primary bottleneck will be?
|
|
3216
|
+
____________________________________________________________________
|
|
3217
|
+
`.trim();
|
|
3218
|
+
|
|
3219
|
+
// src/templates/projectInstructionTemplate.ts
|
|
3220
|
+
var PROJECT_INSTRUCTION_TEMPLATE = `
|
|
3221
|
+
---
|
|
3222
|
+
id: "{{ID}}"
|
|
3223
|
+
title: "{{TITLE}}"
|
|
3224
|
+
type: "INSTRUCTION"
|
|
3225
|
+
language: "{{LANGUAGE}}"
|
|
3226
|
+
difficulty: "{{DIFFICULTY}}"
|
|
3227
|
+
estimated_minutes: {{ESTIMATED_MINUTES}}
|
|
3228
|
+
tech_stack: {{TECH_STACK}}
|
|
3229
|
+
---
|
|
3230
|
+
|
|
3231
|
+
# \u{1F6E0}\uFE0F {{TITLE}}
|
|
3232
|
+
|
|
3233
|
+
> \u23F1\uFE0F **Estimated Duration:** ~{{ESTIMATED_MINUTES}} mins
|
|
3234
|
+
> \u{1F3AF} **Difficulty:** {{DIFFICULTY_UPPER}}
|
|
3235
|
+
> \u{1F9F0} **Tech Stack:** {{TECH_STACK_STR}}
|
|
3236
|
+
|
|
3237
|
+
---
|
|
3238
|
+
|
|
3239
|
+
## \u{1F4CB} Prerequisites & Tools
|
|
3240
|
+
* **Prerequisites:** {{PREREQUISITES}}
|
|
3241
|
+
* **Materials & Tools:** {{MATERIALS_AND_TOOLS}}
|
|
3242
|
+
|
|
3243
|
+
---
|
|
3244
|
+
|
|
3245
|
+
{{SECTIONS_CONTENT}}
|
|
3246
|
+
|
|
3247
|
+
---
|
|
3248
|
+
|
|
3249
|
+
## \u{1F3C1} Verification Checklist
|
|
3250
|
+
{{VERIFICATION_CHECKLIST}}
|
|
3251
|
+
`.trim();
|
|
3252
|
+
|
|
3253
|
+
// src/templates/rubricTemplate.ts
|
|
3254
|
+
var RUBRIC_TEMPLATE = `
|
|
3255
|
+
---
|
|
3256
|
+
id: "{{ID}}"
|
|
3257
|
+
title: "{{TITLE}}"
|
|
3258
|
+
type: "RUBRIC"
|
|
3259
|
+
created_by: "Curriculum OS Builder"
|
|
3260
|
+
phase: "{{PHASE}}"
|
|
3261
|
+
deliverable: "P3-T5"
|
|
3262
|
+
version: "{{VERSION}}"
|
|
3263
|
+
date: "{{DATE}}"
|
|
3264
|
+
template_contract: "artifact-template-v1"
|
|
3265
|
+
template_required_sections:
|
|
3266
|
+
- "Assessment Overview"
|
|
3267
|
+
- "Assessment Rubric"
|
|
3268
|
+
---
|
|
3269
|
+
|
|
3270
|
+
# ASSESSMENT: {{TITLE}}
|
|
3271
|
+
|
|
3272
|
+
_Milestone: {{MILESTONE_ID}} | Lesson: {{LESSON_ID}}_
|
|
3273
|
+
|
|
3274
|
+
## [REQUIRED] Assessment Overview
|
|
3275
|
+
- **Type:** {{ASSESSMENT_TYPE}}
|
|
3276
|
+
- **Format:** {{ASSESSMENT_FORMAT}}
|
|
3277
|
+
- **Learning Objectives Measured:** {{LEARNING_OBJECTIVES_MEASURED}}
|
|
3278
|
+
- **Target Language:** {{TARGET_AUDIENCE_NOTE}}
|
|
3279
|
+
|
|
3280
|
+
---
|
|
3281
|
+
|
|
3282
|
+
## [REQUIRED] Assessment Rubric
|
|
3283
|
+
_Note for @assessor: Describe SPECIFIC behaviors. Avoid vague words like "good" or "understand."_
|
|
3284
|
+
|
|
3285
|
+
| Criteria | Weight | Excellent (4) | Proficient (3) | Developing (2) | Beginning (1) |
|
|
3286
|
+
|---|:---:|---|---|---|---|
|
|
3287
|
+
{{RUBRIC_TABLE_ROWS}}
|
|
3288
|
+
|
|
3289
|
+
---
|
|
3290
|
+
|
|
3291
|
+
## [OPTIONAL] Exit Ticket
|
|
3292
|
+
_Used at the end of class for a quick pulse check (Max 3 questions)._
|
|
3293
|
+
{{EXIT_TICKET_QUESTIONS}}
|
|
3294
|
+
|
|
3295
|
+
---
|
|
3296
|
+
|
|
3297
|
+
## [OPTIONAL] Student Self-Assessment Checklist
|
|
3298
|
+
_Simple language for students to reflect after completing a project._
|
|
3299
|
+
{{SELF_ASSESSMENT_CHECKLIST}}
|
|
3300
|
+
`.trim();
|
|
3301
|
+
|
|
3302
|
+
// src/templates/guideTemplate.ts
|
|
3303
|
+
var TEACHER_GUIDE_TEMPLATE = `
|
|
3304
|
+
---
|
|
3305
|
+
id: "{{ID}}"
|
|
3306
|
+
title: "{{TITLE}}"
|
|
3307
|
+
type: "GUIDE"
|
|
3308
|
+
created_by: "Curriculum OS Builder"
|
|
3309
|
+
phase: "{{PHASE}}"
|
|
3310
|
+
deliverable: "P3-T5"
|
|
3311
|
+
version: "{{VERSION}}"
|
|
3312
|
+
date: "{{DATE}}"
|
|
3313
|
+
---
|
|
3314
|
+
|
|
3315
|
+
# TEACHER GUIDE: {{TITLE}}
|
|
3316
|
+
_For Teacher Use Only | Milestone: {{MILESTONE_ID}} | Lesson: {{LESSON_ID}}_
|
|
3317
|
+
|
|
3318
|
+
## 1. Objectives & Preparation
|
|
3319
|
+
- **Pedagogical Goal:** {{PEDAGOGICAL_GOAL}}
|
|
3320
|
+
- **Common Student Blindspots:** {{COMMON_BLINDSPOTS}}
|
|
3321
|
+
- **Technical Checklist:**
|
|
3322
|
+
{{TECHNICAL_CHECKLIST}}
|
|
3323
|
+
|
|
3324
|
+
## 2. Teaching Script & Progression
|
|
3325
|
+
|
|
3326
|
+
### Hook / Engage (5-10 minutes)
|
|
3327
|
+
- **The Delivery:** {{HOOK_DELIVERY}}
|
|
3328
|
+
- **Key Point:** {{HOOK_KEY_POINT}}
|
|
3329
|
+
|
|
3330
|
+
### Explore / Core Concepts (15-20 minutes)
|
|
3331
|
+
- **Explanation Strategy:** {{EXPLANATION_STRATEGY}}
|
|
3332
|
+
- **Quick Check Questions:**
|
|
3333
|
+
{{QUICK_CHECK_QUESTIONS}}
|
|
3334
|
+
- **Time Management:** {{TIME_MANAGEMENT_TIPS}}
|
|
3335
|
+
|
|
3336
|
+
### Elaborate / Hands-on Activity (30-45 minutes)
|
|
3337
|
+
- **Classroom Management:** {{CLASSROOM_MANAGEMENT}}
|
|
3338
|
+
- **Facilitation:** {{FACILITATION_TIPS}}
|
|
3339
|
+
- **Pro-tips:** {{PRO_TIPS}}
|
|
3340
|
+
|
|
3341
|
+
### Evaluate / Wrap-up (5-10 minutes)
|
|
3342
|
+
- **Exit Ticket Strategy:** {{EXIT_TICKET_STRATEGY}}
|
|
3343
|
+
- **Minimum Requirement:** {{MINIMUM_REQUIREMENT}}
|
|
3344
|
+
|
|
3345
|
+
## 3. Troubleshooting & FAQs
|
|
3346
|
+
{{TROUBLESHOOTING_FAQS}}
|
|
3347
|
+
|
|
3348
|
+
## 4. Assessment & Differentiation Tips
|
|
3349
|
+
- **Proficient:** {{PROFICIENT_THRESHOLD}}
|
|
3350
|
+
- **Advanced:** {{ADVANCED_EXTENSIONS}}
|
|
3351
|
+
- **Enrichment Question:** {{ENRICHMENT_QUESTIONS}}
|
|
3352
|
+
`.trim();
|
|
3353
|
+
|
|
3024
3354
|
// src/templates/selfLabTemplate.ts
|
|
3025
3355
|
var SELF_LAB_TEMPLATE = `
|
|
3026
3356
|
---
|
|
@@ -3223,6 +3553,1350 @@ passing_score_pct: {{PASSING_SCORE_PCT}}
|
|
|
3223
3553
|
</details>
|
|
3224
3554
|
`.trim();
|
|
3225
3555
|
|
|
3556
|
+
// src/templates/extTemplate.ts
|
|
3557
|
+
var EXT_TEMPLATE = `---
|
|
3558
|
+
id: "{{ID}}"
|
|
3559
|
+
title: "{{TITLE}}"
|
|
3560
|
+
type: "EXT"
|
|
3561
|
+
created_by: "Curriculum OS Builder"
|
|
3562
|
+
phase: "{{PHASE}}"
|
|
3563
|
+
deliverable: "P3-T8"
|
|
3564
|
+
version: "{{VERSION}}"
|
|
3565
|
+
date: "{{DATE}}"
|
|
3566
|
+
template_contract: "artifact-template-v1"
|
|
3567
|
+
template_required_sections:
|
|
3568
|
+
- "Target Mastery & Acceleration"
|
|
3569
|
+
- "Challenge 1"
|
|
3570
|
+
- "Challenge 2"
|
|
3571
|
+
- "Verification Criteria"
|
|
3572
|
+
---
|
|
3573
|
+
<!-- INJECT_BODY -->
|
|
3574
|
+
|
|
3575
|
+
# EXTENSION CHALLENGES: {{TITLE}}
|
|
3576
|
+
_Unit: {{UNIT_ID}} | Module: {{MODULE_ID}} | Lesson: {{LESSON_ID}}_
|
|
3577
|
+
|
|
3578
|
+
## [REQUIRED] Target Mastery & Acceleration
|
|
3579
|
+
> *Designed for advanced learners who have successfully completed the core lesson requirements ahead of schedule.*
|
|
3580
|
+
|
|
3581
|
+
---
|
|
3582
|
+
|
|
3583
|
+
## [REQUIRED] Challenge 1: {{CHALLENGE_1_TITLE}} (Difficulty: \u2B50\u2B50\u2B50)
|
|
3584
|
+
- **Problem Statement:** {{CHALLENGE_1_DESCRIPTION}}
|
|
3585
|
+
- **Architectural Clues & Hints:**
|
|
3586
|
+
{{CHALLENGE_1_HINTS}}
|
|
3587
|
+
- **Expected Outcome & Deliverable:** {{CHALLENGE_1_OUTCOME}}
|
|
3588
|
+
|
|
3589
|
+
---
|
|
3590
|
+
|
|
3591
|
+
## [REQUIRED] Challenge 2: {{CHALLENGE_2_TITLE}} (Difficulty: \u2B50\u2B50\u2B50\u2B50)
|
|
3592
|
+
- **Problem Statement:** {{CHALLENGE_2_DESCRIPTION}}
|
|
3593
|
+
- **Architectural Clues & Hints:**
|
|
3594
|
+
{{CHALLENGE_2_HINTS}}
|
|
3595
|
+
- **Expected Outcome & Deliverable:** {{CHALLENGE_2_OUTCOME}}
|
|
3596
|
+
|
|
3597
|
+
---
|
|
3598
|
+
|
|
3599
|
+
## [REQUIRED] Verification Criteria
|
|
3600
|
+
- [ ] Code passes all extended unit tests.
|
|
3601
|
+
- [ ] No regression introduced into core components.
|
|
3602
|
+
- [ ] Demonstrates high-order optimization or architectural separation.
|
|
3603
|
+
`;
|
|
3604
|
+
|
|
3605
|
+
// src/templates/glossaryTemplate.ts
|
|
3606
|
+
var GLOSSARY_TEMPLATE = `---
|
|
3607
|
+
id: "{{ID}}"
|
|
3608
|
+
title: "{{TITLE}}"
|
|
3609
|
+
type: "GLOSSARY"
|
|
3610
|
+
created_by: "Curriculum OS Builder"
|
|
3611
|
+
phase: "{{PHASE}}"
|
|
3612
|
+
deliverable: "P3-T9"
|
|
3613
|
+
version: "{{VERSION}}"
|
|
3614
|
+
date: "{{DATE}}"
|
|
3615
|
+
template_contract: "artifact-template-v1"
|
|
3616
|
+
template_required_sections:
|
|
3617
|
+
- "Core Technical Terminology"
|
|
3618
|
+
- "Conceptual Analogies & Non-examples"
|
|
3619
|
+
- "Cross-Technology Crosswalk"
|
|
3620
|
+
---
|
|
3621
|
+
<!-- INJECT_BODY -->
|
|
3622
|
+
|
|
3623
|
+
# TECHNICAL GLOSSARY & VOCABULARY: {{TITLE}}
|
|
3624
|
+
_Unit: {{UNIT_ID}} | Module: {{MODULE_ID}} | Reference Standard: CS2023_
|
|
3625
|
+
|
|
3626
|
+
## [REQUIRED] Core Technical Terminology
|
|
3627
|
+
|
|
3628
|
+
| Term / Keyword | Formal Engineering Definition | Code Usage Context | Common Misconception |
|
|
3629
|
+
| :--- | :--- | :--- | :--- |
|
|
3630
|
+
{{GLOSSARY_TABLE_ROWS}}
|
|
3631
|
+
|
|
3632
|
+
---
|
|
3633
|
+
|
|
3634
|
+
## [REQUIRED] Conceptual Analogies & Non-examples
|
|
3635
|
+
|
|
3636
|
+
{{ANALOGY_SECTIONS}}
|
|
3637
|
+
|
|
3638
|
+
---
|
|
3639
|
+
|
|
3640
|
+
## [REQUIRED] Cross-Technology Crosswalk (Neutral vs. Specific)
|
|
3641
|
+
|
|
3642
|
+
| Universal Concept (Marr Level 1/2) | Target Language Syntax (Level 3) | Alternative Language Equivalent |
|
|
3643
|
+
| :--- | :--- | :--- |
|
|
3644
|
+
{{CROSSWALK_ROWS}}
|
|
3645
|
+
`;
|
|
3646
|
+
var BOM_TEMPLATE = `---
|
|
3647
|
+
id: "{{ID}}"
|
|
3648
|
+
title: "{{TITLE}}"
|
|
3649
|
+
type: "BOM"
|
|
3650
|
+
created_by: "Curriculum OS Builder"
|
|
3651
|
+
phase: "{{PHASE}}"
|
|
3652
|
+
deliverable: "P3-T6"
|
|
3653
|
+
version: "{{VERSION}}"
|
|
3654
|
+
date: "{{DATE}}"
|
|
3655
|
+
template_contract: "artifact-template-v1"
|
|
3656
|
+
template_required_sections:
|
|
3657
|
+
- "Hardware & Sensor Specification"
|
|
3658
|
+
- "Software & Environment Invariants"
|
|
3659
|
+
- "Procurement & Safety Requirements"
|
|
3660
|
+
---
|
|
3661
|
+
<!-- INJECT_BODY -->
|
|
3662
|
+
|
|
3663
|
+
# BILL OF MATERIALS & LAB PREREQUISITES: {{TITLE}}
|
|
3664
|
+
_Unit: {{UNIT_ID}} | Target Class Size: {{CLASS_SIZE}} Students_
|
|
3665
|
+
|
|
3666
|
+
## [REQUIRED] Hardware & Sensor Specification
|
|
3667
|
+
|
|
3668
|
+
| Item Code | Component Name | Required Qty per Student/Group | Min Spec / Pinout | Alternative Substitute |
|
|
3669
|
+
| :--- | :--- | :--- | :--- | :--- |
|
|
3670
|
+
{{HARDWARE_BOM_ROWS}}
|
|
3671
|
+
|
|
3672
|
+
---
|
|
3673
|
+
|
|
3674
|
+
## [REQUIRED] Software & Environment Invariants
|
|
3675
|
+
|
|
3676
|
+
| Tool / Runtime | Required Version | Licensing / Cost | Fallback Offline Mode |
|
|
3677
|
+
| :--- | :--- | :--- | :--- |
|
|
3678
|
+
{{SOFTWARE_BOM_ROWS}}
|
|
3679
|
+
|
|
3680
|
+
---
|
|
3681
|
+
|
|
3682
|
+
## [REQUIRED] Procurement & Safety Requirements
|
|
3683
|
+
- \u26A0\uFE0F **Voltage & Current Constraints:** {{POWER_CONSTRAINTS}}
|
|
3684
|
+
- \u{1F512} **API Quota & Rate Limits:** {{API_LIMITS}}
|
|
3685
|
+
`;
|
|
3686
|
+
|
|
3687
|
+
// src/templates/exitTicketTemplate.ts
|
|
3688
|
+
var EXIT_TICKET_TEMPLATE = `---
|
|
3689
|
+
id: "{{ID}}"
|
|
3690
|
+
title: "{{TITLE}}"
|
|
3691
|
+
type: "EXIT_TICKET"
|
|
3692
|
+
created_by: "Curriculum OS Builder"
|
|
3693
|
+
phase: "{{PHASE}}"
|
|
3694
|
+
deliverable: "P3-T10"
|
|
3695
|
+
version: "{{VERSION}}"
|
|
3696
|
+
date: "{{DATE}}"
|
|
3697
|
+
template_contract: "artifact-template-v1"
|
|
3698
|
+
template_required_sections:
|
|
3699
|
+
- "Target Learning Objectives"
|
|
3700
|
+
- "Recall & Conceptual Anchor"
|
|
3701
|
+
- "Application & Bug Hunt"
|
|
3702
|
+
- "Metacognitive Reflection & Confidence Check"
|
|
3703
|
+
- "Scoring & Teacher Intervention Trigger"
|
|
3704
|
+
---
|
|
3705
|
+
<!-- INJECT_BODY -->
|
|
3706
|
+
|
|
3707
|
+
# FORMATIVE EXIT TICKET: {{TITLE}}
|
|
3708
|
+
_Unit: {{UNIT_ID}} | Module: {{MODULE_ID}} | Lesson: {{LESSON_ID}} | Estimated Time: 5-7 mins_
|
|
3709
|
+
|
|
3710
|
+
## [REQUIRED] Target Learning Objectives
|
|
3711
|
+
- **Target LO 1 (ULO):** {{TARGET_LO_1}}
|
|
3712
|
+
- **Target LO 2 (CIO/SIO):** {{TARGET_LO_2}}
|
|
3713
|
+
|
|
3714
|
+
---
|
|
3715
|
+
|
|
3716
|
+
## [REQUIRED] Part 1: Recall & Conceptual Anchor (Prompt 1)
|
|
3717
|
+
> *Objective: Test core mental model without allowing rote syntax memorization.*
|
|
3718
|
+
|
|
3719
|
+
**Question 1:**
|
|
3720
|
+
{{CONCEPTUAL_QUESTION}}
|
|
3721
|
+
|
|
3722
|
+
- **Student Answer Area:**
|
|
3723
|
+
\`\`\`text
|
|
3724
|
+
[Write 1-2 concise sentences explaining the difference in runtime mechanism]
|
|
3725
|
+
\`\`\`
|
|
3726
|
+
|
|
3727
|
+
---
|
|
3728
|
+
|
|
3729
|
+
## [REQUIRED] Part 2: Application & Bug Hunt (Prompt 2)
|
|
3730
|
+
> *Objective: Test code diagnosis and precise correction in \u2264 3 lines of modification.*
|
|
3731
|
+
|
|
3732
|
+
**Code Snippet:**
|
|
3733
|
+
\`\`\`{{CODE_LANGUAGE}}
|
|
3734
|
+
{{BUGGY_CODE_SNIPPET}}
|
|
3735
|
+
\`\`\`
|
|
3736
|
+
|
|
3737
|
+
**Task:**
|
|
3738
|
+
1. **Identify the Compiler/Runtime Error:** {{BUG_SYMPTOM_HINT}}
|
|
3739
|
+
2. **Corrected Line:**
|
|
3740
|
+
\`\`\`{{CODE_LANGUAGE}}
|
|
3741
|
+
{{CORRECTED_CODE_SLOT}}
|
|
3742
|
+
\`\`\`
|
|
3743
|
+
|
|
3744
|
+
---
|
|
3745
|
+
|
|
3746
|
+
## [REQUIRED] Part 3: Metacognitive Reflection & Confidence Check (Prompt 3)
|
|
3747
|
+
> *Objective: Empower student self-regulation and provide immediate diagnostic signals.*
|
|
3748
|
+
|
|
3749
|
+
**Traffic Light Self-Assessment:**
|
|
3750
|
+
- [ ] \u{1F7E2} **Green (Mastered):** "I can build and explain this concept to a peer without any hints."
|
|
3751
|
+
- [ ] \u{1F7E1} **Yellow (Needs Practice):** "I understand the concept but got stuck on syntax or error messages."
|
|
3752
|
+
- [ ] \u{1F534} **Red (Blocked):** "I need help understanding why this architecture is used."
|
|
3753
|
+
|
|
3754
|
+
**One Lingering Question (Exit Ticket Note):**
|
|
3755
|
+
\`\`\`text
|
|
3756
|
+
[What is one question you still have before leaving today's lab?]
|
|
3757
|
+
\`\`\`
|
|
3758
|
+
|
|
3759
|
+
---
|
|
3760
|
+
|
|
3761
|
+
## [REQUIRED] Scoring & Teacher Intervention Trigger
|
|
3762
|
+
- **Proficiency Threshold:** Green/Yellow check + Correct Answer to Part 2 Bug Hunt.
|
|
3763
|
+
- **Intervention Protocol:** {{INTERVENTION_PROTOCOL}}
|
|
3764
|
+
`;
|
|
3765
|
+
|
|
3766
|
+
// src/templates/tieredPracticeTemplate.ts
|
|
3767
|
+
var TIERED_PRACTICE_TEMPLATE = `---
|
|
3768
|
+
id: "{{ID}}"
|
|
3769
|
+
title: "{{TITLE}}"
|
|
3770
|
+
type: "TIERED_PRACTICE"
|
|
3771
|
+
created_by: "Curriculum OS Builder"
|
|
3772
|
+
phase: "{{PHASE}}"
|
|
3773
|
+
deliverable: "P3-T11"
|
|
3774
|
+
version: "{{VERSION}}"
|
|
3775
|
+
date: "{{DATE}}"
|
|
3776
|
+
template_contract: "artifact-template-v1"
|
|
3777
|
+
template_required_sections:
|
|
3778
|
+
- "Computational Objective & Tier Matrix"
|
|
3779
|
+
- "Bronze Tier (Foundational Scaffolding)"
|
|
3780
|
+
- "Silver Tier (Independent Application)"
|
|
3781
|
+
- "Gold Tier (Enrichment & Optimization)"
|
|
3782
|
+
- "Automated Test Verification Matrix"
|
|
3783
|
+
- "Answer Key & Mentor Hints"
|
|
3784
|
+
---
|
|
3785
|
+
<!-- INJECT_BODY -->
|
|
3786
|
+
|
|
3787
|
+
# 3-TIER DIFFERENTIATED PRACTICE LAB: {{TITLE}}
|
|
3788
|
+
_Unit: {{UNIT_ID}} | Module: {{MODULE_ID}} | Lesson: {{LESSON_ID}} | Mode: Adaptive Lab_
|
|
3789
|
+
|
|
3790
|
+
## [REQUIRED] Computational Objective & Tier Matrix
|
|
3791
|
+
|
|
3792
|
+
| Tier Level | Cognitive Target (Bloom) | Scaffolding Ratio | Success Criteria |
|
|
3793
|
+
| :--- | :--- | :--- | :--- |
|
|
3794
|
+
| \u{1F949} **Bronze** | Remember / Understand | **70% Starter Code / 30% Fill-in** | Complete basic syntax & pass Baseline Unit Test. |
|
|
3795
|
+
| \u{1F948} **Silver** | Apply / Analyze | **30% Starter Code / 70% Implementation** | Implement business logic, edge-case handling & multi-component binding. |
|
|
3796
|
+
| \u{1F947} **Gold** | Evaluate / Create | **0% Code / Open Architecture** | Optimize performance, refactor with concurrency/state isolation & self-author tests. |
|
|
3797
|
+
|
|
3798
|
+
---
|
|
3799
|
+
|
|
3800
|
+
## [REQUIRED] \u{1F949} Bronze Tier: Foundational Scaffolding (Baseline for All)
|
|
3801
|
+
- **Target Audience:** All learners (mandatory milestone).
|
|
3802
|
+
- **Guiding Prompt:** {{BRONZE_PROMPT}}
|
|
3803
|
+
|
|
3804
|
+
### Starter Code & Fill-in Slots:
|
|
3805
|
+
\`\`\`{{CODE_LANGUAGE}}
|
|
3806
|
+
{{BRONZE_STARTER_CODE}}
|
|
3807
|
+
\`\`\`
|
|
3808
|
+
|
|
3809
|
+
- **Verification Check:** Run test \`testBronzeBaseline()\` \u2014 Expect status \`PASS\`.
|
|
3810
|
+
|
|
3811
|
+
---
|
|
3812
|
+
|
|
3813
|
+
## [REQUIRED] \u{1F948} Silver Tier: Independent Application (Target Mastery)
|
|
3814
|
+
- **Target Audience:** Learners who completed Bronze without mentor intervention.
|
|
3815
|
+
- **Guiding Prompt:** {{SILVER_PROMPT}}
|
|
3816
|
+
|
|
3817
|
+
### Specification & Requirements:
|
|
3818
|
+
{{SILVER_SPECIFICATIONS}}
|
|
3819
|
+
|
|
3820
|
+
### Implementation Target:
|
|
3821
|
+
\`\`\`{{CODE_LANGUAGE}}
|
|
3822
|
+
{{SILVER_IMPLEMENTATION_SLOT}}
|
|
3823
|
+
\`\`\`
|
|
3824
|
+
|
|
3825
|
+
- **Verification Check:** Run test \`testSilverLogicAndValidation()\` \u2014 Expect status \`PASS\`.
|
|
3826
|
+
|
|
3827
|
+
---
|
|
3828
|
+
|
|
3829
|
+
## [REQUIRED] \u{1F947} Gold Tier: Enrichment & Optimization (Open Extension)
|
|
3830
|
+
- **Target Audience:** Advanced learners finished ahead of schedule.
|
|
3831
|
+
- **Architectural Challenge:** {{GOLD_CHALLENGE}}
|
|
3832
|
+
|
|
3833
|
+
### Constraints & Invariants:
|
|
3834
|
+
{{GOLD_CONSTRAINTS}}
|
|
3835
|
+
|
|
3836
|
+
---
|
|
3837
|
+
|
|
3838
|
+
## [REQUIRED] Automated Test Verification Matrix & Mentor Hints
|
|
3839
|
+
\`\`\`{{CODE_LANGUAGE}}
|
|
3840
|
+
{{TEST_HARNESS_CODE}}
|
|
3841
|
+
\`\`\`
|
|
3842
|
+
|
|
3843
|
+
### Mentor Debugging Cheatsheet:
|
|
3844
|
+
{{MENTOR_DEBUG_CHEATSHEET}}
|
|
3845
|
+
`;
|
|
3846
|
+
var CHOICE_BOARD_TEMPLATE = `---
|
|
3847
|
+
id: "{{ID}}"
|
|
3848
|
+
title: "{{TITLE}}"
|
|
3849
|
+
type: "CHOICE_BOARD"
|
|
3850
|
+
created_by: "Curriculum OS Builder"
|
|
3851
|
+
phase: "{{PHASE}}"
|
|
3852
|
+
deliverable: "P3-T12"
|
|
3853
|
+
version: "{{VERSION}}"
|
|
3854
|
+
date: "{{DATE}}"
|
|
3855
|
+
template_contract: "artifact-template-v1"
|
|
3856
|
+
template_required_sections:
|
|
3857
|
+
- "Learning Goals & Rule of Choice"
|
|
3858
|
+
- "The 9-Square Activity Matrix"
|
|
3859
|
+
- "Activity Detailed Blueprints"
|
|
3860
|
+
- "Universal Assessment Rubric"
|
|
3861
|
+
---
|
|
3862
|
+
<!-- INJECT_BODY -->
|
|
3863
|
+
|
|
3864
|
+
# 9-SQUARE CHOICE BOARD: {{TITLE}}
|
|
3865
|
+
_Unit: {{UNIT_ID}} | Module: {{MODULE_ID}} | Target Competency: {{CORE_COMPETENCY}}_
|
|
3866
|
+
|
|
3867
|
+
## [REQUIRED] Learning Goals & Rule of Choice
|
|
3868
|
+
- **Core Concept Anchor:** {{CORE_CONCEPT_ANCHOR}}
|
|
3869
|
+
- **Rule of Choice (Tic-Tac-Toe / Point Model):**
|
|
3870
|
+
- *Option A (Tic-Tac-Toe):* Complete 3 activities in a row (Horizontal, Vertical, or Diagonal).
|
|
3871
|
+
- *Option B (Point Balance):* Reach $\\ge 100\\text{ pts}$ (Choose $\\ge 1$ Technical Lab + $\\ge 1$ Explanatory/Visual + $\\ge 1$ Creative Challenge).
|
|
3872
|
+
|
|
3873
|
+
---
|
|
3874
|
+
|
|
3875
|
+
## [REQUIRED] The 9-Square Activity Matrix
|
|
3876
|
+
|
|
3877
|
+
| Column 1: Analytical & Code | Column 2: Visual & Architecture | Column 3: Creative & Applied |
|
|
3878
|
+
| :--- | :--- | :--- |
|
|
3879
|
+
| **Square 1: {{SQ1_TITLE}} ({{SQ1_PTS}} pts)**<br>{{SQ1_DESC}} | **Square 2: {{SQ2_TITLE}} ({{SQ2_PTS}} pts)**<br>{{SQ2_DESC}} | **Square 3: {{SQ3_TITLE}} ({{SQ3_PTS}} pts)**<br>{{SQ3_DESC}} |
|
|
3880
|
+
| **Square 4: {{SQ4_TITLE}} ({{SQ4_PTS}} pts)**<br>{{SQ4_DESC}} | **\u2B50 Square 5: {{SQ5_TITLE}} ({{SQ5_PTS}} pts)**<br>{{SQ5_DESC}} | **Square 6: {{SQ6_TITLE}} ({{SQ6_PTS}} pts)**<br>{{SQ6_DESC}} |
|
|
3881
|
+
| **Square 7: {{SQ7_TITLE}} ({{SQ7_PTS}} pts)**<br>{{SQ7_DESC}} | **Square 8: {{SQ8_TITLE}} ({{SQ8_PTS}} pts)**<br>{{SQ8_DESC}} | **Square 9: {{SQ9_TITLE}} ({{SQ9_PTS}} pts)**<br>{{SQ9_DESC}} |
|
|
3882
|
+
|
|
3883
|
+
---
|
|
3884
|
+
|
|
3885
|
+
## [REQUIRED] Activity Detailed Blueprints
|
|
3886
|
+
|
|
3887
|
+
### Detail: Square 1 \u2014 {{SQ1_TITLE}}
|
|
3888
|
+
{{SQ1_BLUEPRINT}}
|
|
3889
|
+
|
|
3890
|
+
### Detail: Square 2 \u2014 {{SQ2_TITLE}}
|
|
3891
|
+
{{SQ2_BLUEPRINT}}
|
|
3892
|
+
|
|
3893
|
+
### Detail: \u2B50 Square 5 \u2014 {{SQ5_TITLE}} (Mandatory Center Option)
|
|
3894
|
+
{{SQ5_BLUEPRINT}}
|
|
3895
|
+
|
|
3896
|
+
---
|
|
3897
|
+
|
|
3898
|
+
## [REQUIRED] Universal Assessment Rubric
|
|
3899
|
+
| Criteria | Exemplary (4) | Proficient (3) | Developing (2) | Beginning (1) |
|
|
3900
|
+
| :--- | :--- | :--- | :--- | :--- |
|
|
3901
|
+
| **Technical Accuracy** | 100% executable, idiomatic syntax, zero race conditions. | Compiles and runs; minor non-critical styling issue. | Runs with partial errors or missing edge cases. | Does not compile or contains critical syntax bugs. |
|
|
3902
|
+
| **Conceptual Clarity** | Explains architectural trade-offs using rigorous engineering terms. | Explains the "how" accurately with basic rationale. | Description is vague or confuses terminology. | Cannot explain how code works. |
|
|
3903
|
+
| **Creativity & Autonomy** | Goes beyond specifications with thoughtful UX or performance optimizations. | Fulfills all specified criteria independently. | Needs significant scaffolding hints to complete. | Incomplete submission. |
|
|
3904
|
+
`;
|
|
3905
|
+
|
|
3906
|
+
// src/templates/scienceLabTemplate.ts
|
|
3907
|
+
var SCIENCE_LAB_TEMPLATE = `---
|
|
3908
|
+
id: "{{ID}}"
|
|
3909
|
+
title: "{{TITLE}}"
|
|
3910
|
+
type: "SCIENCE_LAB"
|
|
3911
|
+
created_by: "Curriculum OS Builder"
|
|
3912
|
+
phase: "{{PHASE}}"
|
|
3913
|
+
deliverable: "P3-T13"
|
|
3914
|
+
version: "{{VERSION}}"
|
|
3915
|
+
date: "{{DATE}}"
|
|
3916
|
+
template_contract: "artifact-template-v1"
|
|
3917
|
+
template_required_sections:
|
|
3918
|
+
- "Guiding Inquiry & Driving Question"
|
|
3919
|
+
- "Hypothesis & Experimental Design"
|
|
3920
|
+
- "Data Collection & Code Lab Protocol"
|
|
3921
|
+
- "CER Scientific Conclusion (Claim, Evidence, Reasoning)"
|
|
3922
|
+
- "Peer Review & Verification Protocol"
|
|
3923
|
+
---
|
|
3924
|
+
<!-- INJECT_BODY -->
|
|
3925
|
+
|
|
3926
|
+
# STEM / CODE INVESTIGATION LAB (CER): {{TITLE}}
|
|
3927
|
+
_Unit: {{UNIT_ID}} | Module: {{MODULE_ID}} | Domain: {{DOMAIN_NAME}}_
|
|
3928
|
+
|
|
3929
|
+
## [REQUIRED] Guiding Inquiry & Driving Question
|
|
3930
|
+
- **Real-World Driving Question:** {{DRIVING_QUESTION}}
|
|
3931
|
+
- **Engineering Phenomenon:** {{ENGINEERING_PHENOMENON}}
|
|
3932
|
+
|
|
3933
|
+
---
|
|
3934
|
+
|
|
3935
|
+
## [REQUIRED] Hypothesis & Experimental Design
|
|
3936
|
+
- **Student Hypothesis Template:**
|
|
3937
|
+
> *"If we [Action / Variable Manipulation], then [Predicted Outcome] because [Scientific / Engineering Rationale]."*
|
|
3938
|
+
|
|
3939
|
+
### Controlled Variables:
|
|
3940
|
+
- **Independent Variable (Manipulated):** {{INDEPENDENT_VARIABLE}}
|
|
3941
|
+
- **Dependent Variable (Measured):** {{DEPENDENT_VARIABLE}}
|
|
3942
|
+
- **Control Variables (Constant):** {{CONTROL_VARIABLES}}
|
|
3943
|
+
|
|
3944
|
+
---
|
|
3945
|
+
|
|
3946
|
+
## [REQUIRED] Data Collection & Code Lab Protocol
|
|
3947
|
+
|
|
3948
|
+
### Lab Setup & Instrumentation Code:
|
|
3949
|
+
\`\`\`{{CODE_LANGUAGE}}
|
|
3950
|
+
{{BENCHMARK_PROBE_CODE}}
|
|
3951
|
+
\`\`\`
|
|
3952
|
+
|
|
3953
|
+
### Data Collection Table:
|
|
3954
|
+
| Trial | Variable State | Memory (MB) | Latency (ms) | Error / Anomaly Count |
|
|
3955
|
+
| :---: | :--- | :---: | :---: | :---: |
|
|
3956
|
+
{{DATA_COLLECTION_ROWS}}
|
|
3957
|
+
|
|
3958
|
+
---
|
|
3959
|
+
|
|
3960
|
+
## [REQUIRED] CER Scientific Conclusion (Claim, Evidence, Reasoning)
|
|
3961
|
+
|
|
3962
|
+
### 1. \u{1F4CC} Claim (Kh\u1EB3ng \u0111\u1ECBnh):
|
|
3963
|
+
- *Direct answer to the driving question in 1 concise sentence:*
|
|
3964
|
+
\`\`\`text
|
|
3965
|
+
[State clear conclusion based on data]
|
|
3966
|
+
\`\`\`
|
|
3967
|
+
|
|
3968
|
+
### 2. \u{1F4CA} Evidence (B\u1EB1ng ch\u1EE9ng s\u1ED1 li\u1EC7u):
|
|
3969
|
+
- *Specific quantitative data points cited directly from the Data Collection Table:*
|
|
3970
|
+
\`\`\`text
|
|
3971
|
+
[Cite concrete numerical metrics and trials]
|
|
3972
|
+
\`\`\`
|
|
3973
|
+
|
|
3974
|
+
### 3. \u{1F9E0} Reasoning (L\u1EADp lu\u1EADn khoa h\u1ECDc):
|
|
3975
|
+
- *Connect the evidence back to the underlying technical principle:*
|
|
3976
|
+
\`\`\`text
|
|
3977
|
+
[Explain why the runtime/hardware behaved this way]
|
|
3978
|
+
\`\`\`
|
|
3979
|
+
|
|
3980
|
+
---
|
|
3981
|
+
|
|
3982
|
+
## [REQUIRED] Peer Review & Verification Protocol
|
|
3983
|
+
- **Reproducibility Test:** Exchange code probes with another group to verify if results match within $\\pm 10\\%$ tolerance.
|
|
3984
|
+
`;
|
|
3985
|
+
var TASK_CARDS_TEMPLATE = `---
|
|
3986
|
+
id: "{{ID}}"
|
|
3987
|
+
title: "{{TITLE}}"
|
|
3988
|
+
type: "TASK_CARDS"
|
|
3989
|
+
created_by: "Curriculum OS Builder"
|
|
3990
|
+
phase: "{{PHASE}}"
|
|
3991
|
+
deliverable: "P3-T14"
|
|
3992
|
+
version: "{{VERSION}}"
|
|
3993
|
+
date: "{{DATE}}"
|
|
3994
|
+
template_contract: "artifact-template-v1"
|
|
3995
|
+
template_required_sections:
|
|
3996
|
+
- "Deck Overview & Print Instructions"
|
|
3997
|
+
- "Task Cards 1 to 4 (Foundational Concepts)"
|
|
3998
|
+
- "Task Cards 5 to 8 (Code Diagnosis & Debugging)"
|
|
3999
|
+
- "Task Cards 9 to 12 (Application & Synthesis)"
|
|
4000
|
+
- "Teacher Answer Key & Scoring Matrix"
|
|
4001
|
+
---
|
|
4002
|
+
<!-- INJECT_BODY -->
|
|
4003
|
+
|
|
4004
|
+
# PRINTABLE TASK CARDS PACK: {{TITLE}}
|
|
4005
|
+
_Unit: {{UNIT_ID}} | Module: {{MODULE_ID}} | Total Cards: {{CARD_COUNT}} Cards_
|
|
4006
|
+
|
|
4007
|
+
## [REQUIRED] Deck Overview & Print Instructions
|
|
4008
|
+
- **Card Format:** 4 cards per page (A4 layout with cutting guidelines and QR code link).
|
|
4009
|
+
- **Target Skills:** Conceptual Understanding, Code Tracing, Bug Hunting, Architectural Reasoning.
|
|
4010
|
+
- **Scoring System:** Bronze Cards (1 pt), Silver Cards (2 pts), Gold Cards (3 pts).
|
|
4011
|
+
|
|
4012
|
+
---
|
|
4013
|
+
|
|
4014
|
+
## [REQUIRED] Set A: Foundational Concepts (Cards 1\u20134)
|
|
4015
|
+
{{TASK_CARDS_SET_A}}
|
|
4016
|
+
|
|
4017
|
+
---
|
|
4018
|
+
|
|
4019
|
+
## [REQUIRED] Set B: Code Diagnosis & Debugging (Cards 5\u20138)
|
|
4020
|
+
{{TASK_CARDS_SET_B}}
|
|
4021
|
+
|
|
4022
|
+
---
|
|
4023
|
+
|
|
4024
|
+
## [REQUIRED] Set C: Application & Synthesis (Cards 9\u201312)
|
|
4025
|
+
{{TASK_CARDS_SET_C}}
|
|
4026
|
+
|
|
4027
|
+
---
|
|
4028
|
+
|
|
4029
|
+
## [REQUIRED] Teacher Answer Key & Scoring Matrix
|
|
4030
|
+
| Card ID | Correct Answer / Solution Blueprint | Max Points |
|
|
4031
|
+
| :---: | :--- | :---: |
|
|
4032
|
+
{{TASK_CARDS_ANSWER_ROWS}}
|
|
4033
|
+
`;
|
|
4034
|
+
|
|
4035
|
+
// src/templates/stationRotationTemplate.ts
|
|
4036
|
+
var STATION_ROTATION_TEMPLATE = `---
|
|
4037
|
+
id: "{{ID}}"
|
|
4038
|
+
title: "{{TITLE}}"
|
|
4039
|
+
type: "STATION_ROTATION"
|
|
4040
|
+
created_by: "Curriculum OS Builder"
|
|
4041
|
+
phase: "{{PHASE}}"
|
|
4042
|
+
deliverable: "P3-T15"
|
|
4043
|
+
version: "{{VERSION}}"
|
|
4044
|
+
date: "{{DATE}}"
|
|
4045
|
+
template_contract: "artifact-template-v1"
|
|
4046
|
+
template_required_sections:
|
|
4047
|
+
- "Station Architecture & Timer Overview"
|
|
4048
|
+
- "Station 1: Teacher-Led Small Group (Deep Dive)"
|
|
4049
|
+
- "Station 2: Collaborative Hands-On Lab (Peer Pair)"
|
|
4050
|
+
- "Station 3: Independent Digital Practice (Async Code)"
|
|
4051
|
+
- "Station 4: Offline Modeling & Architecture (Whiteboard)"
|
|
4052
|
+
- "Station Recording Sheet & Rotation Bell Protocol"
|
|
4053
|
+
---
|
|
4054
|
+
<!-- INJECT_BODY -->
|
|
4055
|
+
|
|
4056
|
+
# STATION ROTATION LESSON PACK: {{TITLE}}
|
|
4057
|
+
_Unit: {{UNIT_ID}} | Module: {{MODULE_ID}} | Format: 4 Stations x 15 Mins_
|
|
4058
|
+
|
|
4059
|
+
## [REQUIRED] Station Architecture & Timer Overview
|
|
4060
|
+
- **Classroom Layout:** 4 designated physical zones with clear signage and materials.
|
|
4061
|
+
- **Rotation Time:** 15 minutes per station + 2 minutes clean transition buffer.
|
|
4062
|
+
- **Audience Grouping:** Heterogeneous groups of 4-6 students rotating simultaneously.
|
|
4063
|
+
|
|
4064
|
+
---
|
|
4065
|
+
|
|
4066
|
+
## [REQUIRED] Station 1: Teacher-Led Small Group (Guided Inquiry)
|
|
4067
|
+
- **Goal:** Direct coaching, conceptual check, and resolving misconceptions in real-time.
|
|
4068
|
+
- **Teacher Script & Inquiry Questions:**
|
|
4069
|
+
{{STATION_1_GUIDANCE}}
|
|
4070
|
+
|
|
4071
|
+
---
|
|
4072
|
+
|
|
4073
|
+
## [REQUIRED] Station 2: Collaborative Hands-On Lab (Pair Programming)
|
|
4074
|
+
- **Goal:** Students work in pairs (Driver / Navigator) to solve a 2-stage challenge.
|
|
4075
|
+
- **Task Materials:** {{STATION_2_MATERIALS}}
|
|
4076
|
+
- **Success Milestone:** {{STATION_2_MILESTONE}}
|
|
4077
|
+
|
|
4078
|
+
---
|
|
4079
|
+
|
|
4080
|
+
## [REQUIRED] Station 3: Independent Digital Practice (Self-Paced Code Lab)
|
|
4081
|
+
- **Goal:** Autonomy and individual mastery verification.
|
|
4082
|
+
- **Student Instructions:**
|
|
4083
|
+
{{STATION_3_INSTRUCTIONS}}
|
|
4084
|
+
|
|
4085
|
+
---
|
|
4086
|
+
|
|
4087
|
+
## [REQUIRED] Station 4: Offline Modeling & Architecture (No Screens)
|
|
4088
|
+
- **Goal:** Cognitive unloading and physical spatial reasoning.
|
|
4089
|
+
- **Materials:** Whiteboard markers, physical Task Cards deck, and laminated architecture templates.
|
|
4090
|
+
- **Task:** {{STATION_4_TASK}}
|
|
4091
|
+
|
|
4092
|
+
---
|
|
4093
|
+
|
|
4094
|
+
## [REQUIRED] Station Recording Sheet (Student Passport)
|
|
4095
|
+
| Station | Task Completed | Signature / Verification Stamp | 1 Key Insight Learned |
|
|
4096
|
+
| :---: | :--- | :--- | :--- |
|
|
4097
|
+
| **1 (Teacher)** | Debugging Probe Discussion | [Teacher Stamp] | |
|
|
4098
|
+
| **2 (Pair Lab)** | Stage 1 & 2 Test Suite | [Peer Signature] | |
|
|
4099
|
+
| **3 (Digital)** | Micro-Challenges Token | [Auto Token] | |
|
|
4100
|
+
| **4 (Offline)** | Flowchart Diagram Approved | [Mentor Stamp] | |
|
|
4101
|
+
`;
|
|
4102
|
+
var BELL_RINGER_TEMPLATE = `---
|
|
4103
|
+
id: "{{ID}}"
|
|
4104
|
+
title: "{{TITLE}}"
|
|
4105
|
+
type: "BELL_RINGER"
|
|
4106
|
+
created_by: "Curriculum OS Builder"
|
|
4107
|
+
phase: "{{PHASE}}"
|
|
4108
|
+
deliverable: "P3-T16"
|
|
4109
|
+
version: "{{VERSION}}"
|
|
4110
|
+
date: "{{DATE}}"
|
|
4111
|
+
template_contract: "artifact-template-v1"
|
|
4112
|
+
template_required_sections:
|
|
4113
|
+
- "Weekly Objective & Schedule"
|
|
4114
|
+
- "Monday: Mental Model Recall"
|
|
4115
|
+
- "Tuesday: Code Spot-Check"
|
|
4116
|
+
- "Wednesday: Bug Hunt & Fix"
|
|
4117
|
+
- "Thursday: Architecture Tracing"
|
|
4118
|
+
- "Friday: Creative Synthesis & Bridge"
|
|
4119
|
+
- "Answer Key & Scoring Guide"
|
|
4120
|
+
---
|
|
4121
|
+
<!-- INJECT_BODY -->
|
|
4122
|
+
|
|
4123
|
+
# WEEKLY BELL RINGERS (5-DAY WARM-UP PACK): {{TITLE}}
|
|
4124
|
+
_Unit: {{UNIT_ID}} | Module: {{MODULE_ID}} | Time: 3-5 Mins per Session_
|
|
4125
|
+
|
|
4126
|
+
## [REQUIRED] Weekly Objective & Schedule
|
|
4127
|
+
- **Weekly Core Theme:** {{WEEKLY_THEME}}
|
|
4128
|
+
- **Routine Protocol:** Display prompt on projector immediately as students enter.
|
|
4129
|
+
|
|
4130
|
+
---
|
|
4131
|
+
|
|
4132
|
+
## [REQUIRED] Day 1 (Monday): Mental Model Recall & Analogy
|
|
4133
|
+
{{DAY_1_PROMPT}}
|
|
4134
|
+
|
|
4135
|
+
---
|
|
4136
|
+
|
|
4137
|
+
## [REQUIRED] Day 2 (Tuesday): Rapid Code Tracing
|
|
4138
|
+
{{DAY_2_PROMPT}}
|
|
4139
|
+
|
|
4140
|
+
---
|
|
4141
|
+
|
|
4142
|
+
## [REQUIRED] Day 3 (Wednesday): Quick Bug Hunt (Spot the Defect)
|
|
4143
|
+
{{DAY_3_PROMPT}}
|
|
4144
|
+
|
|
4145
|
+
---
|
|
4146
|
+
|
|
4147
|
+
## [REQUIRED] Day 4 (Thursday): Visual Diagram Tracing
|
|
4148
|
+
{{DAY_4_PROMPT}}
|
|
4149
|
+
|
|
4150
|
+
---
|
|
4151
|
+
|
|
4152
|
+
## [REQUIRED] Day 5 (Friday): Creative Synthesis & Bridge Forward
|
|
4153
|
+
{{DAY_5_PROMPT}}
|
|
4154
|
+
|
|
4155
|
+
---
|
|
4156
|
+
|
|
4157
|
+
## [REQUIRED] Teacher Answer Key & Scoring Guide
|
|
4158
|
+
{{TEACHER_ANSWER_KEY}}
|
|
4159
|
+
`;
|
|
4160
|
+
var REVIEW_GAME_TEMPLATE = `---
|
|
4161
|
+
id: "{{ID}}"
|
|
4162
|
+
title: "{{TITLE}}"
|
|
4163
|
+
type: "REVIEW_GAME"
|
|
4164
|
+
created_by: "Curriculum OS Builder"
|
|
4165
|
+
phase: "{{PHASE}}"
|
|
4166
|
+
deliverable: "P3-T17"
|
|
4167
|
+
version: "{{VERSION}}"
|
|
4168
|
+
date: "{{DATE}}"
|
|
4169
|
+
template_contract: "artifact-template-v1"
|
|
4170
|
+
template_required_sections:
|
|
4171
|
+
- "Game Rules & Setup Guide"
|
|
4172
|
+
- "Round 1: Speed Round (100-200 Pts)"
|
|
4173
|
+
- "Round 2: Code Duel & Debugging (300-400 Pts)"
|
|
4174
|
+
- "Round 3: Final Boss Architecture Challenge (500 Pts)"
|
|
4175
|
+
- "Kahoot / Quizizz CSV Export Format"
|
|
4176
|
+
---
|
|
4177
|
+
<!-- INJECT_BODY -->
|
|
4178
|
+
|
|
4179
|
+
# INTERACTIVE REVIEW GAME (QUIZ SHOW PACK): {{TITLE}}
|
|
4180
|
+
_Unit: {{UNIT_ID}} | Module: {{MODULE_ID}} | Format: Live Classroom Quiz Show_
|
|
4181
|
+
|
|
4182
|
+
## [REQUIRED] Game Rules & Setup Guide
|
|
4183
|
+
- **Format:** 3 Rounds of progressive difficulty with team buzzers.
|
|
4184
|
+
- **Team Size:** 3-5 students per squad.
|
|
4185
|
+
|
|
4186
|
+
---
|
|
4187
|
+
|
|
4188
|
+
## [REQUIRED] Round 1: Rapid-Fire Speed Round (100\u2013200 Points)
|
|
4189
|
+
{{ROUND_1_QUESTIONS}}
|
|
4190
|
+
|
|
4191
|
+
---
|
|
4192
|
+
|
|
4193
|
+
## [REQUIRED] Round 2: Code Duel & Debugging (300\u2013400 Points)
|
|
4194
|
+
{{ROUND_2_CHALLENGES}}
|
|
4195
|
+
|
|
4196
|
+
---
|
|
4197
|
+
|
|
4198
|
+
## [REQUIRED] Round 3: Final Boss Architecture Challenge (500 Points)
|
|
4199
|
+
{{ROUND_3_BOSS_CHALLENGE}}
|
|
4200
|
+
|
|
4201
|
+
---
|
|
4202
|
+
|
|
4203
|
+
## [REQUIRED] Kahoot / Quizizz CSV Export Format
|
|
4204
|
+
\`\`\`csv
|
|
4205
|
+
{{KAHOOT_CSV_CONTENT}}
|
|
4206
|
+
\`\`\`
|
|
4207
|
+
`;
|
|
4208
|
+
var GRAPHIC_ORGANIZER_TEMPLATE = `---
|
|
4209
|
+
id: "{{ID}}"
|
|
4210
|
+
title: "{{TITLE}}"
|
|
4211
|
+
type: "GRAPHIC_ORGANIZER"
|
|
4212
|
+
created_by: "Curriculum OS Builder"
|
|
4213
|
+
phase: "{{PHASE}}"
|
|
4214
|
+
deliverable: "P3-T18"
|
|
4215
|
+
version: "{{VERSION}}"
|
|
4216
|
+
date: "{{DATE}}"
|
|
4217
|
+
template_contract: "artifact-template-v1"
|
|
4218
|
+
template_required_sections:
|
|
4219
|
+
- "Visual Paradigm Overview"
|
|
4220
|
+
- "Organizer 1: Architectural Data Flow (Mermaid Flowchart)"
|
|
4221
|
+
- "Organizer 2: Comparative Analysis (Mermaid / Markdown Venn)"
|
|
4222
|
+
- "Organizer 3: State Machine & Lifecycle (Mermaid StateDiagram)"
|
|
4223
|
+
- "Student Fill-in Worksheet Format"
|
|
4224
|
+
---
|
|
4225
|
+
<!-- INJECT_BODY -->
|
|
4226
|
+
|
|
4227
|
+
# VISUAL GRAPHIC ORGANIZERS: {{TITLE}}
|
|
4228
|
+
_Unit: {{UNIT_ID}} | Module: {{MODULE_ID}} | Format: Mermaid Diagrams + Printable Handouts_
|
|
4229
|
+
|
|
4230
|
+
## [REQUIRED] Visual Paradigm Overview
|
|
4231
|
+
- **Cognitive Purpose:** Unload mental processing burden through spatial diagramming.
|
|
4232
|
+
|
|
4233
|
+
---
|
|
4234
|
+
|
|
4235
|
+
## [REQUIRED] Organizer 1: Architectural Data Flow (Mermaid Flowchart)
|
|
4236
|
+
\`\`\`mermaid
|
|
4237
|
+
{{MERMAID_FLOWCHART}}
|
|
4238
|
+
\`\`\`
|
|
4239
|
+
|
|
4240
|
+
---
|
|
4241
|
+
|
|
4242
|
+
## [REQUIRED] Organizer 2: Comparative Analysis (Venn Diagram / Matrix)
|
|
4243
|
+
\`\`\`mermaid
|
|
4244
|
+
{{MERMAID_VENN_OR_MATRIX}}
|
|
4245
|
+
\`\`\`
|
|
4246
|
+
|
|
4247
|
+
---
|
|
4248
|
+
|
|
4249
|
+
## [REQUIRED] Organizer 3: State Machine & Lifecycle (State Diagram)
|
|
4250
|
+
\`\`\`mermaid
|
|
4251
|
+
{{MERMAID_STATE_DIAGRAM}}
|
|
4252
|
+
\`\`\`
|
|
4253
|
+
|
|
4254
|
+
---
|
|
4255
|
+
|
|
4256
|
+
## [REQUIRED] Student Fill-in Worksheet Format (Offline Handout)
|
|
4257
|
+
{{OFFLINE_WORKSHEET_FORMAT}}
|
|
4258
|
+
`;
|
|
4259
|
+
|
|
4260
|
+
// src/templates/slidePresets.ts
|
|
4261
|
+
var SLIDE_LAYOUT_PRESETS = [
|
|
4262
|
+
{
|
|
4263
|
+
id: "title-hero",
|
|
4264
|
+
name: "B\xECa & Gi\u1EDBi thi\u1EC7u (Title Cover)",
|
|
4265
|
+
category: "cover",
|
|
4266
|
+
description: "Slide b\xECa m\u1EDF \u0111\u1EA7u \u1EA5n t\u01B0\u1EE3ng v\u1EDBi ti\xEAu \u0111\u1EC1 l\u1EDBn, ph\u1EE5 \u0111\u1EC1 v\xE0 th\xF4ng tin gi\u1EA3ng vi\xEAn.",
|
|
4267
|
+
layout: {
|
|
4268
|
+
boxes: [
|
|
4269
|
+
{
|
|
4270
|
+
id: "title",
|
|
4271
|
+
target: "h1",
|
|
4272
|
+
pos: [100, 180, 1080, 140],
|
|
4273
|
+
fontSize: "3rem",
|
|
4274
|
+
textAlign: "center"
|
|
4275
|
+
},
|
|
4276
|
+
{
|
|
4277
|
+
id: "subtitle",
|
|
4278
|
+
target: "h3",
|
|
4279
|
+
pos: [100, 350, 1080, 70],
|
|
4280
|
+
fontSize: "1.5rem",
|
|
4281
|
+
textAlign: "center"
|
|
4282
|
+
},
|
|
4283
|
+
{
|
|
4284
|
+
id: "speaker-meta",
|
|
4285
|
+
target: "p",
|
|
4286
|
+
pos: [100, 460, 1080, 80],
|
|
4287
|
+
fontSize: "1.1rem",
|
|
4288
|
+
textAlign: "center"
|
|
4289
|
+
}
|
|
4290
|
+
]
|
|
4291
|
+
},
|
|
4292
|
+
markdownSnippet: `<!-- layout:
|
|
4293
|
+
boxes:
|
|
4294
|
+
- id: title
|
|
4295
|
+
target: h1
|
|
4296
|
+
pos: [100, 180, 1080, 140]
|
|
4297
|
+
fontSize: 3rem
|
|
4298
|
+
textAlign: center
|
|
4299
|
+
- id: subtitle
|
|
4300
|
+
target: h3
|
|
4301
|
+
pos: [100, 350, 1080, 70]
|
|
4302
|
+
fontSize: 1.5rem
|
|
4303
|
+
textAlign: center
|
|
4304
|
+
- id: speaker-meta
|
|
4305
|
+
target: p
|
|
4306
|
+
pos: [100, 460, 1080, 80]
|
|
4307
|
+
fontSize: 1.1rem
|
|
4308
|
+
textAlign: center
|
|
4309
|
+
-->
|
|
4310
|
+
|
|
4311
|
+
# \u{1F680} Ti\xEAu \u0110\u1EC1 B\xE0i Gi\u1EA3ng Ch\xEDnh
|
|
4312
|
+
### Ph\u1EE5 \u0111\u1EC1 ng\u1EAFn g\u1ECDn, truy\u1EC1n c\u1EA3m h\u1EE9ng v\xE0 \u0111\u1ECBnh v\u1ECB m\u1EE5c ti\xEAu
|
|
4313
|
+
|
|
4314
|
+
**Gi\u1EA3ng vi\xEAn:** Th\u1EA7y Nguy\u1EC5n V\u0103n A | **Th\u1EDDi l\u01B0\u1EE3ng:** 45 ph\xFAt | **C\u1EA5p \u0111\u1ED9:** Trung c\u1EA5p
|
|
4315
|
+
|
|
4316
|
+
<!--
|
|
4317
|
+
Presenter Notes:
|
|
4318
|
+
- Ch\xE0o m\u1EEBng h\u1ECDc vi\xEAn, gi\u1EDBi thi\u1EC7u m\u1EE5c ti\xEAu b\xE0i h\u1ECDc h\xF4m nay.
|
|
4319
|
+
- Kh\u01A1i g\u1EE3i s\u1EF1 t\xF2 m\xF2 b\u1EB1ng c\xE2u h\u1ECFi m\u1EDF \u0111\u1EA7u v\u1EC1 b\xE0i to\xE1n th\u1EF1c t\u1EBF.
|
|
4320
|
+
-->`
|
|
4321
|
+
},
|
|
4322
|
+
{
|
|
4323
|
+
id: "two-column-split",
|
|
4324
|
+
name: "So S\xE1nh 2 C\u1ED9t (2-Column Comparison)",
|
|
4325
|
+
category: "split",
|
|
4326
|
+
description: "B\u1ED1 c\u1EE5c chia \u0111\xF4i m\xE0n h\xECnh \u0111\u1EC3 so s\xE1nh ph\u01B0\u01A1ng ph\xE1p c\u0169 vs m\u1EDBi, l\xFD thuy\u1EBFt vs th\u1EF1c t\u1EBF.",
|
|
4327
|
+
layout: {
|
|
4328
|
+
boxes: [
|
|
4329
|
+
{
|
|
4330
|
+
id: "heading",
|
|
4331
|
+
target: "h2",
|
|
4332
|
+
pos: [80, 50, 1120, 70],
|
|
4333
|
+
fontSize: "2rem"
|
|
4334
|
+
},
|
|
4335
|
+
{
|
|
4336
|
+
id: "col-left",
|
|
4337
|
+
target: ".columns-2 > div:first-child",
|
|
4338
|
+
pos: [80, 150, 530, 510]
|
|
4339
|
+
},
|
|
4340
|
+
{
|
|
4341
|
+
id: "col-right",
|
|
4342
|
+
target: ".columns-2 > div:last-child",
|
|
4343
|
+
pos: [670, 150, 530, 510]
|
|
4344
|
+
}
|
|
4345
|
+
]
|
|
4346
|
+
},
|
|
4347
|
+
markdownSnippet: `<!-- layout:
|
|
4348
|
+
boxes:
|
|
4349
|
+
- id: heading
|
|
4350
|
+
target: h2
|
|
4351
|
+
pos: [80, 50, 1120, 70]
|
|
4352
|
+
fontSize: 2rem
|
|
4353
|
+
- id: col-left
|
|
4354
|
+
target: '.columns-2 > div:first-child'
|
|
4355
|
+
pos: [80, 150, 530, 510]
|
|
4356
|
+
- id: col-right
|
|
4357
|
+
target: '.columns-2 > div:last-child'
|
|
4358
|
+
pos: [670, 150, 530, 510]
|
|
4359
|
+
-->
|
|
4360
|
+
|
|
4361
|
+
## \u2696\uFE0F So S\xE1nh Kh\xE1i Ni\u1EC7m & Gi\u1EA3i Ph\xE1p
|
|
4362
|
+
|
|
4363
|
+
<div class="columns-2">
|
|
4364
|
+
<div>
|
|
4365
|
+
|
|
4366
|
+
### \u{1F534} C\xE1ch Ti\u1EBFp C\u1EADn C\u0169
|
|
4367
|
+
- X\u1EED l\xFD th\u1EE7 c\xF4ng, t\u1ED1n nhi\u1EC1u nh\xE2n l\u1EF1c
|
|
4368
|
+
- D\u1EC5 ph\xE1t sinh sai s\u1ED1 do thao t\xE1c l\u1EB7p l\u1EA1i
|
|
4369
|
+
- Kh\xF3 m\u1EDF r\u1ED9ng khi t\u1EA3i t\u0103ng \u0111\u1ED9t bi\u1EBFn
|
|
4370
|
+
|
|
4371
|
+
</div>
|
|
4372
|
+
<div>
|
|
4373
|
+
|
|
4374
|
+
### \u{1F7E2} Gi\u1EA3i Ph\xE1p T\u1ED1i \u01AFu M\u1EDBi
|
|
4375
|
+
- T\u1EF1 \u0111\u1ED9ng h\xF3a ho\xE0n to\xE0n lu\u1ED3ng x\u1EED l\xFD
|
|
4376
|
+
- Gi\xE1m s\xE1t tr\u1EA1ng th\xE1i th\u1EDDi gian th\u1EF1c
|
|
4377
|
+
- Kh\u1EA3 n\u0103ng co gi\xE3n linh ho\u1EA1t theo nhu c\u1EA7u
|
|
4378
|
+
|
|
4379
|
+
</div>
|
|
4380
|
+
</div>
|
|
4381
|
+
|
|
4382
|
+
<!--
|
|
4383
|
+
Presenter Notes:
|
|
4384
|
+
- Nh\u1EA5n m\u1EA1nh \u0111i\u1EC3m ngh\u1EBDn l\u1EDBn nh\u1EA5t \u1EDF c\u1ED9t b\xEAn tr\xE1i.
|
|
4385
|
+
- D\u1EABn ch\u1EE9ng s\u1ED1 li\u1EC7u th\u1EF1c t\u1EBF ch\u1EE9ng minh t\xEDnh hi\u1EC7u qu\u1EA3 c\u1EE7a c\u1ED9t ph\u1EA3i.
|
|
4386
|
+
-->`
|
|
4387
|
+
},
|
|
4388
|
+
{
|
|
4389
|
+
id: "code-explainer",
|
|
4390
|
+
name: "Gi\u1EA3i Th\xEDch Code (Code Walkthrough)",
|
|
4391
|
+
category: "code",
|
|
4392
|
+
description: "C\u1ED9t tr\xE1i hi\u1EC3n th\u1ECB code snippet c\xF3 \u0111\xE1nh s\u1ED1, c\u1ED9t ph\u1EA3i gi\u1EA3i th\xEDch t\u1EEBng b\u01B0\u1EDBc ho\u1EA1t \u0111\u1ED9ng.",
|
|
4393
|
+
layout: {
|
|
4394
|
+
boxes: [
|
|
4395
|
+
{
|
|
4396
|
+
id: "heading",
|
|
4397
|
+
target: "h2",
|
|
4398
|
+
pos: [80, 45, 1120, 65],
|
|
4399
|
+
fontSize: "1.9rem"
|
|
4400
|
+
},
|
|
4401
|
+
{
|
|
4402
|
+
id: "code-box",
|
|
4403
|
+
target: ".columns-2 > div:first-child",
|
|
4404
|
+
pos: [80, 135, 630, 535]
|
|
4405
|
+
},
|
|
4406
|
+
{
|
|
4407
|
+
id: "notes-box",
|
|
4408
|
+
target: ".columns-2 > div:last-child",
|
|
4409
|
+
pos: [740, 135, 460, 535]
|
|
4410
|
+
}
|
|
4411
|
+
]
|
|
4412
|
+
},
|
|
4413
|
+
markdownSnippet: `<!-- layout:
|
|
4414
|
+
boxes:
|
|
4415
|
+
- id: heading
|
|
4416
|
+
target: h2
|
|
4417
|
+
pos: [80, 45, 1120, 65]
|
|
4418
|
+
fontSize: 1.9rem
|
|
4419
|
+
- id: code-box
|
|
4420
|
+
target: '.columns-2 > div:first-child'
|
|
4421
|
+
pos: [80, 135, 630, 535]
|
|
4422
|
+
- id: notes-box
|
|
4423
|
+
target: '.columns-2 > div:last-child'
|
|
4424
|
+
pos: [740, 135, 460, 535]
|
|
4425
|
+
-->
|
|
4426
|
+
|
|
4427
|
+
## \u{1F4BB} Ph\xE2n T\xEDch C\u1EA5u Tr\xFAc M\xE3 Ngu\u1ED3n
|
|
4428
|
+
|
|
4429
|
+
<div class="columns-2">
|
|
4430
|
+
<div>
|
|
4431
|
+
|
|
4432
|
+
\`\`\`ts
|
|
4433
|
+
// Kh\u1EDFi t\u1EA1o quy tr\xECnh ki\u1EC3m tra d\u1EEF li\u1EC7u
|
|
4434
|
+
export async function processPayment(order: Order) {
|
|
4435
|
+
const isValid = await validateOrder(order);
|
|
4436
|
+
if (!isValid) throw new Error("Invalid");
|
|
4437
|
+
|
|
4438
|
+
const receipt = await chargeCard(order);
|
|
4439
|
+
return sendConfirmation(receipt);
|
|
4440
|
+
}
|
|
4441
|
+
\`\`\`
|
|
4442
|
+
|
|
4443
|
+
</div>
|
|
4444
|
+
<div>
|
|
4445
|
+
|
|
4446
|
+
### \u{1F50D} 3 \u0110i\u1EC3m C\u1EA7n Ch\xFA \xDD:
|
|
4447
|
+
1. **Ki\u1EC3m tra s\u1EDBm (Guard Clause):** Ki\u1EC3m tra t\xEDnh h\u1EE3p l\u1EC7 ngay d\xF2ng 3 \u0111\u1EC3 tr\xE1nh g\u1ECDi h\xE0m t\u1ED1n chi ph\xED.
|
|
4448
|
+
2. **B\u1EA5t \u0111\u1ED3ng b\u1ED9 (Async/Await):** \u0110\u1EA3m b\u1EA3o th\u1EE9 t\u1EF1 g\u1ECDi API t\xE0i ch\xEDnh chu\u1EA9n x\xE1c.
|
|
4449
|
+
3. **Ph\u1EA3n h\u1ED3i ng\u01B0\u1EDDi d\xF9ng:** Tr\u1EA3 v\u1EC1 bi\xEAn lai ho\xE0n ch\u1EC9nh sau khi giao d\u1ECBch th\xE0nh c\xF4ng.
|
|
4450
|
+
|
|
4451
|
+
</div>
|
|
4452
|
+
</div>
|
|
4453
|
+
|
|
4454
|
+
<!--
|
|
4455
|
+
Presenter Notes:
|
|
4456
|
+
- Y\xEAu c\u1EA7u h\u1ECDc vi\xEAn x\xE1c \u0111\u1ECBnh d\xF2ng code n\xE0o l\xE0 r\u1EE7i ro nh\u1EA5t n\u1EBFu k\u1EBFt n\u1ED1i m\u1EA1ng b\u1ECB r\u1EDBt.
|
|
4457
|
+
- Nh\u1EAFc l\u1EA1i nguy\xEAn t\u1EAFc Fail-Fast trong l\u1EADp tr\xECnh ph\xF2ng th\u1EE7.
|
|
4458
|
+
-->`
|
|
4459
|
+
},
|
|
4460
|
+
{
|
|
4461
|
+
id: "metrics-3-card",
|
|
4462
|
+
name: "L\u01B0\u1EDBi 3 Ch\u1EC9 S\u1ED1 (3-Metric Dashboard)",
|
|
4463
|
+
category: "metrics",
|
|
4464
|
+
description: "Hi\u1EC3n th\u1ECB 3 ch\u1EC9 s\u1ED1 quan tr\u1ECDng (KPIs, Benchmarks, Impact) d\u1EA1ng card n\u1ED5i b\u1EADt.",
|
|
4465
|
+
layout: {
|
|
4466
|
+
boxes: [
|
|
4467
|
+
{
|
|
4468
|
+
id: "heading",
|
|
4469
|
+
target: "h2",
|
|
4470
|
+
pos: [80, 50, 1120, 70],
|
|
4471
|
+
fontSize: "2rem",
|
|
4472
|
+
textAlign: "center"
|
|
4473
|
+
},
|
|
4474
|
+
{
|
|
4475
|
+
id: "metric-1",
|
|
4476
|
+
target: ".columns-3 > div:nth-child(1)",
|
|
4477
|
+
pos: [80, 165, 340, 485]
|
|
4478
|
+
},
|
|
4479
|
+
{
|
|
4480
|
+
id: "metric-2",
|
|
4481
|
+
target: ".columns-3 > div:nth-child(2)",
|
|
4482
|
+
pos: [470, 165, 340, 485]
|
|
4483
|
+
},
|
|
4484
|
+
{
|
|
4485
|
+
id: "metric-3",
|
|
4486
|
+
target: ".columns-3 > div:nth-child(3)",
|
|
4487
|
+
pos: [860, 165, 340, 485]
|
|
4488
|
+
}
|
|
4489
|
+
]
|
|
4490
|
+
},
|
|
4491
|
+
markdownSnippet: `<!-- layout:
|
|
4492
|
+
boxes:
|
|
4493
|
+
- id: heading
|
|
4494
|
+
target: h2
|
|
4495
|
+
pos: [80, 50, 1120, 70]
|
|
4496
|
+
fontSize: 2rem
|
|
4497
|
+
textAlign: center
|
|
4498
|
+
- id: metric-1
|
|
4499
|
+
target: '.columns-3 > div:nth-child(1)'
|
|
4500
|
+
pos: [80, 165, 340, 485]
|
|
4501
|
+
- id: metric-2
|
|
4502
|
+
target: '.columns-3 > div:nth-child(2)'
|
|
4503
|
+
pos: [470, 165, 340, 485]
|
|
4504
|
+
- id: metric-3
|
|
4505
|
+
target: '.columns-3 > div:nth-child(3)'
|
|
4506
|
+
pos: [860, 165, 340, 485]
|
|
4507
|
+
-->
|
|
4508
|
+
|
|
4509
|
+
## \u{1F4CA} 3 Ch\u1EC9 S\u1ED1 Th\xE0nh C\xF4ng C\u1EE7a D\u1EF1 \xC1n
|
|
4510
|
+
|
|
4511
|
+
<div class="columns-3">
|
|
4512
|
+
<div>
|
|
4513
|
+
|
|
4514
|
+
# \u26A1 99.9%
|
|
4515
|
+
### \u0110\u1ED9 S\u1EB5n S\xE0ng (Uptime)
|
|
4516
|
+
H\u1EC7 th\u1ED1ng v\u1EADn h\xE0nh li\xEAn t\u1EE5c 24/7 v\u1EDBi kh\u1EA3 n\u0103ng t\u1EF1 ph\u1EE5c h\u1ED3i l\u1ED7i t\u1EE9c th\xEC.
|
|
4517
|
+
|
|
4518
|
+
</div>
|
|
4519
|
+
<div>
|
|
4520
|
+
|
|
4521
|
+
# \u{1F680} 10x
|
|
4522
|
+
### T\u1ED1c \u0110\u1ED9 X\u1EED L\xFD
|
|
4523
|
+
R\xFAt ng\u1EAFn th\u1EDDi gian bi\xEAn d\u1ECBch v\xE0 ph\u1EA3n h\u1ED3i ng\u01B0\u1EDDi d\xF9ng t\u1EEB gi\xE2y xu\u1ED1ng mili-gi\xE2y.
|
|
4524
|
+
|
|
4525
|
+
</div>
|
|
4526
|
+
<div>
|
|
4527
|
+
|
|
4528
|
+
# \u{1F6E1}\uFE0F 0
|
|
4529
|
+
### L\u1ED7 H\u1ED5ng B\u1EA3o M\u1EADt
|
|
4530
|
+
\u0110\u1EA1t chu\u1EA9n \u0111\xE1nh gi\xE1 an to\xE0n OWASP v\xE0 m\xE3 h\xF3a d\u1EEF li\u1EC7u \u0111\u1EA7u cu\u1ED1i.
|
|
4531
|
+
|
|
4532
|
+
</div>
|
|
4533
|
+
</div>
|
|
4534
|
+
|
|
4535
|
+
<!--
|
|
4536
|
+
Presenter Notes:
|
|
4537
|
+
- Tr\xECnh b\xE0y l\u1EA7n l\u01B0\u1EE3t 3 m\u1EE5c ti\xEAu \u0111o l\u01B0\u1EDDng \u0111\u01B0\u1EE3c c\u1EE7a h\u1EC7 th\u1ED1ng.
|
|
4538
|
+
- Nh\u1EA5n m\u1EA1nh ch\u1EC9 s\u1ED1 th\u1EE9 2 l\xE0 tr\u1ECDng t\xE2m k\u1EF9 thu\u1EADt c\u1EE7a b\xE0i h\u1ECDc h\xF4m nay.
|
|
4539
|
+
-->`
|
|
4540
|
+
},
|
|
4541
|
+
{
|
|
4542
|
+
id: "process-flow",
|
|
4543
|
+
name: "S\u01A1 \u0110\u1ED3 Quy Tr\xECnh (Process / Flowchart)",
|
|
4544
|
+
category: "diagram",
|
|
4545
|
+
description: "Quy tr\xECnh nhi\u1EC1u b\u01B0\u1EDBc v\u1EDBi s\u01A1 \u0111\u1ED3 Mermaid tr\u1EF1c quan k\xE8m ghi ch\xFA t\xF3m t\u1EAFt.",
|
|
4546
|
+
layout: {
|
|
4547
|
+
boxes: [
|
|
4548
|
+
{
|
|
4549
|
+
id: "heading",
|
|
4550
|
+
target: "h2",
|
|
4551
|
+
pos: [80, 45, 1120, 65],
|
|
4552
|
+
fontSize: "1.9rem"
|
|
4553
|
+
},
|
|
4554
|
+
{
|
|
4555
|
+
id: "diagram-box",
|
|
4556
|
+
target: "pre.mermaid, .mermaid",
|
|
4557
|
+
pos: [80, 130, 1120, 310]
|
|
4558
|
+
},
|
|
4559
|
+
{
|
|
4560
|
+
id: "summary-box",
|
|
4561
|
+
target: "ul, p",
|
|
4562
|
+
pos: [80, 465, 1120, 205]
|
|
4563
|
+
}
|
|
4564
|
+
]
|
|
4565
|
+
},
|
|
4566
|
+
markdownSnippet: `<!-- layout:
|
|
4567
|
+
boxes:
|
|
4568
|
+
- id: heading
|
|
4569
|
+
target: h2
|
|
4570
|
+
pos: [80, 45, 1120, 65]
|
|
4571
|
+
fontSize: 1.9rem
|
|
4572
|
+
- id: diagram-box
|
|
4573
|
+
target: 'pre.mermaid, .mermaid'
|
|
4574
|
+
pos: [80, 130, 1120, 310]
|
|
4575
|
+
- id: summary-box
|
|
4576
|
+
target: 'ul, p'
|
|
4577
|
+
pos: [80, 465, 1120, 205]
|
|
4578
|
+
-->
|
|
4579
|
+
|
|
4580
|
+
## \u{1F504} Ki\u1EBFn Tr\xFAc Lu\u1ED3ng D\u1EEF Li\u1EC7u 4 B\u01B0\u1EDBc
|
|
4581
|
+
|
|
4582
|
+
\`\`\`mermaid
|
|
4583
|
+
graph LR
|
|
4584
|
+
A[1. Client Request] --> B[2. API Gateway]
|
|
4585
|
+
B --> C[3. Auth Service]
|
|
4586
|
+
C --> D[4. Database Cluster]
|
|
4587
|
+
style A fill:#0284c7,stroke:#38bdf8,stroke-width:2px,color:#fff
|
|
4588
|
+
style B fill:#1e293b,stroke:#64748b,stroke-width:2px,color:#fff
|
|
4589
|
+
style C fill:#059669,stroke:#34d399,stroke-width:2px,color:#fff
|
|
4590
|
+
style D fill:#7c3aed,stroke:#a78bfa,stroke-width:2px,color:#fff
|
|
4591
|
+
\`\`\`
|
|
4592
|
+
|
|
4593
|
+
- **Giai \u0111o\u1EA1n 1 & 2:** Ti\u1EBFp nh\u1EADn y\xEAu c\u1EA7u t\u1EEB client, \u0111i\u1EC1u h\u01B0\u1EDBng t\u1EA3i v\xE0 gi\u1EDBi h\u1EA1n t\u1EA7n su\u1EA5t (Rate Limiting).
|
|
4594
|
+
- **Giai \u0111o\u1EA1n 3 & 4:** X\xE1c th\u1EF1c token JWT ph\xE2n quy\u1EC1n tr\u01B0\u1EDBc khi truy v\u1EA5n d\u1EEF li\u1EC7u t\u1EEB DB Cluster.
|
|
4595
|
+
|
|
4596
|
+
<!--
|
|
4597
|
+
Presenter Notes:
|
|
4598
|
+
- Tr\u1ECF tr\u1EF1c ti\u1EBFp v\xE0o t\u1EEBng node c\u1EE7a s\u01A1 \u0111\u1ED3 Mermaid khi thuy\u1EBFt tr\xECnh.
|
|
4599
|
+
- \u0110\u1EB7t c\xE2u h\u1ECFi: "N\u1EBFu b\u01B0\u1EDBc 3 th\u1EA5t b\u1EA1i th\xEC b\u01B0\u1EDBc 4 c\xF3 \u0111\u01B0\u1EE3c g\u1ECDi kh\xF4ng?"
|
|
4600
|
+
-->`
|
|
4601
|
+
},
|
|
4602
|
+
{
|
|
4603
|
+
id: "quote-highlight",
|
|
4604
|
+
name: "Th\xF4ng \u0110i\u1EC7p Then Ch\u1ED1t (Quote / Highlight)",
|
|
4605
|
+
category: "quote",
|
|
4606
|
+
description: "Tr\xEDch d\u1EABn danh ng\xF4n ho\u1EB7c nguy\xEAn t\u1EAFc v\xE0ng c\u1EA7n ghi nh\u1EDB s\xE2u s\u1EAFc.",
|
|
4607
|
+
layout: {
|
|
4608
|
+
boxes: [
|
|
4609
|
+
{
|
|
4610
|
+
id: "heading",
|
|
4611
|
+
target: "h2",
|
|
4612
|
+
pos: [100, 100, 1080, 80],
|
|
4613
|
+
fontSize: "2.2rem",
|
|
4614
|
+
textAlign: "center"
|
|
4615
|
+
},
|
|
4616
|
+
{
|
|
4617
|
+
id: "quote-box",
|
|
4618
|
+
target: "blockquote",
|
|
4619
|
+
pos: [140, 230, 1e3, 360],
|
|
4620
|
+
fontSize: "1.4rem"
|
|
4621
|
+
}
|
|
4622
|
+
]
|
|
4623
|
+
},
|
|
4624
|
+
markdownSnippet: `<!-- layout:
|
|
4625
|
+
boxes:
|
|
4626
|
+
- id: heading
|
|
4627
|
+
target: h2
|
|
4628
|
+
pos: [100, 100, 1080, 80]
|
|
4629
|
+
fontSize: 2.2rem
|
|
4630
|
+
textAlign: center
|
|
4631
|
+
- id: quote-box
|
|
4632
|
+
target: blockquote
|
|
4633
|
+
pos: [140, 230, 1000, 360]
|
|
4634
|
+
fontSize: 1.4rem
|
|
4635
|
+
-->
|
|
4636
|
+
|
|
4637
|
+
## \u{1F4A1} Nguy\xEAn T\u1EAFc Thi\u1EBFt K\u1EBF C\u1ED1t L\xF5i
|
|
4638
|
+
|
|
4639
|
+
> "S\u1EF1 \u0111\u01A1n gi\u1EA3n l\xE0 \u0111i\u1EC1u ki\u1EC7n ti\xEAn quy\u1EBFt cho \u0111\u1ED9 tin c\u1EADy. M\u1ED9t ki\u1EBFn tr\xFAc t\u1ED1t l\xE0 khi b\u1EA5t k\u1EF3 l\u1EADp tr\xECnh vi\xEAn m\u1EDBi n\xE0o c\u0169ng c\xF3 th\u1EC3 \u0111\u1ECDc hi\u1EC3u lu\u1ED3ng ho\u1EA1t \u0111\u1ED9ng ch\u1EC9 sau 15 ph\xFAt."
|
|
4640
|
+
>
|
|
4641
|
+
> \u2014 **Edsger W. Dijkstra**
|
|
4642
|
+
|
|
4643
|
+
<!--
|
|
4644
|
+
Presenter Notes:
|
|
4645
|
+
- D\u1EEBng l\u1EA1i 5 gi\xE2y im l\u1EB7ng \u0111\u1EC3 c\u1EA3 l\u1EDBp c\xF9ng suy ng\u1EABm v\u1EC1 th\xF4ng \u0111i\u1EC7p.
|
|
4646
|
+
- Y\xEAu c\u1EA7u m\u1ED9t h\u1ECDc vi\xEAn chia s\u1EBB suy ngh\u0129 v\u1EC1 c\xE1ch \xE1p d\u1EE5ng nguy\xEAn t\u1EAFc n\xE0y v\xE0o b\xE0i t\u1EADp l\u1EDBn.
|
|
4647
|
+
-->`
|
|
4648
|
+
},
|
|
4649
|
+
{
|
|
4650
|
+
id: "quiz-checkpoint",
|
|
4651
|
+
name: "Tr\u1EAFc Nghi\u1EC7m T\u01B0\u01A1ng T\xE1c (Quiz Checkpoint)",
|
|
4652
|
+
category: "assessment",
|
|
4653
|
+
description: "C\xE2u h\u1ECFi t\u01B0\u01A1ng t\xE1c Formative Checkpoint k\xE8m c\xE1c l\u1EF1a ch\u1ECDn A/B/C/D \u0111\u1EC3 l\u1EDBp b\xECnh ch\u1ECDn.",
|
|
4654
|
+
layout: {
|
|
4655
|
+
boxes: [
|
|
4656
|
+
{
|
|
4657
|
+
id: "heading",
|
|
4658
|
+
target: "h2",
|
|
4659
|
+
pos: [80, 45, 1120, 65],
|
|
4660
|
+
fontSize: "1.9rem"
|
|
4661
|
+
},
|
|
4662
|
+
{
|
|
4663
|
+
id: "question-callout",
|
|
4664
|
+
target: "blockquote",
|
|
4665
|
+
pos: [80, 130, 1120, 110],
|
|
4666
|
+
fontSize: "1.2rem"
|
|
4667
|
+
},
|
|
4668
|
+
{
|
|
4669
|
+
id: "options-list",
|
|
4670
|
+
target: "ul",
|
|
4671
|
+
pos: [80, 260, 1120, 390],
|
|
4672
|
+
fontSize: "1.15rem"
|
|
4673
|
+
}
|
|
4674
|
+
]
|
|
4675
|
+
},
|
|
4676
|
+
markdownSnippet: `<!-- layout:
|
|
4677
|
+
boxes:
|
|
4678
|
+
- id: heading
|
|
4679
|
+
target: h2
|
|
4680
|
+
pos: [80, 45, 1120, 65]
|
|
4681
|
+
fontSize: 1.9rem
|
|
4682
|
+
- id: question-callout
|
|
4683
|
+
target: blockquote
|
|
4684
|
+
pos: [80, 130, 1120, 110]
|
|
4685
|
+
fontSize: 1.2rem
|
|
4686
|
+
- id: options-list
|
|
4687
|
+
target: ul
|
|
4688
|
+
pos: [80, 260, 1120, 390]
|
|
4689
|
+
fontSize: 1.15rem
|
|
4690
|
+
-->
|
|
4691
|
+
|
|
4692
|
+
## \u{1F3AF} Ki\u1EC3m Tra Nhanh: B\u1EA1n \u0110\xE3 Hi\u1EC3u \u0110\xFAng?
|
|
4693
|
+
|
|
4694
|
+
> **C\xE2u h\u1ECFi:** Trong ki\u1EBFn tr\xFAc Microservices, c\u01A1 ch\u1EBF n\xE0o gi\xFAp \u0111\u1EA3m b\u1EA3o tin nh\u1EAFn kh\xF4ng b\u1ECB th\u1EA5t l\u1EA1c khi d\u1ECBch v\u1EE5 nh\u1EADn g\u1EB7p s\u1EF1 c\u1ED1 t\u1EA1m th\u1EDDi?
|
|
4695
|
+
|
|
4696
|
+
- **A.** G\u1ECDi API HTTP tr\u1EF1c ti\u1EBFp v\u1EDBi timeout ng\u1EAFn
|
|
4697
|
+
- **B.** S\u1EED d\u1EE5ng Message Queue (H\xE0ng \u0111\u1EE3i tin nh\u1EAFn) c\xF3 c\u01A1 ch\u1EBF Retry & DLQ
|
|
4698
|
+
- **C.** L\u01B0u t\u1EA1m v\xE0o b\u1ED9 nh\u1EDB RAM c\u1EE7a m\xE1y kh\xE1ch (Client In-Memory Storage)
|
|
4699
|
+
- **D.** B\u1ECF qua tin nh\u1EAFn b\u1ECB l\u1ED7i v\xE0 th\xF4ng b\xE1o ng\u01B0\u1EDDi d\xF9ng g\u1EEDi l\u1EA1i t\u1EEB \u0111\u1EA7u
|
|
4700
|
+
|
|
4701
|
+
<!--
|
|
4702
|
+
Presenter Notes:
|
|
4703
|
+
- D\xE0nh 30 gi\xE2y cho h\u1ECDc vi\xEAn gi\u01A1 tay ho\u1EB7c b\xECnh ch\u1ECDn \u0111\xE1p \xE1n.
|
|
4704
|
+
- \u0110\xE1p \xE1n ch\xEDnh x\xE1c: B.
|
|
4705
|
+
- Gi\u1EA3i th\xEDch v\xEC sao \u0111\xE1p \xE1n A v\xE0 C ti\u1EC1m \u1EA9n nguy c\u01A1 m\u1EA5t m\xE1t d\u1EEF li\u1EC7u nghi\xEAm tr\u1ECDng.
|
|
4706
|
+
-->`
|
|
4707
|
+
},
|
|
4708
|
+
{
|
|
4709
|
+
id: "tiered-practice-3cards",
|
|
4710
|
+
name: "Th\u1EF1c H\xE0nh Ph\xE2n H\xF3a (Tiered Practice)",
|
|
4711
|
+
category: "content",
|
|
4712
|
+
description: "3 c\u1EA5p b\u1EADc nhi\u1EC7m v\u1EE5 \u0110\u1ED3ng - B\u1EA1c - V\xE0ng \u0111\u1EC3 h\u1ECDc sinh t\u1EF1 ch\u1ECDn m\u1EE9c th\u1EED th\xE1ch ph\xF9 h\u1EE3p.",
|
|
4713
|
+
layout: {
|
|
4714
|
+
boxes: [
|
|
4715
|
+
{
|
|
4716
|
+
id: "heading",
|
|
4717
|
+
target: "h2",
|
|
4718
|
+
pos: [80, 45, 1120, 65],
|
|
4719
|
+
fontSize: "1.9rem"
|
|
4720
|
+
},
|
|
4721
|
+
{
|
|
4722
|
+
id: "tier-bronze",
|
|
4723
|
+
target: ".columns-3 > div:nth-child(1)",
|
|
4724
|
+
pos: [80, 140, 350, 520]
|
|
4725
|
+
},
|
|
4726
|
+
{
|
|
4727
|
+
id: "tier-silver",
|
|
4728
|
+
target: ".columns-3 > div:nth-child(2)",
|
|
4729
|
+
pos: [465, 140, 350, 520]
|
|
4730
|
+
},
|
|
4731
|
+
{
|
|
4732
|
+
id: "tier-gold",
|
|
4733
|
+
target: ".columns-3 > div:nth-child(3)",
|
|
4734
|
+
pos: [850, 140, 350, 520]
|
|
4735
|
+
}
|
|
4736
|
+
]
|
|
4737
|
+
},
|
|
4738
|
+
markdownSnippet: `<!-- layout:
|
|
4739
|
+
boxes:
|
|
4740
|
+
- id: heading
|
|
4741
|
+
target: h2
|
|
4742
|
+
pos: [80, 45, 1120, 65]
|
|
4743
|
+
fontSize: 1.9rem
|
|
4744
|
+
- id: tier-bronze
|
|
4745
|
+
target: '.columns-3 > div:nth-child(1)'
|
|
4746
|
+
pos: [80, 140, 350, 520]
|
|
4747
|
+
- id: tier-silver
|
|
4748
|
+
target: '.columns-3 > div:nth-child(2)'
|
|
4749
|
+
pos: [465, 140, 350, 520]
|
|
4750
|
+
- id: tier-gold
|
|
4751
|
+
target: '.columns-3 > div:nth-child(3)'
|
|
4752
|
+
pos: [850, 140, 350, 520]
|
|
4753
|
+
-->
|
|
4754
|
+
|
|
4755
|
+
## \u{1F6E0}\uFE0F Th\u1EED Th\xE1ch Ph\xE2n H\xF3a 3 C\u1EA5p \u0110\u1ED9 (Tiered Lab)
|
|
4756
|
+
|
|
4757
|
+
<div class="columns-3">
|
|
4758
|
+
<div>
|
|
4759
|
+
|
|
4760
|
+
### \u{1F949} H\u1EA1ng \u0110\u1ED3ng (Bronze)
|
|
4761
|
+
- Vi\u1EBFt h\xE0m x\u1EED l\xFD c\u01A1 b\u1EA3n
|
|
4762
|
+
- V\u01B0\u1EE3t qua 3 test case m\u1EABu
|
|
4763
|
+
- *M\u1EE5c ti\xEAu: \u0110\u1EA1t chu\u1EA9n ki\u1EBFn th\u1EE9c c\u01A1 b\u1EA3n*
|
|
4764
|
+
|
|
4765
|
+
</div>
|
|
4766
|
+
<div>
|
|
4767
|
+
|
|
4768
|
+
### \u{1F948} H\u1EA1ng B\u1EA1c (Silver)
|
|
4769
|
+
- Th\xEAm ki\u1EC3m tra \u0111i\u1EC1u ki\u1EC7n bi\xEAn
|
|
4770
|
+
- T\u1ED1i \u01B0u \u0111\u1ED9 ph\u1EE9c t\u1EA1p thu\u1EADt to\xE1n O(N)
|
|
4771
|
+
- *M\u1EE5c ti\xEAu: V\u1EEFng v\xE0ng k\u1EF9 n\u0103ng th\u1EF1c chi\u1EBFn*
|
|
4772
|
+
|
|
4773
|
+
</div>
|
|
4774
|
+
<div>
|
|
4775
|
+
|
|
4776
|
+
### \u{1F947} H\u1EA1ng V\xE0ng (Gold)
|
|
4777
|
+
- Thi\u1EBFt k\u1EBF t\xEDnh n\u0103ng m\u1EDF r\u1ED9ng
|
|
4778
|
+
- Vi\u1EBFt Unit Test t\u1EF1 \u0111\u1ED9ng bao ph\u1EE7 90%
|
|
4779
|
+
- *M\u1EE5c ti\xEAu: S\xE1ng t\u1EA1o & b\u1EE9t ph\xE1*
|
|
4780
|
+
|
|
4781
|
+
</div>
|
|
4782
|
+
</div>
|
|
4783
|
+
|
|
4784
|
+
<!--
|
|
4785
|
+
Presenter Notes:
|
|
4786
|
+
- To\xE0n b\u1ED9 l\u1EDBp \u0111\u1EC1u b\u1EAFt \u0111\u1EA7u t\u1EEB H\u1EA1ng \u0110\u1ED3ng \u0111\u1EC3 \u0111\u1EA3m b\u1EA3o hi\u1EC3u b\xE0i.
|
|
4787
|
+
- Khuy\u1EBFn kh\xEDch h\u1ECDc vi\xEAn \u0111\xE3 xong Bronze ch\u1EE7 \u0111\u1ED9ng th\u1EED s\u1EE9c v\u1EDBi Silver v\xE0 Gold.
|
|
4788
|
+
-->`
|
|
4789
|
+
},
|
|
4790
|
+
{
|
|
4791
|
+
id: "agenda-timeline",
|
|
4792
|
+
name: "L\u1ED9 Tr\xECnh Bu\u1ED5i H\u1ECDc (Agenda Table)",
|
|
4793
|
+
category: "content",
|
|
4794
|
+
description: "B\u1EA3ng l\u1ED9 tr\xECnh th\u1EDDi gian chi ti\u1EBFt theo t\u1EEBng giai \u0111o\u1EA1n v\xE0 s\u1EA3n ph\u1EA9m \u0111\u1EA7u ra.",
|
|
4795
|
+
layout: {
|
|
4796
|
+
boxes: [
|
|
4797
|
+
{
|
|
4798
|
+
id: "heading",
|
|
4799
|
+
target: "h2",
|
|
4800
|
+
pos: [80, 45, 1120, 65],
|
|
4801
|
+
fontSize: "1.9rem"
|
|
4802
|
+
},
|
|
4803
|
+
{
|
|
4804
|
+
id: "table-box",
|
|
4805
|
+
target: "table",
|
|
4806
|
+
pos: [80, 140, 1120, 520]
|
|
4807
|
+
}
|
|
4808
|
+
]
|
|
4809
|
+
},
|
|
4810
|
+
markdownSnippet: `<!-- layout:
|
|
4811
|
+
boxes:
|
|
4812
|
+
- id: heading
|
|
4813
|
+
target: h2
|
|
4814
|
+
pos: [80, 45, 1120, 65]
|
|
4815
|
+
fontSize: 1.9rem
|
|
4816
|
+
- id: table-box
|
|
4817
|
+
target: table
|
|
4818
|
+
pos: [80, 140, 1120, 520]
|
|
4819
|
+
-->
|
|
4820
|
+
|
|
4821
|
+
## \u{1F5FA}\uFE0F L\u1ED9 Tr\xECnh Ho\u1EA1t \u0110\u1ED9ng & M\u1EE5c Ti\xEAu
|
|
4822
|
+
|
|
4823
|
+
| Th\u1EDDi l\u01B0\u1EE3ng | Giai \u0111o\u1EA1n | Tr\u1ECDng t\xE2m ho\u1EA1t \u0111\u1ED9ng | K\u1EBFt qu\u1EA3 \u0111\u1EA1t \u0111\u01B0\u1EE3c |
|
|
4824
|
+
|:---:|---|---|---|
|
|
4825
|
+
| **05'** | Kh\u1EDFi \u0111\u1ED9ng | T\xECnh hu\u1ED1ng th\u1EF1c t\u1EBF & Th\u1EED th\xE1ch | Nh\u1EADn di\u1EC7n b\xE0i to\xE1n c\u1EA7n gi\u1EA3i |
|
|
4826
|
+
| **15'** | Kh\xE1m ph\xE1 | Ph\xE2n t\xEDch 2 kh\xE1i ni\u1EC7m c\u1ED1t l\xF5i | Hi\u1EC3u b\u1EA3n ch\u1EA5t thu\u1EADt to\xE1n |
|
|
4827
|
+
| **20'** | Th\u1EF1c h\xE0nh | Code Lab t\u1EA1i m\xE1y theo 3 b\u1EADc | Ho\xE0n th\xE0nh t\u1ED1i thi\u1EC3u H\u1EA1ng \u0110\u1ED3ng |
|
|
4828
|
+
| **05'** | T\u1ED5ng k\u1EBFt | Tr\u1EAFc nghi\u1EC7m ph\u1EA3n x\u1EA1 & \u0110\xE1nh gi\xE1 | H\u1EC7 th\u1ED1ng h\xF3a to\xE0n b\u1ED9 ki\u1EBFn th\u1EE9c |
|
|
4829
|
+
|
|
4830
|
+
<!--
|
|
4831
|
+
Presenter Notes:
|
|
4832
|
+
- Gi\u1EDBi thi\u1EC7u t\u1ED5ng quan \u0111\u1EC3 h\u1ECDc vi\xEAn bi\u1EBFt r\xF5 c\u1EA5u tr\xFAc bu\u1ED5i h\u1ECDc v\xE0 ch\u1EE7 \u0111\u1ED9ng ph\xE2n b\u1ED5 th\u1EDDi gian.
|
|
4833
|
+
-->`
|
|
4834
|
+
},
|
|
4835
|
+
{
|
|
4836
|
+
id: "takeaways-summary",
|
|
4837
|
+
name: "T\u1ED5ng K\u1EBFt C\u1ED1t L\xF5i (Key Takeaways)",
|
|
4838
|
+
category: "content",
|
|
4839
|
+
description: "Slide k\u1EBFt lu\u1EADn v\u1EDBi 3 b\xE0i h\u1ECDc \u0111\u1EAFt gi\xE1 nh\u1EA5t v\xE0 h\xE0nh \u0111\u1ED9ng ti\u1EBFp theo.",
|
|
4840
|
+
layout: {
|
|
4841
|
+
boxes: [
|
|
4842
|
+
{
|
|
4843
|
+
id: "heading",
|
|
4844
|
+
target: "h2",
|
|
4845
|
+
pos: [80, 50, 1120, 70],
|
|
4846
|
+
fontSize: "2rem"
|
|
4847
|
+
},
|
|
4848
|
+
{
|
|
4849
|
+
id: "list-box",
|
|
4850
|
+
target: "ol",
|
|
4851
|
+
pos: [80, 150, 1120, 340],
|
|
4852
|
+
fontSize: "1.25rem"
|
|
4853
|
+
},
|
|
4854
|
+
{
|
|
4855
|
+
id: "callout-next",
|
|
4856
|
+
target: "blockquote",
|
|
4857
|
+
pos: [80, 520, 1120, 140],
|
|
4858
|
+
fontSize: "1.1rem"
|
|
4859
|
+
}
|
|
4860
|
+
]
|
|
4861
|
+
},
|
|
4862
|
+
markdownSnippet: `<!-- layout:
|
|
4863
|
+
boxes:
|
|
4864
|
+
- id: heading
|
|
4865
|
+
target: h2
|
|
4866
|
+
pos: [80, 50, 1120, 70]
|
|
4867
|
+
fontSize: 2rem
|
|
4868
|
+
- id: list-box
|
|
4869
|
+
target: ol
|
|
4870
|
+
pos: [80, 150, 1120, 340]
|
|
4871
|
+
fontSize: 1.25rem
|
|
4872
|
+
- id: callout-next
|
|
4873
|
+
target: blockquote
|
|
4874
|
+
pos: [80, 520, 1120, 140]
|
|
4875
|
+
fontSize: 1.1rem
|
|
4876
|
+
-->
|
|
4877
|
+
|
|
4878
|
+
## \u{1F3C1} 3 \u0110i\u1EC1u C\u1EA7n Nh\u1EDB Sau Bu\u1ED5i H\u1ECDc
|
|
4879
|
+
|
|
4880
|
+
1. **Hi\u1EC3u b\u1EA3n ch\u1EA5t tr\u01B0\u1EDBc khi vi\u1EBFt m\xE3:** Thu\u1EADt to\xE1n \u0111\xFAng lu\xF4n quan tr\u1ECDng h\u01A1n c\xFA ph\xE1p b\xF3ng b\u1EA9y.
|
|
4881
|
+
2. **Ki\u1EC3m so\xE1t \u0111i\u1EC1u ki\u1EC7n bi\xEAn:** 80% l\u1ED7i h\u1EC7 th\u1ED1ng ph\xE1t sinh t\u1EEB c\xE1c d\u1EEF li\u1EC7u \u0111\u1EA7u v\xE0o kh\xF4ng l\u01B0\u1EDDng tr\u01B0\u1EDBc.
|
|
4882
|
+
3. **Thi\u1EBFt k\u1EBF h\u01B0\u1EDBng m\xF4-\u0111un:** Chia nh\u1ECF v\u1EA5n \u0111\u1EC1 l\u1EDBn th\xE0nh c\xE1c h\xE0m \u0111\u1ED9c l\u1EADp d\u1EC5 ki\u1EC3m th\u1EED.
|
|
4883
|
+
|
|
4884
|
+
> \u{1F4DD} **Nhi\u1EC7m v\u1EE5 v\u1EC1 nh\xE0:** Ho\xE0n thi\u1EC7n b\xE0i th\u1EF1c h\xE0nh H\u1EA1ng B\u1EA1c v\xE0 chu\u1EA9n b\u1ECB c\xE2u h\u1ECFi cho bu\u1ED5i Review tu\u1EA7n t\u1EDBi.
|
|
4885
|
+
|
|
4886
|
+
<!--
|
|
4887
|
+
Presenter Notes:
|
|
4888
|
+
- T\xF3m t\u1EAFt s\xFAc t\xEDch trong 2 ph\xFAt cu\u1ED1i bu\u1ED5i.
|
|
4889
|
+
- Tuy\xEAn d\u01B0\u01A1ng c\xE1c b\u1EA1n c\xF3 gi\u1EA3i ph\xE1p xu\u1EA5t s\u1EAFc trong ph\u1EA7n th\u1EF1c h\xE0nh.
|
|
4890
|
+
-->`
|
|
4891
|
+
}
|
|
4892
|
+
];
|
|
4893
|
+
function getSlideLayoutPresetById(id) {
|
|
4894
|
+
return SLIDE_LAYOUT_PRESETS.find((p) => p.id === id);
|
|
4895
|
+
}
|
|
4896
|
+
function getSlideLayoutPresetsByCategory(category) {
|
|
4897
|
+
return SLIDE_LAYOUT_PRESETS.filter((p) => p.category === category);
|
|
4898
|
+
}
|
|
4899
|
+
|
|
3226
4900
|
// src/ai/prompts/lessonMasterPrompt.ts
|
|
3227
4901
|
function buildLessonMasterPrompt(input) {
|
|
3228
4902
|
const { milestone, language, topic, targetAudience, contextContinuity, standardsContext } = input;
|
|
@@ -10212,21 +11886,27 @@ footer: "Curriculum OS \u2022 ${lessonCode} (${pedagogyLabel})"
|
|
|
10212
11886
|
|
|
10213
11887
|
MANDATORY 12-14 SLIDE MICRO-CYCLE STRUCTURE (Delimited by '---'):
|
|
10214
11888
|
1. **Slide 1 [Title & Mission]:** ${lessonCode}: ${lessonTitle} + Real-world inquiry hook
|
|
10215
|
-
2. **Slide 2 [Agenda & Roadmap]:** Timing and milestone breakdown (${pedagogyLabel})
|
|
10216
|
-
3. **Slide 3 [Warm-Up / Prior Knowledge]:**
|
|
10217
|
-
4. **Slide 4 [High-Stakes Hook Scenario]:** Authentic engineering/domain crisis
|
|
10218
|
-
5. **Slide 5 [Core Concept 1: Mental Model]:**
|
|
10219
|
-
6. **Slide 6 [Architecture & Visual Flow]:** Clean Mermaid diagram (flowchart or sequenceDiagram)
|
|
10220
|
-
7. **Slide 7 [Core Concept 2: Syntax / Mechanism Anatomy]:**
|
|
10221
|
-
8. **Slide 8 [
|
|
10222
|
-
9. **Slide 9 [
|
|
10223
|
-
10. **Slide 10 [
|
|
10224
|
-
11. **Slide 11 [
|
|
10225
|
-
12. **Slide 12 [
|
|
10226
|
-
|
|
10227
|
-
|
|
10228
|
-
|
|
10229
|
-
-
|
|
11889
|
+
2. **Slide 2 [Agenda & Roadmap]:** Timing and milestone breakdown table (${pedagogyLabel})
|
|
11890
|
+
3. **Slide 3 [Warm-Up / Prior Knowledge]:** 2-column recall + 60-second diagnostic challenge card
|
|
11891
|
+
4. **Slide 4 [High-Stakes Hook Scenario]:** Authentic engineering/domain crisis card + dilemma constraint
|
|
11892
|
+
5. **Slide 5 [Core Concept 1: Mental Model]:** Definition, intuitive everyday analogy, and golden rule card
|
|
11893
|
+
6. **Slide 6 [Architecture & Visual Flow]:** Clean Mermaid diagram (flowchart or sequenceDiagram) + 3 flow steps
|
|
11894
|
+
7. **Slide 7 [Core Concept 2: Syntax / Mechanism Anatomy]:** Side-by-side 6-10 lines runnable code + anatomy breakdown & syntax trap card
|
|
11895
|
+
8. **Slide 8 [Guided Practice: Try It Now]:** 3-minute active desk task card with starter hint and success criteria
|
|
11896
|
+
9. **Slide 9 [Integrated Hands-On Lab]:** 3-tier differentiated challenge cards (Bronze / Silver / Gold) + gotcha alert card
|
|
11897
|
+
10. **Slide 10 [Traffic Light Checkpoint & Pitfalls]:** Formative self-check cards (\u{1F7E2}/\u{1F7E1}/\u{1F534}) & diagnostic test question
|
|
11898
|
+
11. **Slide 11 [Exit Ticket & Metacognition]:** 2 scenario-based check questions + 1 metacognitive reflection prompt
|
|
11899
|
+
12. **Slide 12 [Summary & Next Steps]:** 3 core golden rules + preview card of next upcoming milestone
|
|
11900
|
+
|
|
11901
|
+
Mandatory Canvas & Presentation Invariants:
|
|
11902
|
+
- A slide is an INTERACTIVE PROJECTION CANVAS, NOT a textbook! Absolutely NO dense paragraphs or walls of text.
|
|
11903
|
+
- Follow the 6x6 rule: Maximum 4-6 bullet points per slide, maximum 8-12 words per bullet.
|
|
11904
|
+
- Structure slides using \`<div class="columns"><div>...</div><div>...</div></div>\` and \`<div class="card">\`, \`<div class="card highlight">\`, \`<div class="card warning">\`, \`<div class="card success">\`.
|
|
11905
|
+
- MANDATORY PRESENTER NOTES ON EVERY SLIDE: Every slide MUST end with \`<!-- Presenter Notes: ... -->\` containing:
|
|
11906
|
+
* SCRIPT: 60-90s teacher talk track with intuitive analogies.
|
|
11907
|
+
* COLD CALL / CHECK: Specific diagnostic question to ask students.
|
|
11908
|
+
* SCAFFOLDING / GOTCHA: Guidance for students who get stuck.
|
|
11909
|
+
* PACING: Recommended minutes for the slide.
|
|
10230
11910
|
- Output 100% valid Marp Markdown.`;
|
|
10231
11911
|
const rawSlide = await runCurriculumAIInference(
|
|
10232
11912
|
[{ role: "user", content: slidePrompt }],
|
|
@@ -10964,20 +12644,25 @@ function getArtifactSpecializedInvariants(type, req) {
|
|
|
10964
12644
|
- Pacing: Target total duration is ${presentationDuration} minutes (~${Math.round(Number(presentationDuration) / Number(slideCount))} mins per slide).
|
|
10965
12645
|
- Visual Style: "${presentationStyle.toUpperCase()}". Maintain high visual clarity, contrasting accents, and executive polish.
|
|
10966
12646
|
2. **STRICT CONCISENESS & 6x6 RULE (ABSOLUTELY NO TEXT WALLS)**:
|
|
10967
|
-
- A slide is
|
|
12647
|
+
- A slide is an INTERACTIVE PROJECTION CANVAS, NOT a textbook or lesson plan!
|
|
10968
12648
|
- Maximum 4\u20136 bullet points per slide.
|
|
10969
12649
|
- Maximum 8\u201312 words per bullet point. Forbid dense multi-sentence paragraphs on the slide surface.
|
|
10970
12650
|
3. **SPEAKER NOTES FOR ALL SPOKEN WORDS (<!-- Presenter Notes: ... -->)**:
|
|
10971
|
-
${includeSpeakerNotes ?
|
|
10972
|
-
|
|
12651
|
+
${includeSpeakerNotes ? `- MANDATORY: Every single slide MUST contain structured presenter notes in \`<!-- Presenter Notes: ... -->\` at the bottom:
|
|
12652
|
+
- SCRIPT: 60-90s teacher talk track with intuitive analogies.
|
|
12653
|
+
- COLD CALL / CHECK: Diagnostic question to ask students.
|
|
12654
|
+
- SCAFFOLDING / GOTCHA: How to resolve student misconceptions.
|
|
12655
|
+
- PACING: Recommended minutes for the slide.` : "- Optional brief presenter notes."}
|
|
12656
|
+
4. **2-COLUMN & CALLOUT CARD LAYOUTS**:
|
|
12657
|
+
- Use \`<div class="columns"><div>...</div><div>...</div></div>\` for comparisons, code vs. mechanics, or side-by-side tasks.
|
|
12658
|
+
- Use \`<div class="card">\`, \`<div class="card highlight">\`, \`<div class="card warning">\`, and \`<div class="card success">\` for scannable chunking.
|
|
12659
|
+
5. **CLICK-TO-REVEAL SYSTEM**:
|
|
10973
12660
|
- Use \`<!-- clicks -->\` before bulleted lists (\`<ul>\` or \`<ol>\`) for incremental click-to-reveal.
|
|
10974
12661
|
- Use \`<!-- click -->\` before answers, code reveals, or key callouts.
|
|
10975
|
-
5. **2-COLUMN / SPLIT LAYOUT**:
|
|
10976
|
-
- Use <div class="columns"><div>...</div><div>...</div></div> for side-by-side concept vs. code or problem vs. solution comparisons.
|
|
10977
12662
|
6. **CONCISE CODE SNIPPETS**:
|
|
10978
12663
|
- Maximum 6\u201310 lines of clean code per snippet with inline comments. Never paste whole files.
|
|
10979
12664
|
7. **MERMAID VISUALS**:
|
|
10980
|
-
- Use Mermaid flowcharts or sequence diagrams for workflows and control loops.`;
|
|
12665
|
+
- Use Mermaid flowcharts (\`graph TD\` or \`graph LR\`) or sequence diagrams for workflows and control loops.`;
|
|
10981
12666
|
}
|
|
10982
12667
|
case "tiered_practice": {
|
|
10983
12668
|
const techStack = cfg.techStack || (req.hardwarePlatform?.[0] || "Modern Programming Language");
|
|
@@ -15285,6 +16970,7 @@ function renderMediaPlaceholder(entry) {
|
|
|
15285
16970
|
return `> \u{1F5BC}\uFE0F [\u1EA2nh \u0111ang ch\u1EDD: ${entry.name} \u2014 s\u1EBD \u0111\u01B0\u1EE3c t\u1EA1o sau khi duy\u1EC7t media]`;
|
|
15286
16971
|
}
|
|
15287
16972
|
|
|
16973
|
+
exports.ACT_TEMPLATE = ACT_TEMPLATE;
|
|
15288
16974
|
exports.ARTIFACT_EXECUTION_ORDER = ARTIFACT_EXECUTION_ORDER;
|
|
15289
16975
|
exports.AcademicAuditor = AcademicAuditor;
|
|
15290
16976
|
exports.ActiveLearningWorkflowSchema = ActiveLearningWorkflowSchema;
|
|
@@ -15294,7 +16980,9 @@ exports.ActivityStepSchema = ActivityStepSchema;
|
|
|
15294
16980
|
exports.ArtifactContractRowSchema = ArtifactContractRowSchema;
|
|
15295
16981
|
exports.AssessmentMapRowSchema = AssessmentMapRowSchema;
|
|
15296
16982
|
exports.AssessmentObjectiveSchema = AssessmentObjectiveSchema;
|
|
16983
|
+
exports.BELL_RINGER_TEMPLATE = BELL_RINGER_TEMPLATE;
|
|
15297
16984
|
exports.BLOOM_ACTION_VERBS = BLOOM_ACTION_VERBS;
|
|
16985
|
+
exports.BOM_TEMPLATE = BOM_TEMPLATE;
|
|
15298
16986
|
exports.BUNDLED_STANDARDS_PACK_IDS = BUNDLED_STANDARDS_PACK_IDS;
|
|
15299
16987
|
exports.BellRingerDaySchema = BellRingerDaySchema;
|
|
15300
16988
|
exports.BellRingerSchema = BellRingerSchema;
|
|
@@ -15303,6 +16991,8 @@ exports.BloomLevelSchema = BloomLevelSchema;
|
|
|
15303
16991
|
exports.BloomTaxonomyEvaluator = BloomTaxonomyEvaluator;
|
|
15304
16992
|
exports.BronzeTierSchema = BronzeTierSchema;
|
|
15305
16993
|
exports.CERConclusionSchema = CERConclusionSchema;
|
|
16994
|
+
exports.CHOICE_BOARD_TEMPLATE = CHOICE_BOARD_TEMPLATE;
|
|
16995
|
+
exports.CODE_LAB_TEMPLATE = CODE_LAB_TEMPLATE;
|
|
15306
16996
|
exports.CURRICULUM_SLASH_COMMANDS = CURRICULUM_SLASH_COMMANDS;
|
|
15307
16997
|
exports.CardTierEnum = CardTierEnum;
|
|
15308
16998
|
exports.ChoiceBoardRubricRowSchema = ChoiceBoardRubricRowSchema;
|
|
@@ -15333,7 +17023,9 @@ exports.DeterministicStructuralLinter = DeterministicStructuralLinter;
|
|
|
15333
17023
|
exports.DiagnosticQuestionSchema = DiagnosticQuestionSchema;
|
|
15334
17024
|
exports.DiagnosticQuizSchema = DiagnosticQuizSchema;
|
|
15335
17025
|
exports.EDPPhaseEnum = EDPPhaseEnum;
|
|
17026
|
+
exports.EXIT_TICKET_TEMPLATE = EXIT_TICKET_TEMPLATE;
|
|
15336
17027
|
exports.EXPOSITION_REL = EXPOSITION_REL;
|
|
17028
|
+
exports.EXT_TEMPLATE = EXT_TEMPLATE;
|
|
15337
17029
|
exports.EntryLevelSchema = EntryLevelSchema;
|
|
15338
17030
|
exports.ExitTicketBugHuntSchema = ExitTicketBugHuntSchema;
|
|
15339
17031
|
exports.ExitTicketMetacognitionSchema = ExitTicketMetacognitionSchema;
|
|
@@ -15352,6 +17044,8 @@ exports.FrameworkMappingSchema = FrameworkMappingSchema;
|
|
|
15352
17044
|
exports.FrameworkPackManifestSchema = FrameworkPackManifestSchema;
|
|
15353
17045
|
exports.FrameworkPackSchema = FrameworkPackSchema;
|
|
15354
17046
|
exports.FrameworkStatementSchema = FrameworkStatementSchema;
|
|
17047
|
+
exports.GLOSSARY_TEMPLATE = GLOSSARY_TEMPLATE;
|
|
17048
|
+
exports.GRAPHIC_ORGANIZER_TEMPLATE = GRAPHIC_ORGANIZER_TEMPLATE;
|
|
15355
17049
|
exports.GlossaryQuickRefRowSchema = GlossaryQuickRefRowSchema;
|
|
15356
17050
|
exports.GlossarySchema = GlossarySchema;
|
|
15357
17051
|
exports.GlossaryTermSchema = GlossaryTermSchema;
|
|
@@ -15359,11 +17053,13 @@ exports.GoldTierSchema = GoldTierSchema;
|
|
|
15359
17053
|
exports.GradeBandSchema = GradeBandSchema;
|
|
15360
17054
|
exports.GraphicOrganizerItemSchema = GraphicOrganizerItemSchema;
|
|
15361
17055
|
exports.GraphicOrganizerSchema = GraphicOrganizerSchema;
|
|
17056
|
+
exports.HANDOUT_TEMPLATE = HANDOUT_TEMPLATE;
|
|
15362
17057
|
exports.HandoutSchema = HandoutSchema;
|
|
15363
17058
|
exports.HandoutSectionSchema = HandoutSectionSchema;
|
|
15364
17059
|
exports.InstructionSectionSchema = InstructionSectionSchema;
|
|
15365
17060
|
exports.InstructionStepSchema = InstructionStepSchema;
|
|
15366
17061
|
exports.JudgeCriterionSchema = JudgeCriterionSchema;
|
|
17062
|
+
exports.LESSON_PLAN_TEMPLATE = LESSON_PLAN_TEMPLATE;
|
|
15367
17063
|
exports.LLMJudgeEngine = LLMJudgeEngine;
|
|
15368
17064
|
exports.LabTierTaskSchema = LabTierTaskSchema;
|
|
15369
17065
|
exports.LearningObjectiveInputSchema = LearningObjectiveInputSchema;
|
|
@@ -15386,6 +17082,7 @@ exports.ModelPolicyResolver = ModelPolicyResolver;
|
|
|
15386
17082
|
exports.NVIDIA_MODELS = NVIDIA_MODELS;
|
|
15387
17083
|
exports.NodeKindSchema = NodeKindSchema;
|
|
15388
17084
|
exports.OrganizerTypeEnum = OrganizerTypeEnum;
|
|
17085
|
+
exports.PROJECT_INSTRUCTION_TEMPLATE = PROJECT_INSTRUCTION_TEMPLATE;
|
|
15389
17086
|
exports.PhaseInputSchema = PhaseInputSchema;
|
|
15390
17087
|
exports.PlanConstraintsSchema = PlanConstraintsSchema;
|
|
15391
17088
|
exports.PlannerInputSchema = PlannerInputSchema;
|
|
@@ -15398,8 +17095,11 @@ exports.ProgressiveHintsSchema = ProgressiveHintsSchema;
|
|
|
15398
17095
|
exports.ProjectGraphSchema = ProjectGraphSchema;
|
|
15399
17096
|
exports.ProjectInstructionSchema = ProjectInstructionSchema;
|
|
15400
17097
|
exports.ProjectProfileSchema = ProjectProfileSchema;
|
|
17098
|
+
exports.QUIZ_TEMPLATE = QUIZ_TEMPLATE;
|
|
15401
17099
|
exports.QualityAuditVerdictSchema = QualityAuditVerdictSchema;
|
|
15402
17100
|
exports.QuizOptionSchema = QuizOptionSchema;
|
|
17101
|
+
exports.REVIEW_GAME_TEMPLATE = REVIEW_GAME_TEMPLATE;
|
|
17102
|
+
exports.RUBRIC_TEMPLATE = RUBRIC_TEMPLATE;
|
|
15403
17103
|
exports.RecordProvenanceSchema = RecordProvenanceSchema;
|
|
15404
17104
|
exports.ResourceMapRowSchema = ResourceMapRowSchema;
|
|
15405
17105
|
exports.ReviewGameExportRowSchema = ReviewGameExportRowSchema;
|
|
@@ -15409,7 +17109,12 @@ exports.RoadmapInputSchema = RoadmapInputSchema;
|
|
|
15409
17109
|
exports.RotationStationSchema = RotationStationSchema;
|
|
15410
17110
|
exports.RubricCriteriaSchema = RubricCriteriaSchema;
|
|
15411
17111
|
exports.RubricSchema = RubricSchema;
|
|
17112
|
+
exports.SCIENCE_LAB_TEMPLATE = SCIENCE_LAB_TEMPLATE;
|
|
17113
|
+
exports.SELF_LAB_TEMPLATE = SELF_LAB_TEMPLATE;
|
|
17114
|
+
exports.SLIDE_LAYOUT_PRESETS = SLIDE_LAYOUT_PRESETS;
|
|
17115
|
+
exports.SLIDE_TEMPLATE = SLIDE_TEMPLATE;
|
|
15412
17116
|
exports.STANDARD_SOT_FILES = STANDARD_SOT_FILES;
|
|
17117
|
+
exports.STATION_ROTATION_TEMPLATE = STATION_ROTATION_TEMPLATE;
|
|
15413
17118
|
exports.ScaffoldDecisionEntrySchema = ScaffoldDecisionEntrySchema;
|
|
15414
17119
|
exports.ScaffoldDecisionSchema = ScaffoldDecisionSchema;
|
|
15415
17120
|
exports.ScienceLabSchema = ScienceLabSchema;
|
|
@@ -15426,6 +17131,9 @@ exports.StationRecordRowSchema = StationRecordRowSchema;
|
|
|
15426
17131
|
exports.StationRotationSchema = StationRotationSchema;
|
|
15427
17132
|
exports.StationTypeEnum = StationTypeEnum;
|
|
15428
17133
|
exports.SupabaseCurriculumAdapter = SupabaseCurriculumAdapter;
|
|
17134
|
+
exports.TASK_CARDS_TEMPLATE = TASK_CARDS_TEMPLATE;
|
|
17135
|
+
exports.TEACHER_GUIDE_TEMPLATE = TEACHER_GUIDE_TEMPLATE;
|
|
17136
|
+
exports.TIERED_PRACTICE_TEMPLATE = TIERED_PRACTICE_TEMPLATE;
|
|
15429
17137
|
exports.TaskCardSchema = TaskCardSchema;
|
|
15430
17138
|
exports.TaskCardsSchema = TaskCardsSchema;
|
|
15431
17139
|
exports.TeacherGuideSchema = TeacherGuideSchema;
|
|
@@ -15438,6 +17146,7 @@ exports.TroubleshootingEntrySchema = TroubleshootingEntrySchema;
|
|
|
15438
17146
|
exports.TroubleshootingRowSchema = TroubleshootingRowSchema;
|
|
15439
17147
|
exports.UnitPlanSchema = UnitPlanSchema;
|
|
15440
17148
|
exports.UserJourneySchema = UserJourneySchema;
|
|
17149
|
+
exports.WORKSHEET_TEMPLATE = WORKSHEET_TEMPLATE;
|
|
15441
17150
|
exports.WorksheetItemSchema = WorksheetItemSchema;
|
|
15442
17151
|
exports.WorksheetItemTypeEnum = WorksheetItemTypeEnum;
|
|
15443
17152
|
exports.WorksheetPartSchema = WorksheetPartSchema;
|
|
@@ -15533,6 +17242,8 @@ exports.getDesignatedFallbackConfig = getDesignatedFallbackConfig;
|
|
|
15533
17242
|
exports.getLessonMetadata = getLessonMetadata;
|
|
15534
17243
|
exports.getProjectArtifactScope = getProjectArtifactScope;
|
|
15535
17244
|
exports.getProjectStatusReport = getProjectStatusReport;
|
|
17245
|
+
exports.getSlideLayoutPresetById = getSlideLayoutPresetById;
|
|
17246
|
+
exports.getSlideLayoutPresetsByCategory = getSlideLayoutPresetsByCategory;
|
|
15536
17247
|
exports.getSmartResumeContext = getSmartResumeContext;
|
|
15537
17248
|
exports.glossaryTermsForSession = glossaryTermsForSession;
|
|
15538
17249
|
exports.illustratorTools = illustratorTools;
|