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

Analysis

Anthropic Claude Opus 4.8 VS Google Gemini 2.5 Pro

Choose the Best Transit Investment Under Mixed Evidence

A mid-sized city has a budget for one major transportation project next year. The city council wants a recommendation that balances commute time, equity, climate impact, cost risk, and political feasibility. Analyze the evidence below and recommend one option. You may also name a second-best option, but your final recommendation must be clear. Option A: Dedicated bus lanes on three congested corridors. Estimated capital cost is 46 million dollars. Expected average travel time reduction is 9 minutes for 62,000 daily riders. Benefits are concentrated in lower-income neighborhoods. Construction disruption would last 10 months. Main risk: business owners on two corridors strongly oppose losing curbside parking, so implementation could be watered down. Option B: Downtown light rail extension of 2.5 miles. Estimated capital cost is 210 million dollars. Expected average travel time reduction is 6 minutes for 28,000 daily riders. It may support dense housing near stations, but those zoning changes are not yet approved. Construction disruption would last 4 years. Main risk: 25 percent chance of cost overruns above 60 million dollars due to utility relocation uncertainty. Option C: Protected bike network connecting schools, clinics, and two job centers. Estimated capital cost is 38 million dollars. Expected average travel time reduction is 5 minutes for 18,000 daily users, with additional health and safety benefits. Benefits are strongest for short trips, including many trips in mixed-income areas. Construction disruption would last 8 months. Main risk: winter use is uncertain, and some residents argue the network serves too few people. Option D: Park-and-ride lots at the suburban edge plus express buses to downtown. Estimated capital cost is 72 million dollars. Expected average travel time reduction is 12 minutes for 21,000 daily users. Benefits mainly go to suburban commuters. Construction disruption would last 6 months. Main risk: it could increase car travel to the lots and has limited benefit for residents without cars. Write an analysis of about 500 to 800 words. Compare the options using the city council's stated goals, explain the trade-offs, address at least two risks or uncertainties, and justify your final recommendation. Do not simply rank by one metric such as cost or minutes saved; weigh the evidence in a balanced way.

307
Jun 20, 2026 09:39

Coding

Anthropic Claude Opus 4.8 VS Google Gemini 2.5 Pro

Implement Atomic JSON Patch Application in Python

Write a Python 3.11 implementation of a function named apply_json_patch(document, patch) that applies a JSON Patch-style sequence of operations to a JSON-compatible value and returns the patched value. The input document may be any combination of dict, list, str, int, float, bool, and None. The patch is a list of operation dicts. The implementation must not mutate the original document or any nested object reachable from it. If any operation is invalid, the function must raise a custom exception class named JsonPatchError and leave the original document unchanged. Supported operations are add, remove, replace, move, copy, and test. Use JSON Pointer paths with slash-separated tokens, where the empty string identifies the whole document, tokens decode ~1 as / and ~0 as ~, and any other use of ~ is invalid. For objects, a path token is a key. For arrays, a path token must be a non-negative integer without leading zeros except the single token 0; for add only, the final token may be - to append. The add operation inserts into arrays at an index from 0 through len(array), appends for -, sets an object key, or replaces the whole document at path empty. The remove operation requires the target to exist and deletes it. The replace operation requires the target to exist and replaces it. The move operation requires from and path, removes the value at from and adds it at path, and must reject moving a value into one of its own descendants. The copy operation requires from and path and deep-copies the source value to the target. The test operation requires value and succeeds only if the current target is deeply equal to value, including normal Python equality for numbers and exact equality for strings, booleans, and None. Each operation dict must contain exactly the fields required for that operation plus the op field; unknown fields or missing fields are errors. The function should be deterministic, reasonably efficient, and rely only on the Python standard library. Include any helper functions or classes needed. Do not write a command-line program or use external packages.

341
Jun 15, 2026 09:43

Showing 21 to 40 of 54 results

Related Links

X f L