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

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

338
Mar 16, 2026 05:05

Summarization

Anthropic Claude Opus 4.6 VS OpenAI GPT-5 mini

Summarize the History of the Suez Canal

Summarize the following text about the history of the Suez Canal. Your summary must meet these requirements: 1. Be between 200 and 250 words. 2. Be written as a single, coherent block of narrative prose, not a list. 3. Include the following five key aspects from the text: * The ancient origins and early attempts at creating a canal. * Ferdinand de Lesseps's role and the challenges of the 19th-century construction. * The canal's strategic importance for global trade and the British Empire. * The causes and consequences of the 1956 Suez Crisis. * The canal's status and significance in the modern era. Source Text: The Suez Canal, a 193.3-kilometer artificial sea-level waterway in Egypt, connecting the Mediterranean Sea to the Red Sea through the Isthmus of Suez, is more than just a marvel of engineering; it is a pivot of global history, trade, and geopolitics. Its story is one of ancient ambition, modern ingenuity, colonial struggle, and national pride. The concept of a direct water route between the Mediterranean and the Red Sea is ancient, dating back to the pharaohs of Egypt. The Canal of the Pharaohs, also known as the Ancient Suez Canal, was a series of waterways that connected the Nile River to the Red Sea. Evidence suggests that this precursor existed in various forms from as early as the 19th century BCE, with major construction and expansion projects undertaken by pharaohs like Senusret III and Necho II, and later by Persian conqueror Darius the Great. However, these ancient canals were often indirect, reliant on the Nile's flood patterns, and prone to silting up, eventually falling into disuse by the 8th century CE. The dream of a direct canal was revived during the Renaissance and the Age of Discovery, as European powers sought faster trade routes to Asia. Napoleon Bonaparte, during his Egyptian campaign in 1798, commissioned a survey to explore the feasibility of a modern canal. His surveyors erroneously calculated a 10-meter difference in sea levels between the Mediterranean and the Red Sea, a finding that, along with political instability, shelved the project for decades. It wasn't until the mid-19th century that the project gained serious momentum, largely through the tireless efforts of French diplomat Ferdinand de Lesseps. He secured a concession from Sa'id Pasha, the Ottoman viceroy of Egypt, in 1854 to establish the Suez Canal Company. De Lesseps, a master of promotion and diplomacy rather than an engineer, assembled international experts and raised capital, primarily from French investors, to bring the vision to life. Construction began in 1859 and was a monumental undertaking fraught with immense challenges. The decade-long project employed tens of thousands of laborers, many of whom were Egyptian peasants conscripted under the corvée system of forced labor. Conditions were brutal, and it is estimated that thousands perished from disease, malnutrition, and accidents. The engineering obstacles were also formidable, requiring the excavation of over 74 million cubic meters of earth and sand in one of the world's most arid regions, all without the benefit of modern machinery in the initial years. Despite political opposition, particularly from Great Britain which feared the canal would disrupt its dominance over the sea route around Africa, and financial difficulties, the canal was officially opened with great fanfare on November 17, 1869. The canal's impact was immediate and revolutionary. It drastically reduced the sea voyage distance between Europe and Asia by up to 7,000 kilometers, fundamentally altering patterns of global trade. For the British Empire, it became the "lifeline of the Empire," providing a critical shortcut to its colonies in India and the Far East. Recognizing its strategic importance, the British government, under Prime Minister Benjamin Disraeli, purchased Egypt's shares in the Suez Canal Company in 1875 when the debt-ridden Egyptian government was forced to sell. This move gave Britain significant control over the canal, which was solidified in 1882 when British troops occupied Egypt, ostensibly to protect the canal during a nationalist uprising. The Convention of Constantinople in 1888 declared the canal a neutral zone, open to ships of all nations in times of peace and war, but in practice, Britain maintained de facto control for decades. This foreign control became a major source of resentment for Egyptian nationalists. The simmering tensions exploded in 1956 with the Suez Crisis. After the United States and Britain withdrew funding for the Aswan High Dam project, Egyptian President Gamal Abdel Nasser responded by nationalizing the Suez Canal Company on July 26, 1956, intending to use its revenue to finance the dam. This act was seen as a direct threat to British and French interests. In a secret agreement, Israel, France, and Great Britain colluded to invade Egypt. Israel attacked the Sinai Peninsula, providing a pretext for Britain and France to intervene as "peacekeepers" and seize control of the canal zone. The military operation was successful, but the political fallout was catastrophic. The United States, the Soviet Union, and the United Nations strongly condemned the invasion, forcing the tripartite forces to withdraw in humiliation. The crisis marked a turning point, signaling the decline of British and French imperial power and the rise of the United States and the Soviet Union as the new superpowers. In the decades since, the Suez Canal has remained a vital artery of international commerce, though its history has continued to be eventful. It was closed by Egypt following the Six-Day War in 1967 and remained shut for eight years, with sunken ships blocking the passage until it was reopened in 1975. Since then, the canal has undergone several major expansion projects by the Suez Canal Authority to accommodate ever-larger supertankers and container ships. Today, it handles approximately 12% of global trade volume, including a significant portion of the world's seaborne oil and liquefied natural gas. Events like the 2021 blockage by the container ship Ever Given serve as stark reminders of the canal's critical, yet fragile, role in the modern globalized economy. It stands as a powerful symbol of Egyptian sovereignty and a testament to humanity's ability to reshape the planet, for better and for worse.

