Add new writing question on generate questions
This commit is contained in:
@@ -1926,7 +1926,6 @@ listening_section_2_to_insert_5 = {
|
||||
"section": 2
|
||||
}
|
||||
|
||||
|
||||
# NEW
|
||||
reading_to_insert_1 = {
|
||||
"parts": [
|
||||
@@ -2587,6 +2586,43 @@ reading_to_insert_1 = {
|
||||
"type": "academic"
|
||||
}
|
||||
|
||||
new_writing_to_insert_1 = {
|
||||
"exercises": [
|
||||
{
|
||||
"id": str(uuid.uuid4()),
|
||||
"prefix": "You should spend about 20 minutes on this task. \\nWrite a letter to your friend who is planning to "
|
||||
"visit your city:",
|
||||
"prompt": "Recommend places to visit and things to do, mention any local events or festivals happening during "
|
||||
"their visit and offer to meet and show them around.",
|
||||
"suffix": "You should write at least 100 words.",
|
||||
"type": "writing",
|
||||
"wordCounter": {
|
||||
"limit": 100,
|
||||
"type": "min"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": str(uuid.uuid4()),
|
||||
"prefix": "You should spend about 40 minutes on this task.\nPresent a written argument or case to an educated "
|
||||
"reader with no specialist knowledge of the following topic:",
|
||||
"prompt": "Some people believe that technology has made communication between individuals less personal and "
|
||||
"more impersonal. Others argue that technology has improved communication by making it more accessible. "
|
||||
"Discuss both viewpoints and give your own opinion.",
|
||||
"suffix": "You should write at least 250 words.\nUse your own ideas, knowledge and experience and support "
|
||||
"your arguments with examples and relevant evidence.",
|
||||
"type": "writing",
|
||||
"wordCounter": {
|
||||
"limit": 250,
|
||||
"type": "min"
|
||||
}
|
||||
}
|
||||
],
|
||||
"isDiagnostic": True,
|
||||
"minTimer": 60,
|
||||
"module": "writing",
|
||||
"type": "general"
|
||||
}
|
||||
|
||||
# Falta section 3 e 4 do listening
|
||||
# writing task 1 com imagens ...
|
||||
# speaking 3 é discussao lol
|
||||
@@ -2597,6 +2633,6 @@ db = firestore.client()
|
||||
# JSON data to insert
|
||||
|
||||
# Add the JSON data to Firestore
|
||||
collection_ref = db.collection('reading')
|
||||
document_ref = collection_ref.add(reading_to_insert_1)
|
||||
collection_ref = db.collection('writing')
|
||||
document_ref = collection_ref.add(new_writing_to_insert_1)
|
||||
print(f"Document added with ID: {document_ref}")
|
||||
|
||||
Reference in New Issue
Block a user