Files
encoach_backend/app/configs/question_templates.py
2024-11-06 02:07:46 +00:00

1276 lines
83 KiB
Python

import uuid
from .constants import MinTimers
def getListeningPartTemplate():
return {
"audio": {
"repeatableTimes": 3,
"source": "",
},
"exercises": []
}
def getListeningTemplate():
return {
"parts": [],
"isDiagnostic": False,
"minTimer": MinTimers.LISTENING_MIN_TIMER_DEFAULT,
"module": "listening"
}
def getListeningPostSample():
return {
"parts": [
{
"exercises": [
{
"questions": [
{
"id": "1",
"options": [
{
"id": "A",
"text": "To start working out together"
},
{
"id": "B",
"text": "To join a book club"
},
{
"id": "C",
"text": "To go on a trip"
},
{
"id": "D",
"text": "To take a cooking class"
}
],
"prompt": "What is John's suggestion to Emily?",
"solution": "A",
"variant": "text"
},
{
"id": "2",
"options": [
{
"id": "A",
"text": "She doesn't have time"
},
{
"id": "B",
"text": "She doesn't have money"
},
{
"id": "C",
"text": "She doesn't have a gym membership"
},
{
"id": "D",
"text": "She doesn't like working out"
}
],
"prompt": "What is Emily's current reason for not working out?",
"solution": "D",
"variant": "text"
},
{
"id": "3",
"options": [
{
"id": "A",
"text": "Gold's Gym"
},
{
"id": "B",
"text": "Planet Fitness"
},
{
"id": "C",
"text": "Fitness Plus"
},
{
"id": "D",
"text": "Anytime Fitness"
}
],
"prompt": "What gym does John suggest to Emily?",
"solution": "C",
"variant": "text"
},
{
"id": "4",
"options": [
{
"id": "A",
"text": "$10 a month"
},
{
"id": "B",
"text": "$20 a month"
},
{
"id": "C",
"text": "$30 a month"
},
{
"id": "D",
"text": "$40 a month"
}
],
"prompt": "What is the price of the basic membership at Fitness Plus?",
"solution": "C",
"variant": "text"
},
{
"id": "5",
"options": [
{
"id": "A",
"text": "3 months"
},
{
"id": "B",
"text": "6 months"
},
{
"id": "C",
"text": "12 months"
},
{
"id": "D",
"text": "No commitment required"
}
],
"prompt": "How long is the commitment for the basic membership at Fitness Plus?",
"solution": "D",
"variant": "text"
},
{
"id": "6",
"options": [
{
"id": "A",
"text": "Dance and cooking"
},
{
"id": "B",
"text": "Yoga and spin"
},
{
"id": "C",
"text": "Singing and art"
},
{
"id": "D",
"text": "Martial arts and rock climbing"
}
],
"prompt": "What type of classes does Fitness Plus offer?",
"solution": "B",
"variant": "text"
},
{
"id": "7",
"options": [
{
"id": "A",
"text": "Watch movies"
},
{
"id": "B",
"text": "Take classes"
},
{
"id": "C",
"text": "Play sports"
},
{
"id": "D",
"text": "Study"
}
],
"prompt": "What does John and Emily plan to do together at the gym?",
"solution": "B",
"variant": "text"
},
{
"id": "8",
"options": [
{
"id": "A",
"text": "Saturday"
},
{
"id": "B",
"text": "Sunday"
},
{
"id": "C",
"text": "Monday"
},
{
"id": "D",
"text": "Tuesday"
}
],
"prompt": "What day does John suggest to go check out the gym?",
"solution": "C",
"variant": "text"
},
{
"id": "9",
"options": [
{
"id": "A",
"text": "To go shopping"
},
{
"id": "B",
"text": "To get lunch"
},
{
"id": "C",
"text": "To schedule a tour"
},
{
"id": "D",
"text": "To watch a movie"
}
],
"prompt": "What is John's plan after checking out the gym?",
"solution": "C",
"variant": "text"
},
{
"id": "10",
"options": [
{
"id": "A",
"text": "Nervous"
},
{
"id": "B",
"text": "Excited"
},
{
"id": "C",
"text": "Uninterested"
},
{
"id": "D",
"text": "Angry"
}
],
"prompt": "How does Emily feel about starting to work out again?",
"solution": "B",
"variant": "text"
}
]
}
],
"text": {
"conversation": [
{
"gender": "male",
"name": "John",
"text": "Hey, have you been working out lately?",
"voice": "Stephen"
},
{
"gender": "female",
"name": "Emily",
"text": "Not really, I've been so busy with work.",
"voice": "Ruth"
},
{
"gender": "male",
"name": "John",
"text": "Well, I've been thinking about getting a gym membership. Do you have one?",
"voice": "Stephen"
},
{
"gender": "female",
"name": "Emily",
"text": "No, but I've been considering it too. Which gym are you thinking of joining?",
"voice": "Ruth"
},
{
"gender": "male",
"name": "John",
"text": "I was looking at the one down the street, Fitness Plus. It seems to have good reviews.",
"voice": "Stephen"
},
{
"gender": "female",
"name": "Emily",
"text": "Oh, I've heard of that one. What's the membership like?",
"voice": "Ruth"
},
{
"gender": "male",
"name": "John",
"text": "They have different packages, but I'm thinking of going for the basic one. It's $30 a month with a one-year commitment.",
"voice": "Stephen"
},
{
"gender": "female",
"name": "Emily",
"text": "That's not bad. Do they have classes too?",
"voice": "Ruth"
},
{
"gender": "male",
"name": "John",
"text": "Yeah, they have a variety of classes like yoga and spin. I'm interested in trying out some of those.",
"voice": "Stephen"
},
{
"gender": "female",
"name": "Emily",
"text": "I've always wanted to try yoga. Maybe we can go together sometime.",
"voice": "Ruth"
},
{
"gender": "male",
"name": "John",
"text": "That would be great! It's always more fun to have a workout buddy. Have you looked into any other gyms?",
"voice": "Stephen"
},
{
"gender": "female",
"name": "Emily",
"text": "Not really. I've been busy with work, but I'll definitely check out Fitness Plus. Maybe we can both join and motivate each other.",
"voice": "Ruth"
},
{
"gender": "male",
"name": "John",
"text": "Sounds like a plan. Let's do it.",
"voice": "Stephen"
},
{
"gender": "female",
"name": "Emily",
"text": "Awesome. We can go check it out this weekend.",
"voice": "Ruth"
},
{
"gender": "male",
"name": "John",
"text": "Perfect. I'll give them a call to schedule a tour.",
"voice": "Stephen"
},
{
"gender": "female",
"name": "Emily",
"text": "Thanks, John. I'm excited to start working out again.",
"voice": "Ruth"
},
{
"gender": "male",
"name": "John",
"text": "Me too. Let's do this!",
"voice": "Stephen"
}
]
}
},
{
"exercises": [
{
"id": "0646ab5b-e8e2-4da5-8a0c-784fe3d0186a",
"maxWords": 3,
"prompt": "You will hear a monologue. Answer the questions below using no more than three words or a number accordingly.",
"solutions": [
{
"id": "11",
"solution": [
"multi-faceted",
"various dimensions"
]
},
{
"id": "12",
"solution": [
"climate change",
"rising temperature"
]
},
{
"id": "13",
"solution": [
"waste minimization",
"resource reuse"
]
},
{
"id": "14",
"solution": [
"reduce carbon footprint",
"support sustainable businesses"
]
},
{
"id": "15",
"solution": [
"ourselves",
"parents/educators"
]
}
],
"text": "What is the concept of sustainability?{{11}}\\nWhat is the biggest challenge we are facing?{{12}}\\nWhat is the need for a circular economy?{{13}}\\nWhat can individuals do to address these challenges?{{14}}\\nWho is responsible for educating future generations about environmental sustainability?{{15}}\\n",
"type": "writeBlanks"
},
{
"id": "0c99267c-8c3a-4ed0-9f05-00c07a480831",
"maxWords": 1,
"prompt": "You will hear a monologue. Fill the form with words/numbers missing.",
"solutions": [
{
"id": "16",
"solution": "dimensional"
},
{
"id": "17",
"solution": "Change"
},
{
"id": "18",
"solution": "Natural"
},
{
"id": "19",
"solution": "Waste"
},
{
"id": "20",
"solution": "Injustice"
}
],
"text": "Key: Multi-{{1}} Concept of Sustainability\nValue: The concept of sustainability encompasses social, economic, and environmental aspects, and it is essential to address all dimensions in order to achieve a sustainable future.\\nKey: Climate {{2}}\nValue: Rising temperatures, extreme weather events, and loss of biodiversity are just some of the consequences of climate change caused by human activities such as burning fossil fuels and deforestation.\\nKey: Depletion of {{3}} Resources\nValue: Our current consumption patterns are not sustainable, and the overexploitation of resources is leading to deforestation, water scarcity, and depletion of fisheries. It is crucial to find ways to reduce our consumption and ensure resource replenishment.\\nKey: {{4}} Management\nValue: Our linear model of consumption and disposal is not sustainable, and we need to shift towards a circular economy where waste is minimized, and resources are reused or recycled.\\nKey: Environmental {{5}}\nValue: Marginalized communities are often the most affected by environmental degradation, and it is crucial to address this injustice and ensure that environmental policies and actions are fair and inclusive.\\n",
"type": "writeBlanks"
}
],
"text": "\n\nHello everyone, thank you for joining me in this discussion about one of the most pressing issues of our time - environmental sustainability. I believe we can all agree that our planet is facing numerous challenges due to human activities and it is high time we address them.\n\nFirstly, I would like to acknowledge that the concept of sustainability itself is multi-faceted and encompasses various dimensions such as social, economic, and environmental aspects. However, today, I would like to focus on the environmental challenges we are currently facing.\n\nOne of the biggest challenges we are facing is climate change. The Earth's temperature is rising at an alarming rate due to the increase in greenhouse gas emissions, primarily from human activities such as burning fossil fuels and deforestation. This has resulted in extreme weather events, loss of biodiversity, and rising sea levels, among others. We are already seeing the consequences of climate change, and if we do not take immediate action, the situation will only worsen.\n\nAnother challenge is the depletion of natural resources. Our planet has a finite amount of resources, and yet, our current consumption patterns are not sustainable. The overexploitation of resources is leading to deforestation, water scarcity, and depletion of fisheries. We need to find ways to reduce our consumption and ensure that we are not exploiting resources faster than they can replenish.\n\nIn addition to climate change and resource depletion, waste management is also a significant challenge. Our current linear model of consumption and disposal is not sustainable in the long run. We produce a massive amount of waste, and most of it ends up in landfills or our oceans, polluting our environment and harming wildlife. We need to shift towards a circular economy, where waste is minimized, and resources are reused or recycled.\n\nFurthermore, there is also the issue of environmental injustice. The impacts of environmental degradation are not equally distributed, and marginalized communities are often the most affected. This injustice needs to be addressed, and measures must be taken to ensure that environmental policies and actions are fair and inclusive.\n\nSo, what can we do to address these challenges? Firstly, we need to acknowledge that each one of us has a role to play. We cannot rely on governments or organizations alone to solve these issues. We need to make changes in our daily lives, such as reducing our carbon footprint, adopting sustainable practices, and supporting businesses that prioritize the environment.\n\nWe also need to hold corporations and governments accountable for their actions. We have the power to demand change through our consumer choices and our votes. It is crucial that we urge our leaders to implement policies that promote sustainable practices and penalize those who harm the environment.\n\nMoreover, education and awareness are essential in tackling these challenges. We need to educate ourselves and others about the importance of environmental sustainability and the actions we can take to achieve it. Our children are the future, and it is our responsibility to educate them on the significance of preserving our planet.\n\nIn conclusion, the challenges of environmental sustainability are daunting, but they are not insurmountable. It is up to us to take action and make a difference. We owe it to ourselves, future generations, and the planet to ensure a sustainable future. Let us work together towards a greener, cleaner, and more sustainable world. Thank you."
},
{
"exercises": [
{
"id": "0149f828-c216-4e60-80fa-1dd28a860031",
"maxWords": 1,
"prompt": "Fill the blank space with the word missing from the audio.",
"solutions": [
{
"id": "21",
"solution": "Smith"
},
{
"id": "22",
"solution": "rash"
},
{
"id": "23",
"solution": "fever"
},
{
"id": "24",
"solution": "allergies"
},
{
"id": "25",
"solution": "antinuclear"
},
{
"id": "26",
"solution": "immunosuppressants"
},
{
"id": "27",
"solution": "evaluation"
},
{
"id": "28",
"solution": "Autoimmune"
},
{
"id": "29",
"solution": "four"
},
{
"id": "30",
"solution": "possibilities"
}
],
"text": "Dr. {{21}}, Dr. Patel, Sarah, and Alex were discussing a case study of a patient with a fever and rash.\\nThe patient was a 30-year-old female with a history of allergies.\\nThe patient's rash was erythematous and she had a {{23}} of 101°F.\\nPossible initial diagnoses included a viral infection or allergic reaction.\\nHowever, the final diagnosis was an autoimmune disorder based on elevated {{25}} antibodies in the patient's blood work.\\nTreatment involved {{26}} and the patient's symptoms resolved within a week.\\nThorough {{27}} and considering all possibilities is important in the diagnostic process.\\n{{28}} disorders can develop without any underlying trigger.\\nThe seminar ended with the {{29}} individuals thanking each other and continuing their day with new knowledge.\\nThinking outside the box and considering all {{30}} is crucial in the diagnostic process.",
"type": "writeBlanks"
}
],
"text": {
"conversation": [
{
"gender": "male",
"name": "Dr. Smith",
"text": "Good morning everyone, thank you for joining us today for this seminar on diagnosis. Let's begin with the case study of a patient who presented with a fever and rash.",
"voice": "Kevin"
},
{
"gender": "male",
"name": "Dr. Patel",
"text": "Yes, I remember this case. The patient was a 30-year-old female with a history of allergies.",
"voice": "Stephen"
},
{
"gender": "female",
"name": "Sarah",
"text": "Hi, I'm Sarah, a third-year medical student. I remember studying this case in our lectures. The patient's rash was erythematous, right?",
"voice": "Aria"
},
{
"gender": "male",
"name": "Dr. Smith",
"text": "Yes, that's correct. And the patient had a fever of 101°F. What would be your initial diagnosis?",
"voice": "Kevin"
},
{
"gender": "male",
"name": "Alex",
"text": "Hi, I'm Alex, a fourth-year medical student. I would say it could be a viral infection or an allergic reaction.",
"voice": "Kevin"
},
{
"gender": "male",
"name": "Dr. Patel",
"text": "That's a good guess, Alex. But remember, always consider other possibilities. In this case, it turned out to be an autoimmune disorder.",
"voice": "Stephen"
},
{
"gender": "female",
"name": "Sarah",
"text": "Oh, I didn't think of that. How did you come to that diagnosis?",
"voice": "Aria"
},
{
"gender": "male",
"name": "Dr. Smith",
"text": "Well, the patient's blood work showed elevated levels of antinuclear antibodies. That, along with the clinical presentation, pointed towards an autoimmune disorder.",
"voice": "Kevin"
},
{
"gender": "male",
"name": "Alex",
"text": "That's interesting. I would have never thought of that. How did you treat the patient?",
"voice": "Kevin"
},
{
"gender": "male",
"name": "Dr. Patel",
"text": "We started the patient on immunosuppressants and the rash and fever resolved within a week.",
"voice": "Stephen"
},
{
"gender": "female",
"name": "Sarah",
"text": "Wow, it's amazing how a simple rash and fever could lead to such a complex diagnosis.",
"voice": "Aria"
},
{
"gender": "male",
"name": "Dr. Smith",
"text": "That's the importance of thorough evaluation and considering all possibilities. Any other thoughts or questions?",
"voice": "Kevin"
},
{
"gender": "male",
"name": "Alex",
"text": "I just wanted to ask, do you think the patient's allergies could have triggered the autoimmune disorder?",
"voice": "Kevin"
},
{
"gender": "male",
"name": "Dr. Patel",
"text": "It's possible, but we can't say for sure. Sometimes autoimmune disorders can develop without any underlying trigger.",
"voice": "Stephen"
},
{
"gender": "female",
"name": "Sarah",
"text": "Thank you for sharing this case with us, it was very informative.",
"voice": "Aria"
},
{
"gender": "male",
"name": "Dr. Smith",
"text": "My pleasure. I hope this discussion has given you a better understanding of the diagnostic process. Always remember to think outside the box and consider all possibilities.",
"voice": "Kevin"
}
]
}
},
{
"exercises": [
{
"id": "921d3a2a-7f6e-46ae-a19d-65eb5ba21375",
"maxWords": 3,
"prompt": "You will hear a monologue. Answer the questions below using no more than three words or a number accordingly.",
"solutions": [
{
"id": "31",
"solution": [
"complex mixture",
"vital natural resource",
"non-renewable resource"
]
},
{
"id": "32",
"solution": [
"sand, silt, clay"
]
},
{
"id": "33",
"solution": [
"ability to provide nutrients",
"balance of essential nutrients",
"breaking down organic matter"
]
},
{
"id": "34",
"solution": [
"break down organic matter",
"improve soil structure",
"release nutrients"
]
},
{
"id": "35",
"solution": [
"soil erosion",
"land use practices",
"preservation of soil for future generations"
]
}
],
"text": "What is soil?{{31}}\\nWhat are the three main categories of soil?{{32}}\\nWhat is soil fertility?{{33}}\\nWhat is the role of microorganisms in soil?{{34}}\\nWhat environmental issue can be prevented through proper soil management?{{35}}\\n",
"type": "writeBlanks"
},
{
"id": "e86afd9a-90d1-48db-bee1-0d20f6eea64d",
"maxWords": 1,
"prompt": "Fill the blank space with the word missing from the audio.",
"solutions": [
{
"id": "36",
"solution": "vital"
},
{
"id": "37",
"solution": "classified"
},
{
"id": "38",
"solution": "fertility"
},
{
"id": "39",
"solution": "microorganisms"
},
{
"id": "40",
"solution": "science"
}
],
"text": "Soil is a {{36}} natural resource that provides the foundation for plant growth\\nSoil is {{37}} into three main categories: sand, silt, and clay\\nSoil {{38}} refers to the ability of the soil to provide essential nutrients for plant growth\\nHealthy soil is teeming with {{39}}\\nSoil {{40}} plays a significant role in environmental conservation",
"type": "writeBlanks"
}
],
"text": "\n\nGood morning everyone, today I would like to talk to you about a topic that is often overlooked but plays a crucial role in our daily lives - soil science. Soil science deals with the study of the composition, structure, and properties of soil, as well as how it interacts with the environment and living organisms.\n\nSoil is a vital natural resource that provides the foundation for plant growth, which in turn sustains all life on earth. It is the basis for our food production, as well as the source of many raw materials such as wood, cotton, and rubber. Without a healthy and productive soil, our agricultural systems would collapse, and we would struggle to feed our growing population.\n\nBut what exactly is soil? Soil is a complex mixture of minerals, organic matter, water, and air, all held together by microorganisms. It takes thousands of years for soil to form, and it is a non-renewable resource, which makes its conservation even more critical.\n\nOne of the key aspects of soil science is understanding the different types of soil and their properties. Soil is classified into three main categories: sand, silt, and clay. These categories are based on the size of the particles that make up the soil. Sand particles are the largest, followed by silt and then clay. The composition of these particles greatly affects the soil's properties, such as water retention, drainage, and nutrient availability.\n\nAnother crucial aspect of soil science is the study of soil fertility. Soil fertility refers to the ability of the soil to provide essential nutrients for plant growth. The nutrients in the soil come from the breakdown of organic matter, such as dead plants and animal remains. Fertile soil contains a balance of essential nutrients, such as nitrogen, phosphorus, and potassium, which are necessary for plant growth.\n\nThe health of the soil is also crucial in soil science. Healthy soil is teeming with microorganisms, which play a vital role in breaking down organic matter and releasing nutrients into the soil. These microorganisms also help to improve soil structure, making it more porous and allowing for better air and water circulation.\n\nSoil science also plays a significant role in environmental conservation. Soil erosion, the removal of topsoil by wind and water, is a significant environmental issue that can be prevented through proper soil management. By understanding the factors that contribute to soil erosion, such as improper land use practices, we can implement strategies to prevent it and preserve our soil for future generations.\n\nIn conclusion, soil science is a critical field of study that impacts our daily lives in more ways than we can imagine. It is not just about digging in the dirt; it is a complex science that requires a multidisciplinary approach. By understanding the composition, properties, and fertility of soil, we can ensure the sustainable use of this precious resource and preserve it for future generations. Thank you."
}
]
}
def getReadingTemplate():
return {
"parts": [],
"isDiagnostic": False,
"minTimer": 60,
"type": "academic"
}
def getReadingPostSample():
return {
"parts": [
{
"exercises": [
{
"id": "cbd08cdd-5850-40a8-b6e2-6021c04474ad",
"prompt": "Do the following statements agree with the information given in the Reading Passage?",
"questions": [
{
"id": "1",
"prompt": "Technology is constantly evolving and shaping our world.",
"solution": "true"
},
{
"id": "2",
"prompt": "The use of artificial intelligence (AI) has only recently become popular.",
"solution": "false"
},
{
"id": "3",
"prompt": "5G technology offers slower speeds and higher latency than its predecessors.",
"solution": "false"
},
{
"id": "4",
"prompt": "Social media has had a minimal impact on our society.",
"solution": "false"
},
{
"id": "5",
"prompt": "Cybersecurity is not a growing concern as technology becomes more integrated into our lives.",
"solution": "false"
},
{
"id": "6",
"prompt": "Technology has not had a significant impact on the education sector.",
"solution": "false"
},
{
"id": "7",
"prompt": "Automation and AI are not causing shifts in the job market.",
"solution": "false"
}
],
"type": "trueFalse"
},
{
"allowRepetition": True,
"id": "b88f3eb5-11b7-4a8e-bb1a-4e96215b34bf",
"prompt": "Complete the summary below. Click a blank to select the corresponding word(s) for it.\\nThere are more words than spaces so you will not use them all. You may use any of the words more than once.",
"solutions": [
{
"id": "8",
"solution": "smartphones"
},
{
"id": "9",
"solution": "artificial intelligence"
},
{
"id": "10",
"solution": "5G technology"
},
{
"id": "11",
"solution": "virtual reality"
},
{
"id": "12",
"solution": "cybersecurity"
},
{
"id": "13",
"solution": "telemedicine"
}
],
"text": "\n\nTechnology has become an integral part of our daily lives, from {{8}} to smart homes. The rise of {{9}} (AI) and the Internet of Things (IoT) are two major trends that are revolutionizing the way we live and work. {{10}} is also gaining popularity, enabling advancements in areas like {{11}} and self-driving cars. Cloud computing, virtual and augmented reality (VR and AR), and blockchain technology are also on the rise, impacting industries such as finance, education, and healthcare. Social media has changed the way we communicate and raised concerns about privacy and mental health. With the increase in data breaches and cyber attacks, {{12}} has become a growing concern. {{13}} and online learning have made healthcare and education more accessible and efficient. However, there are concerns about the impact of technology on the job market, leading to discussions about the need for reskilling and upskilling. As technology continues to advance, it is crucial to understand its impact and consequences on our society.",
"type": "fillBlanks",
"words": [
"speaking",
"5G technology",
"telemedicine",
"virtual reality",
"antechamber",
"smartphones",
"kitsch",
"devilish",
"parent",
"artificial intelligence",
"cybersecurity"
]
}
],
"text": {
"content": "In today's society, technology has become an integral part of our daily lives. From smartphones to smart homes, we are constantly surrounded by the latest and most advanced technological devices. As technology continues to evolve and improve, it is important to understand the current trends and how they are shaping our world. One of the biggest technology trends in recent years is the rise of artificial intelligence (AI). AI is the simulation of human intelligence processes by machines, particularly computer systems. This technology has been around for decades, but with the advancement of computing power and big data, AI has become more sophisticated and prevalent. From virtual personal assistants like Siri and Alexa to self-driving cars, AI is revolutionizing the way we live and work. Another trend that has gained widespread popularity is the Internet of Things (IoT). This refers to the interconnection of everyday objects via the internet, allowing them to send and receive data. Smart homes, wearable devices, and even smart cities are all examples of IoT. With IoT, our devices and appliances can communicate with each other, making our lives more convenient and efficient. The use of 5G technology is also on the rise. 5G is the fifth generation of wireless technology, offering faster speeds and lower latency than its predecessors. With 5G, we can expect to see advancements in areas like virtual reality, self-driving cars, and remote surgery. It will also enable the development of smart cities and the Internet of Things to reach its full potential. Cloud computing is another trend that has been steadily growing. Cloud computing involves the delivery of computing services over the internet, such as storage, servers, and databases. This allows for easy access to data and applications from anywhere, at any time. Many businesses and individuals are utilizing cloud computing to streamline their operations and increase efficiency. Virtual and augmented reality (VR and AR) are becoming more prevalent in various industries, from gaming and entertainment to healthcare and education. VR immerses the user in a simulated environment, while AR overlays digital information onto the real world. These technologies have the potential to change the way we learn, work, and entertain ourselves. Blockchain technology is also gaining traction, particularly in the financial sector. Blockchain is a decentralized digital ledger that records transactions across a network of computers. It allows for secure and transparent transactions without the need for intermediaries. This technology has the potential to disrupt traditional banking and financial systems. Social media has been a dominant force in the technology world for some time now, and it continues to evolve and shape our society. With the rise of platforms like Facebook, Twitter, and Instagram, we are more connected than ever before. Social media has changed the way we communicate, share information, and even do business. It has also raised concerns about privacy and the impact of social media on mental health. Cybersecurity is a growing concern as technology becomes more integrated into our lives. With the increase in data breaches and cyber attacks, the need for strong cybersecurity measures is greater than ever. Companies and individuals are investing in better security protocols to protect their sensitive information. The healthcare industry is also experiencing technological advancements with the introduction of telemedicine. This allows patients to receive medical care remotely, without having to visit a physical doctor's office. Telemedicine has become increasingly popular, especially during the COVID-19 pandemic, as it allows for safe and convenient access to healthcare. In the education sector, technology has brought about significant changes as well. Online learning platforms and digital tools have made education more accessible and efficient. With the rise of e-learning, students can access education from anywhere in the world and at their own pace. As technology continues to advance, concerns about its impact on the job market have also arisen. Automation and AI are replacing human workers in many industries, leading to job loss and shifts in the workforce. This trend has sparked discussions about the need for reskilling and upskilling to adapt to the changing job market. In conclusion, the world is constantly evolving and adapting to the latest technology trends. From AI and IoT to 5G and blockchain, these advancements are shaping the way we live, work, and interact with each other. As society continues to embrace and integrate technology into our daily lives, it is crucial to understand its impact and potential consequences. Whether it be in the fields of healthcare, education, or finance, technology is undoubtedly transforming the world as we know it.",
"title": "Modern Technology Trends"
}
},
{
"exercises": [
{
"id": "f2daa91a-3e92-4c07-aefd-719bcf22bac7",
"prompt": "Do the following statements agree with the information given in the Reading Passage?",
"questions": [
{
"id": "14",
"prompt": "Yoga and meditation have been gaining popularity in recent years.",
"solution": "true"
},
{
"id": "15",
"prompt": "Yoga and meditation originated in ancient India.",
"solution": "true"
},
{
"id": "16",
"prompt": "Yoga is a system that combines physical postures, breathing techniques, and meditation.",
"solution": "true"
},
{
"id": "17",
"prompt": "Meditation involves training the mind to achieve a state of inner peace and relaxation.",
"solution": "true"
},
{
"id": "18",
"prompt": "Yoga and meditation can reduce stress and improve mental health.",
"solution": "true"
},
{
"id": "19",
"prompt": "Yoga and meditation can improve physical health.",
"solution": "true"
},
{
"id": "20",
"prompt": "Yoga and meditation are only suitable for people who are physically fit.",
"solution": "false"
}
],
"type": "trueFalse"
},
{
"id": "b500cb69-843d-4430-a544-924c514ea12a",
"maxWords": 3,
"prompt": "Choose no more than three words and/or a number from the passage for each answer.",
"solutions": [
{
"id": "21",
"solution": [
"physical, mental, emotional"
]
},
{
"id": "22",
"solution": [
"ancient India"
]
},
{
"id": "23",
"solution": [
"physical postures, breathing techniques"
]
},
{
"id": "24",
"solution": [
"reduce stress, improve mindfulness"
]
},
{
"id": "25",
"solution": [
"improve, promote relaxation"
]
},
{
"id": "26",
"solution": [
"anyone, all ages and backgrounds"
]
}
],
"text": "What are the three main benefits of yoga and meditation?{{21}}\\nWhere did yoga originate?{{22}}\\nWhat are the two components of yoga?{{23}}\\nHow do yoga and meditation improve mental health?{{24}}\\nWhat is the impact of yoga and meditation on sleep quality?{{25}}\\nWho can practice yoga and meditation?{{26}}\\n",
"type": "writeBlanks"
}
],
"text": {
"content": "Yoga and meditation have been gaining popularity in recent years as more and more people recognize the physical, mental, and emotional benefits of these ancient practices. Originating in ancient India, yoga is a holistic system that combines physical postures, breathing techniques, and meditation to promote overall well-being. Similarly, meditation is a mental practice that involves training the mind to achieve a state of inner peace and relaxation. One of the main benefits of yoga and meditation is their ability to reduce stress and improve mental health. In today's fast-paced world, stress has become a common problem for many people, leading to various physical and mental health issues. However, studies have shown that practicing yoga and meditation can significantly reduce stress levels and improve overall mental health. This is because these practices focus on deep breathing and mindfulness, which can help individuals to calm their minds and relax their bodies. As a result, many people who regularly practice yoga and meditation report feeling more peaceful, centered, and less stressed in their daily lives. Furthermore, yoga and meditation have been shown to have a positive impact on physical health. The physical postures and movements in yoga help to improve flexibility, strength, and balance. These postures also work to stretch and strengthen different muscles in the body, which can alleviate tension and prevent injuries. Additionally, the controlled breathing in yoga helps to increase oxygen flow throughout the body, which can improve cardiovascular health. As for meditation, studies have shown that it can lower blood pressure and reduce the risk of heart disease. These physical benefits make yoga and meditation an excellent form of exercise for people of all ages and fitness levels. Apart from the physical and mental benefits, yoga and meditation also have a positive impact on emotional well-being. The practice of mindfulness in these practices helps individuals to become more aware of their thoughts and emotions, allowing them to better manage and process them. This can result in improved emotional regulation and a greater sense of self-awareness. As a result, individuals who practice yoga and meditation often report feeling more positive, content, and emotionally stable. Another significant benefit of yoga and meditation is their ability to improve overall concentration and focus. In today's digital age, our minds are constantly bombarded with information and distractions, making it challenging to stay focused on tasks. However, regular practice of yoga and meditation can improve concentration and enhance cognitive function. This is because these practices require individuals to focus their minds on their breath, movements, or a specific mantra, helping to train the brain to stay focused for longer periods. Moreover, yoga and meditation have been shown to have a positive impact on sleep quality. Many people struggle with insomnia or other sleep-related issues, which can have a significant impact on their overall health and well-being. However, studies have shown that yoga and meditation can improve sleep quality and help individuals fall asleep faster. This is because these practices promote relaxation and reduce stress, which are common causes of sleep issues. As a result, individuals who practice yoga and meditation often report feeling more rested and rejuvenated after a good night's sleep. In addition to the physical, mental, emotional, and cognitive benefits, yoga and meditation also have a spiritual component. These practices are deeply rooted in ancient Indian spirituality and have been used for centuries to connect individuals with their inner selves and the universe. While the spiritual aspect may not be for everyone, many people find that it adds a deeper level of meaning and purpose to their practice. Furthermore, yoga and meditation are accessible to people of all ages and backgrounds. Whether you are young or old, fit or not, religious or not, yoga and meditation can be practiced by anyone. There are many different styles and forms of yoga and meditation, allowing individuals to choose the practice that best suits their needs and preferences. This inclusivity is what makes yoga and meditation such powerful and universal practices. In conclusion, the benefits of yoga and meditation are numerous and far-reaching. From reducing stress and improving mental health to promoting physical strength and emotional well-being, these ancient practices offer a holistic approach to overall health and wellness. Whether you are looking to improve your physical fitness, manage stress, or connect with your inner self, yoga and meditation are powerful tools that can help you achieve these goals. So why not give it a try and experience the transformative power of yoga and meditation for yourself?",
"title": "The Benefits of Yoga and Meditation"
}
},
{
"exercises": [
{
"allowRepetition": True,
"id": "1035c153-d38a-4f27-a14e-0ce63184ff82",
"prompt": "Complete the summary below. Click a blank to select the corresponding word(s) for it.\\nThere are more words than spaces so you will not use them all. You may use any of the words more than once.",
"solutions": [
{
"id": "27",
"solution": "Cultural diversity"
},
{
"id": "28",
"solution": "Variety"
},
{
"id": "29",
"solution": "Multicultural"
},
{
"id": "30",
"solution": "Tolerance"
},
{
"id": "31",
"solution": "Unity"
},
{
"id": "32",
"solution": "Challenges"
},
{
"id": "33",
"solution": "Celebrated"
}
],
"text": "\n\n{{27}} refers to the {{28}} of cultures, traditions, beliefs, and lifestyles that exist within a society. In today's interconnected world, the movement of people, goods, and ideas has led to a more diverse and {{29}} society. The exchange of ideas and knowledge, {{30}} and understanding, and promoting peace and {{31}} are some of the benefits of cultural diversity. However, it also poses {{32}} such as potential clashes and the marginalization of certain groups. To address these challenges, it is important for societies to promote cultural competency and sensitivity, as well as for individuals to embrace diversity and participate in cultural events. Overall, cultural diversity is a crucial aspect of our global society that needs to be preserved and {{33}}.",
"type": "fillBlanks",
"words": [
"Tolerance",
"Cultural diversity",
"penny",
"Multicultural",
"shrill",
"Celebrated",
"Variety",
"query",
"Challenges",
"wont",
"Unity",
"chemical"
]
},
{
"questions": [
{
"id": "34",
"options": [
{
"id": "A",
"text": "The variety of cultures, traditions, beliefs, and lifestyles within a society"
},
{
"id": "B",
"text": "The number of countries in the world"
},
{
"id": "C",
"text": "The different types of technology used in different cultures"
},
{
"id": "D",
"text": "The number of languages spoken in a society"
}
],
"prompt": "What is the main definition of cultural diversity?",
"solution": "A",
"variant": "text"
},
{
"id": "35",
"options": [
{
"id": "A",
"text": "By making it easier for people to travel"
},
{
"id": "B",
"text": "By increasing the number of countries in the world"
},
{
"id": "C",
"text": "By creating more jobs for people from different cultures"
},
{
"id": "D",
"text": "By promoting a single global culture"
}
],
"prompt": "How has technology contributed to an increase in cultural diversity?",
"solution": "A",
"variant": "text"
},
{
"id": "36",
"options": [
{
"id": "A",
"text": "Increased economic opportunities"
},
{
"id": "B",
"text": "Higher levels of education"
},
{
"id": "C",
"text": "Improved transportation systems"
},
{
"id": "D",
"text": "The exchange of ideas and knowledge"
}
],
"prompt": "What is one of the key benefits of cultural diversity?",
"solution": "D",
"variant": "text"
},
{
"id": "37",
"options": [
{
"id": "A",
"text": "By forcing people to conform to a single culture"
},
{
"id": "B",
"text": "By exposing people to different perspectives and experiences"
},
{
"id": "C",
"text": "By creating a homogenous society"
},
{
"id": "D",
"text": "By limiting the movement of people between countries"
}
],
"prompt": "How does cultural diversity promote tolerance and understanding?",
"solution": "B",
"variant": "text"
},
{
"id": "38",
"options": [
{
"id": "A",
"text": "Increased discrimination"
},
{
"id": "B",
"text": "A decline in technological advancements"
},
{
"id": "C",
"text": "A decrease in the number of countries"
},
{
"id": "D",
"text": "A lack of cultural exchange"
}
],
"prompt": "What is one challenge posed by cultural diversity?",
"solution": "A",
"variant": "text"
},
{
"id": "39",
"options": [
{
"id": "A",
"text": "By promoting a single global culture"
},
{
"id": "B",
"text": "By creating barriers between different groups"
},
{
"id": "C",
"text": "By promoting cultural competency and sensitivity"
},
{
"id": "D",
"text": "By limiting the number of countries in the world"
}
],
"prompt": "What is one way that societies can address the challenges of cultural diversity?",
"solution": "C",
"variant": "text"
},
{
"id": "40",
"options": [
{
"id": "A",
"text": "To ignore cultural differences"
},
{
"id": "B",
"text": "To actively participate in cultural events and activities"
},
{
"id": "C",
"text": "To only embrace their own culture"
},
{
"id": "D",
"text": "To avoid learning about other cultures"
}
],
"prompt": "What is the responsibility of individuals in promoting and preserving cultural diversity?",
"solution": "B",
"variant": "text"
}
]
}
],
"text": {
"content": "Cultural diversity is a term that is often used in today's world, but what does it really mean? Simply put, cultural diversity refers to the variety of cultures, traditions, beliefs, and lifestyles that exist within a society. It is a reflection of the different backgrounds, experiences, and identities of individuals and groups. In this IELTS Reading Passage, we will explore the concept of cultural diversity and its significance in our global society. The world we live in today is more interconnected and interdependent than ever before. With the advancements in technology, transportation, and communication, people from different parts of the world can easily connect and interact with one another. This has led to an increase in the movement of people, goods, and ideas, resulting in a more diverse and multicultural society. In fact, it is estimated that over 190 countries exist in the world, each with its unique culture and traditions. One of the key benefits of cultural diversity is the exchange of ideas and knowledge. When people from different backgrounds come together, they bring with them their unique perspectives and experiences. This leads to a rich exchange of ideas, which can result in the development of new innovations and solutions to various problems. For example, the fusion of different cuisines has led to the creation of new and delicious dishes, and the blending of different musical styles has given birth to new genres of music. Moreover, cultural diversity also promotes tolerance and understanding among individuals and groups. When people are exposed to different cultures, they learn to appreciate and respect the differences that exist. This, in turn, leads to a more inclusive and harmonious society, where people from diverse backgrounds can coexist peacefully. In a world that is plagued by conflicts and discrimination, cultural diversity plays a crucial role in promoting peace and unity. However, despite its numerous benefits, cultural diversity also poses some challenges. One of the main challenges is the potential for cultural clashes. As individuals from different cultures interact, conflicts can arise due to differences in values, beliefs, and customs. This can lead to misunderstandings and even discrimination. For instance, a person from a collectivist culture may struggle to understand the individualistic values of someone from a Western culture. Furthermore, cultural diversity can also lead to the marginalization of certain groups within a society. In some cases, minority cultures may face discrimination and exclusion, which can result in social and economic disadvantages. This is often seen in the case of migrant communities, where they may struggle to fully integrate into the host society due to cultural barriers. To address these challenges, it is important for societies to promote cultural competency and sensitivity. This means educating individuals about different cultures and encouraging them to embrace diversity. It also involves creating policies and programs that promote inclusivity and equality for all groups within a society. For example, many countries have implemented diversity training programs in schools and workplaces to promote understanding and respect for different cultures. In addition, governments play a crucial role in promoting and preserving cultural diversity. They can do this by protecting the cultural heritage of different groups and promoting cultural events and festivals. This not only helps in preserving the unique identities of different cultures but also promotes cultural exchange and understanding. On an individual level, there are also steps that we can take to embrace cultural diversity. This includes being open-minded and respectful towards different cultures, being willing to learn about other cultures, and actively participating in cultural events and activities. By doing so, we can break down barriers and promote a more inclusive and harmonious society. In conclusion, cultural diversity is a key aspect of our global society. It brings numerous benefits such as the exchange of ideas and promoting tolerance, but it also poses challenges that need to be addressed. As individuals and societies, it is our responsibility to promote and preserve cultural diversity and create a world where everyone is embraced and valued for their unique identities and backgrounds. By doing so, we can create a more peaceful and prosperous world for all.",
"title": "Cultural Diversity: A Key Aspect of Our Global Society"
}
}
]
}
def getSpeakingTemplate():
return {
"exercises": [
{
"id": str(uuid.uuid4()),
"prompts": [],
"text": "text",
"title": "topic",
"video_url": "sp1_video_url",
"video_path": "sp1_video_path",
"type": "speaking"
},
{
"id": str(uuid.uuid4()),
"prompts": ["prompts"],
"text": "text",
"title": "topic",
"video_url": "sp2_video_url",
"video_path": "sp2_video_path",
"type": "speaking"
},
{
"id": str(uuid.uuid4()),
"prompts": ["questions"],
"text": "Listen carefully and respond.",
"title": "topic",
"type": "interactiveSpeaking"
}
],
"isDiagnostic": False,
"minTimer": MinTimers.SPEAKING_MIN_TIMER_DEFAULT,
"module": "speaking"
}
def getSpeakingPostTemplate():
return {
"exercises": [
{
"question": "What is the most impactful book you have ever read and how has it influenced your perspective on life? Please share specific examples from the book that resonated with you on a personal level.",
"topic": "Books"
},
{
"prompts": [
"Where did you go?",
"What did you do there?",
"Why was it a memorable experience for you?"
],
"question": "Tell me about a memorable travel experience you have had.",
"topic": "Travel"
},
{
"questions": [
"In what ways has technology improved our lives?",
"What are some potential negative effects of technology on society?",
"How can we strike a balance between the use of technology and maintaining healthy relationships?"
],
"topic": "Technology and Society"
}
]
}
def getWritingTemplate():
return {
"exercises": [
{
"id": str(uuid.uuid4()),
"prefix": "You should spend about 20 minutes on this task.",
"prompt": "",
"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": "",
"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": False,
"minTimer": MinTimers.WRITING_MIN_TIMER_DEFAULT,
"module": "writing",
"type": "general"
}
def getWritingPostSample():
return {
"exercises": [
"You recently attended a friend's wedding and were impressed by their wedding planner. Write a letter to your friend, advising them on the best wedding planner for their upcoming wedding. In your letter, include information about the planner's services, pricing, and any personal experiences you had with them. Provide your friend with recommendations and tips on how to make the most out of their wedding planning experience.",
"To what extent do you agree or disagree with the statement that technology has had a positive impact on modern society? In your response, critically examine the opposing perspectives on this issue, considering both the benefits and drawbacks of technological advancements. Support your arguments with relevant examples and evidence, and conclude with your own stance on the matter."
]
}
def get_question_tips(question: str, answer: str, correct_answer: str, context: str = None):
messages = [
{
"role": "user",
"content": "You are a IELTS exam program that analyzes incorrect answers to questions and gives tips to "
"help students understand why it was a wrong answer and gives helpful insight for the future. "
"The tip should refer to the context and question.",
}
]
if not (context is None or context == ""):
messages.append({
"role": "user",
"content": f"This is the context for the question: {context}",
})
messages.extend([
{
"role": "user",
"content": f"This is the question: {question}",
},
{
"role": "user",
"content": f"This is the answer: {answer}",
},
{
"role": "user",
"content": f"This is the correct answer: {correct_answer}",
}
])
return messages