feat(bisaya): enhance speaking prompts and practical tasks for lesson 46
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
'use strict';
|
||||
|
||||
/** Aligns the generated word order task with its promised three-question scene. */
|
||||
module.exports = {
|
||||
async up(queryInterface) {
|
||||
await queryInterface.sequelize.query(`
|
||||
UPDATE community.vocab_grammar_exercise AS exercise
|
||||
SET question_data = '{"type":"sentence_building","question":"Baue eine natürliche Fragekette mit drei kurzen Fragen.","tokens":["Asa","ka","padulong","Kanus-a","ka","moadto","Kinsa","imong","kuyog"]}'::jsonb,
|
||||
answer_data = '{"correct":["Asa ka padulong? Kanus-a ka moadto? Kinsa imong kuyog?"]}'::jsonb,
|
||||
explanation = 'Die Fragekette lautet: "Asa ka padulong? Kanus-a ka moadto? Kinsa imong kuyog?"'
|
||||
FROM community.vocab_course_lesson AS lesson
|
||||
WHERE exercise.lesson_id = lesson.id
|
||||
AND lesson.lesson_number = 46
|
||||
AND lesson.title = 'Fragen im Alltag vertiefen'
|
||||
AND exercise.title = 'Fragen im Alltag vertiefen: Satz aus dem Alltag bauen';
|
||||
`);
|
||||
},
|
||||
async down() {
|
||||
// Do not restore the mismatched single-sentence task.
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,35 @@
|
||||
'use strict';
|
||||
|
||||
/** Makes the production tasks explicit instead of naming only grammar categories. */
|
||||
module.exports = {
|
||||
async up(queryInterface) {
|
||||
await queryInterface.sequelize.query(`
|
||||
UPDATE community.vocab_grammar_exercise AS exercise
|
||||
SET question_data = jsonb_set(
|
||||
exercise.question_data,
|
||||
'{question}',
|
||||
to_jsonb('Ordne die Wortkarten als drei Fragen: Wohin geht die Person? Wann geht sie los? Mit wem ist sie unterwegs?'::text)
|
||||
)
|
||||
FROM community.vocab_course_lesson AS lesson
|
||||
WHERE exercise.lesson_id = lesson.id
|
||||
AND lesson.lesson_number = 46
|
||||
AND lesson.title = 'Fragen im Alltag vertiefen'
|
||||
AND exercise.title = 'Fragen im Alltag vertiefen: Satz aus dem Alltag bauen';
|
||||
|
||||
UPDATE community.vocab_grammar_exercise AS exercise
|
||||
SET question_data = jsonb_set(
|
||||
exercise.question_data,
|
||||
'{question}',
|
||||
to_jsonb('Eine Person geht gleich los. Frage sie auf Bisaya nacheinander: Wohin geht sie? Wann geht sie los? Mit wem ist sie unterwegs? Sprich oder schreibe alle drei Fragen.'::text)
|
||||
)
|
||||
FROM community.vocab_course_lesson AS lesson
|
||||
WHERE exercise.lesson_id = lesson.id
|
||||
AND lesson.lesson_number = 46
|
||||
AND lesson.title = 'Fragen im Alltag vertiefen'
|
||||
AND exercise.title = 'Fragen im Alltag vertiefen: Laut sprechen';
|
||||
`);
|
||||
},
|
||||
async down() {
|
||||
// The older prompts were less specific and are deliberately not restored.
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user