@thanh01.pmt/curriculum-kit 1.4.42 โ†’ 1.4.44

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.
@@ -0,0 +1,61 @@
1
+ ---
2
+ id: "{{ID}}"
3
+ title: "{{TITLE}}"
4
+ type: "LAB"
5
+ created_by: "Curriculum OS Builder"
6
+ phase: "{{PHASE}}"
7
+ deliverable: "P3-T2"
8
+ version: "{{VERSION}}"
9
+ date: "{{DATE}}"
10
+ ---
11
+ <!-- INJECT_BODY -->
12
+
13
+ # ๐Ÿ‘จโ€๐Ÿ’ป CODE LAB: [LAB TITLE]
14
+ _Unit: U[X] | Module: M[X.X] | Lesson: Lesson [XX]_
15
+
16
+ ## ๐ŸŽฏ Overview
17
+ This lab focuses on the practical implementation of the technical concepts covered in the lesson. Students will transition from theory to code, focusing on building, debugging, and optimizing their logic.
18
+
19
+ ## ๐Ÿ› ๏ธ Environment & Setup
20
+ - **Language/Framework:** [e.g., Python 3.12, Arduino C++, Node-RED]
21
+ - **IDE/Editor:** [e.g., Thonny, Arduino IDE, VS Code]
22
+ - **Required Libraries:** [List libraries and version if applicable]
23
+ - **Hardware Connection:** [Optional - Brief description of circuit setup if hardware-dependent]
24
+
25
+ ## ๐Ÿ“ Lab Tasks (3-Tier Differentiation)
26
+
27
+ ### ๐Ÿฅ‰ Bronze (Foundational) - [X mins]
28
+ **Objective:** Establish basic functionality.
29
+ - **Task:** [e.g., Create a basic script to read data from the DHT11 sensor.]
30
+ - **Requirement:** Code MUST be syntactically correct and run without errors.
31
+
32
+ ### ๐Ÿฅˆ Silver (Application) - [Y mins]
33
+ **Objective:** Add logic and data processing.
34
+ - **Task:** [e.g., Add a conditional statement to turn on an LED if the temperature exceeds 30ยฐC.]
35
+ - **Requirement:** Demonstrate understanding of control flow and data comparison.
36
+
37
+ ### ๐Ÿฅ‡ Gold (Enrichment/Creative) - [Z mins]
38
+ **Objective:** Optimize, extend, or integrate.
39
+ - **Task:** [e.g., Log the temperature data to a local CSV file with timestamps.]
40
+ - **Requirement:** Show advanced resource management (file I/O, timing, or external API integration).
41
+
42
+ ## ๐Ÿ’ป Technical Reference ([SME_MANDATE])
43
+ <!-- [SME_MANDATE] -->
44
+ > Any code provided in this section must be verified for syntax accuracy.
45
+
46
+ ```python
47
+ # [SAMPLE CODE WRAPPER]
48
+ # Paste the core logic here for student reference.
49
+ ```
50
+ <!-- [/SME_MANDATE] -->
51
+
52
+ ## ๐Ÿ” Troubleshooting & Debugging
53
+ | Issue | Potential Cause | Solution |
54
+ | :--- | :--- | :--- |
55
+ | [e.g., "ImportError"] | Library not installed | Run `pip install [library]` |
56
+ | [e.g., "Serial Timeout"] | Wrong COM port | Check Device Manager and update port in script |
57
+
58
+ ## ๐Ÿ Submission & Check-off
59
+ - [ ] Code runs successfully on the target hardware/environment.
60
+ - [ ] Docstrings and comments are added in Vietnamese for clarity.
61
+ - [ ] Variables follow the naming convention defined in the Content Style Guide.
@@ -0,0 +1,167 @@
1
+ ---
2
+ id: "{{ID}}"
3
+ title: "{{TITLE}}"
4
+ type: "SELF_LAB"
5
+ language: "{{LANGUAGE}}"
6
+ difficulty: "{{DIFFICULTY}}"
7
+ estimated_minutes: {{ESTIMATED_MINUTES}}
8
+ tech_stack: {{TECH_STACK}}
9
+ ---
10
+
11
+ # ๐Ÿš€ Self-Paced Hands-On Lab: {{TITLE}}
12
+
13
+ > โฑ๏ธ **Estimated Duration:** ~{{ESTIMATED_MINUTES}} mins
14
+ > ๐ŸŽฏ **Difficulty Level:** {{DIFFICULTY_UPPER}}
15
+ > ๐Ÿงฐ **Tech Stack:** {{TECH_STACK_STR}}
16
+ > ๐Ÿ’ก **Self-Learner Notice:** You are in full control of this lab. Follow the progressive challenges below. If you get stuck at any point, use the **Progressive Hints System** to get unstuck without ruining the learning experience!
17
+
18
+ ---
19
+
20
+ ## ๐Ÿ“‹ Mission Briefing & Environment Setup
21
+ {{MISSION_BRIEFING}}
22
+
23
+ ### ๐Ÿ›ซ Preflight Checklist
24
+ {{PREFLIGHT_CHECKLIST}}
25
+
26
+ ---
27
+
28
+ ## ๐ŸŽฏ Progressive Challenges (3-Tier Differentiation)
29
+
30
+ ### ๐Ÿฅ‰ Challenge 1: Foundational Core (Bronze) โ€” ~{{BRONZE_MINS}} mins
31
+ **Objective:** {{BRONZE_OBJECTIVE}}
32
+
33
+ #### Tasks & Implementation Details:
34
+ {{BRONZE_TASKS}}
35
+
36
+ #### ๐Ÿงช Self-Verification Command:
37
+ ```bash
38
+ {{BRONZE_VERIFY_COMMAND}}
39
+ ```
40
+ *Expected Terminal Output:*
41
+ ```text
42
+ {{BRONZE_EXPECTED_OUTPUT}}
43
+ ```
44
+
45
+ #### ๐Ÿ’ก Progressive Hints (Expand only if stuck):
46
+ <details>
47
+ <summary><b>๐Ÿ’ก Hint Level 1: Conceptual Clue</b></summary>
48
+
49
+ {{BRONZE_HINT_1}}
50
+ </details>
51
+
52
+ <details>
53
+ <summary><b>๐Ÿ” Hint Level 2: Structural Skeleton</b></summary>
54
+
55
+ ```{{CODE_LANGUAGE}}
56
+ {{BRONZE_HINT_2}}
57
+ ```
58
+ </details>
59
+
60
+ <details>
61
+ <summary><b>๐Ÿšจ Hint Level 3: Full Solution & Explanation</b></summary>
62
+
63
+ ```{{CODE_LANGUAGE}}
64
+ {{BRONZE_HINT_3_CODE}}
65
+ ```
66
+
67
+ **Why this solution works:**
68
+ {{BRONZE_HINT_3_EXPLANATION}}
69
+ </details>
70
+
71
+ ---
72
+
73
+ ### ๐Ÿฅˆ Challenge 2: Logic & Error Handling (Silver) โ€” ~{{SILVER_MINS}} mins
74
+ **Objective:** {{SILVER_OBJECTIVE}}
75
+
76
+ #### Tasks & Implementation Details:
77
+ {{SILVER_TASKS}}
78
+
79
+ #### ๐Ÿงช Self-Verification Command:
80
+ ```bash
81
+ {{SILVER_VERIFY_COMMAND}}
82
+ ```
83
+ *Expected Terminal Output:*
84
+ ```text
85
+ {{SILVER_EXPECTED_OUTPUT}}
86
+ ```
87
+
88
+ #### ๐Ÿ’ก Progressive Hints (Expand only if stuck):
89
+ <details>
90
+ <summary><b>๐Ÿ’ก Hint Level 1: Conceptual Clue</b></summary>
91
+
92
+ {{SILVER_HINT_1}}
93
+ </details>
94
+
95
+ <details>
96
+ <summary><b>๐Ÿ” Hint Level 2: Structural Skeleton</b></summary>
97
+
98
+ ```{{CODE_LANGUAGE}}
99
+ {{SILVER_HINT_2}}
100
+ ```
101
+ </details>
102
+
103
+ <details>
104
+ <summary><b>๐Ÿšจ Hint Level 3: Full Solution & Explanation</b></summary>
105
+
106
+ ```{{CODE_LANGUAGE}}
107
+ {{SILVER_HINT_3_CODE}}
108
+ ```
109
+
110
+ **Why this solution works:**
111
+ {{SILVER_HINT_3_EXPLANATION}}
112
+ </details>
113
+
114
+ ---
115
+
116
+ ### ๐Ÿฅ‡ Challenge 3: Edge Cases & Optimization (Gold) โ€” ~{{GOLD_MINS}} mins
117
+ **Objective:** {{GOLD_OBJECTIVE}}
118
+
119
+ #### Tasks & Implementation Details:
120
+ {{GOLD_TASKS}}
121
+
122
+ #### ๐Ÿงช Self-Verification Command:
123
+ ```bash
124
+ {{GOLD_VERIFY_COMMAND}}
125
+ ```
126
+ *Expected Terminal Output:*
127
+ ```text
128
+ {{GOLD_EXPECTED_OUTPUT}}
129
+ ```
130
+
131
+ #### ๐Ÿ’ก Progressive Hints (Expand only if stuck):
132
+ <details>
133
+ <summary><b>๐Ÿ’ก Hint Level 1: Conceptual Clue</b></summary>
134
+
135
+ {{GOLD_HINT_1}}
136
+ </details>
137
+
138
+ <details>
139
+ <summary><b>๐Ÿ” Hint Level 2: Structural Skeleton</b></summary>
140
+
141
+ ```{{CODE_LANGUAGE}}
142
+ {{GOLD_HINT_2}}
143
+ ```
144
+ </details>
145
+
146
+ <details>
147
+ <summary><b>๐Ÿšจ Hint Level 3: Full Solution & Explanation</b></summary>
148
+
149
+ ```{{CODE_LANGUAGE}}
150
+ {{GOLD_HINT_3_CODE}}
151
+ ```
152
+
153
+ **Why this solution works:**
154
+ {{GOLD_HINT_3_EXPLANATION}}
155
+ </details>
156
+
157
+ ---
158
+
159
+ ## ๐Ÿ” Self-Learner Troubleshooting Matrix
160
+ | Symptom / Error Message | Root Cause | Exact Fix |
161
+ | :--- | :--- | :--- |
162
+ {{TROUBLESHOOTING_ROWS}}
163
+
164
+ ---
165
+
166
+ ## ๐Ÿ Final Lab Submission & Mastery Checklist
167
+ {{FINAL_CHECKLIST}}