- { taskPrompt &&
{taskPrompt}
}
+ { taskPrompt &&
{taskPrompt}
}
+
}
placeholder={
}
ErrorBoundary={ LexicalErrorBoundary }
diff --git a/frontend/src/editor/index.tsx b/frontend/src/editor/index.tsx
index f7272968..c1619e06 100644
--- a/frontend/src/editor/index.tsx
+++ b/frontend/src/editor/index.tsx
@@ -150,44 +150,38 @@ const studyPageNames = [
const SURVEY_URLS = {
consentForm: 'https://calvin.co1.qualtrics.com/jfe/form/SV_3adI70Zxk7e2ueW',
preStudy: 'https://calvin.co1.qualtrics.com/jfe/form/SV_eM6R5Yw7nnJ3jh4',
- Completion: 'https://calvin.co1.qualtrics.com/jfe/form/SV_6Vuc9vgqMuEqzVY',
- Question: 'https://calvin.co1.qualtrics.com/jfe/form/SV_7X8tAiech6zP79A',
- RMove: 'https://calvin.co1.qualtrics.com/jfe/form/SV_1M8MN5b0H9pfYsm',
+ postTask: 'https://calvin.co1.qualtrics.com/jfe/form/SV_8wPtqNx6ZjL2HJQ',
postStudy: 'https://calvin.co1.qualtrics.com/jfe/form/SV_79DIQlYz4SJCwnk'
};
const taskConfigs = {
'1': {
- condition: 'Completion',
- taskPrompt: 'Task 1: Should companies adopt a four-day work week (working Monday through Thursday) instead of the traditional five-day schedule? Consider impacts on productivity, employee well-being, and business operations.',
- },
+ taskPrompt:`The marketing director of RetailMax stated: 'Shifting our entire advertising budget to social media influencer partnerships will triple our sales among consumers aged 18-34. Influencer marketing generates 6 times higher engagement rates than traditional advertising. Young consumers trust influencer recommendations more than celebrity endorsements or TV commercials. This strategy will establish our brand as the preferred choice for the next generation of shoppers.'
+
+ Write a response in which you examine the stated and/or unstated assumptions of the argument. Be sure to explain how the argument depends on the assumptions and what the implications are if the assumptions prove unwarranted.` },
'2': {
- condition: 'Question',
- taskPrompt: `Task 2: Write a cover letter for the position described. The applicant is a recent college graduate with a major in Environmental Sustainability and a minor in Marketing, with relevant internship experience. Demonstrate how their background aligns with the company’s mission and requirements. [Details are given below in the editor document]
- GreenTech Solutions - Sustainability Coordinator Position
-
- Company Overview:
- GreenTech Solutions is a fast-growing environmental consulting firm that helps businesses reduce their carbon footprint and implement sustainable practices. We work with companies across various industries to develop eco-friendly strategies that benefit both the environment and their bottom line.
-
- Position Requirements:
- - Bachelor's degree in Environmental Science, Sustainability, or related field
- - Strong communication and project management skills
- - Experience with sustainability reporting and environmental assessments
- - Knowledge of marketing principles for promoting green initiatives
- - Ability to work with diverse teams and clients
- - Internship or work experience in environmental or sustainability roles preferred
-
- Job Responsibilities:
- - Assist clients in developing and implementing sustainability plans
- - Conduct environmental impact assessments
- - Create marketing materials to promote sustainable practices
- - Collaborate with cross-functional teams on green initiatives
- - Prepare sustainability reports and presentations for clients
- - Stay current with environmental regulations and industry trends`
+ taskPrompt: `
+ You will write a professional email from the perspective of a fictional job applicant. Write a professional email to the hiring manager expressing your interest in the job position. Please read the following information carefully:
+
+ Your Role: You are Sarah Martinez, writing an email about a job opportunity.
+
+ Sarah's Background:
+ Recently completed an Associate's degree in General Studies
+ Worked 3 years as a shift supervisor at a busy coffee shop chain
+ Experience training new employees and handling customer complaints
+ Volunteered for 2 years at a local food bank, helping with intake and organization
+ Managed scheduling and inventory at the coffee shop
+ Bilingual (English/Spanish)
+ Known for staying calm under pressure and being very reliable
+ Interested in healthcare because she wants to help people in her community
+ Has some basic computer skills from college and work
+
+ Job Opportunity:
+ Administrative Coordinator - Community Health Center
+ We're seeking an organized, detail-oriented Administrative Coordinator to support our busy community health center. Responsibilities include scheduling appointments, maintaining patient records, coordinating between departments, and providing excellent customer service to patients and families. The ideal candidate is a strong communicator who works well in a fast-paced environment and is passionate about helping others. Previous healthcare experience preferred but not required. We value reliability, empathy, and problem-solving skills.`
},
'3': {
- condition: 'RMove',
taskPrompt: `Task 3: After reading these paragraphs, write a summary that explains CRISPR gene editing to your 11th grade biology classmates. Your goal is to help them understand what CRISPR is, how it works, and why it matters, using language and examples they would find clear and engaging.
CRISPR-Cas9 is a revolutionary gene-editing technology that allows scientists to make precise changes to DNA. Originally discovered as part of bacteria's immune system, CRISPR works like molecular scissors that can cut DNA at specific locations and either remove, add, or replace genetic material.
@@ -416,7 +410,7 @@ function Router({
const postTaskNumber = page.replace('study-postTask', '');
const conditionConfig = conditionConfigs[postTaskNumber as keyof typeof conditionConfigs];
const condition = conditionConfig.condition;
- const postTaskSurveyURL = SURVEY_URLS[condition as keyof typeof SURVEY_URLS];
+ const postTaskSurveyURL = SURVEY_URLS.postTask;
return
Thank you for completing Task {postTaskNumber}. Please take a moment to complete a brief survey.
@@ -425,10 +419,10 @@ function Router({
log ({
username: username,
event: `StartPostTask${postTaskNumber}`,
- interaction: `User started post task ${postTaskNumber} survey`
+ interaction: `User started post task ${postTaskNumber} survey with condition ${condition}`
});
}}
- href={`${postTaskSurveyURL}?redirect_url=${redirectURL}&username=${username}`}
+ href={`${postTaskSurveyURL}?redirect_url=${redirectURL}&username=${username}&condition=${condition}`}
className={classes.startButton}
>
Take Survey