266
Mar 16, 2026 04:23

Analysis

OpenAI GPT-5 mini VS Google Gemini 2.5 Pro

Evaluating Transportation Options for a Mid-Size City

A mid-size city of 350,000 residents is experiencing growing traffic congestion and rising carbon emissions. The city council has narrowed its options to three major transportation infrastructure investments, but can only fund one due to budget constraints. Analyze the three options below, evaluate their trade-offs across at least four distinct criteria (e.g., cost-effectiveness, environmental impact, equity, timeline, scalability, political feasibility), and reach a justified recommendation for which option the city should pursue. Clearly explain your reasoning and acknowledge the strongest counterargument against your recommendation. Option A: Build a 12-mile light rail line connecting the downtown core to the largest suburban employment center. Estimated cost: $1.8 billion. Construction time: 6 years. Projected daily ridership after 5 years of operation: 35,000. Option B: Implement a city-wide bus rapid transit (BRT) network with 4 dedicated-lane corridors totaling 40 miles. Estimated cost: $600 million. Construction time: 3 years. Projected daily ridership after 5 years of operation: 55,000. Option C: Invest in a comprehensive active transportation network (protected bike lanes, e-bike sharing, pedestrian infrastructure improvements) across the entire city, paired with congestion pricing in the downtown core. Estimated cost: $400 million. Construction time: 2 years. Projected daily ridership/usage after 5 years: 80,000 trips per day (cycling, walking, micro-mobility combined).

291
Mar 16, 2026 02:16

Summarization

OpenAI GPT-5 mini VS Anthropic Claude Haiku 4.5

Summarize the History and Impact of the Printing Press

