Endpoint generate reading kinda working.
This commit is contained in:
@@ -2033,7 +2033,7 @@ new_reading_to_insert_1 = {
|
||||
],
|
||||
"prompt": "Which of the following sources is NOT mentioned as a renewable energy source?",
|
||||
"solution": "B",
|
||||
"variant": "text",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "11",
|
||||
@@ -2963,7 +2963,8 @@ new_reading_to_insert_2 = {
|
||||
"solutions": [
|
||||
{
|
||||
"id": "24",
|
||||
"solution": ["Task switching", "Attention management", "Inhibition of distractions", "Cognitive flexibility"]
|
||||
"solution": ["Task switching", "Attention management", "Inhibition of distractions",
|
||||
"Cognitive flexibility"]
|
||||
},
|
||||
{
|
||||
"id": "25",
|
||||
@@ -3081,7 +3082,8 @@ new_reading_to_insert_2 = {
|
||||
"imperative to strike a balance between the benefits and {{34}} posed by social media "
|
||||
"in contemporary society.",
|
||||
"type": "fillBlanks",
|
||||
"words": ["cyberbullying", "internet", "trade", "Privacy", "addictive", "resilience", "connectivity", "echo",
|
||||
"words": ["cyberbullying", "internet", "trade", "Privacy", "addictive", "resilience",
|
||||
"connectivity", "echo",
|
||||
"challenges", "adaptability", "digital", "Social", "harsh"]
|
||||
},
|
||||
{
|
||||
@@ -3638,7 +3640,8 @@ new_reading_to_insert_3 = {
|
||||
"solutions": [
|
||||
{
|
||||
"id": "24",
|
||||
"solution": ["Task switching", "Attention management", "Inhibition of distractions", "Cognitive flexibility"]
|
||||
"solution": ["Task switching", "Attention management", "Inhibition of distractions",
|
||||
"Cognitive flexibility"]
|
||||
},
|
||||
{
|
||||
"id": "25",
|
||||
@@ -3756,7 +3759,8 @@ new_reading_to_insert_3 = {
|
||||
"imperative to strike a balance between the benefits and {{34}} posed by social media "
|
||||
"in contemporary society.",
|
||||
"type": "fillBlanks",
|
||||
"words": ["cyberbullying", "internet", "trade", "Privacy", "addictive", "resilience", "connectivity", "echo",
|
||||
"words": ["cyberbullying", "internet", "trade", "Privacy", "addictive", "resilience",
|
||||
"connectivity", "echo",
|
||||
"challenges", "adaptability", "digital", "Social", "harsh"]
|
||||
},
|
||||
{
|
||||
@@ -5423,6 +5427,657 @@ new_listening_to_insert_2 = {
|
||||
"minTimer": 30,
|
||||
"module": "listening"
|
||||
}
|
||||
new_listening_to_insert_3 = {
|
||||
"parts": [
|
||||
{
|
||||
"audio": {
|
||||
"repeatableTimes": 3,
|
||||
"source": "https://firebasestorage.googleapis.com/v0/b/mti-ielts.appspot.com/o/listening_recordings%2Ftoms_auto_repairs.mp3?alt=media&token=d88b9e6c-8ff3-4a62-9026-283202c1ba85"
|
||||
},
|
||||
"exercises": [
|
||||
{
|
||||
"id": str(uuid.uuid4()),
|
||||
"maxWords": 4,
|
||||
"prompt": "You will hear a conversation between a woman and a mechanic. Answer the questions "
|
||||
"below using no more than four words or a number.",
|
||||
"solutions": [
|
||||
{
|
||||
"id": "1",
|
||||
"solution": ["Tom's Auto Repair"]
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"solution": ["Sarah", "Sara"]
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
"solution": ["clicking"]
|
||||
},
|
||||
{
|
||||
"id": "4",
|
||||
"solution": ["engine"]
|
||||
},
|
||||
{
|
||||
"id": "5",
|
||||
"solution": ["Honda Civic"]
|
||||
},
|
||||
{
|
||||
"id": "6",
|
||||
"solution": ["2016"]
|
||||
},
|
||||
{
|
||||
"id": "7",
|
||||
"solution": ["Thursday"]
|
||||
},
|
||||
{
|
||||
"id": "8",
|
||||
"solution": ["3PM", "3 PM", "3:00 PM"]
|
||||
},
|
||||
{
|
||||
"id": "9",
|
||||
"solution": ["No"]
|
||||
},
|
||||
{
|
||||
"id": "10",
|
||||
"solution": ["Car Keys and Documents"]
|
||||
},
|
||||
],
|
||||
"text": "Auto Repair Shop Name: {{1}}\\n"
|
||||
"Client Name: {{2}}\\n"
|
||||
"Type of noise: {{3}}\\n"
|
||||
"Lights On: {{4}}\\n"
|
||||
"Car: {{5}}\\n"
|
||||
"Year of Manufacturing: {{6}}\\n"
|
||||
"Appointment Day Of Week: {{7}}\\n"
|
||||
"Time of appointment: {{8}}\\n"
|
||||
"Has warranties? {{9}}\\n"
|
||||
"Should bring: {{10}}\\n",
|
||||
"type": "writeBlanks"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"audio": {
|
||||
"repeatableTimes": 3,
|
||||
"source": "https://firebasestorage.googleapis.com/v0/b/mti-ielts.appspot.com/o/listening_recordings%2Ffirst_day_school.mp3?alt=media&token=318ccb58-42fb-465c-b2d7-becd9cb360ee"
|
||||
},
|
||||
"exercises": [
|
||||
{
|
||||
"id": str(uuid.uuid4()),
|
||||
"prompt": "After listening to the monologue, select the appropriate options.",
|
||||
"questions": [
|
||||
{
|
||||
"id": "11",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "To introduce school rules and regulations."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "To welcome students to a new school year."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "To discuss the importance of technology in education."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "To explain the structure of extracurricular clubs."
|
||||
}
|
||||
],
|
||||
"prompt": "What is the primary purpose of the monologue?",
|
||||
"solution": "B",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "12",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "It solely focuses on mathematics and science."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "It promotes critical thinking, creativity, and problem-solving."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "It discourages students from asking questions."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "It limits students' involvement in extracurricular activities."
|
||||
}
|
||||
],
|
||||
"prompt": "In the monologue, what does the speaker emphasize about the school's curriculum?",
|
||||
"solution": "B",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "13",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "Drama club."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "Astronomy club."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "Robotics club."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "Literature club."
|
||||
}
|
||||
],
|
||||
"prompt": "Which of the following is NOT mentioned as an extracurricular activity in the monologue?",
|
||||
"solution": "D",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "14",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "To restrict students' individuality."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "To create a sense of unity and belonging."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "To make students look sharp at all times."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "To discourage students from attending extracurricular activities."
|
||||
}
|
||||
],
|
||||
"prompt": "According to the monologue, why does the school have a dress code and uniform?",
|
||||
"solution": "B",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "15",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "Families are not supportive of students' education."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "Families should not be involved in students' school life."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "Families are important in guiding and supporting students."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "Families hinder students' ability to make friends."
|
||||
}
|
||||
],
|
||||
"prompt": "What does the monologue suggest about the role of family in a student's life?",
|
||||
"solution": "C",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "16",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "Seeking knowledge, asking questions, and embracing diversity."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "Following strict rules without question."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "Focusing solely on academic achievements."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "Avoiding extracurricular activities to prioritize academics."
|
||||
}
|
||||
],
|
||||
"prompt": "According to the monologue, what does the school encourage in students?",
|
||||
"solution": "A",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "17",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "Students should focus on academic studies only."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "Participation in clubs and activities is discouraged."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "Students have a range of opportunities to pursue their passions."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "Clubs are only for those interested in music and drama."
|
||||
}
|
||||
],
|
||||
"prompt": "What is the primary message in the section about clubs and extracurricular activities?",
|
||||
"solution": "C",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "18",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "They are essential for exploring the digital world and developing skills."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "They are mainly used for playing games."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "They help students avoid human interaction."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "They limit students' creativity."
|
||||
}
|
||||
],
|
||||
"prompt": "According to the monologue, what is the importance of the school's technology resources?",
|
||||
"solution": "A",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "19",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "Bullying is encouraged to toughen up students."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "Bullying is not mentioned in the monologue."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "Bullying is strictly prohibited with a zero-tolerance policy."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "Bullying is seen as a natural part of school life."
|
||||
}
|
||||
],
|
||||
"prompt": "In the monologue, how is the school's approach to bullying described?",
|
||||
"solution": "C",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "20",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "Students should avoid making friends and focus solely on academics."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "Students should embrace a well-rounded education, involvement in clubs, and respect for one another."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "Students should never ask questions and follow rules blindly."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "Students should avoid participating in extracurricular activities to prioritize academics."
|
||||
}
|
||||
],
|
||||
"prompt": "What is the speaker's main message to students throughout the monologue?",
|
||||
"solution": "B",
|
||||
"variant": "text"
|
||||
}
|
||||
],
|
||||
"type": "multipleChoice",
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"audio": {
|
||||
"repeatableTimes": 3,
|
||||
"source": "https://firebasestorage.googleapis.com/v0/b/mti-ielts.appspot.com/o/listening_recordings%2Fgym_training_conversation.mp3?alt=media&token=169757de-dbd9-4aeb-9bd6-3a470898cd34"
|
||||
},
|
||||
"exercises": [
|
||||
{
|
||||
"id": str(uuid.uuid4()),
|
||||
"prompt": "After listening to the conversation, select the appropriate options.",
|
||||
"questions": [
|
||||
{
|
||||
"id": "21",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "Upper body strength."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "Cardiovascular endurance."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "Flexibility."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "Core stability."
|
||||
}
|
||||
],
|
||||
"prompt": "What aspect of his fitness is Alex primarily looking to improve?",
|
||||
"solution": "C",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "22",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "By doing only weightlifting."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "With a mix of cardio and flexibility training."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "By following a strict diet without exercise."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "With exclusively long-distance running."
|
||||
}
|
||||
],
|
||||
"prompt": "How is Linda preparing for her 10K run?",
|
||||
"solution": "B",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "23",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "Yoga."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "Pilates."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "HIIT workouts."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "Swimming."
|
||||
}
|
||||
],
|
||||
"prompt": "What type of training is Mark incorporating into his routine?",
|
||||
"solution": "C",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "24",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "Bench presses and rows."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "Leg curls and lunges."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "Bicep curls and tricep dips."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "Planks and push-ups."
|
||||
}
|
||||
],
|
||||
"prompt": "What specific strength training exercises is Alex focusing on?",
|
||||
"solution": "A",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "25",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "Finishing under 1 hour."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "Completing in under 45 minutes."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "Finishing under 50 minutes."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "Setting a personal best time."
|
||||
}
|
||||
],
|
||||
"prompt": "What is Linda's specific time goal for her upcoming 10K run?",
|
||||
"solution": "C",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "26",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "Gaining muscle mass."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "Increasing flexibility."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "Losing weight and achieving more defined abs and arms."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "Improving running endurance."
|
||||
}
|
||||
],
|
||||
"prompt": "Mark's fitness goal includes:",
|
||||
"solution": "C",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "27",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "Short-term training plans."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "Quick fixes and shortcuts."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "Consistency and hard work."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "Frequent changes in workout routines."
|
||||
}
|
||||
],
|
||||
"prompt": "What does the trainer emphasize as a key to success in reaching fitness goals?",
|
||||
"solution": "C",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "28",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "Increase caloric intake."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "Focus on strength training only."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "Create a calorie deficit and introduce core-focused workouts."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "Avoid exercise altogether."
|
||||
}
|
||||
],
|
||||
"prompt": "What does the trainer suggest for Mark to help him shed pounds?",
|
||||
"solution": "C",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "29",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "It doesn't emphasize the importance of goal setting."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "The conversation shows that setting specific goals is crucial for tracking progress."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "It implies that goals are only necessary for professional athletes."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "The trainer discourages goal setting for a balanced fitness routine."
|
||||
}
|
||||
],
|
||||
"prompt": "How does the conversation highlight the importance of setting goals?",
|
||||
"solution": "B",
|
||||
"variant": "text"
|
||||
},
|
||||
{
|
||||
"id": "30",
|
||||
"options": [
|
||||
{
|
||||
"id": "A",
|
||||
"text": "Promoting quick fixes for weight loss."
|
||||
},
|
||||
{
|
||||
"id": "B",
|
||||
"text": "Highlighting the need for exclusive weightlifting."
|
||||
},
|
||||
{
|
||||
"id": "C",
|
||||
"text": "Providing personalized advice to help individuals reach their fitness goals."
|
||||
},
|
||||
{
|
||||
"id": "D",
|
||||
"text": "Discouraging cardio exercises."
|
||||
}
|
||||
],
|
||||
"prompt": "In the conversation, what is the primary focus of the trainer's guidance?",
|
||||
"solution": "C",
|
||||
"variant": "text"
|
||||
}
|
||||
],
|
||||
"type": "multipleChoice",
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"audio": {
|
||||
"repeatableTimes": 3,
|
||||
"source": "https://firebasestorage.googleapis.com/v0/b/mti-ielts.appspot.com/o/listening_recordings%2Fcultural_appropriation.mp3?alt=media&token=1f298ad9-6c3e-4c49-9337-12f772ae2121"
|
||||
},
|
||||
"exercises": [
|
||||
{
|
||||
"id": str(uuid.uuid4()),
|
||||
"maxWords": 3,
|
||||
"prompt": "You will hear a lecture about international finance. Complete the notes bellow. Write no more "
|
||||
"than 3 words or numbers for each answer.",
|
||||
"solutions": [
|
||||
{
|
||||
"id": "31",
|
||||
"solution": ["culture"]
|
||||
},
|
||||
{
|
||||
"id": "32",
|
||||
"solution": ["dominant "]
|
||||
},
|
||||
{
|
||||
"id": "33",
|
||||
"solution": ["diversity"]
|
||||
},
|
||||
{
|
||||
"id": "34",
|
||||
"solution": ["borrowing"]
|
||||
},
|
||||
{
|
||||
"id": "35",
|
||||
"solution": ["Power"]
|
||||
},
|
||||
{
|
||||
"id": "36",
|
||||
"solution": ["stereotypes"]
|
||||
},
|
||||
{
|
||||
"id": "37",
|
||||
"solution": ["loss"]
|
||||
},
|
||||
{
|
||||
"id": "38",
|
||||
"solution": ["understanding"]
|
||||
},
|
||||
{
|
||||
"id": "39",
|
||||
"solution": ["sensitivity"]
|
||||
},
|
||||
{
|
||||
"id": "40",
|
||||
"solution": ["respectful "]
|
||||
},
|
||||
],
|
||||
"text": "Cultural appropriation is a controversial topic because it involves the adoption or use of elements from another {{31}}.\\n"
|
||||
"Cultural appropriation becomes problematic when elements are borrowed from a marginalized culture by those from a {{32}} culture.\\n"
|
||||
"Cultural exchange is essential for cultural {{33}}, but appropriation raises concerns about respect and understanding.\\n"
|
||||
"Cultural appropriation is more than just cultural {{34}}; it has far-reaching social and ethical implications.\\n"
|
||||
"{{35}} dynamics play a crucial role in cultural appropriation, as the appropriator often hails from a dominant culture.\\n"
|
||||
"When cultural elements are commodified without acknowledging their significance, they risk perpetuating {{36}}.\\n"
|
||||
"Erasure of marginalized cultures is a significant concern because it can lead to the {{37}} of cultural identity.\\n"
|
||||
"The line between cultural appropriation and appreciation is not always clear-cut and depends on intent, context and {{38}}.\\n"
|
||||
"The ongoing debate on cultural appropriation reflects broader conversations on cultural {{39}}.\\n"
|
||||
"Fostering a deeper understanding of cultural appropriation is essential for promoting {{40}} cross-cultural interactions\\n",
|
||||
"type": "writeBlanks"
|
||||
}
|
||||
]
|
||||
},
|
||||
],
|
||||
"isDiagnostic": False,
|
||||
"minTimer": 30,
|
||||
"module": "listening"
|
||||
}
|
||||
|
||||
# Falta section 3 e 4 do listening
|
||||
# writing task 1 com imagens ...
|
||||
@@ -5435,5 +6090,5 @@ db = firestore.client()
|
||||
|
||||
# Add the JSON data to Firestore
|
||||
collection_ref = db.collection('listening')
|
||||
document_ref = collection_ref.add(new_listening_to_insert_2)
|
||||
document_ref = collection_ref.add(new_listening_to_insert_3)
|
||||
print(f"Document added with ID: {document_ref}")
|
||||
|
||||
Reference in New Issue
Block a user