@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.cjs CHANGED
@@ -2032,13 +2032,13 @@ Evaluate the candidate artifact across these 6 dimensions:
2032
2032
  - 0 pts: Missing critical sections.
2033
2033
 
2034
2034
  5. **Technical & Conceptual Accuracy (15 pts):**
2035
- - 15 pts: Code snippets, logic flows, architectural descriptions, and Mermaid diagrams are conceptually sound, valid, and free of syntax hallucinations.
2035
+ - 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.
2036
2036
  - 8 pts: Minor syntax inaccuracies or unidiomatic code that does not break core concepts.
2037
- - 0 pts: Severe technical hallucinations, broken logic, or invalid diagrams.
2037
+ - 0 pts: Severe technical hallucinations, broken logic, invalid diagrams, or direct contradiction of canonical exposition knowledge.
2038
2038
 
2039
2039
  6. **Contract Consistency & Zero-Drift (10 pts):**
2040
- - 10 pts: Satellite artifact strictly adheres to the scope, tech stack, and objectives of Lesson ${lessonId} without introducing unrelated topics.
2041
- - 0-5 pts: Scope drift or topic divergence detected.
2040
+ - 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.
2041
+ - 0-5 pts: Scope drift, topic divergence, or disjoint activity sequence detected compared to master lesson.
2042
2042
 
2043
2043
  ## VERDICT RULES
2044
2044
  - **PASS:** Score >= 80 AND Language Adherence = true AND Standards Alignment >= 12 (when STANDARDS GROUND TRUTH is present).