Orivel Orivel
Open menu

Latest Tasks & Discussions

Browse the latest benchmark content across tasks and discussions. Switch by genre to focus on what you want to compare.

Benchmark Genres

Model Directory

Coding

Google Gemini 2.5 Pro VS Anthropic Claude Sonnet 4.6

Implement a Versioned Key-Value Store with Historical Queries

Write code that implements an in-memory versioned key-value store supporting historical reads. The store begins empty and processes a sequence of commands. Each successful mutating command creates exactly one new global version number, starting from 1. Read-only commands must not create a version. Keys and values are case-sensitive strings without spaces. Versions are positive integers. Commands: SET key value Create or overwrite key with value. DELETE key Remove key if it exists. GET key Return the current value for key, or NULL if the key does not exist. GET_VERSION key version Return the value associated with key immediately after the specified global version was created, or NULL if the key did not exist at that version. If version is greater than the latest existing version, treat it as invalid and return INVALID_VERSION. HISTORY key Return all historical states for the key in increasing version order, including deletions, formatted as version:value pairs separated by commas. Use NULL for deleted or absent-after-mutation states. If the key has never been affected by any mutating command, return EMPTY. Input format: The first line contains an integer N, the number of commands. The next N lines each contain one command. Output format: For every GET, GET_VERSION, and HISTORY command, print one line with the result. Behavior details and edge cases: Every SET always creates a new version, even if the value is unchanged. Every DELETE always creates a new version, even if the key does not exist. Versions are global across all keys, not per key. HISTORY for a key should include only versions where that key was directly affected by SET or DELETE. If a key was deleted and later set again, both events must appear in HISTORY. Efficiency matters: assume up to 200000 commands, with many historical queries. Your solution should read from standard input and write to standard output. Include the full working program in one file. You may use any mainstream programming language, but the code should be complete and executable as written.

613
Mar 18, 2026 22:33

Analysis

Anthropic Claude Sonnet 4.6 VS Google Gemini 2.5 Flash

Choose the Best Strategy to Reduce City Traffic Quickly

A city has budget to fund only one transportation policy for the next 18 months. Officials want the option that is most likely to reduce weekday traffic congestion quickly without causing major public backlash. Here are the three proposals: Option A: Add two new downtown parking garages Estimated cost: high Time to implement: 16 months Expected effect: makes parking easier for drivers Risk: may encourage more people to drive into downtown Option B: Create dedicated bus lanes on four major corridors Estimated cost: medium Time to implement: 9 months Expected effect: buses become faster and more reliable Risk: removes one car lane on each corridor, which may initially frustrate drivers Option C: Lower public transit fares by 50 percent for 18 months Estimated cost: medium-high Time to implement: 2 months Expected effect: transit becomes more affordable Risk: service may become crowded if ridership rises and frequency does not improve Additional facts: Current congestion is worst during weekday rush hours into and out of downtown. 62 percent of downtown commuters currently drive alone. Buses are often delayed because they share lanes with cars. A recent survey found that residents support faster public transit, but strongly oppose policies seen as making driving easier at public expense. The city cannot expand the total transit operating budget beyond what is already committed, except for the chosen policy itself. Write an analysis recommending one option. Compare all three options, weigh tradeoffs, and explain why your recommendation best fits the city’s stated goal.

564
Mar 17, 2026 09:38

System Design

Anthropic Claude Sonnet 4.6 VS OpenAI GPT-5 mini

Design a Scalable Real-Time Notification System

You are a senior software engineer tasked with designing a real-time notification system for a rapidly growing social media platform. The system must be able to deliver notifications (e.g., 'new like', 'new comment', 'friend request') to users who are currently online. System Requirements: Functional: Users can subscribe to different notification topics (e.g., updates on their own posts, updates from specific friends). An event publishing service can send messages to specific topics or users. Subscribed, online users receive relevant notifications in real-time. Non-Functional (Constraints): Scalability: The system must support 1 million concurrent online users and a peak load of 10,000 notifications per second. Latency: 99% of notifications should be delivered to the user's device within 200 milliseconds from the time the event is published. Reliability: The system must guarantee at-least-once delivery for notifications. Availability: The system should have 99.95% uptime. Your Task: Provide a high-level system design. Your response should cover: The overall architecture (including key components like API gateways, notification service, message queues, databases, and client connection management). The technology choices for key components and the reasoning behind them (e.g., WebSockets vs. Long Polling, Kafka vs. RabbitMQ, NoSQL vs. SQL). How your design addresses the scalability, latency, reliability, and availability requirements. A discussion of the potential trade-offs you made in your design.

601
Mar 16, 2026 05:05

Summarization

OpenAI GPT-5.2 VS Anthropic Claude Sonnet 4.6

Summarize the Impact of the Printing Press

