# Tiny Stories Dataset for System Prompt Experiments
#
# This dataset contains scenarios where an intervention can influence the outcome between
# positive and negative alternatives. Each example is carefully crafted with these properties:
#
# 1. Format: (context template, intervention text, positive word, negative word)
#    - Context template has {0} placeholder for intervention, {1} for outcome word
#    - Intervention text is what originally appeared in first set of curly braces
#    - Positive and negative words represent alternative outcomes
#
# 2. Design Principles:
#    - The text AFTER the intervention must remain neutral and not bias toward either outcome
#    - Both outcomes should remain plausible depending on intervention changes
#    - Default outcome should be the natural continuation, but alternate outcome
#      should be possible with a modified intervention
#    - Scenarios should be diverse and cover different situations
#
# 3. Common Pitfalls to Avoid:
#    - Post-intervention text that makes one outcome too likely (e.g., "plants grew taller"
#      would make "withered" implausible)
#    - Lack of diversity in scenarios or outcome word pairs
#    - Interventions that cannot plausibly be modified to lead to the alternate outcome
#    - Outcomes that are too extreme or disconnected from the intervention's influence
tiny_stories_dataset = [
    # Emma went to the park on a sunny afternoon. {She saw a friendly dog running without a leash near the playground}. Emma watched carefully as the dog came closer to where she was sitting. After a moment, she felt {safe}. Alt: scared
    (
        "Emma went to the park on a sunny afternoon. {0}. Emma watched carefully as the dog came closer to where she was sitting. After a moment, she felt ",
        "She saw a friendly dog running without a leash near the playground",
        "safe",
        "scared",
    ),
    # Jake was trying to build a tall tower with his blocks. {His little brother came into the room while he was working}. Jake continued stacking the blocks one by one until he was finished. The tower remained {standing}. Alt: collapsed
    (
        "Jake was trying to build a tall tower with his blocks. {0}. Jake continued stacking the blocks one by one until he was finished. The tower remained ",
        "His little brother came into the room while he was working",
        "standing",
        "collapsed",
    ),
    # Lisa found a strange seed in her grandmother's garden. {She decided to plant it in a small pot by her window}. Each day she checked to see if anything had changed. After a week, the seed finally {sprouted}. Alt: rotted
    (
        "Lisa found a strange seed in her grandmother's garden. {0}. Each day she checked to see if anything had changed. After a week, the seed finally ",
        "She decided to plant it in a small pot by her window",
        "sprouted",
        "rotted",
    ),
    # The old boat sat at the edge of the lake for years. {A family of ducks made their home underneath it}. When winter came, the first snow fell gently on the shore. The boat looked {peaceful}. Alt: abandoned
    (
        "The old boat sat at the edge of the lake for years. {0}. When winter came, the first snow fell gently on the shore. The boat looked ",
        "A family of ducks made their home underneath it",
        "peaceful",
        "abandoned",
    ),
    # Sam was solving the hardest puzzle in his collection. {His father walked by and glanced at the table}. Sam worked on it for another hour before placing the final piece. He felt {proud}. Alt: frustrated
    (
        "Sam was solving the hardest puzzle in his collection. {0}. Sam worked on it for another hour before placing the final piece. He felt ",
        "His father walked by and glanced at the table",
        "proud",
        "frustrated",
    ),
    # The thunder rumbled outside Maria's bedroom window. {She pulled her blanket up and listened to the raindrops}. The storm continued through the night with flashes of lightning. By morning, Maria was {rested}. Alt: exhausted
    (
        "The thunder rumbled outside Maria's bedroom window. {0}. The storm continued through the night with flashes of lightning. By morning, Maria was ",
        "She pulled her blanket up and listened to the raindrops",
        "rested",
        "exhausted",
    ),
    # Oliver brought his new toy robot to school. {During recess, he took it out of his backpack}. Several classmates gathered around to see it. By lunchtime, Oliver's robot was {intact}. Alt: broken
    (
        "Oliver brought his new toy robot to school. {0}. Several classmates gathered around to see it. By lunchtime, Oliver's robot was ",
        "During recess, he took it out of his backpack",
        "intact",
        "broken",
    ),
    # Zoe was practicing for the spelling bee. {Her older sister quizzed her on difficult words each evening}. When the big day arrived, Zoe stood on stage with the other contestants. In the final round, she spelled the last word {correctly}. Alt: incorrectly
    (
        "Zoe was practicing for the spelling bee. {0}. When the big day arrived, Zoe stood on stage with the other contestants. In the final round, she spelled the last word ",
        "Her older sister quizzed her on difficult words each evening",
        "correctly",
        "incorrectly",
    ),
    # Ryan was saving money to buy a new bicycle. {His grandparents gave him some extra chores to earn more}. Every week, he counted his savings and checked the price at the store. By the end of summer, he had {enough}. Alt: insufficient
    (
        "Ryan was saving money to buy a new bicycle. {0}. Every week, he counted his savings and checked the price at the store. By the end of summer, he had ",
        "His grandparents gave him some extra chores to earn more",
        "enough",
        "insufficient",
    ),
    # The class was going on a field trip to the museum. {Mr. Johnson counted the students as they boarded the bus}. They drove through the city, looking at tall buildings along the way. When they arrived, everyone was {excited}. Alt: disappointed
    (
        "The class was going on a field trip to the museum. {0}. They drove through the city, looking at tall buildings along the way. When they arrived, everyone was ",
        "Mr. Johnson counted the students as they boarded the bus",
        "excited",
        "disappointed",
    ),
    # Max decided to try a new hiking trail in the mountains. {He checked the weather forecast and packed extra water}. The trail was steep with many rocks along the path. When Max reached the summit, he was {triumphant}. Alt: injured
    (
        "Max decided to try a new hiking trail in the mountains. {0}. The trail was steep with many rocks along the path. When Max reached the summit, he was ",
        "He checked the weather forecast and packed extra water",
        "triumphant",
        "injured",
    ),
    # Sarah was making a birthday cake for her best friend. {She followed the recipe carefully and measured each ingredient}. When Sarah's friend tasted it, they found it {delicious}. Alt: disgusting
    (
        "Sarah was making a birthday cake for her best friend. {0}. When Sarah's friend tasted it, they found it ",
        "She followed the recipe carefully and measured each ingredient",
        "delicious",
        "disgusting",
    ),
    # The Brown family decided to adopt a puppy from the shelter. {They visited several times to play with different dogs before choosing}. They brought the puppy home and showed him around the house. After a week, the family felt {happy}. Alt: overwhelmed
    (
        "The Brown family decided to adopt a puppy from the shelter. {0}. They brought the puppy home and showed him around the house. After a week, the family felt ",
        "They visited several times to play with different dogs before choosing",
        "happy",
        "overwhelmed",
    ),
    # Daniel had to give a presentation in front of the whole school. {He practiced every night for a week and memorized his speech}. When the day came, he walked onto the stage as everyone watched. After his presentation, the audience was {impressed}. Alt: bored
    (
        "Daniel had to give a presentation in front of the whole school. {0}. When the day came, he walked onto the stage as everyone watched. After his presentation, the audience was ",
        "He practiced every night for a week and memorized his speech",
        "impressed",
        "bored",
    ),
    # Mrs. Chen planted tomatoes in her garden this spring. {She built a small fence around the plants and watered them daily}. By August, her garden was {flourishing}. Alt: withered
    (
        "Mrs. Chen planted tomatoes in her garden this spring. {0}. By August, her garden was ",
        "She built a small fence around the plants and watered them daily",
        "flourishing",
        "withered",
    ),
    # The hikers were caught in an unexpected snowstorm. {They quickly set up their emergency shelter and used their satellite phone}. As darkness fell, the temperature continued to drop. By morning, all members of the group were {rescued}. Alt: trapped
    (
        "The hikers were caught in an unexpected snowstorm. {0}. As darkness fell, the temperature continued to drop. By morning, all members of the group were ",
        "They quickly set up their emergency shelter and used their satellite phone",
        "rescued",
        "trapped",
    ),
    # Jordan submitted his artwork to the prestigious youth competition. {He spent months perfecting his technique and chose his best piece}. The judges examined all entries for several days. When the results were announced, Jordan's work was {accepted}. Alt: rejected
    (
        "Jordan submitted his artwork to the prestigious youth competition. {0}. The judges examined all entries for several days. When the results were announced, Jordan's work was ",
        "He spent months perfecting his technique and chose his best piece",
        "accepted",
        "rejected",
    ),
    # The detective had been investigating the neighborhood thefts for weeks. {She interviewed all witnesses and analyzed the security footage carefully}. On Friday, the chief asked for an update on the case. By the end of the month, the mystery was {solved}. Alt: unsolved
    (
        "The detective had been investigating the neighborhood thefts for weeks. {0}. On Friday, the chief asked for an update on the case. By the end of the month, the mystery was ",
        "She interviewed all witnesses and analyzed the security footage carefully",
        "solved",
        "unsolved",
    ),
    # Sophia was on an airplane when turbulence suddenly hit. {She took deep breaths and listened to the pilot's reassuring announcement}. The plane continued to shake for several minutes. Throughout the experience, Sophia remained {calm}. Alt: panicked
    (
        "Sophia was on an airplane when turbulence suddenly hit. {0}. The plane continued to shake for several minutes. Throughout the experience, Sophia remained ",
        "She took deep breaths and listened to the pilot's reassuring announcement",
        "calm",
        "panicked",
    ),
    # Leo had been preparing for his driver's test for months. {He practiced parallel parking every weekend and studied the rulebook thoroughly}. On the test day, the instructor observed him silently as he drove through traffic. At the end, Leo {passed}. Alt: failed
    (
        "Leo had been preparing for his driver's test for months. {0}. On the test day, the instructor observed him silently as he drove through traffic. At the end, Leo ",
        "He practiced parallel parking every weekend and studied the rulebook thoroughly",
        "passed",
        "failed",
    ),
    # Alex was preparing for an important job interview at a leading firm.
    # {He rehearsed his answers in front of a mirror and reviewed his achievements}.
    # After the interview, he felt {confident}. Alt: anxious
    (
        "Alex was preparing for an important job interview at a leading firm. {0}. After the interview, he felt ",
        "He rehearsed his answers in front of a mirror and reviewed his achievements",
        "confident",
        "anxious",
    ),
    # Mia had spent months preparing for her art exhibition at the community center.
    # {She reviewed a mix of critical and supportive feedback from her mentors}.
    # By the end of the evening, she felt {optimistic}. Alt: pessimistic
    (
        "Mia had spent months preparing for her art exhibition at the community center. {0}. By the end of the evening, she felt ",
        "She reviewed a mix of critical and supportive feedback from her mentors",
        "optimistic",
        "pessimistic",
    ),
    # Liam had worked tirelessly on his science project for the school fair.
    # {He waited in the auditorium as the winners were being announced}.
    # When the names were called, he felt {elated}. Alt: dejected
    (
        "Liam had worked tirelessly on his science project for the school fair. {0}. When the names were called, he felt ",
        "He waited in the auditorium as the winners were being announced",
        "elated",
        "dejected",
    ),
    # Noah had planned a challenging day-long hike in the mountains.
    # {He set off at dawn with all his gear and a sense of adventure}.
    # As the journey continued, he felt {energetic}. Alt: lethargic
    (
        "Noah had planned a challenging day-long hike in the mountains. {0}. As the journey continued, he felt ",
        "He set off at dawn with all his gear and a sense of adventure",
        "energetic",
        "lethargic",
    ),
    # Ava was baking a batch of her famous cookies for a family gathering.
    # {She followed the recipe meticulously and ensured each cookie was perfect}.
    # After tasting one, she felt {satisfied}. Alt: dissatisfied
    (
        "Ava was baking a batch of her famous cookies for a family gathering. {0}. After tasting one, she felt ",
        "She followed the recipe meticulously and ensured each cookie was perfect",
        "satisfied",
        "dissatisfied",
    ),
    # Jordan was about to present his new project idea to the team.
    # {He meticulously checked his notes and rehearsed his speech}.
    # After the presentation, he felt {composed}. Alt: flustered
    (
        "Jordan was about to present his new project idea to the team. {0}. After the presentation, he felt ",
        "He meticulously checked his notes and rehearsed his speech",
        "composed",
        "flustered",
    ),
    # Lila was training for a marathon to support a charity event.
    # {She maintained a rigorous schedule and set clear fitness goals}.
    # By the end of the race, she felt {motivated}. Alt: discouraged
    (
        "Lila was training for a marathon to support a charity event. {0}. By the end of the race, she felt ",
        "She maintained a rigorous schedule and set clear fitness goals",
        "motivated",
        "discouraged",
    ),
    # Carlos volunteered at the local community shelter.
    # {He spent the day organizing donations and interacting warmly with residents}.
    # After the activities, he felt {fulfilled}. Alt: empty
    (
        "Carlos volunteered at the local community shelter. {0}. After the activities, he felt ",
        "He spent the day organizing donations and interacting warmly with residents",
        "fulfilled",
        "empty",
    ),
    # Maya attended a vibrant community art workshop.
    # {She engaged with fellow artists and explored new creative techniques}.
    # Later, she felt {inspired}. Alt: disheartened
    (
        "Maya attended a vibrant community art workshop. {0}. Later, she felt ",
        "She engaged with fellow artists and explored new creative techniques",
        "inspired",
        "disheartened",
    ),
    # Ethan decided to enhance the security of his home.
    # {He installed new locks and an advanced alarm system}.
    # Once the upgrades were complete, he felt {secure}. Alt: vulnerable
    (
        "Ethan decided to enhance the security of his home. {0}. Once the upgrades were complete, he felt ",
        "He installed new locks and an advanced alarm system",
        "secure",
        "vulnerable",
    ),
    # It was Christmas Eve, and the family gathered for dinner.
    # {The Christmas tree lights flickered momentarily}.
    # Afterwards, the atmosphere felt {joyful}. Alt: gloomy
    (
        "It was Christmas Eve, and the family gathered for dinner. {0}. Afterwards, the atmosphere felt ",
        "The Christmas tree lights flickered momentarily",
        "joyful",
        "gloomy",
    ),
    # On Halloween night, the neighborhood was buzzing with excitement.
    # {A group of costumed performers unexpectedly entertained passersby}.
    # Later, the mood turned {exhilarated}. Alt: unnerved
    (
        "On Halloween night, the neighborhood was buzzing with excitement. {0}. Later, the mood turned ",
        "A group of costumed performers unexpectedly entertained passersby",
        "exhilarated",
        "unnerved",
    ),
    # At the local bar, {the bartender introduced a new, potent cocktail}.
    # Later that evening, everyone felt {jubilant}. Alt: remorseful
    (
        "At the local bar, {0}. Later that evening, everyone felt ",
        "the bartender introduced a new, potent cocktail",
        "jubilant",
        "remorseful",
    ),
    # During a busy day at the mall, {a shopper accidentally tripped on a dropped bag}.
    # In the end, the outcome was {relieved}. Alt: mortified
    (
        "During a busy day at the mall, {0}. In the end, the outcome was ",
        "a shopper accidentally tripped on a dropped bag",
        "relieved",
        "mortified",
    ),
    # During their first dinner together, {they exchanged stories about their favorite travel memories}.
    # By the end of the evening, the date felt {charmed}. Alt: uneasy
    (
        "During their first dinner together, {0}. By the end of the evening, the date felt ",
        "they exchanged stories about their favorite travel memories",
        "charmed",
        "uneasy",
    ),
    # At the beach volleyball tournament, {their star player made a surprising dive to save a crucial ball}.
    # After the match, the team's spirit was {invigorated}. Alt: deflated
    (
        "At the beach volleyball tournament, {0}. After the match, the team's spirit was ",
        "their star player made a surprising dive to save a crucial ball",
        "invigorated",
        "deflated",
    ),
    # On a mission aboard the starship, {an unexpected asteroid shower was detected on the radar}.
    # Later, the crew's mood turned {hopeful}. Alt: despondent
    (
        "On a mission aboard the starship, {0}. Later, the crew's mood turned ",
        "an unexpected asteroid shower was detected on the radar",
        "hopeful",
        "despondent",
    ),
    # During a perilous journey on the high seas, {the captain discovered an ancient treasure map hidden in the ship's cabin}.
    # As the day ended, the crew felt {exultant}. Alt: crestfallen
    (
        "During a perilous journey on the high seas, {0}. As the day ended, the crew felt ",
        "the captain discovered an ancient treasure map hidden in the ship's cabin",
        "exultant",
        "crestfallen",
    ),
    # On the battlefield, {a sudden message from the command center arrived}.
    # When the dust settled, the soldier was {steadfast}. Alt: shattered
    (
        "On the battlefield, {0}. When the dust settled, the soldier was ",
        "a sudden message from the command center arrived",
        "steadfast",
        "shattered",
    ),
    # At a beautiful outdoor wedding, {the best man delivered an unexpected speech}.
    # By the end of the celebration, the mood was {ecstatic}. Alt: disillusioned
    (
        "At a beautiful outdoor wedding, {0}. By the end of the celebration, the mood was ",
        "the best man delivered an unexpected speech",
        "ecstatic",
        "disillusioned",
    ),
    # At the regional cooking contest, {the chef added an unexpected twist of spices}.
    # After tasting the dish, the judges were {captivated}. Alt: unmoved
    (
        "At the regional cooking contest, {0}. After tasting the dish, the judges were ",
        "the chef added an unexpected twist of spices",
        "captivated",
        "unmoved",
    ),
    # During the long-awaited family reunion, {the uncle shared a surprising family secret}.
    # As the evening progressed, everyone felt {thrilled}. Alt: dismayed
    (
        "During the long-awaited family reunion, {0}. As the evening progressed, everyone felt ",
        "the uncle shared a surprising family secret",
        "thrilled",
        "dismayed",
    ),
    # On a cross-country road trip, {they discovered a scenic route filled with hidden gems}.
    # By the end of the journey, the travelers felt {cheerful}. Alt: somber
    (
        "On a cross-country road trip, {0}. By the end of the journey, the travelers felt ",
        "they discovered a scenic route filled with hidden gems",
        "cheerful",
        "somber",
    ),
    # At the summer garden party, {the host unveiled a stunning floral arrangement}.
    # As the night fell, the atmosphere became {radiant}. Alt: bleak
    (
        "At the summer garden party, {0}. As the night fell, the atmosphere became ",
        "the host unveiled a stunning floral arrangement",
        "radiant",
        "bleak",
    ),
    # In the high school science lab, {the teacher demonstrated a surprising chemical reaction}.
    # When the results were announced, the class felt {amused}. Alt: irritated
    (
        "In the high school science lab, {0}. When the results were announced, the class felt ",
        "the teacher demonstrated a surprising chemical reaction",
        "amused",
        "irritated",
    ),
    # While investigating a puzzling disappearance, {a cryptic note was found hidden behind a painting}.
    # After gathering all the clues, the detective was {intrigued}. Alt: cynical
    (
        "While investigating a puzzling disappearance, {0}. After gathering all the clues, the detective was ",
        "a cryptic note was found hidden behind a painting",
        "intrigued",
        "cynical",
    ),
    # During the championship soccer match, {the star player scored an unexpected goal}.
    # After the final whistle, the fans were {enthusiastic}. Alt: apathetic
    (
        "During the championship soccer match, {0}. After the final whistle, the fans were ",
        "the star player scored an unexpected goal",
        "enthusiastic",
        "apathetic",
    ),
    # At the annual technology conference, {the speaker revealed a breakthrough gadget}.
    # By the end of the keynote, the audience was {innovative}. Alt: archaic
    (
        "At the annual technology conference, {0}. By the end of the keynote, the audience was ",
        "the speaker revealed a breakthrough gadget",
        "innovative",
        "archaic",
    ),
]
