@thanh01.pmt/curriculum-kit 1.2.0 → 1.2.1

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/ai/index.mjs CHANGED
@@ -2025,13 +2025,13 @@ Evaluate the candidate artifact across these 6 dimensions:
2025
2025
  - 0 pts: Missing critical sections.
2026
2026
 
2027
2027
  5. **Technical & Conceptual Accuracy (15 pts):**
2028
- - 15 pts: Code snippets, logic flows, architectural descriptions, and Mermaid diagrams are conceptually sound, valid, and free of syntax hallucinations.
2028
+ - 15 pts: Code snippets, logic flows, architectural descriptions, and Mermaid diagrams are conceptually sound and valid. If \`canonicalExposition\` or \`[KNOWLEDGE_EXPOSITION]\` is provided, content strictly adheres to canonical concepts without contradicting definitions or examples.
2029
2029
  - 8 pts: Minor syntax inaccuracies or unidiomatic code that does not break core concepts.
2030
- - 0 pts: Severe technical hallucinations, broken logic, or invalid diagrams.
2030
+ - 0 pts: Severe technical hallucinations, broken logic, invalid diagrams, or direct contradiction of canonical exposition knowledge.
2031
2031
 
2032
2032
  6. **Contract Consistency & Zero-Drift (10 pts):**
2033
- - 10 pts: Satellite artifact strictly adheres to the scope, tech stack, and objectives of Lesson ${lessonId} without introducing unrelated topics.
2034
- - 0-5 pts: Scope drift or topic divergence detected.
2033
+ - 10 pts: Satellite artifact strictly adheres to the scope, tech stack, and objectives of Lesson ${lessonId} without introducing unrelated topics. If \`canonicalLessonExcerpt\` is present in candidate JSON, all satellite phases/activities strictly operationalize the master Lesson Flow and Activity Sequence without inventing divergent timelines.
2034
+ - 0-5 pts: Scope drift, topic divergence, or disjoint activity sequence detected compared to master lesson.
2035
2035
 
2036
2036
  ## VERDICT RULES
2037
2037
  - **PASS:** Score >= 80 AND Language Adherence = true AND Standards Alignment >= 12 (when STANDARDS GROUND TRUTH is present).