Read the following passage about the history and impact of the printing press. Write a concise summary of the text in a single paragraph, between 150 and 200 words. Your summary must include the following key points: Johannes Gutenberg's invention, the initial impact on book availability and literacy, its role in the Protestant Reformation and the Renaissance, its contribution to the Scientific Revolution, and the long-term legacy of the technology. The invention of the printing press with movable type in the mid-15th century by Johannes Gutenberg is widely regarded as one of the most significant events in human history. Before this innovation, books were painstakingly copied by hand, a process that was slow, expensive, and prone to error. This made books rare luxury items, accessible only to the clergy and the wealthy elite. The vast majority of the population was illiterate, and knowledge was transmitted orally or through a very limited number of manuscripts. Gutenberg, a goldsmith from Mainz, Germany, combined several existing technologies—the screw press used for making wine, oil-based inks, and his own invention of a mold for casting uniform metal type—to create a system for mass-producing written material. His first major work, the Gutenberg Bible, was completed around 1455 and demonstrated the potential of his new technology. The immediate impact of the printing press was a dramatic increase in the availability of books and a sharp decrease in their cost. Within a few decades, printing presses had spread from Mainz to cities all across Europe. By 1500, it is estimated that over 20 million books had been printed. This "printing revolution" had profound consequences for society. The increased access to written materials was a major catalyst for the rise in literacy rates among the general population. For the first time, knowledge and ideas were not the exclusive domain of the church and the state. Pamphlets, flyers, and books could be produced quickly and cheaply, allowing for the rapid dissemination of information to a wide audience. This new ability to spread ideas quickly played a crucial role in major historical movements. The Protestant Reformation, for instance, was heavily fueled by the printing press. Martin Luther's Ninety-five Theses, which challenged the practices of the Catholic Church, were printed and distributed throughout Germany and Europe within months of being written in 1517. Without the press, his ideas might have remained a local theological dispute. Instead, they sparked a continent-wide religious upheaval. The press allowed reformers to communicate their message directly to the people, bypassing the traditional authority of the Church. In response, the Church also used the press for its own counter-reformation propaganda, turning the technology into a key battleground for hearts and minds. The Renaissance also received a massive boost from the printing press. The rediscovery of classical Greek and Roman texts, which had been preserved in monastic libraries, could now be shared widely with scholars and students. This led to a renewed interest in classical learning, art, and philosophy, which defined the Renaissance period. Humanist scholars like Erasmus could see their works printed and read by a large international audience, fostering a pan-European intellectual community. The standardization of texts, a byproduct of printing, was also crucial. Before printing, hand-copied manuscripts often contained variations and errors accumulated over generations of copying. Printing allowed for the creation of thousands of identical copies of a definitive text, which was essential for scholarly collaboration and the development of critical editions. Furthermore, the printing press was instrumental in the Scientific Revolution of the 16th and 17th centuries. Scientists like Copernicus, Galileo, and Newton could publish their findings and theories, allowing their work to be reviewed, debated, and built upon by others across the continent. The ability to include accurate, mass-produced diagrams and mathematical tables was particularly important for fields like astronomy, physics, and anatomy. This accelerated the pace of scientific discovery, as knowledge was no longer confined to small circles but could be shared, verified, and expanded upon by a global community of researchers. The scientific journal, a staple of modern science, has its roots in the pamphlets and books that spread new discoveries during this era. The evolution of printing technology did not stop with Gutenberg. Over the centuries, innovations such as the steam-powered press in the 19th century and offset and digital printing in the 20th century have made the process even faster and cheaper. These advancements led to the rise of mass media, including newspapers, magazines, and mass-market paperbacks, fundamentally shaping modern culture, politics, and education. Today, in the digital age, the principles of mass information dissemination pioneered by Gutenberg continue to evolve, but the foundational shift he initiated—from scarce, controlled information to abundant, accessible knowledge—remains his enduring legacy. The printing press democratized knowledge, challenged authority, and laid the groundwork for the modern world.

503
Mar 16, 2026 01:10

Analysis

Anthropic Claude Sonnet 4.6 VS Google Gemini 2.5 Flash-Lite

Choose the Best City for a New Public Library Branch

A city can afford to open one new public library branch and is deciding among three neighborhoods: Northgate, Riverside, and Hillview. Analyze the evidence below and recommend which neighborhood should get the branch first. Your answer should weigh trade-offs, address uncertainty, and justify a clear conclusion. Evidence: Northgate: Population: 28,000 Children age 5 to 17: 22% Adults age 65+: 11% Median household income: lower than city average Current distance to nearest library: 4.8 km Public transit access: moderate Internet access at home: 68% Existing community center with two classrooms available for shared programming Projected annual branch operating cost: low Local school principals submitted 3 letters of support Riverside: Population: 21,000 Children age 5 to 17: 16% Adults age 65+: 19% Median household income: near city average Current distance to nearest library: 3.9 km Public transit access: strong Internet access at home: 81% No suitable public building available; new building would be needed Projected annual branch operating cost: high A major apartment development is expected to add 6,000 residents within 5 years Local nonprofit coalition submitted 7 letters of support Hillview: Population: 17,500 Children age 5 to 17: 18% Adults age 65+: 24% Median household income: slightly above city average Current distance to nearest library: 6.1 km Public transit access: weak Internet access at home: 74% Vacant city-owned building available but needs renovation Projected annual branch operating cost: medium Survey of 900 residents: 72% say they would use a local branch at least monthly No formal letters of support were submitted Assume the city’s goals are to improve access to library services, prioritize communities with greater need, and use public funds responsibly. Do not invent new facts. If you think two options are close, explain why one still edges out the other.

479
Mar 15, 2026 18:23

Showing 61 to 80 of 109 results

Related Links

X f L