{
 "study": "claude-invisible-characters",
 "description": "Raw Claude outputs captured for the invisible-character census. Published so the null result can be re-scanned by anyone.",
 "license": "CC BY 4.0",
 "generated": "2026-09-03",
 "datasetVersion": "1.1.0",
 "outputs": [
  {
   "file": "haiku/r1-p01-short-factual.txt",
   "model": "haiku",
   "chars": 375,
   "text": "The sky appears blue because water and nitrogen molecules in the atmosphere scatter shorter blue wavelengths of light more effectively than longer red wavelengths, a phenomenon called Rayleigh scattering. This scattered blue light reaches our eyes from all directions, making the entire sky appear blue rather than the black color it would appear if there were no atmosphere."
  },
  {
   "file": "haiku/r1-p02-long-essay.txt",
   "model": "haiku",
   "chars": 4216,
   "text": "The History of the Printing Press and Its Effect on Literacy in Europe\n\nThe invention of the movable type printing press by Johannes Gutenberg around 1440 marked a watershed moment in human history, fundamentally transforming the way information was produced, distributed, and consumed across Europe. Before this revolutionary technology, books were painstakingly handwritten by scribes, a laborious process that made them expensive, rare, and accessible only to the wealthy clergy and nobility. The introduction of mechanical printing technology shattered these barriers and initiated a cascade of social, intellectual, and cultural changes that would reshape European society for centuries to come.\n\nGutenberg's innovation combined several existing technologies—the movable metal type developed in Asia, the wine press mechanism, and oil-based inks—into an integrated system that could rapidly and affordably produce books. Early printed works, such as the famous Gutenberg Bible, demonstrated the remarkable quality and precision that the press could achieve, while the dramatic reduction in production time and cost made books increasingly accessible. Within fifty years of Gutenberg's innovation, printing presses had spread to hundreds of cities across Europe, from Rome to Paris to London, creating an unprecedented network of knowledge distribution.\n\nThe impact on literacy was profound and multifaceted. As books became cheaper and more abundant, demand for reading skills surged among the middle classes and urban populations. Governments and religious institutions began establishing schools to teach literacy, recognizing that an increasingly informed population was economically advantageous and socially desirable. The availability of printed materials created a virtuous cycle: more literate people sought more books, which encouraged more printing, which in turn created greater demand for literacy education. By the end of the sixteenth century, literacy rates in urban areas of northern Europe had tripled compared to pre-printing times.\n\nThe printing press also democratized knowledge in unprecedented ways. Scholars could now access the same authoritative texts, enabling them to build upon each other's work and engage in genuine intellectual discourse. Scientific knowledge could be shared rapidly, with diagrams and measurements reproduced consistently across multiple copies. Religious texts became available to ordinary people, contributing to the Protestant Reformation as reformers like Martin Luther could distribute their ideas and biblical interpretations to the masses through printed pamphlets and books.\n\nFurthermore, the standardization inherent in printing contributed to the development of national languages and identities. Printers had to choose which dialect or language variant to use, and their commercial decisions about which language sold best helped establish linguistic norms. This standardization also facilitated the creation of dictionaries, grammars, and reference works that further solidified and regularized European languages.\n\nThe social consequences extended beyond mere literacy statistics. The printing press created new professions and social classes—printers, publishers, booksellers, and librarians emerged as important figures in urban communities. The ability to produce multiple identical copies of texts supported the development of copyright concepts and intellectual property, laying foundations for modern authorship and attribution.\n\nIn conclusion, Gutenberg's printing press was far more than a technological innovation; it was a catalyst for intellectual liberation and social transformation. By making books abundant and affordable, it broke the monopoly that the Church and aristocracy had held over knowledge for centuries. The resulting expansion of literacy created a more informed populace, facilitated scientific progress, enabled religious and political reform, and ultimately contributed to the emergence of the modern world. The printing press's impact on European literacy fundamentally altered the trajectory of Western civilization, demonstrating how a single technological innovation can reshape society across multiple dimensions."
  },
  {
   "file": "haiku/r1-p03-code.txt",
   "model": "haiku",
   "chars": 818,
   "text": "def merge_sorted_lists(list1, list2):\n    \"\"\"\n    Merges two sorted lists into a single sorted list.\n\n    Args:\n        list1: First sorted list of comparable elements\n        list2: Second sorted list of comparable elements\n\n    Returns:\n        A new sorted list containing all elements from both input lists\n\n    >>> merge_sorted_lists([1, 3, 5], [2, 4, 6])\n    [1, 2, 3, 4, 5, 6]\n\n    >>> merge_sorted_lists([1, 2, 3], [])\n    [1, 2, 3]\n\n    >>> merge_sorted_lists([], [1, 2, 3])\n    [1, 2, 3]\n    \"\"\"\n    merged = []\n    i, j = 0, 0\n\n    while i < len(list1) and j < len(list2):\n        if list1[i] <= list2[j]:\n            merged.append(list1[i])\n            i += 1\n        else:\n            merged.append(list2[j])\n            j += 1\n\n    merged.extend(list1[i:])\n    merged.extend(list2[j:])\n\n    return merged"
  },
  {
   "file": "haiku/r1-p04-list.txt",
   "model": "haiku",
   "chars": 1053,
   "text": "Install programmable thermostats to automatically adjust heating and cooling based on your schedule and preferences.\nSeal air leaks around windows, doors, and other openings to prevent heated or cooled air from escaping.\nSwitch to LED light bulbs throughout your home, which use 75% less energy than incandescent bulbs.\nUse power strips to easily turn off electronics and eliminate phantom power drain from devices on standby.\nImprove insulation in your attic, which is where the majority of heat loss occurs in most homes.\nWash clothes in cold water and air-dry items when possible to reduce energy used by washing machines and dryers.\nUpgrade to Energy Star certified appliances that consume significantly less electricity than standard models.\nUse ceiling fans in summer to create air circulation, reducing reliance on air conditioning.\nInstall window treatments like thermal curtains to provide additional insulation during cold months.\nMaintain your HVAC system with regular filter changes and professional inspections to ensure optimal efficiency."
  },
  {
   "file": "haiku/r1-p05-spanish.txt",
   "model": "haiku",
   "chars": 1427,
   "text": "La fotosíntesis es el proceso biológico mediante el cual las plantas convierten la luz solar en energía química que utilizan para crecer y desarrollarse. Durante este proceso, las plantas absorben dióxido de carbono del aire a través de pequeños poros llamados estomas y extraen agua del suelo mediante sus raíces. Combinando estos ingredientes con la energía del sol, las plantas producen glucosa, que es su alimento, y liberan oxígeno como subproducto.\n\nLa fotosíntesis es absolutamente fundamental para la vida en la Tierra. Sin ella, no existiría el oxígeno que respiramos todos los seres vivos, ni tendríamos la base de la cadena alimentaria que sustenta a los herbívoros y, por extensión, a los carnívoros. Las plantas capturan aproximadamente el 1% de la energía solar que recibe la Tierra, transformándola en materia orgánica que alimenta prácticamente toda la vida del planeta.\n\nAdemás de su importancia para la supervivencia, la fotosíntesis juega un papel crucial en la regulación del dióxido de carbono atmosférico. Las plantas absorben enormes cantidades de CO2, el principal gas de efecto invernadero responsable del cambio climático. Por esta razón, la protección de los bosques y el fomento de la reforestación son estrategias esenciales para combatir el calentamiento global. En última instancia, la fotosíntesis es la razón por la cual nuestro planeta es habitable y por la cual la vida prospera en la Tierra."
  },
  {
   "file": "haiku/r1-p06-japanese.txt",
   "model": "haiku",
   "chars": 66,
   "text": "春の朝日が\n花々を照らしつつ\n新しき生命\n\n夏の夜空に\n無数の星が瞬きて\n静寂包む\n\n秋風そよ風\n落ち葉が舞い散りゆく\n季節は変わる"
  },
  {
   "file": "haiku/r1-p07-table.txt",
   "model": "haiku",
   "chars": 482,
   "text": "| Attribute | Python | JavaScript | Java | Go |\n|-----------|--------|------------|------|-----|\n| Ease of Learning | Very Easy | Easy | Moderate | Moderate |\n| Performance | Slow | Fast | Very Fast | Very Fast |\n| Community Size | Very Large | Very Large | Very Large | Growing |\n| Primary Use | Data Science, Web, Automation | Web, Frontend, Backend | Enterprise, Large Systems | Systems, Concurrent Applications |\n| Compilation | Interpreted | Interpreted | Compiled | Compiled |"
  },
  {
   "file": "haiku/r1-p08-dialogue.txt",
   "model": "haiku",
   "chars": 2393,
   "text": "Librarian: Good afternoon! I see you're looking for primary sources for your project. What topic are you researching?\n\nStudent: Hi! I'm writing about the civil rights movement, and I need to find some actual documents from that time period. I'm not sure where to start.\n\nLibrarian: That's a great topic. Primary sources from that era are invaluable—they give you firsthand accounts and authentic perspectives. Let me show you where to begin. First, we have a wonderful collection of digitized newspaper archives. You can search by date and location to find contemporary articles about civil rights events.\n\nStudent: Really? So I could find newspapers from the 1960s?\n\nLibrarian: Exactly! You can access those through our database subscriptions. We also have access to oral history collections where civil rights activists were interviewed. Those are particularly powerful because you hear their voices and stories directly.\n\nStudent: That sounds amazing. Are there other types of primary sources I should look for?\n\nLibrarian: Definitely. Consider looking for speeches and political documents—many of the famous civil rights speeches are available through the Library of Congress digital collections. You might also find government documents like congressional records, protest posters, and photographs. Letters and diaries can also provide intimate personal perspectives.\n\nStudent: How do I access all of this from home?\n\nLibrarian: Most of our digital resources are available through your student account. I'll write down the URLs for you. For materials not yet digitized, you can request them through our interlibrary loan system. When you're evaluating sources, remember to consider the author's perspective and purpose—that context matters when you're analyzing primary sources.\n\nStudent: This is really helpful. Should I be using only primary sources, or should I combine them with secondary sources?\n\nLibrarian: Good question. Most historical papers benefit from both. Primary sources are the raw evidence, but secondary sources—scholarly articles and books—provide analysis and context that helps you understand what you're reading. Using both together creates a stronger argument.\n\nStudent: I think I'm ready to get started. Thanks for all your help!\n\nLibrarian: You're welcome! Feel free to come back if you need help navigating the databases or if you want feedback on your sources."
  },
  {
   "file": "haiku/r2-p01-short-factual.txt",
   "model": "haiku",
   "chars": 367,
   "text": "Light from the sun contains all colors of the visible spectrum, but blue light has a shorter wavelength that scatters more easily in Earth's atmosphere through a process called Rayleigh scattering. When we look up at the sky, we see predominantly this scattered blue light, while the longer-wavelength red and yellow light passes more directly through the atmosphere."
  },
  {
   "file": "haiku/r2-p02-long-essay.txt",
   "model": "haiku",
   "chars": 4141,
   "text": "The invention of the movable-type printing press by Johannes Gutenberg in the mid-fifteenth century fundamentally transformed European civilization, particularly through its revolutionary impact on literacy rates and the democratization of knowledge. Before Gutenberg's innovation around 1440, books were painstakingly copied by hand in monasteries and scriptoriums, making them extraordinarily expensive, scarce, and accessible only to the wealthy clergy and nobility. The printing press changed this entire paradigm by enabling the rapid, cost-effective production of books in quantities previously unimaginable, setting the stage for one of humanity's most significant intellectual revolutions.\n\nThe immediate effect of the printing press on literacy was substantial and measurable. As printing costs plummeted and book availability soared, more people could afford to purchase texts, creating powerful economic incentives for individuals to learn to read. In the sixteenth century, literacy rates across Europe began climbing noticeably, particularly in urban centers and among merchant classes who needed literacy for commerce and record-keeping. The Protestant Reformation of the early sixteenth century further accelerated this trend, as Martin Luther and other reformers championed the printing of Bibles and religious texts in vernacular languages rather than Latin, directly encouraging common people to learn reading in their native tongues.\n\nThe printing press also catalyzed the standardization of texts and the growth of scientific discourse. Before printing, different hand-copied versions of the same work could contain numerous variations and errors, hampering the development of cumulative scientific knowledge. With printed books came standardized texts that scholars across Europe could reference with confidence, enabling more rigorous comparison and verification of ideas. This standardization facilitated the Scientific Revolution of the seventeenth century, as researchers could build upon previous work with greater accuracy and efficiency.\n\nBeyond science, the printing press enabled the spread of Renaissance humanism by making classical texts from antiquity widely available for the first time in centuries. Greek and Latin manuscripts that had survived only in scattered copies could now be reproduced and distributed throughout Europe, reconnecting Renaissance scholars with the intellectual treasures of ancient Greece and Rome. This availability of classical learning fueled the intellectual dynamism of the period and shaped European thought for centuries.\n\nThe social implications extended far beyond the intellectual elite. The ability to print large quantities of affordable books democratized information in ways that fundamentally challenged existing power structures. The church's monopoly on textual authority weakened as laypeople could now possess and read their own copies of sacred texts. Political dissidents could distribute tracts and manifestos that reached thousands. This decentralization of information control contributed to greater pluralism in European thought and society.\n\nBy the seventeenth and eighteenth centuries, literacy had become increasingly normalized across European populations, particularly in Protestant nations where religious instruction created especially strong incentives to read. The printing press had essentially made mass literacy possible and economically inevitable, transforming reading from a specialist skill into a common competency.\n\nIn conclusion, Gutenberg's printing press was not merely a technological innovation but rather a catalyst for profound social, intellectual, and cultural transformation across Europe. By making books affordable and abundant, it unleashed forces that democratized knowledge, accelerated scientific progress, challenged institutional authority, and fundamentally elevated literacy from a rare privilege to an increasingly common capability. The printing press thus stands as one of history's most consequential inventions, reshaping the intellectual landscape of Europe and laying essential groundwork for the modern world."
  },
  {
   "file": "haiku/r2-p03-code.txt",
   "model": "haiku",
   "chars": 822,
   "text": "def merge_sorted_lists(list1, list2):\n    \"\"\"\n    Merge two sorted lists into a single sorted list.\n\n    Args:\n        list1: First sorted list of comparable elements\n        list2: Second sorted list of comparable elements\n\n    Returns:\n        A single sorted list containing all elements from both input lists\n\n    >>> merge_sorted_lists([1, 3, 5], [2, 4, 6])\n    [1, 2, 3, 4, 5, 6]\n    >>> merge_sorted_lists([1, 2], [3, 4])\n    [1, 2, 3, 4]\n    >>> merge_sorted_lists([], [1, 2, 3])\n    [1, 2, 3]\n    \"\"\"\n    result = []\n    i, j = 0, 0\n\n    while i < len(list1) and j < len(list2):\n        if list1[i] <= list2[j]:\n            result.append(list1[i])\n            i += 1\n        else:\n            result.append(list2[j])\n            j += 1\n\n    result.extend(list1[i:])\n    result.extend(list2[j:])\n\n    return result"
  },
  {
   "file": "haiku/r2-p04-list.txt",
   "model": "haiku",
   "chars": 1058,
   "text": "Install a programmable thermostat to automatically adjust heating and cooling based on your schedule and preferences.\nSeal air leaks around windows and doors with weatherstripping and caulk to prevent heated or cooled air from escaping.\nSwitch to LED light bulbs, which use 75% less energy than incandescent bulbs and last much longer.\nRun dishwashers and washing machines only with full loads to maximize water and energy efficiency.\nInsulate your attic and walls to reduce heat transfer and maintain comfortable indoor temperatures year-round.\nUnplug devices and chargers when not in use, as they consume standby power even when switched off.\nTake shorter showers and install low-flow showerheads to reduce hot water consumption.\nUse ceiling fans to help distribute cool air in summer and warm air in winter, reducing reliance on HVAC systems.\nSet water heater temperature to 120°F (49°C) to balance comfort with energy savings and reduce heat loss.\nInstall solar panels or use solar water heating to reduce dependence on grid electricity for energy needs."
  },
  {
   "file": "haiku/r2-p05-spanish.txt",
   "model": "haiku",
   "chars": 1590,
   "text": "La fotosíntesis es el proceso biológico mediante el cual las plantas convierten la luz solar en energía química que pueden usar para crecer y vivir. Este proceso ocurre principalmente en las hojas, donde la clorofila, un pigmento verde, captura la energía luminosa del sol. Las plantas utilizan esta energía junto con agua absorbida del suelo y dióxido de carbono del aire para producir glucosa, su alimento principal.\n\nLa fotosíntesis es fundamentalmente importante para la vida en la Tierra por varias razones. Primero, es la fuente de energía original para casi todos los organismos vivos; las plantas producen su propio alimento y, a través de la cadena alimentaria, sustentan a todos los animales herbívoros y carnívoros. Sin fotosíntesis, no existiría la mayoría de la vida tal como la conocemos.\n\nSegundo, la fotosíntesis produce oxígeno como subproducto, el gas que respiramos todos los seres vivos. Hace miles de millones de años, la fotosíntesis de las cianobacterias primitivas y las plantas tempranas fue responsable de crear la atmósfera oxigenada que hoy existe, permitiendo la evolución de la vida aeróbica.\n\nTercero, las plantas actúan como sumideros de carbono durante la fotosíntesis, absorbiendo dióxido de carbono de la atmósfera. Esto es crucial en la lucha contra el cambio climático, ya que reduce la concentración de gases de efecto invernadero. La deforestación amenaza directamente este beneficio.\n\nEn conclusión, la fotosíntesis es el proceso biológico más importante del planeta, sustentando toda la vida y manteniendo el equilibrio químico de nuestra atmósfera."
  },
  {
   "file": "haiku/r2-p06-japanese.txt",
   "model": "haiku",
   "chars": 81,
   "text": "春風吹いて\n桜の花びら舞う\n新しき世\n季語：春風\n\n夏の日差しで\n蟬の声響き渡る\n緑の山道\n季語：蝉\n\n冬の夜静か\n月明かりに照らされて\n雪が静かに\n季語：冬の月"
  },
  {
   "file": "haiku/r2-p07-table.txt",
   "model": "haiku",
   "chars": 537,
   "text": "| Attribute | Python | JavaScript | Java | Go |\n|---|---|---|---|---|\n| Syntax | Intuitive and readable | Flexible but inconsistent | Verbose and strict | Concise and clear |\n| Execution Speed | Slow (interpreted) | Fast (JIT compiled) | Very fast (compiled) | Very fast (compiled) |\n| Type System | Dynamic | Dynamic | Static | Static |\n| Learning Curve | Beginner-friendly | Moderate | Steep | Moderate |\n| Primary Use Case | Data science, scripting | Web development, frontend | Enterprise applications | Systems programming, DevOps |"
  },
  {
   "file": "haiku/r2-p08-dialogue.txt",
   "model": "haiku",
   "chars": 2075,
   "text": "Librarian: Good afternoon! I see you're working on a research project. Are you looking for primary sources?\n\nStudent: Yes, actually. I have no idea where to start. What exactly is a primary source, anyway?\n\nLibrarian: Great question. Primary sources are original documents or materials from the time period you're studying—things like letters, diaries, newspapers, photographs, government records, or interviews with people who experienced historical events. They're firsthand accounts rather than someone else's interpretation of history.\n\nStudent: Oh, I see. So like, if I'm researching the Civil War, I could use actual letters written by soldiers?\n\nLibrarian: Exactly! That's a perfect example. Let me show you our databases. We have access to several digital collections. This one here contains millions of digitized historical newspapers, and this one has collections of personal letters and diaries from various time periods.\n\nStudent: This is amazing. But how do I know which sources are actually reliable or relevant to my topic?\n\nLibrarian: Excellent thinking. First, check the source's date and context. Does it directly relate to what you're studying? Second, consider the author's perspective and potential bias. A soldier's letter reveals their personal experience, but it won't tell you the complete military strategy. Third, look for corroboration—can you find other primary sources that support or challenge what you're reading?\n\nStudent: That makes sense. So I shouldn't just pick one source and build my whole paper around it?\n\nLibrarian: Precisely. Use multiple sources to get a fuller picture. Combine primary sources with secondary sources—those are scholarly books and articles that analyze and interpret primary materials. Also, don't be intimidated by unfamiliar language or formats. If you're stuck, ask a librarian. We're here to help you navigate these materials.\n\nStudent: Thank you so much. I feel much more confident now. Can I come back if I have more questions?\n\nLibrarian: Of course! That's what we're here for. Good luck with your research!"
  },
  {
   "file": "haiku/r3-p01-short-factual.txt",
   "model": "haiku",
   "chars": 331,
   "text": "The sky appears blue because shorter wavelengths of blue light are scattered more efficiently by oxygen and nitrogen molecules in the atmosphere through a process called Rayleigh scattering. This scattered blue light reaches our eyes from all directions, making the entire sky appear blue rather than just the direction of the sun."
  },
  {
   "file": "haiku/r3-p02-long-essay.txt",
   "model": "haiku",
   "chars": 4417,
   "text": "The Printing Press: Transforming Europe Through the Power of the Written Word\n\nThe invention of the movable-type printing press by Johannes Gutenberg in the mid-15th century stands as one of history's most consequential innovations, fundamentally restructuring European society and initiating the transition from the medieval world to the modern era. Before Gutenberg's revolutionary creation, books were painstakingly hand-copied by scribes, making them extraordinarily expensive and scarce. This scarcity meant that knowledge was tightly controlled by the Church and wealthy nobility, severely limiting the spread of ideas beyond small educated circles. The printing press shattered these barriers by making books affordable and abundant, democratizing access to information and fundamentally altering the relationship between literacy and power.\n\nGutenberg's press worked by arranging individual metal letters—each letter a small, reusable type—into forms that could be inked and pressed against paper repeatedly. This innovation had immediate and profound effects on European literacy rates. Before the press, literacy was largely confined to clergy, scholars, and the aristocracy, with perhaps only 10-15% of the European population able to read. The availability of printed materials spurred a dramatic increase in literacy as books became cheaper and more abundant. Families who could never afford manuscripts now saw printed primers and religious texts within reach. Schools expanded to serve the growing demand for education. By the end of the 16th century, literacy rates in urban areas had risen to approximately 40-50%, a revolutionary shift in just over a century.\n\nThe cultural and intellectual consequences of increased literacy were equally transformative. The Protestant Reformation, which began just decades after Gutenberg's invention, could not have achieved its revolutionary impact without the printing press. Martin Luther's theses and other religious texts were rapidly reproduced and distributed across Europe, reaching far more people than would have been possible with hand-copied manuscripts. The press enabled the rapid spread of scientific ideas as well, allowing scientists like Copernicus and Galileo to disseminate their findings to a growing community of scholars. The standardization of texts through printing also reduced errors and inconsistencies that plagued manuscripts, allowing knowledge to accumulate more reliably across generations.\n\nThe economic implications were similarly significant. A new industry emerged around printing, creating jobs for printers, typesetters, binders, and distributors. Cities with printing presses became centers of commerce and intellectual activity. This economic vitality attracted scholars, merchants, and craftsmen, creating a virtuous cycle of growth and learning. The standardization of spelling and grammar also accelerated through printing, as printers imposed consistency across multiple copies, slowly creating the modern languages we recognize today.\n\nThe printing press also empowered the rising merchant class and early bourgeoisie to participate in intellectual and political discourse. With access to written information, they could educate themselves and their children without relying on the clergy to interpret the world for them. This growing educated class eventually demanded political representation and rights, contributing to the development of democratic thought and, eventually, the revolutions that would reshape European governance.\n\nThe effect on women's literacy was particularly notable in Protestant regions where families were encouraged to read the Bible at home, leading to increased educational access for women. Though significant gender disparities persisted, the printing press opened new possibilities for female literacy and intellectual participation that had been virtually impossible in the manuscript era.\n\nIn conclusion, Gutenberg's printing press was far more than a technological achievement—it was the catalyst for the transformation of European society. By making information accessible and affordable, it enabled mass literacy, sparked intellectual revolution, democratized knowledge, and ultimately contributed to the emergence of the modern world. The printing press proved that technology, when it serves to distribute information widely, possesses the power to reshape civilization itself."
  },
  {
   "file": "haiku/r3-p03-code.txt",
   "model": "haiku",
   "chars": 813,
   "text": "def merge_sorted_lists(list1, list2):\n    \"\"\"\n    Merge two sorted lists into a single sorted list.\n\n    Args:\n        list1: A sorted list of comparable elements\n        list2: A sorted list of comparable elements\n\n    Returns:\n        A single sorted list containing all elements from both lists\n\n    >>> merge_sorted_lists([1, 3, 5], [2, 4, 6])\n    [1, 2, 3, 4, 5, 6]\n\n    >>> merge_sorted_lists([], [1, 2, 3])\n    [1, 2, 3]\n\n    >>> merge_sorted_lists([10], [5, 15, 20])\n    [5, 10, 15, 20]\n    \"\"\"\n    merged = []\n    i = j = 0\n\n    while i < len(list1) and j < len(list2):\n        if list1[i] <= list2[j]:\n            merged.append(list1[i])\n            i += 1\n        else:\n            merged.append(list2[j])\n            j += 1\n\n    merged.extend(list1[i:])\n    merged.extend(list2[j:])\n\n    return merged"
  },
  {
   "file": "haiku/r3-p04-list.txt",
   "model": "haiku",
   "chars": 981,
   "text": "Install a programmable thermostat to automatically adjust temperature based on your schedule and preferences.\nSeal air leaks around windows, doors, and ducts to prevent conditioned air from escaping your home.\nReplace incandescent bulbs with LED lighting, which uses approximately 75% less energy.\nImprove home insulation in attics, basements, and walls to reduce heating and cooling needs.\nRun full loads in your dishwasher and washing machine rather than partial loads whenever possible.\nUse cold water for laundry and adjust water heater temperature to 120°F to save energy on water heating.\nInstall window treatments like thermal curtains to reduce heat loss in winter and heat gain in summer.\nUnplug devices and chargers when not in use, or use power strips to eliminate phantom power drain.\nMaintain regular HVAC maintenance including filter changes to keep your system running efficiently.\nConsider upgrading to ENERGY STAR certified appliances when replacements are needed."
  },
  {
   "file": "haiku/r3-p05-spanish.txt",
   "model": "haiku",
   "chars": 1609,
   "text": "La fotosíntesis es el proceso biológico mediante el cual las plantas convierten la luz solar en energía química, utilizando dióxido de carbono del aire y agua del suelo para producir glucosa y oxígeno. Este proceso ocurre principalmente en las hojas, específicamente en las estructuras celulares llamadas cloroplastos que contienen un pigmento verde llamado clorofila.\n\nLa importancia de la fotosíntesis es fundamental para la vida en la Tierra. Primero, es la fuente primaria de oxígeno en nuestra atmósfera; prácticamente todo el oxígeno que respiramos es producido por plantas y algas a través de este proceso. Sin la fotosíntesis, no existiría el oxígeno necesario para que los animales, incluidos los humanos, sobrevivamos. Segundo, la fotosíntesis es la base de casi todas las cadenas alimentarias del planeta. Las plantas producen su propio alimento a través de este proceso, y los herbívoros las comen para obtener energía, mientras que los carnívoros dependen de los herbívoros. Sin la fotosíntesis, no habría alimento para la mayoría de los organismos vivos.\n\nAdemás, la fotosíntesis juega un papel crucial en el ciclo del carbono, ayudando a regular los niveles de dióxido de carbono en la atmósfera. Las plantas absorben CO₂ durante la fotosíntesis, lo que ayuda a mitigar el cambio climático. También proporciona los recursos para la mayoría de los combustibles fósiles que utilizamos, ya que estos se formaron a partir de organismos fotosintéticos antiguos. En resumen, la fotosíntesis es esencial para mantener la vida, proporcionar oxígeno, sustentar los ecosistemas y regular el clima global."
  },
  {
   "file": "haiku/r3-p06-japanese.txt",
   "model": "haiku",
   "chars": 62,
   "text": "春の桜の\n花びら舞い落ちて\n新しき世\n\n夏の蝉声が\n高く鳴き渡りて\n暑さ身に沁む\n\n秋の月冴え\n野分吹きし夜の中\n虫の音清し"
  },
  {
   "file": "haiku/r3-p07-table.txt",
   "model": "haiku",
   "chars": 441,
   "text": "| Feature | Python | JavaScript | Java | Go |\n|---------|--------|------------|------|-----|\n| Ease of Learning | Very Easy | Easy | Medium | Easy |\n| Execution Speed | Slow | Medium | Fast | Very Fast |\n| Memory Usage | Medium | Medium | High | Low |\n| Community & Ecosystem | Excellent | Excellent | Excellent | Good |\n| Best Use Cases | Data Science, ML, Scripting | Web Frontend, Node.js | Enterprise, Android | Systems, Cloud Services |"
  },
  {
   "file": "haiku/r3-p08-dialogue.txt",
   "model": "haiku",
   "chars": 3025,
   "text": "Librarian: Hello! I see you're working on a project that requires primary sources. Let me help you understand what those are and how to find them effectively.\n\nStudent: Thanks. Honestly, I'm not entirely sure what primary sources even are. Isn't everything in a book a primary source?\n\nLibrarian: Great question! Primary sources are original documents or artifacts created during the time period you're studying. They might be letters, diaries, government records, newspapers, photographs, or interviews. Secondary sources are books and articles written about these primary sources. Think of it this way: if you were studying the Civil War, a soldier's diary from 1862 is a primary source, but a modern history book about the Civil War is a secondary source.\n\nStudent: Okay, that makes sense. So where do I actually find these primary sources?\n\nLibrarian: That depends on your topic. We have several databases here. The first place to check is our online databases—many are subscription-based, so you can access them through our library portal. Databases like JSTOR and Early English Books Online have extensive collections of historical documents.\n\nStudent: What if what I'm looking for isn't in our databases?\n\nLibrarian: Excellent thinking. Many universities and institutions digitize their archives and make them freely available online. The Library of Congress has an amazing collection. There's also Google Scholar, which lets you search across many libraries. You can also visit local archives—many towns have historical societies with documents about local history.\n\nStudent: How do I evaluate if a primary source is actually reliable?\n\nLibrarian: That's critical. When evaluating primary sources, consider the creator's perspective and potential biases. Who wrote this? When? Why? A newspaper article about an event might reflect the bias of the newspaper's editor. A letter might reveal personal feelings but might not be factually complete. You want to cross-reference your findings with other primary sources from different perspectives.\n\nStudent: This is really helpful. Do you have any recommended databases for my project on environmental policy?\n\nLibrarian: Since you're researching environmental policy, I'd recommend starting with government documents—congressional records, EPA reports, and environmental legislation. These are all available through the Government Documents collection. You might also look for speeches or statements from environmental organizations. And newspaper archives from the time period can be incredibly valuable.\n\nStudent: Should I use only primary sources for my entire project?\n\nLibrarian: No, and in fact, your professor probably wants a mix. Primary sources provide authentic evidence and original perspectives, but they need context. That's where secondary sources come in—they provide analysis and interpretation. A strong paper uses primary sources as evidence and secondary sources to understand the broader context. Let me show you how to access our databases right now."
  },
  {
   "file": "haiku/r4-p01-short-factual.txt",
   "model": "haiku",
   "chars": 395,
   "text": "The sky appears blue because sunlight contains all colors of the spectrum, but blue light has a shorter wavelength that scatters more efficiently when it hits nitrogen and oxygen molecules in the atmosphere—a phenomenon called Rayleigh scattering. When sunlight enters our atmosphere, this scattering of shorter blue wavelengths dominates over other colors, so our eyes perceive the sky as blue."
  },
  {
   "file": "haiku/r4-p02-long-essay.txt",
   "model": "haiku",
   "chars": 2955,
   "text": "The Printing Press and the Transformation of European Literacy\n\nThe invention of the movable-type printing press by Johannes Gutenberg around 1440 stands as one of history's most pivotal technological breakthroughs, fundamentally reshaping the intellectual landscape of Europe. Before this innovation, knowledge existed primarily in handwritten manuscripts, carefully copied by monks and scholars in monasteries and scriptoriums—a laborious process that made books extraordinarily expensive and rare. Only the wealthy, the clergy, and nobility had access to written knowledge, while the vast majority of the European population remained illiterate. The printing press changed everything by enabling the mass production of identical texts at a fraction of the previous cost and effort.\n\nThe impact on literacy rates was dramatic and transformative. As printed books became more affordable and abundant, literacy education gradually extended beyond the privileged classes. The sixteenth and seventeenth centuries witnessed a steady increase in literacy rates across Europe, particularly in urban centers and among the merchant and professional classes. With access to printed books, schooling became more practical and widespread. Children could learn from standardized texts, and teachers could reference the same materials across different schools, creating consistency in education that handwritten manuscripts could never provide.\n\nMoreover, the printing press democratized knowledge in unprecedented ways. Scientific discoveries, religious texts, and philosophical ideas could now reach a much broader audience. Martin Luther's ninety-five theses, for example, spread throughout Europe in mere weeks thanks to printed pamphlets—something that would have taken months or years through hand-copying alone. This rapid dissemination of ideas accelerated intellectual movements including the Renaissance, the Reformation, and the Scientific Revolution.\n\nThe standardization enabled by printing also improved the quality and accuracy of texts. Printers worked to reduce errors and create consistent versions of important works, establishing something approaching scholarly consensus where confusion had previously reigned. This reliability made knowledge more trustworthy and encouraged further study.\n\nBy the eighteenth century, literacy had become relatively common among urban populations and the middle classes throughout Western Europe. The printing press had transformed reading and writing from elite pursuits into tools accessible to ordinary people. This shift created the foundation for modern education systems and democratic societies, where an informed citizenry could participate in civic life. The technology that Gutenberg developed did more than simply copy books faster—it fundamentally altered humanity's relationship with knowledge itself, proving that technological innovation can have profound and lasting effects on human civilization."
  },
  {
   "file": "haiku/r4-p03-code.txt",
   "model": "haiku",
   "chars": 806,
   "text": "def merge_sorted_lists(list1, list2):\n    \"\"\"\n    Merge two sorted lists into one sorted list.\n\n    Args:\n        list1: First sorted list of comparable elements\n        list2: Second sorted list of comparable elements\n\n    Returns:\n        A new sorted list containing all elements from both lists\n\n    >>> merge_sorted_lists([1, 3, 5], [2, 4, 6])\n    [1, 2, 3, 4, 5, 6]\n    >>> merge_sorted_lists([1, 2], [3, 4])\n    [1, 2, 3, 4]\n    >>> merge_sorted_lists([], [1, 2, 3])\n    [1, 2, 3]\n    \"\"\"\n    result = []\n    i = j = 0\n\n    while i < len(list1) and j < len(list2):\n        if list1[i] <= list2[j]:\n            result.append(list1[i])\n            i += 1\n        else:\n            result.append(list2[j])\n            j += 1\n\n    result.extend(list1[i:])\n    result.extend(list2[j:])\n\n    return result"
  },
  {
   "file": "haiku/r4-p04-list.txt",
   "model": "haiku",
   "chars": 1054,
   "text": "Install a programmable thermostat to automatically adjust temperature based on occupancy and time of day.\nUse LED bulbs instead of incandescent or CFL bulbs throughout your home for dramatically lower energy consumption.\nSeal air leaks around windows and doors with weatherstripping or caulk to prevent heated or cooled air from escaping.\nUnplug devices and chargers when not in use or use power strips to eliminate phantom power drain.\nRun dishwasher and laundry machines with full loads only to maximize water and energy efficiency.\nUpgrade to ENERGY STAR certified appliances when replacing old ones to reduce long-term energy consumption.\nImprove insulation in your attic and walls to reduce heating and cooling needs throughout the year.\nUse cold water for laundry when possible instead of hot water, which accounts for significant energy use.\nClean or replace HVAC filters regularly to ensure your heating and cooling system operates at peak efficiency.\nInstall window coverings or shade trees to reduce heat gain in summer and heat loss in winter."
  },
  {
   "file": "haiku/r4-p05-spanish.txt",
   "model": "haiku",
   "chars": 1562,
   "text": "La fotosíntesis es el proceso fundamental mediante el cual las plantas convierten la luz solar en energía química que pueden utilizar para crecer y vivir. Durante este proceso, las plantas absorben dióxido de carbono del aire a través de pequeños poros en sus hojas llamados estomas, y captan agua del suelo a través de sus raíces. La clorofila, el pigmento verde en las plantas, captura la energía de la luz solar y la utiliza para dividir las moléculas de agua en oxígeno e hidrógeno. El hidrógeno se combina con el dióxido de carbono para crear glucosa, un azúcar que la planta utiliza como alimento.\n\nLa fotosíntesis es absolutamente vital para la vida en la Tierra por varias razones cruciales. En primer lugar, es la principal fuente de oxígeno en nuestra atmósfera; prácticamente todo el oxígeno que respiramos fue producido por plantas y algas a través de la fotosíntesis. En segundo lugar, la fotosíntesis es la base de prácticamente todas las cadenas alimenticias en el planeta. Las plantas son productores primarios que convierten la energía solar en materia orgánica que los animales herbívoros comen, y estos a su vez son consumidos por carnívoros. Sin fotosíntesis, no existiría vida animal tal como la conocemos.\n\nAdemás, la fotosíntesis juega un papel crucial en el ciclo del carbono, ayudando a regular los niveles de dióxido de carbono en la atmósfera. Las plantas absorben CO2 durante la fotosíntesis, lo que ayuda a mitigar el cambio climático. Por todas estas razones, la fotosíntesis es uno de los procesos más importantes de la naturaleza."
  },
  {
   "file": "haiku/r4-p06-japanese.txt",
   "model": "haiku",
   "chars": 64,
   "text": "春の朝日が\n柔らかく照らし出す\n新しき芽吹き\n\n夏の夜空に\n無数の星が瞬く\n天の川見ゆ\n\n秋の月涼し\n銀色に輝きて\n虫の声かなし"
  },
  {
   "file": "haiku/r4-p07-table.txt",
   "model": "haiku",
   "chars": 492,
   "text": "| Language | Typing | Learning Curve | Performance | Primary Use Case |\n|----------|--------|-----------------|-------------|-----------------|\n| Python | Dynamic | Beginner-friendly | Moderate | Data science, scripting, web backends |\n| JavaScript | Dynamic | Beginner-friendly | Good | Web browsers, web development, Node.js |\n| Java | Static | Moderate | Excellent | Enterprise applications, large systems |\n| Go | Static | Moderate | Excellent | Concurrent systems, cloud infrastructure |"
  },
  {
   "file": "haiku/r4-p08-dialogue.txt",
   "model": "haiku",
   "chars": 2025,
   "text": "Librarian: Good morning! I see you're working on a research project. How can I help you find what you need?\n\nStudent: Hi, I'm writing a paper on the Civil War and I need primary sources. My teacher mentioned those are different from regular sources, but I'm not entirely sure what that means.\n\nLibrarian: Great question! Primary sources are original documents and materials created during or immediately after the time period you're studying. They can be letters, diaries, newspaper articles from the era, photographs, speeches, government records—anything that's a direct piece of evidence from that period.\n\nStudent: So they're like firsthand accounts?\n\nLibrarian: Exactly! They provide the perspective of people who lived through events. For your Civil War project, we have access to soldier letters, battle reports, Lincoln's speeches, and newspapers from that time. These are much more valuable than a modern history textbook, which is a secondary source analyzing those original materials.\n\nStudent: How do I find them here?\n\nLibrarian: Our library has a dedicated digital archive. Let me show you—we have a subscription to a database called \"Civil War Documents Online\" where you can search by topic, location, and date. We also have physical collections of letters and documents. For newspapers, you can use \"Chronicling America,\" which is free and has digitized newspapers from the 1860s.\n\nStudent: That sounds like a lot of options. Where should I start?\n\nLibrarian: I'd recommend beginning with our database. Search for topics related to your paper—battles you're focusing on, specific people, or themes. Read through what you find and save the most relevant sources. Then come see me if you need help accessing our physical collections or if you have trouble finding materials on a specific topic.\n\nStudent: Thank you so much! This is really helpful. I'll start searching today.\n\nLibrarian: You're welcome! Stop by if you need anything else. Primary source research takes time, so don't hesitate to ask questions."
  },
  {
   "file": "opus/r1-p01-short-factual.txt",
   "model": "opus",
   "chars": 335,
   "text": "Sunlight contains all colors, and when it passes through the atmosphere the shorter blue wavelengths are scattered far more strongly by air molecules than the longer red ones, a process called Rayleigh scattering. Because that scattered blue light reaches your eyes from every direction in the sky, the whole dome overhead looks blue.\n"
  },
  {
   "file": "opus/r1-p02-long-essay.txt",
   "model": "opus",
   "chars": 4196,
   "text": "The Printing Press and the Making of a Reading Europe\n\nWhen Johannes Gutenberg assembled his printing shop in Mainz around 1450, he was not inventing printing so much as recombining existing pieces into a system. Block printing had been practiced in East Asia for centuries, and movable type had been used in Korea and China well before Gutenberg's lifetime. What the Mainz goldsmith contributed was a set of interlocking solutions suited to the European alphabet: a hand mould that could cast identical metal letters cheaply and in quantity, an oil-based ink that clung to metal rather than beading off it, and an adapted screw press that applied even pressure across a full sheet. The Gutenberg Bible of the mid-1450s demonstrated that the result could rival the finest manuscript work.\n\nThe technology spread with startling speed. German printers, dispersed partly by the sack of Mainz in 1462, carried the craft across the Alps and the Rhine. Presses were operating in Rome and Venice by the late 1460s, in Paris by 1470, in Kraków and Westminster by the mid-1470s. By 1500 more than two hundred European towns had presses, and the surviving output of that first half-century, the incunabula, runs to some thirty thousand editions and perhaps ten million copies. A book that had taken a scribe months to copy could now be produced in hundreds of identical impressions. Prices fell accordingly: over the long run the cost of a book dropped by an order of magnitude or more, moving ownership out of the exclusive reach of monasteries, universities, and aristocrats.\n\nCheapness alone did not create readers, but it changed the arithmetic of learning to read. Before print, literacy offered limited returns to most people because there was little affordable to read. Afterward, a merchant could own a ready-reckoner, a farmer an almanac, a household a psalter. Printers, being commercial operators, chased these markets deliberately. Alongside the Latin theology and law that dominated early output, they produced grammars, primers, medical handbooks, travel accounts, chivalric romances, and cheap pamphlets. Vernacular printing grew steadily, and with it the incentive to acquire a skill that no longer required Latin schooling.\n\nThe Reformation supplied the most dramatic demonstration. Luther's writings, composed in vigorous German and issued in short, inexpensive pamphlets, sold in the hundreds of thousands during the 1520s. Reformers made vernacular scripture reading a religious obligation, and Protestant authorities in Germany, Scandinavia, Scotland, and later New England built school systems intended to produce readers. The consequences show in the data: by the eighteenth century, literacy rates in Protestant regions such as Sweden, the Netherlands, and parts of Germany substantially exceeded those in much of Catholic southern Europe, though the causes were tangled with urbanization, wealth, and printing capacity itself. Catholic reformers responded in kind, with catechisms and devotional books of their own, and the Index of Prohibited Books testified to how seriously authorities took the printed word's power.\n\nPrint also altered the character of knowledge. Identical copies meant that scholars in different cities could refer to the same page of the same edition, making error correction cumulative rather than compounding as it had under manual copying. Standardized diagrams and tables transformed anatomy, botany, and astronomy. Spelling and grammar converged as printers imposed house conventions, helping to consolidate national vernaculars out of dialect continua and giving emerging nations a shared textual identity.\n\nThe transformation was neither instant nor uniform. Full literacy remained a minority achievement in most of Europe until the nineteenth century, and rural women in particular lagged far behind urban men. Reading aloud kept print accessible to the illiterate, blurring any clean line between reader and non-reader. Still, the direction was unmistakable. Gutenberg's press did not by itself teach Europe to read, but it built the conditions under which reading became worth learning, and over four centuries that changed almost everything else.\n"
  },
  {
   "file": "opus/r1-p03-code.txt",
   "model": "opus",
   "chars": 1283,
   "text": "```python\ndef merge_sorted(a, b):\n    \"\"\"Merge two sorted lists into a single sorted list.\n\n    Both inputs must already be sorted in ascending order. The result\n    is a new list; neither input is modified. Duplicates are kept, and\n    equal elements from ``a`` are placed before those from ``b``, so the\n    merge is stable.\n\n    Args:\n        a: A list sorted in ascending order.\n        b: A list sorted in ascending order.\n\n    Returns:\n        A new sorted list containing every element of ``a`` and ``b``.\n\n    >>> merge_sorted([1, 3, 5], [2, 4, 6])\n    [1, 2, 3, 4, 5, 6]\n\n    >>> merge_sorted([], [1, 2, 3])\n    [1, 2, 3]\n\n    >>> merge_sorted([1, 2, 2], [2, 3])\n    [1, 2, 2, 2, 3]\n    \"\"\"\n    merged = []\n    i = j = 0\n    while i < len(a) and j < len(b):\n        if b[j] < a[i]:\n            merged.append(b[j])\n            j += 1\n        else:\n            merged.append(a[i])\n            i += 1\n    merged.extend(a[i:])\n    merged.extend(b[j:])\n    return merged\n\n\nif __name__ == \"__main__\":\n    import doctest\n    doctest.testmod()\n```\n\nThe loop walks both lists at once, always taking the smaller head, so it runs in O(len(a) + len(b)) time. Comparing with `b[j] < a[i]` rather than `a[i] <= b[j]` keeps the merge stable while requiring only that elements support `<`.\n"
  },
  {
   "file": "opus/r1-p04-list.txt",
   "model": "opus",
   "chars": 757,
   "text": "Seal drafts around doors and windows with weatherstripping and caulk.\nLower the thermostat a few degrees in winter and raise it in summer.\nWash laundry in cold water and run only full loads.\nAir-dry clothes on a rack or line instead of using the dryer.\nReplace remaining incandescent and halogen bulbs with LEDs.\nUnplug chargers, consoles, and idle electronics, or put them on a switched power strip.\nAdd insulation in the attic, the cheapest place to get the biggest heating return.\nSet the water heater to about 120°F (49°C) and insulate the tank and first metres of pipe.\nClean or replace HVAC filters every one to three months so the system does not overwork.\nCook with a microwave, kettle, or air fryer rather than heating a full oven for small meals.\n"
  },
  {
   "file": "opus/r1-p05-spanish.txt",
   "model": "opus",
   "chars": 1375,
   "text": "La fotosíntesis es el proceso por el cual las plantas, las algas y algunas bacterias transforman la energía de la luz solar en energía química almacenada en forma de azúcares. Ocurre principalmente en los cloroplastos, unos orgánulos que contienen clorofila, el pigmento verde capaz de captar la luz. A partir de dióxido de carbono tomado del aire y agua absorbida por las raíces, el organismo fabrica glucosa y libera oxígeno como subproducto. La ecuación resumida es sencilla: seis moléculas de dióxido de carbono más seis de agua, con energía luminosa, dan una molécula de glucosa y seis de oxígeno.\n\nEl proceso tiene dos etapas. En las reacciones dependientes de la luz, la energía solar rompe moléculas de agua y genera compuestos energéticos intermedios. En el ciclo de Calvin, esos compuestos se usan para fijar el carbono del dióxido de carbono y construir azúcares.\n\nImporta porque sostiene casi toda la vida en la Tierra. El oxígeno que respiramos procede de ella, y la atmósfera actual es su resultado acumulado durante miles de millones de años. Además, es la base de las cadenas alimentarias: los animales, incluidos nosotros, dependemos directa o indirectamente de la materia orgánica que producen las plantas. Incluso el carbón y el petróleo son fotosíntesis antigua almacenada. Por último, al retirar dióxido de carbono del aire, regula el clima del planeta.\n"
  },
  {
   "file": "opus/r1-p06-japanese.txt",
   "model": "opus",
   "chars": 99,
   "text": "一、\n　古池に\n　花びら浮かぶ\n　朝の風\n（季語：花びら＝春）\n\n二、\n　蝉しぐれ\n　石段のぼる\n　子の背中\n（季語：蝉＝夏）\n\n三、\n　初雪や\n　湯呑みの湯気の\n　立ちのぼる\n（季語：初雪＝冬）\n"
  },
  {
   "file": "opus/r1-p07-table.txt",
   "model": "opus",
   "chars": 1130,
   "text": "| Attribute | Python | Rust | JavaScript | Go |\n|---|---|---|---|---|\n| Typing | Dynamic, optional type hints | Static, strong, inferred | Dynamic, weak (TypeScript adds static) | Static, strong, lightweight inference |\n| Memory management | Garbage collected (refcount + cycle detector) | Ownership and borrowing, no GC | Garbage collected | Garbage collected, low-latency concurrent GC |\n| Runtime performance | Slow for CPU-bound work; relies on C extensions | Near C speed | Fast for a dynamic language thanks to JIT | Fast; compiled, close to C within ~1.5x |\n| Concurrency model | Threads limited by the GIL historically; asyncio, multiprocessing | Threads with compile-time data-race safety, async/await | Single-threaded event loop plus workers | Goroutines and channels, built into the runtime |\n| Typical uses | Data science, ML, scripting, backends | Systems software, embedded, performance-critical services | Web front ends, Node backends, tooling | Cloud infrastructure, APIs, CLI tools |\n| Learning curve | Gentle | Steep (borrow checker) | Gentle to start, quirky in the details | Gentle, small language surface |\n"
  },
  {
   "file": "opus/r1-p08-dialogue.txt",
   "model": "opus",
   "chars": 1944,
   "text": "MAYA: Excuse me, is this the reference desk? My professor said my paper needs primary sources, and I'm not sure what counts.\n\nLIBRARIAN: You're in the right place. What's the paper about?\n\nMAYA: Working conditions in textile mills in the 1830s, in Massachusetts.\n\nLIBRARIAN: Good topic, and a well-documented one. A primary source is anything produced by someone who was there at the time. For your subject that could be mill workers' letters, factory rulebooks, payroll ledgers, state investigation reports, or newspapers from the period.\n\nMAYA: I've mostly been finding books by historians.\n\nLIBRARIAN: Those are secondary, but don't throw them out. Look at their footnotes and bibliographies. When a historian quotes a mill girl's diary, the citation tells you exactly which archive holds it. That's the fastest route into the primary material.\n\nMAYA: I hadn't thought of reading the footnotes as a search tool.\n\nLIBRARIAN: It's the trick most researchers use. Beyond that, try our digital collections. The Library of Congress has Chronicling America for newspapers, and there's a full run of the Lowell Offering digitized, written by the workers themselves.\n\nMAYA: Do I need to visit an archive in person?\n\nLIBRARIAN: For an undergraduate paper, probably not. But if you want something local, our special collections has a small manuscript group from a Lawrence mill family. I can request the finding aid for you.\n\nMAYA: What's a finding aid?\n\nLIBRARIAN: An inventory describing what's in a collection, box by box. It saves you from opening thirty folders blindly.\n\nMAYA: That would help. Can I search by date somehow?\n\nLIBRARIAN: In most databases, yes. Set a date range of 1830 to 1845 and add subject terms like \"textile industry\" or \"labor.\" Let me show you on this terminal.\n\nMAYA: Thank you. This felt impossible ten minutes ago.\n\nLIBRARIAN: It usually does. Come back when you've found something and we'll figure out how to cite it.\n"
  },
  {
   "file": "opus/r2-p01-short-factual.txt",
   "model": "opus",
   "chars": 364,
   "text": "Sunlight contains all colors, and as it passes through the atmosphere the shorter blue wavelengths are scattered by air molecules far more strongly than the longer red ones, an effect known as Rayleigh scattering. Because that scattered blue light reaches your eyes from every direction across the sky, the sky looks blue rather than the white of direct sunlight.\n"
  },
  {
   "file": "opus/r2-p02-long-essay.txt",
   "model": "opus",
   "chars": 4274,
   "text": "The Printing Press and the Making of a Reading Public\n\nWhen Johannes Gutenberg assembled his printing shop in Mainz around 1450, he was not inventing printing so much as solving a manufacturing problem. Block printing had existed in East Asia for centuries, and movable type had been used in Korea and China long before. What Gutenberg contributed was a system: a durable metal alloy of lead, tin and antimony that cast cleanly and cooled fast; a hand mould that could produce identical letters in quantity; an oil-based ink that clung to metal rather than beading off it; and a screw press, adapted from the winemaking trade, that applied even pressure across a full sheet. Individually these were modest craft improvements. Together they turned the reproduction of text from a scribal labor into an industrial process.\n\nThe change in output was immediate and enormous. A skilled copyist working in a monastery or a university stationer's shop might produce a single substantial book over the better part of a year. A printing house with two presses could turn out several hundred copies of the same book in a matter of weeks. By 1500, less than fifty years after the Gutenberg Bible, printing shops operated in well over two hundred European towns and had produced somewhere between eight and twenty million volumes, dwarfing the entire manuscript output of the preceding thousand years. The price of a book fell accordingly. What had been an object of inventory value, chained to a lectern and bequeathed by name in wills, became something a prosperous artisan might own several of.\n\nThe effect on literacy, however, was neither instant nor straightforward. Printing did not create readers out of nothing; the demand had been building for a century. Growing towns, expanding commerce, lay religious movements and an increasingly bureaucratic state had all been enlarging the population of people who needed to read contracts, ledgers, letters and devotional texts. Manuscript production had already begun to industrialize in response, with commercial scriptoria in Paris, Bologna and Bruges working to order. The press met an appetite that already existed and then, having met it, enlarged it further.\n\nThe most consequential shift was in language. Early printing was dominated by Latin, the international tongue of scholarship and the church, but Latin was a saturated market. Printers were businessmen with capital at risk, and the way to sell more books was to reach people who had never learned Latin: to print in German, French, English, Italian, Castilian. Vernacular printing rewarded vernacular reading, and vernacular reading was achievable without years of grammar-school training. Printing also stabilized these languages. Spellings, grammars and dialect choices that printers adopted for commercial convenience hardened into standards, so that a text produced in one city could be sold in another.\n\nReligion accelerated everything. Luther's tracts of the 1520s were short, cheap, in German, and written for argument rather than contemplation; they sold in the hundreds of thousands and made the Reformation the first mass media event in European history. Protestant doctrine held that believers should read scripture themselves, which converted literacy from a professional skill into a spiritual obligation. Protestant regions of Europe—Saxony, the Dutch Republic, Scotland, Scandinavia—consequently pulled ahead in schooling and reading rates, an advantage still visible in nineteenth-century statistics.\n\nActual literacy rates rose slowly and unevenly, shaped as much by schooling, urbanization and gender as by the availability of texts. Male literacy in England may have moved from roughly a tenth of adults in 1500 to something near half by 1700; women, the rural poor and much of southern and eastern Europe lagged far behind. Yet reading was not solely a private act. Almanacs, ballads and news-sheets were read aloud in taverns, workshops and households, so a single literate person carried print to a room full of listeners.\n\nThe press did not democratize knowledge by itself. It lowered the cost of an idea's transmission to near nothing, and thereafter every quarrel in European life—theological, political, scientific—was fought partly in print.\n"
  },
  {
   "file": "opus/r2-p03-code.txt",
   "model": "opus",
   "chars": 1043,
   "text": "```python\ndef merge_sorted(a, b):\n    \"\"\"Merge two sorted lists into a single sorted list.\n\n    Both inputs must already be sorted in ascending order. The result is a\n    new list; neither input is modified. Duplicates are preserved, and the\n    merge is stable: when elements compare equal, the one from `a` comes\n    first.\n\n    >>> merge_sorted([1, 3, 5], [2, 4, 6])\n    [1, 2, 3, 4, 5, 6]\n    >>> merge_sorted([], [2, 2, 7])\n    [2, 2, 7]\n    >>> merge_sorted([1, 4, 4], [4, 9])\n    [1, 4, 4, 4, 9]\n    \"\"\"\n    merged = []\n    i = j = 0\n    while i < len(a) and j < len(b):\n        if b[j] < a[i]:\n            merged.append(b[j])\n            j += 1\n        else:\n            merged.append(a[i])\n            i += 1\n    merged.extend(a[i:])\n    merged.extend(b[j:])\n    return merged\n\n\nif __name__ == \"__main__\":\n    import doctest\n    doctest.testmod()\n```\n\nIt runs in O(n + m) time and O(n + m) space. Comparing with `b[j] < a[i]` rather than `a[i] <= b[j]` is what keeps the merge stable while still needing only one comparison per step.\n"
  },
  {
   "file": "opus/r2-p04-list.txt",
   "model": "opus",
   "chars": 1058,
   "text": "Seal drafts around doors and windows with weatherstripping and caulk — it is the cheapest fix with the fastest payback.\nLower the thermostat a few degrees in winter and raise it in summer; each degree is roughly a few percent off the heating or cooling bill.\nWash clothes in cold water and run only full loads.\nAir-dry laundry when weather allows instead of running the tumble dryer.\nReplace any remaining incandescent or halogen bulbs with LEDs, starting with the lights you leave on longest.\nSet the water heater to about 50 C / 120 F and insulate the tank and the first metres of hot pipe.\nUnplug or power-strip off electronics that draw standby power, especially set-top boxes, games consoles and old chargers.\nClean or replace HVAC filters every few months so the system does not fight its own airflow.\nUse lids on pots, match pan size to burner, and prefer the microwave, kettle or air fryer over the full oven for small meals.\nKeep the fridge coils dusted, the door seals tight, and the freezer reasonably full so it holds temperature with less work.\n"
  },
  {
   "file": "opus/r2-p05-spanish.txt",
   "model": "opus",
   "chars": 1366,
   "text": "La fotosíntesis es el proceso mediante el cual las plantas, las algas y algunas bacterias transforman la energía de la luz en energía química almacenada en forma de azúcares. Ocurre principalmente en los cloroplastos, unos orgánulos que contienen clorofila, el pigmento verde capaz de absorber la luz solar. Con esa energía, el organismo toma dióxido de carbono del aire y agua del suelo y los combina para producir glucosa, liberando oxígeno como subproducto.\n\nEl proceso tiene dos etapas. En la fase luminosa, la luz rompe moléculas de agua y genera transportadores de energía; de ahí sale el oxígeno que respiramos. En la fase oscura, o ciclo de Calvin, esa energía se emplea para fijar el carbono del CO2 en moléculas orgánicas. Nada de esto requiere luz directa en el segundo paso, aunque depende por completo del primero.\n\nImporta por dos razones esenciales. La primera es alimentaria: la fotosíntesis es la puerta de entrada de la energía a casi todas las cadenas tróficas del planeta, de modo que lo que comemos, seamos vegetarianos o no, procede en última instancia de ella. La segunda es atmosférica: el oxígeno libre de la Tierra es un producto acumulado de miles de millones de años de fotosíntesis, y las plantas siguen retirando carbono del aire, lo que la convierte en una pieza central del clima y en un freno natural frente al calentamiento global.\n"
  },
  {
   "file": "opus/r2-p06-japanese.txt",
   "model": "opus",
   "chars": 88,
   "text": "一、\n古池に\n花びら一枚\n風のあと\n\n季語：花びら（春）\n\n二、\n夕立や\n軒の下にて\n知らぬ人\n\n季語：夕立（夏）\n\n三、\n月の道\n柿の実ひとつ\n落ちにけり\n\n季語：柿（秋）\n"
  },
  {
   "file": "opus/r2-p07-table.txt",
   "model": "opus",
   "chars": 1373,
   "text": "| Attribute | Python | Rust | Go | TypeScript |\n|---|---|---|---|---|\n| Typing | Dynamic, optional type hints checked by external tools | Static, strong, inferred; ownership tracked at compile time | Static, strong, lightweight inference | Static layer over dynamic JavaScript; types erased at runtime |\n| Memory management | Reference counting plus cycle-collecting GC | No GC; ownership and borrowing enforced at compile time | Concurrent, low-latency garbage collector | Whatever the host JS engine provides (generational GC) |\n| Concurrency model | GIL-bound threads, asyncio, or multiprocessing | Threads with compile-time data-race prevention; async via runtimes | Goroutines and channels built into the language | Single-threaded event loop; workers for parallelism |\n| Typical performance | Slow for CPU-bound work; fast when delegating to C extensions | Comparable to C/C++ | Fast, with predictable GC pauses | Good for a JIT-ed dynamic language; well behind Rust or Go |\n| Best-fit domains | Data science, ML, scripting, glue code | Systems software, embedded, performance-critical services | Network services, CLIs, cloud infrastructure | Web front ends, Node services, full-stack applications |\n| Learning curve | Gentle | Steep, mostly due to the borrow checker | Gentle by design; small feature surface | Moderate; grows sharply with advanced type features |\n"
  },
  {
   "file": "opus/r2-p08-dialogue.txt",
   "model": "opus",
   "chars": 1944,
   "text": "\"Excuse me — is this the reference desk?\"\n\n\"It is. What are you working on?\"\n\n\"A paper on the 1918 flu in this city. My professor said half my sources have to be primary, and I'm not totally sure what counts.\"\n\n\"Fair question. A primary source is anything produced at the time, by someone with direct contact with the event. A newspaper from October 1918. A health board minute book. A letter home. A photograph. A death register.\"\n\n\"So not a history book about the flu.\"\n\n\"Right — that's secondary. Though secondary books are still useful to you. Go to the back of one and read the footnotes. The author already found the archives; the notes tell you where they are.\"\n\n\"That feels like cheating.\"\n\n\"It's called mining the bibliography, and every historian does it. Now — have you looked at the newspaper databases?\"\n\n\"I searched Google.\"\n\n\"Try the library's databases instead. We have three that cover 1918 papers, all full-text searchable. Search 'influenza' with a date range narrowed to that autumn, and add the local paper by name. Broad searches will drown you.\"\n\n\"What about things that aren't newspapers?\"\n\n\"That's where the finding aid comes in. Special Collections upstairs holds the city health department papers. There's a finding aid online — it's an inventory, box by box, folder by folder. You read that first and decide what you want pulled, before you ever go up.\"\n\n\"Do I need an appointment?\"\n\n\"Yes, and bring ID. Pencils only, no bags. They'll photograph things for you if handling is restricted.\"\n\n\"Is there a shortcut? I have two weeks.\"\n\n\"Two weeks is plenty if you narrow first. Don't write about the epidemic. Write about one school closure, or one hospital, or one week. Narrow questions have findable sources.\"\n\n\"That's actually a relief.\"\n\n\"Start with the newspapers this afternoon. Come back Thursday and tell me what you found — then we'll pick the archive boxes together.\"\n\n\"Thank you. Really.\"\n\n\"That's the job.\"\n"
  },
  {
   "file": "opus/r3-p01-short-factual.txt",
   "model": "opus",
   "chars": 331,
   "text": "Sunlight contains all colors, and when it enters the atmosphere the shorter blue wavelengths are scattered by air molecules far more strongly than longer red ones, a process called Rayleigh scattering. Because that scattered blue light arrives at your eyes from every direction across the sky, the whole dome above you looks blue.\n"
  },
  {
   "file": "opus/r3-p02-long-essay.txt",
   "model": "opus",
   "chars": 4191,
   "text": "The Printing Press and the Making of a Reading Europe\n\nWhen Johannes Gutenberg assembled his printing workshop in Mainz around 1450, he was not inventing printing so much as recombining existing pieces into something newly powerful. Block printing had existed in East Asia for centuries, and movable type had been used in Korea and China well before. What Gutenberg added was a metal alloy that cast cleanly and wore slowly, an oil-based ink that clung to metal rather than beading off it, and an adaptation of the screw press already familiar from winemaking. The result was a system for producing identical texts in quantity, at a cost that fell year after year.\n\nThe scale of the change was immediate. Before 1450, a book was copied by hand, usually in a monastic scriptorium, over months of labor. A university library of a few hundred volumes was a serious collection. By 1500, presses had appeared in more than two hundred European towns and had produced something on the order of twenty million volumes, more than European scribes had generated in the preceding thousand years. By 1600 the figure ran into the hundreds of millions. The price of a book fell by roughly two thirds within a few decades of the technology's spread, moving books out of the exclusive possession of institutions and into the hands of merchants, lawyers, physicians, artisans, and eventually households.\n\nCheaper books did not automatically produce readers, but they changed the economics of learning to read. Literacy had previously been a specialized professional skill, tied to Latin and to clerical or administrative careers. Printers, needing to sell what they made, discovered that vernacular material sold better than Latin scholarship. They printed almanacs, herbals, devotional handbooks, ballads, travel accounts, legal forms, and instructional manuals. Someone who learned to read now had something to read, and reasons to keep doing it. Literacy became worth acquiring for its own practical returns.\n\nThe Reformation accelerated this dynamic sharply. Luther's theses and pamphlets circulated across German-speaking lands within weeks in 1517, and his German New Testament of 1522 sold in the tens of thousands. The Protestant insistence that believers should read scripture directly turned literacy into a religious obligation rather than a professional convenience. Protestant regions accordingly pushed schooling harder and earlier, and the literacy gap between Protestant and Catholic areas of Europe remained visible in the statistical record for centuries. Catholic authorities responded with their own printed catechisms and with the Index of Prohibited Books, an implicit acknowledgment that the press had become too influential to ignore.\n\nPrint also reshaped the languages themselves. Printers had to choose a spelling and a dialect, and their commercial choices hardened into standards. Luther's Bible helped fix modern High German; the London-based output of English printers pushed a particular dialect toward becoming standard English. Standardization made texts legible across wider regions, which enlarged markets, which encouraged more printing.\n\nBeyond literacy narrowly defined, the press altered how knowledge accumulated. Identical copies meant that a scholar in Padua and one in Oxford could argue about the same page of the same edition. Errors could be corrected in later printings rather than compounding through generations of copyists. Numerical tables, anatomical diagrams, and maps could be reproduced without a copyist's drift. This reliability underwrote the natural philosophy of the sixteenth and seventeenth centuries as much as any single discovery did.\n\nThe transformation was uneven and slow by modern standards. Rural literacy lagged urban literacy badly, women's literacy lagged men's, and full mass literacy in most of Europe waited on compulsory schooling in the nineteenth century. Yet the trajectory was set in the century after Gutenberg. The press did not merely make books cheaper. It created a reading public, gave that public a shared textual culture, and made the written word a medium of ordinary life rather than an instrument of a narrow elite.\n"
  },
  {
   "file": "opus/r3-p03-code.txt",
   "model": "opus",
   "chars": 1078,
   "text": "```python\ndef merge_sorted(a, b):\n    \"\"\"Merge two sorted lists into a single sorted list.\n\n    Both inputs must already be sorted in ascending order. The result\n    contains every element from both lists, including duplicates, and\n    the inputs are left unmodified.\n\n    >>> merge_sorted([1, 3, 5], [2, 4, 6])\n    [1, 2, 3, 4, 5, 6]\n    >>> merge_sorted([], [1, 2, 3])\n    [1, 2, 3]\n    >>> merge_sorted([1, 1, 4], [1, 5])\n    [1, 1, 1, 4, 5]\n    \"\"\"\n    merged = []\n    i = j = 0\n    while i < len(a) and j < len(b):\n        if a[i] <= b[j]:\n            merged.append(a[i])\n            i += 1\n        else:\n            merged.append(b[j])\n            j += 1\n    merged.extend(a[i:])\n    merged.extend(b[j:])\n    return merged\n\n\nif __name__ == \"__main__\":\n    import doctest\n    doctest.testmod()\n```\n\nThe loop takes the smaller head element each time, and the two `extend` calls flush whichever list still has elements left. Using `<=` rather than `<` keeps the merge stable, so equal elements from the first list come out first. It runs in O(n + m) time and O(n + m) space.\n"
  },
  {
   "file": "opus/r3-p04-list.txt",
   "model": "opus",
   "chars": 983,
   "text": "Lower the thermostat a few degrees in winter and raise it in summer; each degree is roughly 1-3% off your heating or cooling bill.\nWash clothes in cold water, since about 90% of a washing machine's energy goes to heating the water.\nSeal drafts around doors, windows, and outlets with weatherstripping and caulk.\nReplace any remaining incandescent or halogen bulbs with LEDs.\nRun the dishwasher and laundry only with full loads, and skip the heated dry cycle.\nUnplug or use a switched power strip for devices that draw standby power, especially entertainment systems and chargers.\nClean or replace HVAC filters every one to three months so the system does not work harder than it needs to.\nAdd insulation in the attic, which is usually the cheapest place to get the biggest return.\nSet the water heater to 120°F (49°C) and insulate the tank and the first few feet of pipe.\nUse curtains deliberately: close them against summer sun and open them for winter sun on south-facing windows.\n"
  },
  {
   "file": "opus/r3-p05-spanish.txt",
   "model": "opus",
   "chars": 1372,
   "text": "La fotosíntesis es el proceso mediante el cual las plantas, las algas y algunas bacterias transforman la energía de la luz solar en energía química almacenada en forma de azúcares. Ocurre principalmente en los cloroplastos, unos orgánulos que contienen clorofila, el pigmento verde capaz de captar la luz.\n\nEl proceso combina tres ingredientes: agua absorbida por las raíces, dióxido de carbono que entra por unos poros diminutos de las hojas llamados estomas, y luz. A partir de ellos, la planta produce glucosa y libera oxígeno como subproducto. Se suele resumir así: seis moléculas de dióxido de carbono más seis de agua, con energía luminosa, dan una molécula de glucosa y seis de oxígeno.\n\nSu importancia es difícil de exagerar. Casi todo el oxígeno de la atmósfera terrestre procede de la fotosíntesis acumulada durante miles de millones de años, buena parte de ella realizada por el fitoplancton de los océanos. Además, la fotosíntesis está en la base de casi todas las cadenas alimentarias: los herbívoros comen plantas, los carnívoros comen herbívoros, y toda esa energía procede originalmente del sol. Incluso el carbón y el petróleo son restos de organismos fotosintéticos antiguos.\n\nPor último, las plantas retiran dióxido de carbono del aire al fotosintetizar, lo que convierte a los bosques y a los océanos en piezas clave para regular el clima del planeta.\n"
  },
  {
   "file": "opus/r3-p06-japanese.txt",
   "model": "opus",
   "chars": 99,
   "text": "春\n\n　古池に\n　桜ひとひら\n　しづみけり\n\n季語：桜（春）\n\n\n夏\n\n　夕立の\n　あと石段の\n　湯気しづか\n\n季語：夕立（夏）\n\n\n冬\n\n　初雪や\n　自転車の音\n　やはらかし\n\n季語：初雪（冬）\n"
  },
  {
   "file": "opus/r3-p07-table.txt",
   "model": "opus",
   "chars": 1176,
   "text": "| Attribute | Python | Rust | JavaScript | Go |\n|---|---|---|---|---|\n| Typing | Dynamic, optional type hints | Static, strong, inferred | Dynamic, weak (TypeScript adds static) | Static, strong, lightweight inference |\n| Memory management | Garbage collected (refcount + cycle GC) | Ownership and borrowing, no GC | Garbage collected | Garbage collected, low-latency collector |\n| Runtime performance | Slow; relies on C extensions for speed | Near C, no runtime overhead | Fast for a dynamic language via JIT | Fast, close to C for most server work |\n| Concurrency model | Threads limited by the GIL; asyncio for I/O | Threads with compile-time data-race safety | Single-threaded event loop, workers for parallelism | Goroutines and channels, built into the runtime |\n| Typical use | Data science, ML, scripting, backends | Systems, embedded, performance-critical services | Browsers, Node backends, full-stack apps | Cloud services, CLIs, networked infrastructure |\n\nA rough summary: Python optimizes for how quickly a person can write it, Rust for guarantees the compiler can prove, JavaScript for reaching the browser, and Go for keeping large teams and services simple.\n"
  },
  {
   "file": "opus/r3-p08-dialogue.txt",
   "model": "opus",
   "chars": 1856,
   "text": "MAYA: Excuse me — my professor says half my sources have to be primary. I thought I had primary sources, but she crossed most of them out.\n\nLIBRARIAN: What did you have?\n\nMAYA: Articles about the 1918 flu. Historians writing about it.\n\nLIBRARIAN: Those are secondary. Good ones, probably, but they're someone interpreting the evidence after the fact. A primary source comes from the moment itself — a newspaper printed that week, a public health bulletin, a diary, a photograph, a set of mortality tables.\n\nMAYA: So where do I even find a 1918 newspaper?\n\nLIBRARIAN: You'd be surprised how much is digitized. Start with Chronicling America, from the Library of Congress — it's free and full-text searchable. We also subscribe to two historical newspaper databases you can reach from the library homepage.\n\nMAYA: Do I just search \"flu\"?\n\nLIBRARIAN: Try not to. People in 1918 didn't call it what we call it. Search \"influenza,\" \"grippe,\" \"Spanish influenza.\" Match the vocabulary of the period, not yours.\n\nMAYA: That's a good point. I wouldn't have thought of that.\n\nLIBRARIAN: Here's another trick. Take one of those secondary articles your professor rejected and read its footnotes. Historians tell you exactly which archives and documents they used. You can go straight to the same material.\n\nMAYA: Mining their bibliography. Okay.\n\nLIBRARIAN: And check our subject guide for public health history — I built it, so I know it links to state archives and the Red Cross collections. If you need something we don't hold, interlibrary loan can usually get scans in about a week.\n\nMAYA: When's it due — I mean, how long does that take?\n\nLIBRARIAN: A week, sometimes less for digital. When's your paper due?\n\nMAYA: Three weeks.\n\nLIBRARIAN: Then request early. Want me to sit with you for fifteen minutes and get the first searches running?\n\nMAYA: Yes. Please.\n"
  },
  {
   "file": "opus/r4-p01-short-factual.txt",
   "model": "opus",
   "chars": 354,
   "text": "Sunlight contains all colors, but the gas molecules in Earth's atmosphere scatter short wavelengths far more strongly than long ones, so blue light gets redirected across the whole sky rather than traveling straight to your eye. When you look up anywhere away from the sun, you are seeing that scattered blue light arriving from every direction at once.\n"
  },
  {
   "file": "opus/r4-p02-long-essay.txt",
   "model": "opus",
   "chars": 4064,
   "text": "The Printing Press and the Making of a Reading Public\n\nWhen Johannes Gutenberg assembled his printing workshop in Mainz around 1450, he was not inventing printing so much as reorganizing it. Block printing had existed in East Asia for centuries, and movable type had been tried in Korea and China well before him. Gutenberg's contribution was a system: a metal alloy that cast cleanly and wore slowly, a hand mould that let a single punch produce thousands of identical letters, an oil-based ink that clung to metal rather than beading off it, and a screw press adapted from winemaking that applied even pressure across a full sheet. Each piece existed already. Together they made books reproducible at industrial speed.\n\nThe results arrived faster than anyone anticipated. By 1500, presses were operating in more than two hundred European towns, and something on the order of twenty million volumes had been printed, in a continent whose population was perhaps eighty million. Books that had cost the equivalent of a laborer's annual wages fell within reach of merchants, clergy, and eventually artisans. A scribe working steadily might produce two or three books a year; a modest print shop could turn out several hundred copies of a title in weeks.\n\nThe effect on literacy was real but slower and messier than the usual triumphant story suggests. Cheap books do not teach anyone to read. What print did was change the incentives. Before Gutenberg, literacy was a professional skill, useful mainly to clerics, notaries, and administrators, because there was very little for an ordinary literate person to read. Print created a reason to learn: almanacs, ballads, devotional manuals, medical handbooks, legal forms, news pamphlets. Reading became worth acquiring because it now paid off in daily life.\n\nThe Reformation accelerated everything. Luther's ninety-five theses spread across Germany within weeks in 1517, and his German Bible, printed in enormous quantities, made vernacular scripture a household object. Protestant theology insisted that believers encounter scripture directly, which turned literacy from a convenience into a religious duty. Northern Protestant regions, particularly Sweden, Scotland, the Dutch Republic, and parts of Germany, pulled decisively ahead in reading rates, and the gap persisted for centuries. Catholic authorities responded with their own printing programs and with the Index of Prohibited Books, an implicit acknowledgment that the technology could not simply be suppressed.\n\nPrint also standardized language. Before mass printing, spelling and grammar varied by region and by scribe. Printers, wanting the widest possible market for each edition, settled on consistent forms, and those forms hardened into national literary languages. The dialects that happened to be chosen by early presses in London, Paris, and Wittenberg became the standard against which other dialects were measured. This consolidated national identities and, less happily, marginalized regional speech.\n\nFor scholarship, the deepest change was fixity. A hand-copied manuscript degraded with every generation of copying; errors accumulated and could not be traced. Print produced identical copies, which meant a scholar in Kraków and one in Padua could argue about the same page of the same edition. Errors were now correctable across the whole system rather than in one copy at a time. Cumulative science depends on this, and it is hard to imagine the seventeenth-century revolution in astronomy and anatomy without it.\n\nBy 1800, adult male literacy in much of northwestern Europe approached sixty percent, up from perhaps ten percent in 1450. Print alone did not produce that shift; schooling, urbanization, and religious policy all mattered. But print supplied the necessary condition. It made the written word abundant enough that learning to read stopped being a specialist's investment and became an ordinary expectation, and in doing so it rearranged the distribution of knowledge, and therefore of authority, across an entire civilization.\n"
  },
  {
   "file": "opus/r4-p03-code.txt",
   "model": "opus",
   "chars": 1096,
   "text": "```python\ndef merge_sorted(a, b):\n    \"\"\"Merge two sorted lists into a single sorted list.\n\n    Both inputs must already be sorted in ascending order. The result\n    contains every element from both lists, including duplicates, and\n    the inputs are left unmodified.\n\n    >>> merge_sorted([1, 3, 5], [2, 4, 6])\n    [1, 2, 3, 4, 5, 6]\n    >>> merge_sorted([], [1, 2, 3])\n    [1, 2, 3]\n    >>> merge_sorted([1, 1, 4], [1, 2])\n    [1, 1, 1, 2, 4]\n    \"\"\"\n    result = []\n    i = j = 0\n    while i < len(a) and j < len(b):\n        if a[i] <= b[j]:\n            result.append(a[i])\n            i += 1\n        else:\n            result.append(b[j])\n            j += 1\n    result.extend(a[i:])\n    result.extend(b[j:])\n    return result\n```\n\nThe loop takes the smaller head each time, and the two `extend` calls flush whichever list still has elements left. Using `<=` rather than `<` keeps the merge stable, so equal elements from the first list stay ahead of equal elements from the second. It runs in O(n + m) time and O(n + m) space.\n\nRun the doctests with:\n\n```\npython -m doctest yourfile.py -v\n```\n"
  },
  {
   "file": "opus/r4-p04-list.txt",
   "model": "opus",
   "chars": 728,
   "text": "Wash clothes in cold water and skip the dryer when weather allows.\nSeal gaps around doors, windows, and outlets with weatherstripping or caulk.\nSet the thermostat a couple of degrees lower in winter and higher in summer.\nReplace remaining incandescent and halogen bulbs with LEDs.\nLower the water heater to about 120°F (49°C) and insulate the first few feet of pipe.\nRun dishwashers and washing machines only with full loads.\nUnplug chargers, game consoles, and set-top boxes, or put them on a switched power strip.\nClean or replace HVAC filters every one to three months.\nClose blinds on sunny summer afternoons and open them on sunny winter days.\nTake shorter showers and fit a low-flow showerhead to cut water heating costs.\n"
  },
  {
   "file": "opus/r4-p05-spanish.txt",
   "model": "opus",
   "chars": 1432,
   "text": "La fotosíntesis es el proceso mediante el cual las plantas, las algas y algunas bacterias convierten la energía de la luz solar en energía química almacenada en forma de azúcares. Ocurre principalmente en los cloroplastos, unos orgánulos que contienen clorofila, el pigmento verde capaz de capturar la luz.\n\nEl proceso combina dióxido de carbono tomado del aire con agua absorbida por las raíces. La energía luminosa rompe las moléculas de agua, liberando oxígeno como subproducto, y los electrones obtenidos sirven para fabricar moléculas ricas en energía. Con ellas, la planta ensambla glucosa a partir del carbono del CO₂. De forma resumida: seis moléculas de dióxido de carbono más seis de agua, con luz, dan una de glucosa y seis de oxígeno.\n\nSu importancia es difícil de exagerar. Casi todo el oxígeno de la atmósfera terrestre procede de la fotosíntesis acumulada durante miles de millones de años, y sin ella la respiración de los animales sería imposible. Además, constituye la base de prácticamente todas las cadenas alimentarias: los herbívoros comen plantas, los carnívoros comen herbívoros, y toda esa energía procede originalmente del sol. También regula el clima, porque las plantas y el fitoplancton retiran enormes cantidades de dióxido de carbono del aire. Incluso el carbón y el petróleo son restos de organismos fotosintéticos antiguos. En pocas palabras, la fotosíntesis sostiene la vida tal como la conocemos.\n"
  },
  {
   "file": "opus/r4-p06-japanese.txt",
   "model": "opus",
   "chars": 174,
   "text": "一\n　古池に　桜ひとひら　沈みけり\n　（季語：桜／春）\n\n二\n　風鈴の　鳴るたび昼の　深くなる\n　（季語：風鈴／夏）\n\n三\n　柿を剥く　母の手元の　しずかさよ\n　（季語：柿／秋）\n\nそれぞれ五・七・五の音数で作りました。一句目は水面に落ちた花びらの静けさ、二句目は真夏の午後がだんだん濃くなっていく感じ、三句目は台所の何気ない時間を詠んでいます。\n"
  },
  {
   "file": "opus/r4-p07-table.txt",
   "model": "opus",
   "chars": 1260,
   "text": "| Attribute | Python | Rust | Go | JavaScript |\n|---|---|---|---|---|\n| Typing | Dynamic, optional type hints | Static, strong, inferred | Static, structural interfaces | Dynamic, weak, coerces freely |\n| Memory management | Garbage collected (refcount + cycles) | Ownership and borrowing, no GC | Garbage collected, low-latency | Garbage collected |\n| Concurrency model | Threads limited by the GIL; asyncio for I/O | Threads with compile-time data-race safety | Goroutines and channels | Single-threaded event loop, workers for parallelism |\n| Typical performance | Slow; leans on C extensions | Near C, no runtime overhead | Fast, small GC pauses | Fast for a dynamic language via JIT |\n| Best-fit domains | Data science, ML, scripting, automation | Systems, embedded, performance-critical services | Network services, CLIs, infrastructure | Web front end, Node backends, tooling |\n\nA few notes worth adding: Python's GIL is being made optional as of 3.13, so the concurrency picture there is shifting. Rust buys its safety and speed with the steepest learning curve of the four. Go deliberately trades expressiveness for fast compiles and easy onboarding. JavaScript's weak typing is the main reason most serious codebases now use TypeScript on top of it.\n"
  },
  {
   "file": "opus/r4-p08-dialogue.txt",
   "model": "opus",
   "chars": 1699,
   "text": "MAYA: Excuse me, are you the reference librarian?\n\nDIEGO: I am. What are you working on?\n\nMAYA: A paper on the 1918 flu in this county. My professor says at least four primary sources, and I have no idea what counts.\n\nDIEGO: A primary source is something produced at the time by someone who was there. A diary, a letter, a newspaper from October 1918, a public health order, a death registry. Not a historian writing about it in 2004.\n\nMAYA: So the textbook chapter is out.\n\nDIEGO: Out as a primary source. But read its footnotes. Historians tell you exactly where they got their material, and half the time you can go pull the same thing.\n\nMAYA: That feels like cheating.\n\nDIEGO: It's called doing research. Start with the local paper. We have the Herald on microfilm from 1897 forward, and it's indexed by date.\n\nMAYA: Microfilm. Genuinely?\n\nDIEGO: The reader is by the window and I'll show you how to thread it. It takes ninety seconds to learn. Then I'd try the county archives online, they've digitized health board minutes for that period.\n\nMAYA: What if the search comes up empty?\n\nDIEGO: Change your vocabulary. They didn't say \"pandemic\" in 1918. Try \"influenza,\" \"grippe,\" \"Spanish influenza,\" \"quarantine.\" Search the language of the period, not ours.\n\nMAYA: That's useful.\n\nDIEGO: One more thing. When you find something, write down the collection, box, and folder immediately. Students lose whole afternoons re-finding a document they already had.\n\nMAYA: Can I email you if I get stuck?\n\nDIEGO: Please do. And come back Thursday, I'll have pulled a finding aid for the hospital records.\n\nMAYA: Thank you. This was much less painful than I expected.\n\nDIEGO: Give it until the microfilm.\n"
  },
  {
   "file": "sonnet/r1-p01-short-factual.txt",
   "model": "sonnet",
   "chars": 384,
   "text": "The sky appears blue because sunlight is scattered by gas molecules in the atmosphere, and shorter wavelengths of light—like blue—are scattered much more strongly than longer wavelengths like red. This effect, known as Rayleigh scattering, sends blue light in all directions across the sky, which is why we see blue when we look up rather than the white or yellow of direct sunlight.\n"
  },
  {
   "file": "sonnet/r1-p02-long-essay.txt",
   "model": "sonnet",
   "chars": 4314,
   "text": "Before the mid-fifteenth century, the production of a book in Europe was an act of extraordinary labor. Monks and professional scribes copied texts by hand, letter by letter, in a process that could take months or even years to complete a single volume. Books were consequently rare, expensive, and largely confined to monasteries, royal courts, and the households of the wealthy. Literacy itself was a luxury reserved almost exclusively for clergy, nobility, and a small class of merchants who needed to read for business. The vast majority of Europeans, living in agrarian societies with no practical need or opportunity to read, remained illiterate for their entire lives. This began to change dramatically around 1440, when Johannes Gutenberg, a goldsmith and craftsman from Mainz, Germany, developed a printing system built around movable metal type, an oil-based ink, and a modified wine press adapted for printing. Gutenberg's true innovation was not the idea of printing itself—woodblock printing had existed in Asia for centuries, and Europeans had experimented with block printing on textiles—but rather the creation of reusable, durable metal letters that could be arranged, inked, pressed, and rearranged again for a new page. This modularity meant that once a font of type was cast, it could be used indefinitely to produce virtually unlimited copies of any text, at a fraction of the time and cost of hand-copying.\n\nThe most famous product of Gutenberg's press was the Gutenberg Bible, completed around 1455, a work of remarkable typographic beauty that demonstrated the technology's potential immediately. Within decades, printing presses spread rapidly across Europe, from Germany to Italy, France, the Low Countries, and England. By 1500, presses were operating in more than two hundred European cities, and it is estimated that around twenty million books had already been printed—a staggering figure compared to the handful of manuscripts that existed before. This explosion in output caused the price of books to fall substantially, making them accessible to a much broader swath of society, including merchants, lawyers, physicians, and eventually artisans and tradespeople.\n\nThe effects on literacy were profound, though they unfolded gradually rather than overnight. As books became cheaper and more available, the incentive to learn to read increased correspondingly. Merchants needed to read contracts and correspondence; the emerging middle classes in growing cities wanted access to religious texts, almanacs, and practical manuals. The printing press also fueled the Protestant Reformation, as Martin Luther's writings, translated Bibles, and pamphlets circulated widely and cheaply, encouraging ordinary people to read scripture themselves rather than rely solely on clergy for interpretation. This religious motivation became one of the most powerful drivers of mass literacy in early modern Europe, particularly in Protestant regions where reading the Bible was considered a personal spiritual duty.\n\nPrinting also standardized language and spelling in ways that manuscript culture never could, since scribal copies often varied significantly from one another. Printed texts helped stabilize vernacular languages, which in turn made reading more approachable, since people could learn to read their own spoken language rather than only Latin. Over the following centuries, this contributed to rising literacy rates across the continent, though progress was uneven, with urban populations, Protestant regions, and men generally gaining literacy faster than rural populations, Catholic regions, and women.\n\nBy the eighteenth century, the printing press had helped create the conditions for the Enlightenment, enabling the rapid circulation of philosophical, scientific, and political ideas among an increasingly literate public. Newspapers, pamphlets, and novels proliferated, further embedding reading into everyday life. What began as a craftsman's mechanical innovation in a German workshop ultimately reshaped European society's relationship with knowledge itself, transforming reading from an elite privilege into an expectation, and laying the groundwork for the mass literacy that would eventually become the norm across the continent by the nineteenth and twentieth centuries.\n"
  },
  {
   "file": "sonnet/r1-p03-code.txt",
   "model": "sonnet",
   "chars": 686,
   "text": "def merge_sorted_lists(list1, list2):\n    \"\"\"\n    Merge two sorted lists into a single sorted list.\n\n    >>> merge_sorted_lists([1, 3, 5], [2, 4, 6])\n    [1, 2, 3, 4, 5, 6]\n    >>> merge_sorted_lists([], [1, 2, 3])\n    [1, 2, 3]\n    >>> merge_sorted_lists([1, 1, 2], [1, 3])\n    [1, 1, 1, 2, 3]\n    \"\"\"\n    merged = []\n    i, j = 0, 0\n\n    while i < len(list1) and j < len(list2):\n        if list1[i] <= list2[j]:\n            merged.append(list1[i])\n            i += 1\n        else:\n            merged.append(list2[j])\n            j += 1\n\n    merged.extend(list1[i:])\n    merged.extend(list2[j:])\n\n    return merged\n\n\nif __name__ == \"__main__\":\n    import doctest\n    doctest.testmod()\n"
  },
  {
   "file": "sonnet/r1-p04-list.txt",
   "model": "sonnet",
   "chars": 612,
   "text": "Set your thermostat a degree or two lower in winter and higher in summer.\nSwitch to LED bulbs throughout the house.\nUnplug chargers and electronics when they're not actively in use.\nWash clothes in cold water and air-dry when possible.\nSeal drafts around windows and doors with weatherstripping.\nRun dishwashers and washing machines only with full loads.\nUse a programmable or smart thermostat to automate temperature setbacks.\nInstall low-flow showerheads to cut water-heating costs.\nKeep refrigerator coils clean and don't overfill the freezer.\nAdd insulation to your attic to reduce heating and cooling loss.\n"
  },
  {
   "file": "sonnet/r1-p05-spanish.txt",
   "model": "sonnet",
   "chars": 1285,
   "text": "La fotosíntesis es el proceso mediante el cual las plantas, algas y algunas bacterias transforman la luz solar en energía química. Utilizando la clorofila presente en sus hojas, estos organismos captan la luz del sol y la combinan con agua y dióxido de carbono para producir glucosa, que les sirve como fuente de energía para crecer y desarrollarse. Como subproducto de este proceso se libera oxígeno a la atmósfera.\n\nEste proceso es fundamental para la vida en la Tierra por varias razones. En primer lugar, es la base de casi todas las cadenas alimentarias: los animales herbívoros se alimentan de plantas, y estas a su vez sostienen a los carnívoros, de modo que casi toda la energía que circula en los ecosistemas proviene originalmente del sol a través de la fotosíntesis. En segundo lugar, el oxígeno liberado durante este proceso es el mismo que respiramos los seres humanos y la mayoría de los animales, por lo que sin fotosíntesis no existiría una atmósfera respirable como la conocemos. Además, las plantas absorben dióxido de carbono durante este proceso, lo que ayuda a regular el clima del planeta y a mitigar el efecto invernadero. Por estas razones, la fotosíntesis no solo sostiene la vida vegetal, sino que es la base invisible de todo el equilibrio ecológico global.\n"
  },
  {
   "file": "sonnet/r1-p06-japanese.txt",
   "model": "sonnet",
   "chars": 54,
   "text": "桜散る 風にまかせて 舞う花びら\n\n蝉の声 夏の日差しに 響きけり\n\n木枯らしや 落ち葉舞い散る 夕暮れに\n"
  },
  {
   "file": "sonnet/r1-p07-table.txt",
   "model": "sonnet",
   "chars": 596,
   "text": "| Attribute | Python | JavaScript | Rust | Java |\n|---|---|---|---|---|\n| Typing | Dynamic, strong | Dynamic, weak | Static, strong | Static, strong |\n| Performance | Slower (interpreted) | Moderate (JIT-compiled) | Very fast (compiled, no GC) | Fast (JIT-compiled, GC) |\n| Memory management | Garbage collected | Garbage collected | Ownership/borrow checker | Garbage collected |\n| Primary use cases | Data science, scripting, ML | Web frontend/backend | Systems programming, performance-critical apps | Enterprise backend, Android |\n| Learning curve | Low | Low to moderate | High | Moderate |\n"
  },
  {
   "file": "sonnet/r1-p08-dialogue.txt",
   "model": "sonnet",
   "chars": 1848,
   "text": "\"Excuse me, I'm working on a paper about immigration in the 1900s, and my professor wants primary sources. I don't really know where to start.\"\n\n\"That's a great topic. Have you used our digitized newspaper archive before?\"\n\n\"No, I didn't even know we had one.\"\n\n\"We do—it covers local and national papers going back to the 1850s. You can search by keyword and date range, so you could look up terms like 'immigrant,' 'Ellis Island,' or the name of a specific neighborhood.\"\n\n\"That sounds perfect. What else counts as a primary source?\"\n\n\"Letters, diaries, government records, photographs, census data, court documents—anything created during the time period you're studying, by someone who experienced it directly. Since you're looking at immigration, you might also check the National Archives' digitized ship manifests and naturalization records.\"\n\n\"Is that something I can access from here?\"\n\n\"Yes, through our library's database portal. I'll show you—there's a link under 'History Resources' on the library website, or you can use one of the terminals here.\"\n\n\"Should I also look for oral histories?\"\n\n\"Definitely, if you can find them. Many university archives have recorded interviews with immigrants from that era. Our interlibrary loan system can request materials from other institutions if we don't have something locally.\"\n\n\"This is really helpful. One more question—how do I know if something actually counts as a primary source and not just an old article about the topic?\"\n\n\"Good instinct to check. Ask yourself: did the creator witness or participate in the event, or are they analyzing it afterward? A newspaper article reporting on an event as it happened is primary; a modern historian's book about that event is secondary.\"\n\n\"That makes sense. Thank you so much.\"\n\n\"Anytime. Come back if you get stuck navigating the databases.\"\n"
  },
  {
   "file": "sonnet/r2-p01-short-factual.txt",
   "model": "sonnet",
   "chars": 392,
   "text": "The sky appears blue because sunlight is made up of many colors, and as it passes through the atmosphere, gas molecules scatter shorter wavelengths of light—like blue and violet—much more than longer wavelengths like red and orange. Our eyes are more sensitive to blue than violet, and some violet light is absorbed in the upper atmosphere, so we perceive the sky as blue rather than violet.\n"
  },
  {
   "file": "sonnet/r2-p02-long-essay.txt",
   "model": "sonnet",
   "chars": 4991,
   "text": "Before the mid-fifteenth century, books in Europe were rare, expensive objects. Every copy of every text had to be produced by hand, usually by monks working in scriptoria, a process that could take months or even years for a single volume. As a result, literacy was confined largely to clergy, nobility, and a small class of merchants and scholars who had access to these precious manuscripts. The vast majority of the population had no practical reason, and no real opportunity, to learn to read.\n\nThis changed dramatically with the work of Johannes Gutenberg, a goldsmith from Mainz, Germany, who around 1440 developed a printing system using movable metal type. Gutenberg's innovation was not printing itself—woodblock printing had existed in Asia for centuries, and Europeans had experimented with it too—but the combination of individual, reusable metal letters, an oil-based ink suited to metal type, and a modified wine press adapted for even, repeatable impressions. This system allowed a printer to compose a page from a stock of hundreds or thousands of letter blocks, print as many copies as needed, then disassemble the type and reuse the letters for the next page. His most famous product, the Gutenberg Bible, completed around 1455, demonstrated that printed books could rival the beauty of hand-copied manuscripts while being produced far more quickly.\n\nThe effect on the production and cost of books was immediate and dramatic. Where a scribe might produce one Bible in a year, a print shop could produce hundreds. Within decades, printing presses had spread from Mainz to Rome, Venice, Paris, London, and dozens of other European cities. By 1500, an estimated 20 million books had been printed in Europe, and by 1600 that number had climbed into the hundreds of millions. This explosion in supply drove prices down substantially, moving books from the category of luxury items into something artisans, merchants, and eventually even some laborers could realistically afford.\n\nThe consequences for literacy were profound, though they unfolded over generations rather than years. As books became cheaper and more available, there was a growing incentive for ordinary people to learn to read. Merchants needed literacy to manage accounts and correspondence as trade expanded. Religious reform movements, especially the Protestant Reformation launched by Martin Luther in 1517, gave literacy an urgent new purpose: Luther's insistence that individuals should read scripture for themselves, combined with his own prolific use of the printing press to distribute pamphlets and translated Bibles, created a direct link between religious identity and the ability to read. Printed vernacular Bibles, catechisms, and religious tracts circulated in numbers that would have been unimaginable in the age of hand copying, and Protestant regions in particular saw rising literacy rates as reading scripture became a personal, rather than purely clerical, obligation.\n\nThe printing press also standardized languages and spelling in ways that indirectly supported literacy. Regional dialects and inconsistent orthography had made hand-copied texts variable and sometimes difficult to read across regions. Printers, aiming for wide distribution, tended to favor certain dialects and spelling conventions, which helped establish more uniform national languages—a process visible in the standardization of English around the King James Bible and other widely printed texts, and similarly in French, German, and other European vernaculars.\n\nBeyond religion, printing fueled the spread of ideas central to the Renaissance and later the Scientific Revolution and Enlightenment. Scholars could now access multiple, identical copies of classical texts, scientific treatises, and philosophical works, enabling more reliable scholarly debate and cross-referencing than had been possible when every manuscript copy might contain unique scribal errors. Universities expanded, and printed textbooks became tools for more systematic education.\n\nIt would be a mistake to claim printing alone caused mass literacy; that was a gradual process shaped also by economic development, urbanization, and later, state-sponsored schooling in the eighteenth and nineteenth centuries. Rural and poorer populations, especially women, often lagged behind urban male literacy rates for centuries after Gutenberg. Nonetheless, the printing press was the essential precondition. It broke the monopoly that a small clerical and aristocratic elite had held over written knowledge, made the economics of literacy education worthwhile for a much larger segment of society, and set in motion a self-reinforcing cycle in which more available texts created more readers, and more readers created greater demand for texts. In this sense, Gutenberg's press did not merely change how books were made; it fundamentally altered who had access to knowledge, laying groundwork for the eventual emergence of mass literacy across Europe.\n"
  },
  {
   "file": "sonnet/r2-p03-code.txt",
   "model": "sonnet",
   "chars": 889,
   "text": "def merge_sorted_lists(list1, list2):\n    \"\"\"\n    Merge two sorted lists into a single sorted list.\n\n    Args:\n        list1: A sorted list of comparable elements.\n        list2: A sorted list of comparable elements.\n\n    Returns:\n        A new sorted list containing all elements from list1 and list2.\n\n    >>> merge_sorted_lists([1, 3, 5], [2, 4, 6])\n    [1, 2, 3, 4, 5, 6]\n    >>> merge_sorted_lists([], [1, 2, 3])\n    [1, 2, 3]\n    >>> merge_sorted_lists([1, 1, 2], [1, 3])\n    [1, 1, 1, 2, 3]\n    \"\"\"\n    result = []\n    i, j = 0, 0\n\n    while i < len(list1) and j < len(list2):\n        if list1[i] <= list2[j]:\n            result.append(list1[i])\n            i += 1\n        else:\n            result.append(list2[j])\n            j += 1\n\n    result.extend(list1[i:])\n    result.extend(list2[j:])\n\n    return result\n\n\nif __name__ == \"__main__\":\n    import doctest\n    doctest.testmod()\n"
  },
  {
   "file": "sonnet/r2-p04-list.txt",
   "model": "sonnet",
   "chars": 580,
   "text": "Set your thermostat a few degrees lower in winter and higher in summer.\nSwitch to LED bulbs throughout your home.\nUnplug chargers and electronics when they're not in use.\nWash clothes in cold water instead of hot.\nAir-dry laundry on a rack instead of using the dryer.\nSeal drafts around windows and doors with weatherstripping.\nRun dishwashers and washing machines only with full loads.\nUse a programmable or smart thermostat to automate temperature changes.\nClean or replace HVAC filters regularly for better efficiency.\nTurn off lights and appliances in rooms you're not using.\n"
  },
  {
   "file": "sonnet/r2-p05-spanish.txt",
   "model": "sonnet",
   "chars": 1102,
   "text": "La fotosíntesis es el proceso mediante el cual las plantas, algas y algunas bacterias transforman la luz solar en energía química. Usando la clorofila, estos organismos captan la luz y la emplean para convertir dióxido de carbono y agua en glucosa, liberando oxígeno como subproducto. Esta reacción ocurre principalmente en las hojas, dentro de estructuras llamadas cloroplastos.\n\nLa importancia de la fotosíntesis es enorme. En primer lugar, es la base de casi todas las cadenas alimenticias del planeta: los organismos fotosintéticos producen el alimento que sostiene a herbívoros, carnívoros y descomponedores. En segundo lugar, libera el oxígeno que respiramos los seres humanos y la mayoría de los animales, manteniendo la atmósfera habitable. Además, al absorber dióxido de carbono, la fotosíntesis ayuda a regular el clima global y mitigar el efecto invernadero.\n\nSin este proceso, la vida tal como la conocemos no existiría. Por eso, cuidar los bosques, océanos y ecosistemas donde ocurre la fotosíntesis a gran escala es esencial para la salud del planeta y para nuestra propia supervivencia.\n"
  },
  {
   "file": "sonnet/r2-p06-japanese.txt",
   "model": "sonnet",
   "chars": 51,
   "text": "桜散る\n風にまかせて\n春の夢\n\n蝉の声\n夏の日差しに\n響きけり\n\n木枯らしや\n落ち葉重なる\n静けさに\n"
  },
  {
   "file": "sonnet/r2-p07-table.txt",
   "model": "sonnet",
   "chars": 611,
   "text": "| Attribute | Python | JavaScript | Rust | Java |\n|---|---|---|---|---|\n| Typing | Dynamic, strong | Dynamic, weak | Static, strong | Static, strong |\n| Performance | Slower (interpreted) | Moderate (JIT-compiled) | Very fast (compiled, no GC) | Fast (JIT-compiled, GC) |\n| Memory management | Garbage collected | Garbage collected | Ownership/borrow checker | Garbage collected |\n| Primary use cases | Data science, scripting, ML | Web front-end, Node.js back-end | Systems programming, performance-critical apps | Enterprise back-end, Android |\n| Learning curve | Easy | Easy to moderate | Steep | Moderate |\n"
  },
  {
   "file": "sonnet/r2-p08-dialogue.txt",
   "model": "sonnet",
   "chars": 1749,
   "text": "\"Excuse me, I'm working on a paper about the labor movement and I'm not sure where to start,\" Maya said, setting her notebook on the desk.\n\n\"Primary sources, then,\" said the librarian, Mr. Okafor, looking up. \"What period?\"\n\n\"Early 1900s. Strikes, factory conditions, that kind of thing.\"\n\n\"Good. For that era, you're in luck—we have digitized newspaper archives going back to the 1890s. Letters, pamphlets, union records too, some housed in our special collections.\"\n\n\"I didn't even think about union records.\"\n\n\"Most students don't, but they're gold. Meeting minutes, membership rolls, internal correspondence—you get the voices of people who lived it, not just historians writing about it later.\"\n\n\"How do I access special collections?\"\n\n\"You'll need to request materials in advance—some are fragile, so we pull them for you rather than letting you browse the stacks. There's also an online finding aid on the library website that lists what's in each collection.\"\n\n\"And the newspaper archives?\"\n\n\"Those you can search yourself, right now, from any library computer. Try the database called Chronicling America. Search by keyword and date range.\"\n\n\"What counts as primary, exactly? Would a history book with quotes from workers count?\"\n\n\"No—that's secondary, since the author is interpreting the material for you. A primary source is firsthand: a diary entry, a photograph, a court transcript, an actual letter written at the time.\"\n\n\"That makes sense. So the newspaper articles themselves are primary?\"\n\n\"Exactly, as long as they're from the period you're studying, not a retrospective piece written decades later.\"\n\n\"This is really helpful. Thank you.\"\n\n\"Anytime. Come back if you hit a wall—finding the right collection can take a few tries.\"\n"
  },
  {
   "file": "sonnet/r3-p01-short-factual.txt",
   "model": "sonnet",
   "chars": 376,
   "text": "The sky appears blue because sunlight collides with molecules in the atmosphere, and shorter wavelengths like blue are scattered far more strongly than longer wavelengths like red (a phenomenon called Rayleigh scattering). This scattered blue light reaches our eyes from all directions across the sky, making the whole sky look blue rather than just the direction of the sun.\n"
  },
  {
   "file": "sonnet/r3-p02-long-essay.txt",
   "model": "sonnet",
   "chars": 4453,
   "text": "Before the mid-fifteenth century, books in Europe were rare and expensive objects. Each copy of a text had to be produced by hand, typically by monks or professional scribes working in scriptoria, a process that could take months or even years for a single volume. Because of this, books were owned almost exclusively by monasteries, universities, and the wealthy elite. Literacy itself was a narrow privilege, largely confined to clergy, nobility, and merchants who needed to read contracts or scripture. Knowledge moved slowly, and errors introduced by tired or careless copyists accumulated and multiplied with every hand-copied generation of a text.\n\nThe invention of the movable-type printing press by Johannes Gutenberg in the German city of Mainz around 1440 changed the economics of information almost overnight. Gutenberg's key innovation was not printing itself, which had existed in East Asia for centuries in the form of woodblock printing, but rather the combination of durable, reusable metal type, an oil-based ink suited to metal surfaces, and a mechanical press adapted from wine and olive presses. This system allowed individual letters to be cast, arranged into words and pages, printed, and then disassembled and reused for the next job. His most famous production, the Gutenberg Bible of around 1455, demonstrated that a press could produce multiple copies of a lengthy, complex text with a level of consistency and quality that hand-copying could never match at comparable speed.\n\nThe effect on the availability of texts was immediate and dramatic. Within fifty years of Gutenberg's press, printing had spread to nearly every major city in Europe, and it is estimated that around twenty million volumes had been printed by 1500. This explosion in supply drove down the cost of books substantially, putting them within reach of a much broader segment of society than had ever been possible before. Merchants, craftsmen, and eventually farmers and laborers in some regions began to encounter printed material, whether religious texts, almanacs, pamphlets, or the emerging genre of instructional manuals.\n\nThe relationship between the printing press and literacy was reciprocal rather than simply causal. Cheaper, more abundant books created an incentive to learn to read that had not existed when reading materials were scarce and expensive. At the same time, rising literacy created demand for more printed material, encouraging printers to produce texts in vernacular languages rather than only Latin, which further lowered the barrier to entry for ordinary readers. The Protestant Reformation, beginning with Martin Luther in the early sixteenth century, accelerated this dynamic enormously. Luther's insistence that individual believers should read scripture for themselves, combined with his prolific use of the press to distribute pamphlets and translated Bibles, tied literacy directly to religious identity and gave millions of people a personal motive to learn to read.\n\nPrinting also standardized language and spelling in ways that hand-copied manuscripts never could, since a printer's choices were replicated identically across thousands of copies rather than drifting with each new scribe. This helped stabilize national vernaculars and made texts more accessible across regions that had previously been divided by dialectal variation in written language.\n\nBy the seventeenth and eighteenth centuries, the cumulative effects were visible in rising literacy rates across much of Western Europe, the growth of a print-based public sphere of pamphlets and newspapers, and the intellectual ferment of the Scientific Revolution and Enlightenment, both of which depended on the rapid, reliable circulation of ideas that printing made possible. Estimates suggest literacy rates in parts of England and the Netherlands rose from perhaps ten percent in 1500 to well over fifty percent by 1800, though rates varied enormously by region, class, and gender.\n\nThe printing press did not create literacy on its own, and its effects unfolded over centuries rather than years, intertwined with economic development, religious change, and the gradual expansion of schooling. But by making texts dramatically cheaper, more standardized, and more widely available, it removed one of the most fundamental barriers to mass literacy and helped set in motion the long transformation of Europe into a society organized around the printed word.\n"
  },
  {
   "file": "sonnet/r3-p03-code.txt",
   "model": "sonnet",
   "chars": 686,
   "text": "def merge_sorted_lists(list1, list2):\n    \"\"\"\n    Merge two sorted lists into a single sorted list.\n\n    >>> merge_sorted_lists([1, 3, 5], [2, 4, 6])\n    [1, 2, 3, 4, 5, 6]\n    >>> merge_sorted_lists([], [1, 2, 3])\n    [1, 2, 3]\n    >>> merge_sorted_lists([1, 1, 2], [1, 3])\n    [1, 1, 1, 2, 3]\n    \"\"\"\n    merged = []\n    i, j = 0, 0\n\n    while i < len(list1) and j < len(list2):\n        if list1[i] <= list2[j]:\n            merged.append(list1[i])\n            i += 1\n        else:\n            merged.append(list2[j])\n            j += 1\n\n    merged.extend(list1[i:])\n    merged.extend(list2[j:])\n\n    return merged\n\n\nif __name__ == \"__main__\":\n    import doctest\n    doctest.testmod()\n"
  },
  {
   "file": "sonnet/r3-p04-list.txt",
   "model": "sonnet",
   "chars": 572,
   "text": "Set your thermostat a few degrees lower in winter and higher in summer.\nSwitch to LED bulbs throughout the house.\nUnplug chargers and electronics when they're not in use.\nWash clothes in cold water and air-dry when possible.\nSeal drafts around windows and doors with weatherstripping.\nRun dishwashers and washing machines only with full loads.\nInstall a programmable or smart thermostat.\nUse ceiling fans to reduce reliance on air conditioning.\nHave your HVAC system serviced and filters replaced regularly.\nSwitch to ENERGY STAR-rated appliances when replacing old ones.\n"
  },
  {
   "file": "sonnet/r3-p05-spanish.txt",
   "model": "sonnet",
   "chars": 1168,
   "text": "La fotosíntesis es el proceso mediante el cual las plantas, algas y algunas bacterias transforman la energía de la luz solar en energía química. Utilizando la luz, el agua y el dióxido de carbono del aire, estos organismos producen glucosa, que les sirve como fuente de energía para crecer y desarrollarse, y liberan oxígeno como subproducto. Este proceso ocurre principalmente en las hojas, dentro de unas estructuras llamadas cloroplastos, gracias a un pigmento verde llamado clorofila que captura la luz.\n\nLa fotosíntesis importa por varias razones fundamentales. En primer lugar, es la base de casi todas las cadenas alimentarias del planeta, ya que los organismos fotosintéticos producen el alimento que consumen directa o indirectamente casi todos los demás seres vivos. En segundo lugar, este proceso genera la mayor parte del oxígeno que respiramos, siendo esencial para la vida animal y humana. Además, al absorber dióxido de carbono de la atmósfera, la fotosíntesis ayuda a regular el clima del planeta y a mitigar el efecto invernadero. Sin este proceso, la vida tal como la conocemos, con su enorme diversidad y complejidad, simplemente no podría existir.\n"
  },
  {
   "file": "sonnet/r3-p06-japanese.txt",
   "model": "sonnet",
   "chars": 51,
   "text": "春風に\n花びら舞い散る\n静かな朝\n\n蝉の声\n夏の陽炎に\n消えゆく夢\n\n夕焼けや\n紅葉のはらり\n秋の道\n"
  },
  {
   "file": "sonnet/r3-p07-table.txt",
   "model": "sonnet",
   "chars": 573,
   "text": "| Attribute | Python | JavaScript | Rust | Java |\n|---|---|---|---|---|\n| Typing | Dynamic, strong | Dynamic, weak | Static, strong | Static, strong |\n| Primary use case | Data science, scripting, automation | Web front-end, full-stack | Systems programming, performance-critical apps | Enterprise backend, Android |\n| Memory management | Garbage collected | Garbage collected | Ownership/borrow checker (no GC) | Garbage collected |\n| Performance | Moderate to slow | Moderate | Very fast, near C/C++ | Fast |\n| Learning curve | Low | Low to moderate | Steep | Moderate |\n"
  },
  {
   "file": "sonnet/r3-p08-dialogue.txt",
   "model": "sonnet",
   "chars": 1784,
   "text": "\"I'm stuck,\" said Maria, dropping her bag on the desk. \"My professor wants primary sources for this paper, but I don't even know where to start looking.\"\n\n\"That's a great question to bring to a librarian,\" said Mr. Okafor, smiling. \"First, tell me what a primary source means to you.\"\n\n\"Something original, I guess? Not someone else's analysis of it.\"\n\n\"Exactly. Letters, diaries, government records, newspaper articles from the time, photographs, speeches — anything created during the period you're studying, by someone who was actually there. What's your topic?\"\n\n\"The 1960s civil rights movement, specifically the Selma marches.\"\n\n\"Perfect. Let's start with our digital archives. We subscribe to databases like JSTOR and Chronicling America, which has digitized newspapers from that era. You could search Selma marches directly in the newspaper archive and read how it was covered in real time.\"\n\n\"I didn't know newspapers counted as primary sources.\"\n\n\"They do, as long as they're reporting events contemporaneously rather than analyzing them decades later. Also check our special collections catalog — we have an oral history archive with interviews from movement participants.\"\n\n\"That sounds perfect. What about actual documents, like FBI records or letters?\"\n\n\"For those, try the National Archives website, and there's also the Library of Congress's civil rights collection online. Both let you search and view scanned originals for free.\"\n\n\"Should I cite the database or the original document?\"\n\n\"Cite the original document — author, date, title — then add the database as your access point. I can show you the citation format if you'd like.\"\n\n\"Yes, please. And thank you, this is way less overwhelming now.\"\n\n\"That's what we're here for. Come back if you hit another wall.\"\n"
  },
  {
   "file": "sonnet/r4-p01-short-factual.txt",
   "model": "sonnet",
   "chars": 360,
   "text": "The sky appears blue because sunlight collides with gas molecules in the atmosphere, and shorter wavelengths of light (blue) scatter more strongly than longer wavelengths (red) in a process called Rayleigh scattering. This scattered blue light reaches our eyes from all directions across the sky, making it appear blue rather than the white of direct sunlight."
  },
  {
   "file": "sonnet/r4-p02-long-essay.txt",
   "model": "sonnet",
   "chars": 4711,
   "text": "The invention of the printing press by Johannes Gutenberg around 1440 in Mainz, Germany, stands as one of the most transformative technological developments in human history. Before Gutenberg's innovation, books were produced by hand, painstakingly copied by scribes, often monks working in monastery scriptoria. This process was slow, expensive, and prone to error, meaning that books were rare luxury items accessible only to the wealthy, the clergy, and a small educated elite. A single Bible might take a scribe months or even years to complete, and the resulting scarcity of written material meant that literacy itself held little practical value for the average person, since there was scarcely anything to read.\n\nGutenberg's genius lay not in inventing printing itself, since woodblock printing had existed in Asia for centuries, but in developing a system of movable metal type that could be arranged, reused, and combined with an oil-based ink and a modified wine press to produce multiple copies of a text quickly and consistently. His most famous production, the Gutenberg Bible, completed around 1455, demonstrated the viability of the technology and set off a printing revolution that spread rapidly across Europe. Within decades, printing presses had been established in major cities including Venice, Paris, London, and Antwerp, and the number of books in circulation grew from an estimated few tens of thousands in hand-copied form to millions of printed volumes by the year 1500.\n\nThis explosion in the availability of texts had profound effects on European society, chief among them a dramatic expansion of literacy. As books became cheaper and more accessible, the economic incentive to learn to read increased substantially. Merchants, craftsmen, and members of the emerging middle class found practical reasons to become literate, whether to read contracts, religious texts, or the growing body of secular literature. Printed materials also standardized spelling and grammar across regions, which helped stabilize vernacular languages and made them more suitable for widespread written communication, further encouraging literacy among populations who had previously only spoken their native tongues without a strong written tradition.\n\nThe printing press also played a central role in the Protestant Reformation, one of the most significant religious and political upheavals in European history. Martin Luther's ideas, first articulated in his Ninety-Five Theses in 1517, spread across Germany and beyond within weeks, largely because they were quickly typeset and distributed as printed pamphlets. This rapid dissemination would have been unimaginable in the age of hand-copied manuscripts. Luther himself recognized printing as a divine gift for spreading the Gospel, and importantly, he championed translating the Bible into German, making scripture directly accessible to ordinary people rather than mediated exclusively through Latin-speaking clergy. This directly incentivized literacy, as individuals now had a compelling personal and spiritual reason to learn to read for themselves.\n\nThe Renaissance, already underway before Gutenberg's invention, accelerated considerably as printed editions of classical Greek and Roman texts became widely available, fueling humanist scholarship and education. Universities expanded their curricula, and the printing press enabled the standardization of textbooks, making formal education more consistent and reproducible across different institutions and regions. Scientific knowledge similarly benefited, as figures like Copernicus and later Galileo could disseminate their findings to a much wider audience of scholars, enabling faster verification, critique, and building upon previous discoveries than the old system of laboriously copied manuscripts had allowed.\n\nBy the seventeenth and eighteenth centuries, the printing press had given rise to newspapers, pamphlets, and a genuinely public sphere of political and social debate, one of the essential preconditions for the Enlightenment and the eventual rise of democratic institutions across Europe. Literacy rates, though still uneven across social classes and regions, rose substantially, particularly in Protestant northern Europe where reading the Bible was strongly encouraged.\n\nIn sum, the printing press did far more than mechanize the reproduction of texts. It transformed the economics of knowledge, made literacy practically valuable to far more people, catalyzed religious and scientific revolutions, and laid essential groundwork for the modern information society. Few inventions can claim to have so thoroughly reshaped how a civilization thinks, learns, and communicates."
  },
  {
   "file": "sonnet/r4-p03-code.txt",
   "model": "sonnet",
   "chars": 890,
   "text": "def merge_sorted_lists(list1, list2):\n    \"\"\"\n    Merge two sorted lists into a single sorted list.\n\n    Args:\n        list1: A sorted list of comparable elements.\n        list2: A sorted list of comparable elements.\n\n    Returns:\n        A new list containing all elements from list1 and list2, sorted.\n\n    >>> merge_sorted_lists([1, 3, 5], [2, 4, 6])\n    [1, 2, 3, 4, 5, 6]\n    >>> merge_sorted_lists([], [1, 2, 3])\n    [1, 2, 3]\n    >>> merge_sorted_lists([1, 1, 2], [1, 3])\n    [1, 1, 1, 2, 3]\n    \"\"\"\n    result = []\n    i, j = 0, 0\n\n    while i < len(list1) and j < len(list2):\n        if list1[i] <= list2[j]:\n            result.append(list1[i])\n            i += 1\n        else:\n            result.append(list2[j])\n            j += 1\n\n    result.extend(list1[i:])\n    result.extend(list2[j:])\n\n    return result\n\n\nif __name__ == \"__main__\":\n    import doctest\n    doctest.testmod()\n"
  },
  {
   "file": "sonnet/r4-p04-list.txt",
   "model": "sonnet",
   "chars": 666,
   "text": "Switch to LED bulbs; they use up to 80% less energy than incandescent ones.\nUnplug chargers and electronics when not in use to avoid phantom power draw.\nSet your thermostat a few degrees lower in winter and higher in summer.\nWash clothes in cold water and only run full loads.\nAir-dry laundry instead of using a dryer whenever possible.\nSeal drafts around windows and doors with weatherstripping.\nUse a programmable or smart thermostat to avoid heating or cooling an empty house.\nRun dishwashers only when full and skip the heated dry cycle.\nInstall low-flow showerheads to cut hot water usage.\nHave your HVAC system serviced annually to keep it running efficiently."
  },
  {
   "file": "sonnet/r4-p05-spanish.txt",
   "model": "sonnet",
   "chars": 1228,
   "text": "La fotosíntesis es el proceso mediante el cual las plantas, algas y algunas bacterias convierten la luz solar en energía química. Utilizando la clorofila presente en sus células, estos organismos captan la luz del sol y la combinan con agua y dióxido de carbono para producir glucosa, un azúcar que utilizan como fuente de energía para crecer, reproducirse y mantener sus funciones vitales. Como subproducto de este proceso, se libera oxígeno a la atmósfera.\n\nEste proceso es fundamental para la vida en la Tierra por varias razones. Primero, es la base de casi todas las cadenas alimenticias: los animales, incluidos los seres humanos, dependemos directa o indirectamente de las plantas para obtener energía y nutrientes. Segundo, la fotosíntesis es responsable de la producción del oxígeno que respiramos, ya que las plantas liberan este gas como resultado del proceso. Tercero, al absorber dióxido de carbono de la atmósfera, la fotosíntesis ayuda a regular el clima del planeta y a mitigar el efecto invernadero.\n\nEn resumen, la fotosíntesis no solo permite que las plantas sobrevivan, sino que sostiene el equilibrio de todo el ecosistema terrestre, desde la producción de alimento hasta la calidad del aire que respiramos."
  },
  {
   "file": "sonnet/r4-p06-japanese.txt",
   "model": "sonnet",
   "chars": 47,
   "text": "春風や\n花びら舞いて\n道を染む\n\n蝉の声\n夏の日盛り\n影を待つ\n\n秋の月\n静かに照らす\n稲穂道"
  },
  {
   "file": "sonnet/r4-p07-table.txt",
   "model": "sonnet",
   "chars": 610,
   "text": "| Attribute | Python | JavaScript | Rust | Go |\n|---|---|---|---|---|\n| Typing | Dynamic, strong | Dynamic, weak | Static, strong | Static, strong |\n| Performance | Slower (interpreted) | Moderate (JIT-compiled) | Very fast (compiled, no GC) | Fast (compiled, GC) |\n| Memory Management | Automatic (GC) | Automatic (GC) | Manual via ownership/borrowing | Automatic (GC) |\n| Primary Use Cases | Data science, scripting, ML | Web frontend, Node.js backend | Systems programming, performance-critical apps | Cloud services, networking, concurrency |\n| Learning Curve | Easy | Easy to moderate | Steep | Moderate |"
  },
  {
   "file": "sonnet/r4-p08-dialogue.txt",
   "model": "sonnet",
   "chars": 1933,
   "text": "\"Excuse me, I'm working on a research paper about the 1960s civil rights movement, and my professor wants primary sources. I don't really know where to start.\"\n\n\"That's a great project. First, let's clarify what counts as a primary source for your topic—things like newspapers from that era, personal letters, speeches, photographs, or government documents. Have you checked our digital archives yet?\"\n\n\"No, I didn't even know we had those.\"\n\n\"We subscribe to several databases. For civil rights history specifically, I'd point you to our newspaper archive—it has scanned pages from papers going back over a century. You can search by date range and keyword.\"\n\n\"That sounds perfect. What about speeches or personal accounts?\"\n\n\"For speeches, try the audiovisual archive—it has recordings and transcripts. For personal accounts, oral history collections are great primary sources too. Our library has a partnership with a regional oral history project focused on that exact period.\"\n\n\"Is any of that available online, or do I need to come in person?\"\n\n\"Most of it's online through our library portal—just log in with your student ID. Some rarer items, like original manuscripts, are only in our special collections room, but you'd need an appointment for those.\"\n\n\"Should I also look at secondary sources to find leads on primary ones?\"\n\n\"Exactly right. A good history book on the topic will cite primary sources in its footnotes and bibliography. That's often the fastest way to find specific documents worth tracking down yourself.\"\n\n\"This is really helpful. One more thing—how do I know if a source is actually primary and not secondary?\"\n\n\"Ask yourself: was this created during the event, by someone who witnessed or participated in it? If yes, it's primary. Analysis written afterward, even by historians, is secondary.\"\n\n\"Got it. Thank you so much for your help.\"\n\n\"Anytime. Come back if you get stuck navigating the databases.\""
  },
  {
   "file": "fable/r1-p01-short-factual.txt",
   "model": "fable",
   "chars": 473,
   "text": "Sunlight contains all visible wavelengths, but as it passes through the atmosphere the gas molecules scatter shorter wavelengths (blue and violet) far more strongly than longer ones like red and yellow, a process called Rayleigh scattering. That scattered blue light reaches your eyes from every direction in the sky, and because our eyes are more sensitive to blue than to violet, and some violet is absorbed high in the atmosphere, the sky looks blue rather than purple.\n"
  },
  {
   "file": "fable/r1-p02-long-essay.txt",
   "model": "fable",
   "chars": 3883,
   "text": "The Printing Press and the Spread of Literacy in Europe\n\nBefore the middle of the fifteenth century, every book in Europe was written by hand. A single Bible could take a scribe more than a year to copy, and the finished volume cost roughly as much as a small farm. Books were therefore rare objects, concentrated in monasteries, cathedral schools, royal courts, and the libraries of a few wealthy merchants. Reading was a specialised skill, useful mainly to clergy, lawyers, and administrators, and for most of the population it was neither necessary nor attainable. The technology that changed this arrived in Mainz around 1450, when Johannes Gutenberg combined several existing ideas into a working system: movable metal type cast from a hand mould, an oil-based ink that adhered to metal, and a modified screw press of the kind already used for wine and paper. None of the components was new on its own. The innovation lay in bringing them together so that a page could be set once and printed hundreds of times.\n\nGutenberg's 42-line Bible, completed around 1455, demonstrated that printed books could match the quality of manuscripts. What followed was faster than anyone anticipated. By 1480 presses were operating in more than a hundred European towns, and by 1500 an estimated twenty million volumes had been printed, more than all the scribes of the preceding millennium had produced. Venice became the early capital of the trade, home to printers such as Aldus Manutius, who introduced smaller, cheaper octavo formats that a reader could carry in a pocket. Prices fell steadily. A book that had cost a year's wages in 1450 might cost a few days' wages by 1550.\n\nThe effect on literacy was not immediate, and it is easy to overstate the speed of the change. In 1500 probably fewer than one in ten adults in western Europe could read, and the figure was lower for women and for rural populations. But the press altered the incentives. Once printed material was cheap and widely available, reading became useful to people who had previously had no reason to acquire it: shopkeepers who needed to follow price lists and almanacs, craftsmen who wanted instruction manuals, townspeople who wanted to follow religious and political controversies as they unfolded in pamphlets. Literacy shifted from a professional qualification to a general skill.\n\nReligion was the most powerful engine of this shift. Martin Luther's ninety-five theses of 1517 circulated across Germany in a matter of weeks, something that would have been impossible a century earlier. The Reformation that followed insisted that believers should read scripture for themselves, and Protestant regions established schools and printed catechisms and vernacular Bibles to make that possible. Luther's German New Testament of 1522 sold in the tens of thousands. Catholic authorities responded in kind, printing their own devotional literature and, in some places, sponsoring schooling to counter Protestant influence. In both cases the outcome was more readers.\n\nThe press also standardised language. Printers preferred a single form of a vernacular over the many regional dialects, and the versions they chose, such as the London English of Caxton's editions or the Saxon German of Luther's Bible, became the written norms. Standard spelling and grammar in turn made reading easier to teach, since a child in one town learned the same forms as a child in another.\n\nBy the end of the seventeenth century, literacy in the Netherlands, Scotland, and parts of Germany and England had reached half or more of the adult male population, and cheap print in the form of ballads, chapbooks, and newspapers had become part of everyday life. The printing press did not create literacy, but it made literacy worth having. That reversal of incentives, more than any single book, is its lasting contribution to European history.\n"
  },
  {
   "file": "fable/r1-p03-code.txt",
   "model": "fable",
   "chars": 1086,
   "text": "def merge_sorted(left, right):\n    \"\"\"Merge two sorted lists into a single sorted list.\n\n    Both input lists must already be sorted in ascending order. The\n    result preserves the relative order of equal elements, taking from\n    ``left`` first, so the merge is stable. The inputs are not modified.\n\n    Args:\n        left: A list sorted in ascending order.\n        right: A list sorted in ascending order.\n\n    Returns:\n        A new list containing every element of ``left`` and ``right``\n        in ascending order.\n\n    >>> merge_sorted([1, 3, 5], [2, 4, 6])\n    [1, 2, 3, 4, 5, 6]\n    >>> merge_sorted([], [1, 2, 3])\n    [1, 2, 3]\n    >>> merge_sorted([1, 2, 2, 7], [2, 3])\n    [1, 2, 2, 2, 3, 7]\n    \"\"\"\n    merged = []\n    i = j = 0\n    while i < len(left) and j < len(right):\n        if left[i] <= right[j]:\n            merged.append(left[i])\n            i += 1\n        else:\n            merged.append(right[j])\n            j += 1\n    merged.extend(left[i:])\n    merged.extend(right[j:])\n    return merged\n\n\nif __name__ == \"__main__\":\n    import doctest\n    doctest.testmod()\n"
  },
  {
   "file": "fable/r1-p04-list.txt",
   "model": "fable",
   "chars": 1095,
   "text": "1. Lower your thermostat by one or two degrees in winter and raise it in summer; each degree saves a few percent on heating and cooling.\n2. Replace any remaining incandescent or halogen bulbs with LEDs, which use about a fifth of the electricity.\n3. Wash clothes in cold water and only run full loads.\n4. Air-dry laundry when you can; the dryer is one of the most power-hungry appliances in the house.\n5. Seal gaps around windows, doors, and skirting boards with weatherstripping or caulk to stop draughts.\n6. Unplug chargers and put TVs, consoles, and set-top boxes on a switched power strip to cut standby draw.\n7. Set your water heater to 60°C (140°F) or slightly lower and insulate the tank and the first metre of pipe.\n8. Keep the fridge between 3 and 5°C, leave a gap behind it for airflow, and clean the coils once a year.\n9. Cook with lids on pots, match pan size to the burner, and use a microwave or air fryer for small portions instead of the full oven.\n10. Close curtains or blinds at night in winter to hold heat in, and during the hottest part of the day in summer to keep it out.\n"
  },
  {
   "file": "fable/r1-p05-spanish.txt",
   "model": "fable",
   "chars": 1299,
   "text": "La fotosíntesis es el proceso mediante el cual las plantas, las algas y algunas bacterias transforman la energía de la luz solar en energía química almacenada en forma de azúcares. Ocurre principalmente en las hojas, dentro de unos orgánulos llamados cloroplastos, que contienen clorofila, el pigmento verde que capta la luz. Durante el proceso, la planta absorbe dióxido de carbono del aire a través de pequeños poros llamados estomas y toma agua del suelo por las raíces. Con la energía de la luz, rompe las moléculas de agua y combina el hidrógeno resultante con el dióxido de carbono para producir glucosa, liberando oxígeno como subproducto.\n\nSu importancia es difícil de exagerar. En primer lugar, es la fuente de casi todo el oxígeno que respiramos: sin fotosíntesis, la atmósfera terrestre no tendría oxígeno libre. En segundo lugar, constituye la base de prácticamente todas las cadenas alimentarias, porque los azúcares que fabrican las plantas alimentan a los herbívoros, y estos a su vez a los carnívoros. En tercer lugar, retira dióxido de carbono de la atmósfera, lo que ayuda a regular el clima del planeta. Incluso los combustibles fósiles que usamos hoy son restos de fotosíntesis realizada hace millones de años. En resumen, la fotosíntesis sostiene la vida tal como la conocemos.\n"
  },
  {
   "file": "fable/r1-p06-japanese.txt",
   "model": "fable",
   "chars": 58,
   "text": "春の句\n花吹雪\nふりむく人の\n肩に舞い\n\n夏の句\n蝉の声\n止んで一瞬\n風の音\n\n冬の句\n初雪や\n足跡ひとつ\n朝の道\n"
  },
  {
   "file": "fable/r1-p07-table.txt",
   "model": "fable",
   "chars": 1204,
   "text": "| Attribute            | Python                          | JavaScript                        | Rust                              | Go                                |\n|----------------------|---------------------------------|-----------------------------------|-----------------------------------|-----------------------------------|\n| Typing               | Dynamic, optional type hints    | Dynamic (static via TypeScript)   | Static, strong, inferred          | Static, strong, some inference    |\n| Memory management    | Garbage collected               | Garbage collected                 | Ownership and borrowing, no GC    | Garbage collected                 |\n| Performance          | Slow interpreter, fast C libs   | Fast JIT (V8), single-threaded    | Native speed, comparable to C/C++ | Native, close to C, fast compile  |\n| Concurrency model    | Threads (GIL), asyncio, multiprocessing | Event loop, async/await, workers | Threads, async/await, channels, fearless concurrency | Goroutines and channels |\n| Primary use cases    | Data science, scripting, backend, ML | Web front end, Node.js backends | Systems, CLI tools, WebAssembly, embedded | Cloud services, CLI tools, infrastructure |\n"
  },
  {
   "file": "fable/r1-p08-dialogue.txt",
   "model": "fable",
   "chars": 2120,
   "text": "Student: Hi, sorry to bother you. My history professor wants us to use at least three primary sources for our paper, and I'm not totally sure what counts.\n\nLibrarian: No bother at all. A primary source is something created at the time you're studying, or by someone who was there. Letters, diaries, speeches, newspaper reports from that week, photographs, government records, even objects. A secondary source is someone writing about it later, like a textbook or a journal article.\n\nStudent: Okay. My topic is the 1918 influenza pandemic in Philadelphia.\n\nLibrarian: Good, that's a well-documented event. Where have you looked so far?\n\nStudent: Just Google, honestly. Mostly I get articles summarizing what happened.\n\nLibrarian: That's the secondary layer. Let's go underneath it. First stop, our database list. We subscribe to a historical newspaper archive, so you can read the Philadelphia Inquirer and Evening Bulletin from October 1918 exactly as they were printed. Search for \"influenza\" and limit the date range.\n\nStudent: Can I do that from my dorm?\n\nLibrarian: Yes, log in with your student ID. Second, check digital collections at the city archives and the College of Physicians of Philadelphia. They've scanned public health notices, death registers, and letters from doctors.\n\nStudent: I didn't know those existed.\n\nLibrarian: Most people don't. Third, look at the footnotes in those secondary articles you found. Historians cite their primary sources. If a footnote mentions a report from the Board of Health, you can often track down the original.\n\nStudent: So the secondary sources are kind of a map.\n\nLibrarian: Exactly. One more thing: when you find a source, write down where it came from right away. Archive name, box number, URL, date accessed. You'll need it for your citations, and you'll never remember later.\n\nStudent: That's already happened to me once.\n\nLibrarian: It happens to everyone. Come back if you get stuck. I can also show you how to request items through interlibrary loan if something isn't online.\n\nStudent: Thanks, this is a lot clearer now.\n\nLibrarian: Good luck with the paper.\n"
  },
  {
   "file": "fable/r2-p01-short-factual.txt",
   "model": "fable",
   "chars": 408,
   "text": "Sunlight contains all visible wavelengths, and as it passes through the atmosphere the gas molecules scatter the shorter wavelengths (blue and violet) far more strongly than the longer ones, a process called Rayleigh scattering. That scattered blue light reaches your eyes from every direction in the sky, while violet contributes less because the sun emits less of it and our eyes are less sensitive to it.\n"
  },
  {
   "file": "fable/r2-p02-long-essay.txt",
   "model": "fable",
   "chars": 3709,
   "text": "Before the middle of the fifteenth century, every book in Europe was copied by hand. A single Bible could occupy a scribe for more than a year, and the finished volume cost about as much as a small farm. Books were rare objects, concentrated in monasteries, universities, and the households of the very wealthy. Most Europeans never touched one, and a peasant or artisan had little reason to learn to read when there was nothing to read.\n\nJohannes Gutenberg changed this in Mainz around 1450. He did not invent printing as such; woodblock printing had existed in China for centuries, and Korean printers had already cast metal type. What Gutenberg assembled was a working system: durable metal type cast from a hand mould, an oil-based ink that adhered to metal, and a press adapted from the wine and paper trades that applied even pressure across a sheet. His forty-two-line Bible, completed around 1455, showed that the system could produce books rivalling the best manuscripts, and produce them in quantity.\n\nThe technology spread quickly. By 1480 there were presses in more than a hundred European towns, and by 1500 printers had produced somewhere between eight and twenty million volumes, more than all the scribes of the preceding thousand years combined. Venice became the largest centre, where Aldus Manutius pioneered the small octavo format and the italic typeface. Prices collapsed: a printed book in 1500 cost perhaps an eighth of its manuscript equivalent, and the gap widened through the sixteenth century.\n\nThe effect on literacy was gradual and then profound. The press did not create readers overnight. Literacy in 1500 remained low, perhaps ten percent of men in the urbanised parts of Italy, Germany, and the Low Countries, and far less among women and rural populations. What the press changed was the incentive. Cheap primers, almanacs, devotional pamphlets, and broadsheets gave ordinary people something worth reading, and reading became a practical skill rather than a clerical specialism.\n\nThe Reformation accelerated this. Luther's ninety-five theses of 1517 circulated across Germany within weeks, and his German New Testament sold tens of thousands of copies in the 1520s. Protestant doctrine held that believers should read scripture for themselves, which made literacy a religious duty. Lutheran and later Calvinist territories established parish schools, and by the late seventeenth century Sweden, which required households to pass reading examinations, approached universal literacy. Catholic regions answered with printed catechisms and schooling of their own, though generally later and more cautiously.\n\nPrinting also standardised language. Printers favoured the dialects of major commercial centres, so the German of Luther's Bible, the English of London, and the French of Paris became written norms. Spelling stabilised because compositors reused the same forms. A reader in one region could now understand text produced in another, which enlarged the audience for every book and made learning to read more worthwhile.\n\nBy 1700 roughly half of men in England, the Dutch Republic, and parts of Germany could sign their names, a crude but standard proxy for literacy, and women's rates were rising. The press had not done this alone. Commerce, urbanisation, state bureaucracy, and religious reform all demanded readers. But the press made text cheap enough for those demands to be met, and it turned literacy from the possession of a small class into an ordinary feature of European life. That shift prepared the ground for the scientific journals, newspapers, and novels of the following centuries, and for the modern assumption that reading is something everyone does.\n"
  },
  {
   "file": "fable/r2-p03-code.txt",
   "model": "fable",
   "chars": 904,
   "text": "def merge_sorted(left, right):\n    \"\"\"Merge two sorted lists into a single sorted list.\n\n    Both inputs must already be sorted in ascending order. A new list is\n    returned and neither input is modified. Duplicates are preserved, and\n    the merge is stable: when elements compare equal, those from ``left``\n    appear before those from ``right``.\n\n    >>> merge_sorted([1, 3, 5], [2, 4, 6])\n    [1, 2, 3, 4, 5, 6]\n    >>> merge_sorted([], [7, 8])\n    [7, 8]\n    >>> merge_sorted([1, 2, 2], [2, 3])\n    [1, 2, 2, 2, 3]\n    \"\"\"\n    merged = []\n    i = j = 0\n    while i < len(left) and j < len(right):\n        if left[i] <= right[j]:\n            merged.append(left[i])\n            i += 1\n        else:\n            merged.append(right[j])\n            j += 1\n    merged.extend(left[i:])\n    merged.extend(right[j:])\n    return merged\n\n\nif __name__ == \"__main__\":\n    import doctest\n\n    doctest.testmod()\n"
  },
  {
   "file": "fable/r2-p04-list.txt",
   "model": "fable",
   "chars": 913,
   "text": "1. Replace incandescent and halogen bulbs with LEDs, which use about 75% less electricity.\n2. Lower the thermostat one or two degrees in winter and raise it in summer; each degree saves roughly 3% on heating or cooling.\n3. Seal drafts around windows, doors, and outlets with weatherstripping or caulk.\n4. Wash clothes in cold water and hang them to dry whenever you can.\n5. Put TVs, consoles, and chargers on a switched power strip to cut standby draw.\n6. Run the dishwasher and washing machine only with full loads.\n7. Set the water heater to 120°F (49°C) and insulate the tank and the first metre of hot pipe.\n8. Use a programmable or smart thermostat so heating and cooling drop automatically when you are asleep or out.\n9. Keep refrigerator coils clean and door seals tight, and do not set it colder than 37°F (3°C).\n10. Close blinds on hot afternoons and open them on sunny winter days to manage solar heat.\n"
  },
  {
   "file": "fable/r2-p05-spanish.txt",
   "model": "fable",
   "chars": 1324,
   "text": "La fotosíntesis es el proceso mediante el cual las plantas, las algas y algunas bacterias transforman la energía de la luz solar en energía química. Ocurre principalmente en los cloroplastos, unos orgánulos que contienen clorofila, el pigmento verde que absorbe la luz. Durante el proceso, la planta toma dióxido de carbono del aire a través de pequeños poros llamados estomas y agua del suelo por las raíces. Con la energía de la luz, rompe las moléculas de agua, libera oxígeno y utiliza el hidrógeno y el carbono para fabricar glucosa, un azúcar que le sirve de alimento y de materia prima para crecer.\n\nLa fotosíntesis importa por varias razones. En primer lugar, produce casi todo el oxígeno que respiramos: sin ella la atmósfera no sería habitable para los animales. En segundo lugar, es la base de casi todas las cadenas alimentarias, ya que los herbívoros comen plantas y los carnívoros comen herbívoros; la energía que nos mantiene vivos procede, en último término, del sol capturado por las hojas. En tercer lugar, retira dióxido de carbono de la atmósfera, lo que ayuda a regular el clima del planeta. Incluso los combustibles fósiles son restos de fotosíntesis realizada hace millones de años. Entender este proceso es clave para la agricultura, la conservación de los bosques y la búsqueda de energías limpias.\n"
  },
  {
   "file": "fable/r2-p06-japanese.txt",
   "model": "fable",
   "chars": 76,
   "text": "菜の花や　夕日に染まる　帰り道\n（季語：菜の花・春）\n\n蛍飛ぶ　川面に揺れる　母の声\n（季語：蛍・夏）\n\n初雪や　猫の足跡　縁側へ\n（季語：初雪・冬）\n"
  },
  {
   "file": "fable/r2-p07-table.txt",
   "model": "fable",
   "chars": 957,
   "text": "| Attribute | Python | JavaScript | Rust | Go |\n|---|---|---|---|---|\n| Typing | Dynamic, with optional type hints | Dynamic (static via TypeScript) | Static, strong, with inference | Static, strong |\n| Memory management | Garbage collected (reference counting plus cycle collector) | Garbage collected | Ownership and borrowing, no garbage collector | Garbage collected |\n| Concurrency | Threads limited by the GIL; asyncio; multiprocessing | Single-threaded event loop; async/await; Web Workers | Threads and async/await, with data races prevented at compile time | Goroutines and channels |\n| Typical performance | Slow for CPU-bound work | Fast for a dynamic language thanks to JIT engines | Comparable to C and C++ | Fast, somewhat behind Rust and C |\n| Main use cases | Data science, scripting, automation, web backends | Web frontends, Node.js servers | Systems programming, CLIs, embedded, WebAssembly | Cloud services, networking, DevOps tooling |\n"
  },
  {
   "file": "fable/r2-p08-dialogue.txt",
   "model": "fable",
   "chars": 1976,
   "text": "Student: Excuse me, I'm writing a paper on the 1918 flu pandemic and my professor says I need primary sources. I'm not completely sure what counts.\n\nLibrarian: A primary source is something created at the time, or by someone who was there. Letters, diaries, newspaper reports from 1918, government health bulletins, photographs. A history book written last year about the pandemic is a secondary source.\n\nStudent: So where do I find letters from 1918?\n\nLibrarian: Start with our digital archives. We subscribe to several newspaper databases, so you can read what the local papers printed week by week. Search by date range rather than by keyword at first, because people in 1918 didn't call it the \"Spanish flu\" consistently. Try \"influenza\" and \"grippe.\"\n\nStudent: I hadn't thought about the vocabulary changing.\n\nLibrarian: It trips up almost everyone. Next, look at the Library of Congress and the National Archives. Both have digitised collections you can search from home. State historical societies are good too, especially for diaries and family letters.\n\nStudent: What about the university's own collection?\n\nLibrarian: Special Collections is on the third floor. They hold the papers of a nursing school that operated here during the pandemic, including patient logs and staff correspondence. You'd need to request items in advance and use them in the reading room, but the archivist can help you identify what's relevant.\n\nStudent: How do I know a source is trustworthy?\n\nLibrarian: Ask who made it, when, and why. A public health poster was meant to persuade, so it tells you about official messaging more than about actual conditions. A private letter might be more candid but reflects one person's view. You don't discard either one; you just read them knowing what they are.\n\nStudent: That's really helpful. Can I book time with you if I get stuck?\n\nLibrarian: Of course. Use the research consultation form on our website, and bring whatever you've found so far.\n"
  },
  {
   "file": "fable/r3-p01-short-factual.txt",
   "model": "fable",
   "chars": 460,
   "text": "Sunlight contains all visible wavelengths, and as it passes through the atmosphere the gas molecules scatter the shorter wavelengths (blue and violet) far more strongly than the longer ones, a process called Rayleigh scattering. That scattered blue light reaches your eyes from every direction in the sky, and because our eyes are more sensitive to blue than to violet and some violet is absorbed high in the atmosphere, the sky looks blue rather than purple.\n"
  },
  {
   "file": "fable/r3-p02-long-essay.txt",
   "model": "fable",
   "chars": 3839,
   "text": "Before the middle of the fifteenth century, a book in Europe was a rare and expensive object. Every copy was written out by hand, usually by monks or professional scribes, on parchment made from animal skin. A single Bible could take a scribe more than a year to complete and might cost as much as a small farm. Libraries were measured in dozens of volumes rather than thousands, and reading was a skill confined to the clergy, a thin layer of administrators and merchants, and a few aristocrats. The written word existed, but it did not circulate.\n\nJohannes Gutenberg changed that. Working in Mainz in the 1440s and early 1450s, he combined several existing technologies into a workable system: metal type cast from a reusable mould, an oil-based ink that would adhere to metal, and a press adapted from the screw presses used for wine and olives. None of the pieces was entirely new, but the combination was. His forty-two-line Bible, finished around 1455, demonstrated that a machine could produce text as legible as a scribe's and do so in quantity. Roughly 180 copies were printed, a number that would have taken a scriptorium decades to match.\n\nThe technology spread with remarkable speed. Printers trained in Mainz carried the craft to Strasbourg, Cologne, and Basel, then over the Alps to Venice, which became the printing capital of Europe by the 1480s. By 1500, presses were operating in more than 250 towns, and historians estimate that somewhere between eight and twenty million books had been printed, more than all the manuscripts produced in the previous thousand years. The price of a book fell sharply. What had once cost a year's wages could, for a short pamphlet, be had for the price of a meal.\n\nThe effect on literacy was neither immediate nor uniform, but it was profound. In the first decades, printers largely served existing readers, producing Latin Bibles, liturgical texts, and legal and medical works for clergy and scholars. Soon, however, they discovered a larger market in the vernacular. Grammars, almanacs, romances, and devotional books in German, Italian, French, and English gave ordinary people a reason to learn to read and cheap material to practise on. Printing also standardised spelling and grammar within each language, since printers in different cities were now setting type from the same models, and this consistency made reading easier to teach.\n\nThe Reformation accelerated the process. Martin Luther's pamphlets sold in the hundreds of thousands during the 1520s, and his German New Testament of 1522 went through dozens of editions within a few years. Protestant reformers argued that every believer should read scripture directly, which turned literacy into a religious duty and gave rise to schools, catechisms, and primers across northern Europe. Catholic regions responded with their own printed devotional literature. On both sides, the argument was conducted in print and assumed a reading public.\n\nThe numbers bear this out. In England, roughly one adult man in ten could sign his name around 1500; by 1700 the figure was close to half, and in cities and among tradesmen it was higher still. Women lagged behind but followed the same upward curve. Similar patterns appear in the Netherlands, the German states, and Scandinavia, where Lutheran churches examined parishioners on their reading. Literacy remained lowest in the rural south and east, where printing arrived later and schooling was thinner.\n\nThe printing press did not create literacy on its own. Schools, churches, commerce, and the growth of towns all played a part. But the press removed the fundamental obstacle: the scarcity of things to read. Once text became cheap and abundant, the ability to read stopped being a specialist's privilege and became, over three centuries, an ordinary expectation of European life.\n"
  },
  {
   "file": "fable/r3-p03-code.txt",
   "model": "fable",
   "chars": 984,
   "text": "```python\ndef merge_sorted(a, b):\n    \"\"\"Merge two sorted lists into a single sorted list.\n\n    Both input lists must already be sorted in ascending order. The\n    merge is stable: when elements compare equal, items from ``a``\n    come before items from ``b``. Neither input list is modified.\n\n    >>> merge_sorted([1, 3, 5], [2, 4, 6])\n    [1, 2, 3, 4, 5, 6]\n    >>> merge_sorted([], [1, 2, 3])\n    [1, 2, 3]\n    >>> merge_sorted([1, 2, 2], [2, 3])\n    [1, 2, 2, 2, 3]\n    \"\"\"\n    merged = []\n    i = j = 0\n    while i < len(a) and j < len(b):\n        if a[i] <= b[j]:\n            merged.append(a[i])\n            i += 1\n        else:\n            merged.append(b[j])\n            j += 1\n    merged.extend(a[i:])\n    merged.extend(b[j:])\n    return merged\n\n\nif __name__ == \"__main__\":\n    import doctest\n    doctest.testmod()\n```\n\nRun the file directly to execute the doctests; it prints nothing when all three pass, or add `-v` (`python merge_sorted.py -v`) to see each test reported.\n"
  },
  {
   "file": "fable/r3-p04-list.txt",
   "model": "fable",
   "chars": 764,
   "text": "1. Lower your thermostat by 1 to 2 degrees in winter and raise it by the same in summer.\n2. Replace remaining incandescent or halogen bulbs with LEDs.\n3. Wash clothes in cold water and only run full loads.\n4. Air-dry laundry instead of using the tumble dryer whenever you can.\n5. Unplug chargers and switch off standby devices, or put them on a power strip you can turn off.\n6. Seal drafts around windows and doors with weatherstripping or caulk.\n7. Set your water heater to 120 F (49 C) and insulate the tank and hot pipes.\n8. Use lids on pots and match pan size to the burner when cooking.\n9. Clean or replace HVAC filters every few months so the system does not work harder than it needs to.\n10. Run the dishwasher only when full and skip the heated dry cycle.\n"
  },
  {
   "file": "fable/r3-p05-spanish.txt",
   "model": "fable",
   "chars": 1258,
   "text": "La fotosíntesis es el proceso mediante el cual las plantas, las algas y algunas bacterias transforman la energía de la luz en energía química. Ocurre principalmente en los cloroplastos, unos orgánulos que contienen clorofila, el pigmento verde que capta la luz solar. Con esa energía, la planta combina el dióxido de carbono que absorbe del aire y el agua que toma del suelo para producir glucosa, un azúcar que le sirve de alimento, y libera oxígeno como subproducto. En términos sencillos: entran luz, agua y CO2; salen azúcar y oxígeno.\n\nEste proceso importa por varias razones. Primero, es la base de casi todas las cadenas alimentarias: los animales, incluidos los seres humanos, dependemos directa o indirectamente de la materia orgánica que fabrican las plantas. Segundo, la fotosíntesis produce el oxígeno que respiramos y mantiene su concentración en la atmósfera. Tercero, retira dióxido de carbono del aire, lo que ayuda a regular el clima del planeta. Además, los combustibles fósiles que usamos hoy son, en el fondo, energía solar capturada por organismos fotosintéticos hace millones de años.\n\nSin fotosíntesis no habría bosques, ni cosechas, ni aire respirable tal como lo conocemos. Entenderla es entender cómo funciona la vida en la Tierra.\n"
  },
  {
   "file": "fable/r3-p06-japanese.txt",
   "model": "fable",
   "chars": 81,
   "text": "菜の花や　遠くにひびく　寺の鐘\n（季語：菜の花・春）\n\n蝉しぐれ　石段のぼる　影ひとつ\n（季語：蝉しぐれ・夏）\n\n初雪や　足跡のなき　駅の朝\n（季語：初雪・冬）\n"
  },
  {
   "file": "fable/r3-p07-table.txt",
   "model": "fable",
   "chars": 642,
   "text": "| Attribute | Python | JavaScript | Rust | Go |\n|---|---|---|---|---|\n| Typing | Dynamic, strong | Dynamic, weak | Static, strong, inferred | Static, strong |\n| Memory management | Garbage collected | Garbage collected | Ownership and borrowing, no GC | Garbage collected |\n| Performance | Slow (interpreted) | Moderate (JIT compiled) | Very fast (compiled, no runtime) | Fast (compiled) |\n| Primary use cases | Data science, scripting, web backends | Web front ends, Node.js servers | Systems programming, performance-critical tools | Cloud services, CLI tools, networking |\n| Learning curve | Gentle | Gentle to moderate | Steep | Gentle |\n"
  },
  {
   "file": "fable/r3-p08-dialogue.txt",
   "model": "fable",
   "chars": 1915,
   "text": "Student: Excuse me, I'm writing a paper on the 1918 flu pandemic and my professor says I need primary sources. All I have so far are textbooks and a couple of journal articles.\n\nLibrarian: That's a normal place to start. First, let's be clear about what counts. A primary source is something created at the time, or by someone who was there: letters, diaries, newspaper reports, government records, photographs, oral histories. A textbook that describes those things is secondary.\n\nStudent: So where do I find letters from 1918?\n\nLibrarian: More places than you'd expect. Start with our newspaper databases. We have full runs of several papers from that period, and you can search by date and keyword. A report on hospital closures written that week is a primary source.\n\nStudent: What about official records?\n\nLibrarian: Public health departments published weekly mortality bulletins. Many are digitised through the National Archives and the Library of Congress. University archives often hold faculty letters and student newspapers from the period too. Ours has a box of correspondence from the campus infirmary.\n\nStudent: Can I actually look at that?\n\nLibrarian: Request it at the special collections desk. Bring a pencil, not a pen, and give them a day's notice.\n\nStudent: How do I know whether a source is reliable?\n\nLibrarian: You don't need it to be reliable the way a modern study is. You need to know who made it, when, and why. A newspaper that downplayed the outbreak to avoid panic is still useful; it tells you how the outbreak was managed.\n\nStudent: That's a different way of thinking about it.\n\nLibrarian: It is. The source is evidence, not an answer. And write down where you found each one as you go. Tracing a citation back later is the most tedious job in research.\n\nStudent: Thank you. I'll start with the newspapers.\n\nLibrarian: Come back if you get stuck. The archivist loves a good question.\n"
  },
  {
   "file": "fable/r4-p01-short-factual.txt",
   "model": "fable",
   "chars": 472,
   "text": "Sunlight contains all visible wavelengths, but when it passes through the atmosphere the gas molecules scatter shorter wavelengths (blue and violet) far more strongly than longer ones like red and yellow, a process called Rayleigh scattering. That scattered blue light reaches our eyes from every direction in the sky, and because our eyes are more sensitive to blue than violet and some violet is absorbed high in the atmosphere, the sky appears blue rather than purple.\n"
  },
  {
   "file": "fable/r4-p02-long-essay.txt",
   "model": "fable",
   "chars": 3910,
   "text": "The printing press did not arrive in Europe as a single invention so much as a convergence of existing techniques. Woodblock printing had been practised in East Asia for centuries, and movable type had been used in China and Korea well before Johannes Gutenberg began his experiments in Mainz in the 1440s. What Gutenberg contributed was a workable system: metal type cast from a hand mould, an oil-based ink that adhered to metal, and a screw press adapted from those used for wine and paper. By 1455 he had produced his 42-line Bible, and within a generation the technology had spread to Italy, France, the Low Countries, Spain and England.\n\nThe speed of that spread is striking. By 1480 there were presses in more than a hundred European towns; by 1500, the end of the so-called incunabula period, an estimated twenty million volumes had been printed across the continent. A scribe copying a manuscript might produce one book in several months. A print shop could turn out hundreds of copies of the same text in the same time, at a fraction of the cost per copy. Books stopped being treasures owned by monasteries, universities and the very rich and became goods that a merchant, a lawyer or a parish priest could afford.\n\nThe effect on literacy was gradual rather than immediate, and historians disagree about how much of it to attribute to printing alone. In 1450 perhaps five to ten percent of Europeans could read, most of them clergy, officials and townspeople. Printing did not itself teach anyone to read, but it changed the incentives. When texts were scarce, learning to read was a specialised skill with limited application. When cheap pamphlets, almanacs, devotional works and broadsheets were available in the marketplace, reading became useful to ordinary people, and demand for schooling grew with it.\n\nTwo developments amplified this. The first was the shift from Latin to vernacular languages. Early printers quickly discovered that the market for Latin texts was small and saturated, whereas books in German, Italian, French or English could reach far larger audiences. Printing in the vernacular also helped standardise those languages, fixing spelling and grammar in ways that made reading easier to learn. The second was the Reformation. Martin Luther's writings after 1517 spread through Germany with a speed that would have been impossible a century earlier; some estimates suggest that a third of all German-language books printed in the 1520s were by Luther. Protestant reformers insisted that believers should read scripture for themselves, and Protestant territories established schools to make that possible. Catholic regions responded with their own printed catechisms and educational efforts.\n\nBy the end of the sixteenth century, literacy in parts of northern Europe, particularly the Netherlands, England, Scotland and the German Protestant states, had risen to perhaps a third of adult men, with lower but rising rates among women. Progress was uneven. Rural areas lagged behind towns, the poor behind the prosperous, and southern and eastern Europe behind the northwest. Still, the direction was clear. Print created a reading public where none had existed, and that public in turn sustained newspapers, novels, scientific journals and political pamphlets over the following centuries.\n\nThe printing press also changed what literacy meant. Manuscript culture had prized memory and oral recitation; print culture rewarded silent reading, private study and the ability to consult indexes, page numbers and tables of contents, all of which were largely innovations of the printed book. Learning to read came to mean learning to navigate a standardised object. In that sense the press did more than put more books in more hands. It reshaped the habits of mind that reading involved, and laid the groundwork for the mass literacy that industrial Europe would eventually achieve.\n"
  },
  {
   "file": "fable/r4-p03-code.txt",
   "model": "fable",
   "chars": 1108,
   "text": "```python\ndef merge_sorted(left, right):\n    \"\"\"Merge two sorted lists into a single sorted list.\n\n    Both inputs must already be sorted in ascending order. The inputs are\n    not modified, and elements that compare equal keep their relative order\n    (elements from ``left`` come first), so the merge is stable.\n\n    >>> merge_sorted([1, 3, 5], [2, 4, 6])\n    [1, 2, 3, 4, 5, 6]\n    >>> merge_sorted([], [1, 2, 3])\n    [1, 2, 3]\n    >>> merge_sorted([1, 2, 2, 7], [2, 3])\n    [1, 2, 2, 2, 3, 7]\n    \"\"\"\n    merged = []\n    i = j = 0\n    while i < len(left) and j < len(right):\n        if left[i] <= right[j]:\n            merged.append(left[i])\n            i += 1\n        else:\n            merged.append(right[j])\n            j += 1\n    merged.extend(left[i:])\n    merged.extend(right[j:])\n    return merged\n\n\nif __name__ == \"__main__\":\n    import doctest\n    doctest.testmod()\n```\n\nRun the file directly (`python merge_sorted.py -v`) to execute the doctests. The function runs in O(n + m) time and uses a single pass with two indices, appending whatever remains of either list once the other is exhausted.\n"
  },
  {
   "file": "fable/r4-p04-list.txt",
   "model": "fable",
   "chars": 866,
   "text": "1. Replace incandescent and halogen bulbs with LEDs throughout the house.\n2. Lower the thermostat a degree or two in winter and raise it in summer; a programmable thermostat makes this automatic.\n3. Wash clothes in cold water and only run full loads.\n4. Air-dry laundry instead of using the tumble dryer whenever weather and space allow.\n5. Plug electronics into a switched power strip and turn it off to eliminate standby draw.\n6. Seal gaps around windows, doors and outlets with weatherstripping or caulk.\n7. Run the dishwasher only when full and skip the heated dry cycle.\n8. Set the water heater to 120°F (49°C) and insulate exposed hot-water pipes.\n9. Cook with lids on pots, match pan size to the burner, and use a microwave or toaster oven for small meals.\n10. Clean or replace HVAC filters every few months so the system does not work harder than necessary.\n"
  },
  {
   "file": "fable/r4-p05-spanish.txt",
   "model": "fable",
   "chars": 1321,
   "text": "La fotosíntesis es el proceso mediante el cual las plantas, las algas y algunas bacterias transforman la energía de la luz en energía química. Ocurre principalmente en los cloroplastos, unos orgánulos que contienen clorofila, el pigmento verde que absorbe la luz solar. A partir del dióxido de carbono tomado del aire y del agua absorbida por las raíces, la planta fabrica glucosa, un azúcar que utiliza como alimento y como material de construcción, y libera oxígeno como subproducto. La ecuación resumida es sencilla: seis moléculas de CO₂ y seis de agua, con energía luminosa, producen una molécula de glucosa y seis de oxígeno.\n\nSu importancia es difícil de exagerar. En primer lugar, es la base de casi todas las cadenas alimentarias: los animales, incluidos los seres humanos, dependemos directa o indirectamente de la materia orgánica que producen los organismos fotosintéticos. En segundo lugar, la fotosíntesis generó y mantiene el oxígeno de la atmósfera que respiramos. En tercer lugar, retira dióxido de carbono del aire, lo que ayuda a regular el clima del planeta. Por último, los combustibles fósiles que hoy usamos son restos de fotosíntesis realizada hace millones de años. Entender este proceso también es clave para mejorar la agricultura y desarrollar energías renovables inspiradas en la naturaleza.\n"
  },
  {
   "file": "fable/r4-p06-japanese.txt",
   "model": "fable",
   "chars": 78,
   "text": "菜の花や　遠き汽笛の　昼下がり\n（季語：菜の花・春）\n\n夕立や　軒に雀の　身を寄せて\n（季語：夕立・夏）\n\n名月を　猫と眺むる　縁の先\n（季語：名月・秋）\n"
  },
  {
   "file": "fable/r4-p07-table.txt",
   "model": "fable",
   "chars": 1026,
   "text": "| Attribute | Python | JavaScript | Rust | Go |\n|---|---|---|---|---|\n| Typing | Dynamic, strong | Dynamic, weak | Static, strong, inferred | Static, strong |\n| Memory management | Garbage collected (reference counting plus cycle collector) | Garbage collected | Ownership and borrowing, no garbage collector | Garbage collected |\n| Concurrency model | Threads limited by the GIL, asyncio, multiprocessing | Single-threaded event loop with async/await, Web Workers | OS threads and async/await, data-race safety enforced at compile time | Goroutines and channels |\n| Typical performance | Slow when interpreted, fast when delegating to C extensions | Moderate to fast thanks to JIT compilation | Very fast, comparable to C and C++ | Fast, with some garbage collection overhead |\n| Primary use cases | Data science, scripting, automation, web backends | Web frontends, Node.js backends, developer tooling | Systems programming, CLI tools, WebAssembly, embedded | Cloud services, networking, infrastructure and DevOps tooling |\n"
  },
  {
   "file": "fable/r4-p08-dialogue.txt",
   "model": "fable",
   "chars": 2029,
   "text": "Student: Excuse me, I'm writing a paper on the 1918 flu pandemic and my professor says I need primary sources. So far I've only used books and journal articles.\n\nLibrarian: That's a common place to start. A primary source is something created at the time you're studying, or by someone who lived through it. For 1918 that could mean newspapers, letters, diaries, public health reports, photographs, even advertisements.\n\nStudent: Where would I find things like that? I can't exactly go back to 1918.\n\nLibrarian: You can get closer than you'd think. Start with our historical newspaper databases. They let you search full-text newspapers by date and keyword. Try \"influenza\" between September 1918 and March 1919 and see what turns up.\n\nStudent: They're actually searchable?\n\nLibrarian: Digitised and searchable, yes. Then look at government documents. The U.S. Public Health Service published weekly reports during the pandemic, and many are scanned online through HathiTrust or the National Library of Medicine.\n\nStudent: What about personal accounts?\n\nLibrarian: Look for published collections of letters and diaries, and check university special collections. Many have digitised their holdings. Search their finding aids using terms like \"correspondence\" or \"papers\" along with your date range. If something isn't online, you can usually email the archivist and ask.\n\nStudent: How do I know whether a source is reliable?\n\nLibrarian: With primary sources the question is less whether they're reliable and more what they reveal. A propaganda poster isn't accurate, but it tells you what officials wanted people to believe. Always ask who made it, for whom, and why.\n\nStudent: That makes sense. Do I cite these differently?\n\nLibrarian: Slightly. Include the archive or database where you found it as well as the original publication details. I can show you the citation guide for archival material.\n\nStudent: That would be great. Thank you.\n\nLibrarian: Come back if you get stuck. Half the fun of primary sources is the digging.\n"
  }
 ],
 "outputCount": 128,
 "totalChars": 169545
}