Read the provided text on the history of the printing press. Write a concise, single-paragraph summary of no more than 150 words. Your summary must accurately capture the following key points: 1. The state of book production before Gutenberg. 2. Gutenberg's key innovations that made his press successful. 3. The immediate impact of the printing press on society (e.g., religion, education). 4. The long-term consequences of the invention. --- TEXT BEGINS --- The invention of the mechanical movable-type printing press by Johannes Gutenberg around 1440 is a watershed moment in the history of civilization, an innovation so profound that its impact is often compared to that of the invention of writing itself. This technology acted as a catalyst for some of the most significant transformations in Western society, including the Renaissance, the Reformation, the Age of Enlightenment, and the Scientific Revolution. Before the advent of printing, the creation and dissemination of knowledge were laborious, slow, and prohibitively expensive. Books were rare treasures, meticulously copied by hand by scribes, primarily in monasteries. This manual process, known as manuscript culture, meant that a single book could take months or even years to produce. Consequently, libraries were small, and access to written information was the exclusive privilege of the clergy, royalty, and a tiny fraction of the wealthy elite, effectively creating a bottleneck for intellectual progress and widespread literacy. While Gutenberg is celebrated as the father of printing in the West, it is crucial to acknowledge that the core concepts of printing existed long before his time, particularly in East Asia. As early as the 8th century, China had developed woodblock printing, a technique where an entire page of text and images was carved in reverse onto a single block of wood, which was then inked and pressed onto paper. This method allowed for the reproduction of texts but was inflexible and time-consuming; a new block had to be carved for every single page. The next logical step, movable type, was also conceived in China. Around 1040 AD, an artisan named Bi Sheng invented movable type using baked clay, and later, wooden and metal type were developed in China and Korea. In fact, the Jikji, a Korean Buddhist document printed in 1377, is the world's oldest surviving book printed with movable metal type. However, these early systems, while ingenious, were not well-suited for alphabetic scripts and lacked the efficiency for true mass production. The sheer number of characters in Chinese writing made sorting and setting type a monumental task, and the materials used were often not durable enough for extensive use. Gutenberg's true genius was not in a single invention, but in the synthesis and refinement of multiple technologies into a comprehensive and highly efficient printing system. A goldsmith and metallurgist by trade, he brought a unique set of skills to the problem. His first major innovation was the creation of a type metal alloy, a precise mixture of lead, tin, and antimony. This alloy was crucial: it melted at a low temperature for easy casting, was hard enough to withstand the immense pressure of the press, and did not shrink or warp as it cooled, ensuring uniform and crisp letterforms. He then developed a hand-held mold that allowed for the rapid and precise casting of identical pieces of type for each letter. This was a breakthrough in manufacturing, enabling the mass production of the thousands of individual letters needed to set a full page of text. Equally important was his adaptation of the screw press. Drawing inspiration from the presses used by winemakers and papermakers, Gutenberg designed a machine that could apply strong, even pressure across the entire printing surface. This ensured that the ink was transferred cleanly and consistently from the metal type to the paper. To complete his system, he formulated a new type of ink. The water-based inks used by scribes and for woodblock printing were unsuitable as they would not adhere properly to the metal type. Gutenberg developed a viscous, oil-based varnish ink, more akin to a paint, that stuck to the metal and produced a dark, legible impression on the page. It was the successful integration of these four elements—durable movable type, a precision mold, the screw press, and oil-based ink—that constituted the printing revolution. The first major book printed with this new technology was the Gutenberg Bible, produced between 1450 and 1455. This two-volume Latin Bible was a masterpiece of typography and printing, intended to rival the quality of the finest illuminated manuscripts. Around 180 copies were made, a staggering number for the time. The completion of this project demonstrated the viability and power of his invention, and the technology began to spread with incredible velocity. Printers trained in Gutenberg's workshop in Mainz dispersed across Europe, setting up their own presses. By 1500, less than 50 years after the Bible's publication, printing presses were active in more than 270 European cities, and they had collectively produced an estimated 20 million books. By 1600, that number had soared to over 200 million. The societal consequences of this information explosion were immediate and far-reaching. The Protestant Reformation, initiated by Martin Luther in 1517, was arguably the first major movement to be powered by the printing press. Luther's Ninety-five Theses and his subsequent writings were printed and distributed in the tens of thousands, spreading his ideas across Germany and Europe with a speed that was previously unimaginable and overwhelming the Church's attempts at censorship. The press also democratized education. The cost of books plummeted, making them accessible to a growing middle class of merchants and artisans. This fueled a dramatic increase in literacy and fostered a culture of reading and critical inquiry. Universities flourished as standardized, accurate texts became widely available, accelerating the Scientific Revolution by allowing scholars like Copernicus, Galileo, and Newton to share their findings with a broad, international community. The impact extended beyond religion and science. The printing press was instrumental in the formation of modern nation-states. Rulers could now standardize laws, circulate decrees, and create a sense of shared identity through a common printed language. The very languages of Europe began to coalesce as printers standardized spelling and grammar, elevating certain dialects to national prominence. Economically, printing created a vibrant new trade, employing typesetters, proofreaders, printers, and booksellers. It also gave rise to new concepts like authorship and intellectual property. Culturally, it led to the development of new forms of media, such as newspapers, journals, and pamphlets, which in turn created a public sphere for political and social debate. In essence, the printing press rewired the flow of information in society, shifting power from the traditional gatekeepers of knowledge to a much broader populace and laying the groundwork for the modern world. --- TEXT ENDS ---

284
Mar 15, 2026 15:49

System Design

OpenAI GPT-5 mini VS Anthropic Claude Opus 4.6

Design a Real-Time E-commerce Notification System

You are a senior software engineer at a rapidly growing e-commerce company. Your task is to design a real-time notification system. This system should alert users about various events, such as order status updates (e.g., "shipped," "delivered"), price drops on items in their wishlist, and flash sale announcements. Design a high-level architecture for this system. Your design should address the following requirements: 1. **High Throughput:** The system must handle up to 100,000 notifications per minute during peak times, like major sales events. 2. **Low Latency:** 99% of notifications should be delivered to the user's device within 5 seconds of the event occurring. 3. **Reliability:** The system must guarantee at-least-once delivery of notifications. No critical notification (like an order update) should be lost. 4. **Scalability:** The architecture should be able to scale horizontally to handle future growth in user base and notification volume. 5. **Personalization:** The system should support sending targeted notifications to specific user segments (e.g., users interested in a particular product category). Describe your proposed architecture, including the key components and their interactions. Explain your choice of technologies (e.g., message queues, databases, push notification services). Justify your design decisions by discussing the trade-offs you considered, particularly regarding consistency, availability, and cost.

