feat(bisaya): update kitchen dialog exercise and add migration for alignment
All checks were successful
Deploy to production / deploy (push) Successful in 3m27s
All checks were successful
Deploy to production / deploy (push) Successful in 3m27s
This commit is contained in:
@@ -0,0 +1,25 @@
|
|||||||
|
'use strict';
|
||||||
|
|
||||||
|
/** Aligns the question "Where are they?" with its stored kitchen answer. */
|
||||||
|
module.exports = {
|
||||||
|
async up(queryInterface) {
|
||||||
|
await queryInterface.sequelize.query(`
|
||||||
|
UPDATE community.vocab_grammar_exercise AS exercise
|
||||||
|
SET title = 'Personen in der Küche',
|
||||||
|
instruction = 'Jemand fragt, wo die Personen sind. Antworte, dass sie in der Küche sind.',
|
||||||
|
question_data = '{"type":"dialog_completion","question":"Welche Antwort passt?","dialog":["A: Asa sila?","B: ..."]}'::jsonb,
|
||||||
|
answer_data = '{"modelAnswer":"Naa sila sa kusina.","correct":["Naa sila sa kusina.","Naa sila sa kusina"]}'::jsonb,
|
||||||
|
explanation = '„Asa sila?“ fragt: Wo sind sie? „Naa sila sa kusina.“ bedeutet: Sie sind in der Küche.'
|
||||||
|
FROM community.vocab_course_lesson AS lesson
|
||||||
|
WHERE exercise.lesson_id = lesson.id
|
||||||
|
AND lesson.lesson_number = 12
|
||||||
|
AND lesson.title = 'Haus & Familie'
|
||||||
|
AND exercise.exercise_number = 13
|
||||||
|
AND exercise.title = 'Nach der Küche fragen';
|
||||||
|
`);
|
||||||
|
},
|
||||||
|
|
||||||
|
async down() {
|
||||||
|
// Do not restore the semantically mismatched dialogue.
|
||||||
|
}
|
||||||
|
};
|
||||||
@@ -2429,23 +2429,21 @@ const BISAYA_EXERCISES = {
|
|||||||
explanation: '„Naa sila sa …“ = Sie sind in/am …'
|
explanation: '„Naa sila sa …“ = Sie sind in/am …'
|
||||||
},
|
},
|
||||||
withTypeName('dialog_completion', {
|
withTypeName('dialog_completion', {
|
||||||
title: 'Nach der Küche fragen',
|
title: 'Personen in der Küche',
|
||||||
instruction: 'Ergänze die passende Antwort (Ortsangaben wie didto/luyo kommen in der nächsten Lektion).',
|
instruction: 'Jemand fragt, wo die Personen sind. Antworte, dass sie in der Küche sind.',
|
||||||
questionData: {
|
questionData: {
|
||||||
type: 'dialog_completion',
|
type: 'dialog_completion',
|
||||||
question: 'Welche Antwort passt?',
|
question: 'Welche Antwort passt?',
|
||||||
dialog: ['A: Asa ang kusina?', 'B: ...']
|
dialog: ['A: Asa sila?', 'B: ...']
|
||||||
},
|
},
|
||||||
answerData: {
|
answerData: {
|
||||||
modelAnswer: 'Naa sila sa kusina.',
|
modelAnswer: 'Naa sila sa kusina.',
|
||||||
correct: [
|
correct: [
|
||||||
'Naa sila sa kusina.',
|
'Naa sila sa kusina.',
|
||||||
'Naa siya sa kusina.',
|
'Naa sila sa kusina'
|
||||||
'Naa ko sa kusina.',
|
|
||||||
'Sa kusina.'
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
explanation: 'Mit „Naa … sa kusina“ kannst du sagen, wo sich jemand befindet – dasselbe Muster wie „Naa sila sa kusina.“ in der Lektion.'
|
explanation: '„Asa sila?“ fragt: Wo sind sie? „Naa sila sa kusina.“ bedeutet: Sie sind in der Küche.'
|
||||||
}),
|
}),
|
||||||
withTypeName('situational_response', {
|
withTypeName('situational_response', {
|
||||||
title: 'Zu Hause kurz beschreiben',
|
title: 'Zu Hause kurz beschreiben',
|
||||||
|
|||||||
Reference in New Issue
Block a user