import React, { useRef, useState, useEffect } from "react"; import { ArrowDown, Check, BookOpen, AlertTriangle, Zap } from "lucide-react"; import EvidenceHunterWidget, { type EvidenceExercise, } from "../../../components/lessons/EvidenceHunterWidget"; import { PracticeFromDataset } from "../../../components/lessons/LessonShell"; import { RHETORICAL_EASY, RHETORICAL_MEDIUM, } from "../../../data/rw/rhetorical-synthesis"; interface LessonProps { onFinish?: () => void; } const EVIDENCE_EXERCISES: EvidenceExercise[] = [ { question: "Goal: Support the claim that urban trees improve air quality. Which note most directly accomplishes this goal?", passage: [ "Urban trees provide shade, reducing heat absorption by buildings and roads.", "A single mature tree absorbs up to 48 pounds of CO\u2082 per year and filters particulate matter from the air.", "Tree-lined streets have been linked to higher property values in multiple U.S. cities.", "Urban tree canopies reduce storm water runoff by intercepting rainfall before it reaches drains.", "Studies show that access to green spaces reduces stress and improves mental health outcomes.", ], evidenceIndex: 1, explanation: "Note 2 is the only one that directly addresses AIR QUALITY — specifically CO\u2082 absorption and filtering of particulate matter. Notes 1, 3, 4, and 5 address heat, property values, water, and mental health respectively. The goal specifies air quality, so only note 2 directly accomplishes it. This mirrors how SAT synthesis questions work: identify the goal, then find the note that MATCHES it.", }, { question: "Goal: Emphasize the economic cost of food waste. Which sentence best accomplishes this goal using the notes below?", passage: [ "Approximately one-third of all food produced globally is wasted each year.", "Food waste occurs at every stage: production, processing, retail, and consumption.", "In the United States alone, food waste costs the economy an estimated $218 billion annually.", "Landfill decomposition of food waste produces methane, a potent greenhouse gas.", "Reducing household food waste by 50% could save the average American family approximately $1,500 per year.", ], evidenceIndex: 2, explanation: "Sentence 3 directly addresses the economic cost of food waste with a specific figure ($218 billion). The goal specifies ECONOMIC COST, not scale (sentence 1), process (sentence 2), environmental impact (sentence 4), or household savings (sentence 5). Sentence 5 mentions savings but focuses on consumers — sentence 3 is the broadest economic cost figure and best accomplishes the goal.", }, { question: "Goal: Contrast how A. cerana and A. mellifera differ in learning speed. Which sentence best accomplishes this goal?", passage: [ "Biologist Keiko Tanaka studied two bee species in a controlled laboratory setting.", "The study measured how quickly each species associated a scent with a sugar reward.", "A. cerana reached the learning criterion after an average of 8 trials.", "A. mellifera required an average of 12 trials to reach the same criterion.", "Tanaka hypothesized that differences in foraging environments may explain the variation.", ], evidenceIndex: 2, explanation: 'To contrast the two species\' learning speeds, the answer must include BOTH data points and explicitly compare them. Sentence 3 alone only gives A. cerana\'s data. The ideal answer would use sentences 3 and 4 together: "8 trials vs. 12 trials." But if choosing a single sentence that begins the contrast, sentence 3 establishes A. cerana\'s faster rate (8 < 12). On the SAT, the correct synthesis choice typically combines both relevant notes into one sentence — watch for answer choices that include "whereas," "while," or "compared to."', }, ]; const EBRWExpressionIdeasLesson: React.FC = ({ onFinish }) => { const [activeSection, setActiveSection] = useState(0); const sectionsRef = useRef<(HTMLElement | null)[]>([]); useEffect(() => { const observers: IntersectionObserver[] = []; sectionsRef.current.forEach((el, idx) => { if (!el) return; const obs = new IntersectionObserver( ([entry]) => { if (entry.isIntersecting) setActiveSection(idx); }, { threshold: 0.3 }, ); obs.observe(el); observers.push(obs); }); return () => observers.forEach((o) => o.disconnect()); }, []); const scrollToSection = (i: number) => { setActiveSection(i); sectionsRef.current[i]?.scrollIntoView({ behavior: "smooth" }); }; const SectionMarker = ({ index, title, icon: Icon, }: { index: number; title: string; icon: React.ElementType; }) => { const isActive = activeSection === index; const isPast = activeSection > index; return ( ); }; return (
{/* Section 0: Synthesis & Goals */}
{ sectionsRef.current[0] = el; }} className="min-h-screen flex flex-col justify-center mb-24 pt-20 lg:pt-0" >
Expression of Ideas

Synthesis & Goals

You are given student notes and a stated goal. Choose the sentence that uses the most relevant notes to accomplish exactly that goal — nothing more, nothing less.

{/* Rule Grid */}

Four Rules for Synthesis Questions

{[ { title: "Read the Goal First", body: "Always read the student's goal BEFORE the notes. The goal tells you what the correct sentence must accomplish.", }, { title: "Match All Note Bullets", body: "The correct answer uses only information from the provided notes — no outside knowledge, no unsupported claims.", }, { title: "Goal-Relevant Details Only", body: "If the goal is 'to emphasize the benefit,' an answer mentioning cost is wrong even if the cost data exists in the notes.", }, { title: "Avoid Unsupported Additions", body: "If an answer adds a causal claim ('because of X') not supported by the notes, it's wrong.", }, ].map((rule, i) => (

{rule.title}

{rule.body}

))}
{/* Static annotation visual */}

Goal vs. Data: Worked Example

Notes bullet:

"Average temperature drop: 1.5°C in areas with green roofs"

Goal: Emphasize the cooling benefit

Use: "Neighborhoods with cool roofs are up to 1.5°C cooler."

Wrong answer:

"Cool roofs are cheaper than conventional roofs" — not supported by the temperature note, and mentions cost (irrelevant to goal).

{/* Trap callout */}

Synthesis Trap

An answer that uses data from the notes but addresses the WRONG goal. Always check that your answer accomplishes what the student asked — not just that it mentions the right topic.

{/* Golden Rule */}

Golden Rule

Goal → Data match. The correct sentence must (1) accomplish the stated goal, (2) use only note data, and (3) not add unsupported claims.

{/* Section 1: Evidence Hunter */}
{ sectionsRef.current[1] = el; }} className="min-h-screen flex flex-col justify-center mb-24" >

Evidence Hunter

Each passage is a set of student notes. Read the stated goal, then select the sentence that best accomplishes it. Reveal the explanation to check your reasoning.

{/* Section 2: Practice Quiz */}
{ sectionsRef.current[2] = el; }} className="min-h-screen flex flex-col justify-center mb-24" >

Practice Quiz

{RHETORICAL_EASY.slice(0, 2).map((q) => ( ))} {RHETORICAL_MEDIUM.slice(0, 1).map((q) => ( ))}
); }; export default EBRWExpressionIdeasLesson;