310
Mar 15, 2026 11:23

Planning

OpenAI GPT-5 mini VS Google Gemini 2.5 Flash-Lite

Emergency Shelter Setup Plan Under Resource and Time Constraints

You are the logistics coordinator for a disaster relief organization. A sudden earthquake has displaced 500 families in a rural area. You must plan the setup of an emergency shelter camp within 72 hours. You have the following constraints: 1. Only 300 tents are available immediately; an additional 250 can arrive in 48 hours but delivery is weather-dependent (40% chance of delay by another 24 hours). 2. You have 15 volunteers and 5 professional staff members. 3. The identified site has two possible locations: Site A is flat and accessible but near a river with moderate flood risk; Site B is on higher ground but requires 6 hours of debris clearing before setup can begin. 4. Potable water supply trucks can make 3 trips per day, each serving 200 families. 5. Local authorities require a safety inspection before families can occupy the camp, which takes 8 hours after setup is complete. 6. Nighttime work is possible but reduces productivity by 50%. 7. You have a budget of $20,000 for immediate expenses (fuel, food for workers, basic medical supplies, miscellaneous). Create a detailed 72-hour action plan that addresses the following: - Site selection with justification - Phased shelter deployment (accounting for the tent shortage and delivery uncertainty) - Volunteer and staff task allocation - Water distribution scheduling - Risk mitigation strategies for at least three identified risks - Budget allocation breakdown - A contingency plan if the second tent shipment is delayed Present your plan in a clear, structured format with time blocks and decision points.

300
Mar 15, 2026 09:41

Coding

OpenAI GPT-5 mini VS Anthropic Claude Haiku 4.5

Implement a Dependency Resolver with Semantic Versioning

Your task is to write a function that simulates a package manager's dependency resolver. The function should take a list of all available packages, a target package to install, and its version requirement. It must return a flat list of packages (name and specific version) that need to be installed, in a valid topological order (dependencies before dependents). The resolver must handle semantic versioning (SemVer) constraints. For this task, you only need to support exact versions, caret (`^`), and tilde (`~`) specifiers. - `1.2.3`: Must be exactly version 1.2.3. - `^1.2.3`: Allows versions from 1.2.3 up to, but not including, 2.0.0 (i.e., `>=1.2.3 <2.0.0`). - `~1.2.3`: Allows versions from 1.2.3 up to, but not including, 1.3.0 (i.e., `>=1.2.3 <1.3.0`). Your implementation must: 1. Select the highest possible version of each package that satisfies all constraints placed upon it by other packages in the dependency tree. 2. Produce a topologically sorted list of packages for installation. 3. Gracefully handle and report errors for: - Unresolvable version conflicts (e.g., one dependency requires `^1.0.0` and another requires `^2.0.0` of the same package). - Circular dependencies (e.g., package A depends on B, and B depends on A). - A required package or version not being available. You can choose any programming language for your implementation. Define the function signature and data structures as you see fit, but make them clear.

321
Mar 15, 2026 06:11

System Design

OpenAI GPT-5 mini VS Google Gemini 2.5 Flash

Design a URL Shortening Service at Scale

You are tasked with designing a URL shortening service (similar to bit.ly or tinyurl.com) that must handle the following constraints: 1. The service must support 100 million new URL shortenings per month. 2. The read-to-write ratio is 100:1 (i.e., 10 billion redirects per month). 3. Shortened URLs must be at most 7 characters long (alphanumeric). 4. Shortened URLs should not be guessable or sequential. 5. The system must achieve 99.9% uptime. 6. Redirect latency must be under 10ms at the 95th percentile. 7. Shortened URLs should expire after a configurable TTL (default 5 years), and expired URLs should be reclaimable. 8. The service must operate across at least two geographic regions for disaster recovery. Provide a comprehensive system design that addresses the following: - High-level architecture diagram description (describe components and their interactions clearly in text) - URL shortening algorithm and key generation strategy, including how you avoid collisions and ensure non-guessability - Database schema and choice of storage technology, with justification - Caching strategy and cache invalidation approach - Read path and write path, described separately with estimated throughput calculations - Scaling strategy: how the system handles 10x traffic growth - Multi-region deployment and data consistency model, including trade-offs chosen (CAP theorem reasoning) - TTL expiration and URL reclamation mechanism - Failure modes and how the system recovers (at least 3 specific failure scenarios) - Key trade-offs you made and alternatives you considered but rejected, with reasoning Be specific with numbers, technology choices, and architectural reasoning. Avoid vague generalities.

305
Mar 14, 2026 19:35

Showing 61 to 80 of 101 results

Related Links

X f L