// 人工编写的渲染回归样例,不代表模型实测输出或已核验的教材原文。 export function inquiryFixture() { const art = `` const image = { url: `data:image/svg+xml;charset=utf-8,${encodeURIComponent(art)}`, width: 740, height: 720 } const page = (pageNo, type, title, headline, points, composition, extra = {}) => ({ pageNo, type, title, bullets: [], imageKeywords: [], teachingPurpose: '比较声音的表现差异,并在演唱中尝试运用。', teachingBrief: '围绕歌曲表现问题,提供具体听辨与模仿任务。', learningEvidence: '能说明听到的差别,并在自己的演唱中展示一种变化。', durationMinutes: pageNo === 1 ? 1 : pageNo === 9 ? 4 : 5, objectiveIds: ['1'], optional: false, requiredVisual: false, studentContent: { headline, points }, classroomAction: { teacherInstruction: '先示范两种表现,请学生选择并说明理由,再请一组尝试。', studentTask: headline, modelExample: '选择教材歌曲中的同一句,保持音高和速度一致,分别轻巧与有力地演唱。', successCriteria: '学生能指出力度差别,尝试改变唱法,声音保持自然。' }, speakerNotes: '先让学生表达听感,再请他们用声音说明。接着将发现带回歌曲中验证。', visualPlan: { composition, visualMode: 'text_only', visualShare: .55, textPresentation: 'plain', imageNecessity: 'none', imagePurpose: 'none', layout: pageNo === 1 ? 'cover_scene' : 'text_focus' }, ...extra }) return { title: '螃蟹歌', chapterName: '螃蟹歌', gradeName: '三年级', textbookName: '音乐课堂 · 设计样例', unitName: '', courseType: 'singing', templateId: 'blank', style: 'clean', teachingDesign: { approach: '从声音差异出发,尝试有表现力的演唱。', drivingQuestion: '怎样把螃蟹唱得有趣?', learningPath: ['听见特点', '比较唱法', '尝试表现', '交流发现'] }, visualBible: { artStyle: '纸本插画与简洁音乐图示', palette: ['#203345', '#FAF8F2', '#BF513B'], environment: '河边音乐课堂' }, textbookResearch: { exactMatch: true, confidence: 'HIGH', sources: [{ url: 'https://example.com/test-fixture', title: '测试专用,不是教材来源' }], teachingObjectives: ['比较不同唱法并尝试有表现力地演唱'] }, pages: [ page(1, 'cover', '螃蟹歌', '怎样把螃蟹唱得有趣?', ['听见特点,再唱出自己的发现'], 'image_right', { image, visualPlan: { composition: 'image_right', visualMode: 'generated_image', visualShare: .55, textPresentation: 'plain', imageNecessity: 'supporting', imagePurpose: 'scene', layout: 'cover_scene' } }), page(2, 'first_listen', '先用耳朵认识它', '哪一句最让你想学?', ['记住一句最有趣的声音', '用表情或动作回应它', '说说你为什么选这一句'], 'image_left', { image, visualPlan: { composition: 'image_left', visualMode: 'generated_image', visualShare: .5, textPresentation: 'plain', imageNecessity: 'supporting', imagePurpose: 'scene', layout: 'split_content' } }), page(3, 'music_knowledge', '我们的发现路线', '听到的特点,怎样变成唱法?', [], 'steps', { diagram: { kind: 'sequence', caption: '每一次尝试,都用声音说明理由', items: [{ label: '听见不同' }, { label: '比较唱法' }, { label: '尝试表现' }, { label: '交流发现' }] }, visualPlan: { composition: 'steps', visualMode: 'native_diagram', textPresentation: 'plain', imageNecessity: 'none', imagePurpose: 'none', layout: 'diagram_focus' } }), page(4, 'rhythm_practice', '同样的拍子,不同的力量', '哪一下听起来更突出?', ['先模仿,再换一种强弱顺序'], 'concept_grid', { diagram: { kind: 'beats', caption: '教师自编强弱练习 · 圆的大小表示相对力度', items: [{ label: '强', value: 1 }, { label: '弱', value: .35 }, { label: '强', value: 1 }, { label: '弱', value: .35 }] }, visualPlan: { composition: 'concept_grid', visualMode: 'native_diagram', textPresentation: 'plain', imageNecessity: 'none', imagePurpose: 'none', layout: 'diagram_focus' } }), page(5, 'phrase_sing', '一句歌,两种表情', '你更喜欢哪种唱法?', [], 'comparison', { studentContent: { headline: '你更喜欢哪种唱法?', points: [], comparisonGroups: [ { label: '轻巧地唱', points: ['声音轻一些,字句仍清楚', '听起来像怎样的螃蟹?'] }, { label: '有力地唱', points: ['声音更饱满,保持自然', '同一句的表情改变了吗?'] } ] } }), page(6, 'melody_score', '把发现放进歌里', '选一句,唱出你想表现的样子', ['先跟着老师唱准', '再尝试一种力度变化', '说说你改变了哪里'], 'steps', { studentContent: { headline: '选一句,唱出你想表现的样子', points: [], steps: ['先跟着老师唱准', '再尝试一种力度变化', '说说你改变了哪里'] }, visualPlan: { composition: 'steps', visualMode: 'text_only', textPresentation: 'steps', imageNecessity: 'none', imagePurpose: 'none', layout: 'activity' } }), page(7, 'performance_activity', '小组的螃蟹舞台', '让别人听懂你们的设计', ['选一句最想表现的乐句', '商量唱法,试唱一次', '一组表演,另一组说出听到的变化'], 'concept_grid'), page(8, 'practice_check', '谁听出了变化?', '同一句唱了两次,哪里不同?', [], 'focus_question', { interaction: { type: 'question', question: '同一句唱了两次,哪里不同?', options: ['声音的力度', '演唱的速度'], answer: '声音的力度', explanation: '示范时保持音高、速度与字句一致,仅改变力度;以学生能指出并模仿差别为准。' } }), page(9, 'summary', '带走一个新发现', '我让这句歌更有趣的方法是……', ['唱给同伴听,让他猜一猜', '用一句话说明自己的唱法'], 'image_top', { image, visualPlan: { composition: 'image_top', visualMode: 'generated_image', visualShare: .55, textPresentation: 'plain', imageNecessity: 'supporting', imagePurpose: 'scene', layout: 'summary' } }) ] } }