text large_stringlengths 385 60k | domain large_stringclasses 5
values | source_name large_stringclasses 6
values | quality_score int16 4 51 | is_fable5 bool 2
classes |
|---|---|---|---|---|
{"conversations": [{"from": "human", "value": "Write a Python generator function that yields batches of items from any iterable, where each batch is a list of up to N items. The last batch may be smaller than N."}, {"from": "gpt", "value": "```python\nfrom typing import Generator, Iterable, TypeVar\n\nT = TypeVar('T')\... | coding | codegen | 9 | false |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Implement a 'Hierarchical TLB' (L1 and L2 TLBs). L1 is small and fast (Direct Mapped), L2... | agentic | fable | 24 | true |
[INPUT]
[{"role": "system", "content": "You are an expert code editor. Given an instruction and original code, produce the edited code that satisfies the requirements. Write only the complete modified code in your response.\n\nBefore responding, reason through the problem in a <think> block."}, {"role": "user", "conten... | frontend | nextcoder | 22 | false |
[FABLE5_TRACE]
<|user|>
Security analysis of QUIC in glibc. Focus on state machine bugs, parsing edge cases, DoS vectors, and memory safety.
<|assistant|>
<think>
Let me work through this problem from first principles.
First, let me restate the problem formally: Given input X of size n, we need to produce output Y w... | agentic | fable | 16 | true |
{"conversations": [{"from": "human", "value": "Write a Rust function that takes a slice of strings, filters out empty strings, trims whitespace, converts to uppercase, deduplicates (preserving first occurrence order), and returns a Vec<String>."}, {"from": "gpt", "value": "```rust\nuse std::collections::HashSet;\n\nfn ... | coding | codegen | 8 | false |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Create a Go 'Jitter-Buffer' for real-time audio/video streaming over raw Ethernet. The bu... | agentic | fable | 24 | true |
[FABLE5_TRACE]
<|system|>
You are a programming language implementer. Show working code in Haskell or a typed language; explain combinator design choices alongside the code.
<|user|>
I'm trying to write a parser for a small config DSL in Haskell — sections, key=value pairs, comments. Tried megaparsec but I keep getti... | agentic | fable | 33 | true |
{"conversations": [{"from": "human", "value": "Write a Rust function that takes a slice of strings, filters out empty strings, trims whitespace, converts to uppercase, deduplicates (preserving first occurrence order), and returns a Vec<String>."}, {"from": "gpt", "value": "```rust\nuse std::collections::HashSet;\n\nfn ... | coding | codegen | 8 | false |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Develop a lock-free 'Caching Proxy' for a Python asynchronous web server. The cache must ... | agentic | fable | 26 | true |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Implement a Python-based 'Device Tree Query Language' (DTQL). Design a DSL (e.g., `SELECT... | agentic | fable | 32 | true |
{"conversations": [{"from": "human", "value": "Write a Rust function that takes a slice of strings, filters out empty strings, trims whitespace, converts to uppercase, deduplicates (preserving first occurrence order), and returns a Vec<String>."}, {"from": "gpt", "value": "```rust\nuse std::collections::HashSet;\n\nfn ... | coding | codegen | 8 | false |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Implement a 'Successor List Consistency Checker' that runs as a background thread. It sho... | agentic | fable | 24 | true |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Implement 'Adaptive Span Abandonment'. During lazy sweep, if a span is found to be 100% l... | agentic | fable | 20 | true |
[FABLE5_TRACE]
<|system|>
You are an AI designed to communicate and reason with a deeply natural, authentic, and human-like style.
<|user|>
Please analyze the stability of a complex electrostatic torque system.
<|assistant|>
Analyzing the stability of a complex electrostatic torque system requires an integrated look... | agentic | fable | 16 | true |
<|im_start|>system
You are a helpful coding assistant.<|im_end|>
<|im_start|>user
Provide the best response to a given instruction. Follow the following steps to craft your response:
1. reason about the given instruction
2. provide a high-quality solution
3. offer a concise explanation
4. write tests to verify the corr... | backend | atlas | 14 | false |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Implement a vectorized 'Spatial Index' (e.g., R-Tree or Quadtree). The nodes and bounding... | agentic | fable | 27 | true |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Build an LBA translation layer that supports 'In-line Data' within the indirect pointers ... | agentic | fable | 23 | true |
<|im_start|>system
You are a helpful coding assistant.<|im_end|>
<|im_start|>user
Provide the best response to a given instruction. Follow the following steps to craft your response:
1. reason about the given instruction
2. provide a high-quality solution
3. offer a concise explanation
4. write tests to verify the corr... | coding | atlas | 13 | false |
{"conversations": [{"from": "human", "value": "Write a Python generator function that yields batches of items from any iterable, where each batch is a list of up to N items. The last batch may be smaller than N."}, {"from": "gpt", "value": "```python\nfrom typing import Generator, Iterable, TypeVar\n\nT = TypeVar('T')\... | coding | codegen | 9 | false |
[INPUT]
[{"role": "system", "content": "You are an expert code editor. Given an instruction and original code, produce the edited code that satisfies the requirements. Write only the complete modified code in your response.\n\nBefore responding, reason through the problem in a <think> block."}, {"role": "user", "conten... | tools | nextcoder | 21 | false |
{"conversations": [{"from": "human", "value": "Write a SQL query that, for each customer, shows their last 3 orders (by order date), with a running total of order_amount within those 3 orders, and a rank indicating their position by total spending among all customers."}, {"from": "gpt", "value": "```sql\nWITH ranked_or... | coding | codegen | 4 | false |
[INPUT]
[{"role": "system", "content": "You are an expert code editor. Given an instruction and original code, produce the edited code that satisfies the requirements. Write only the complete modified code in your response.\n\nBefore responding, reason through the problem in a <think> block."}, {"role": "user", "conten... | frontend | nextcoder | 23 | false |
[FABLE5_TRACE]
<|user|>
What are the major branches of Philosophy?
<|assistant|>
• Metaphysics: The study of fundamental concepts such as existence, reality, being, time, substance, space, causality, etc. It asks questions like "What is the nature of reality?" and "What does it mean to exist?"
• Epistemology: The st... | agentic | fable | 11 | true |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Implement 'Hybrid-Memory' swizzling. The engine uses both DRAM and Intel Optane (PMEM). T... | agentic | fable | 22 | true |
[INPUT]
[{"role": "system", "content": "You are an expert code editor. Given an instruction and original code, produce the edited code that satisfies the requirements. Write only the complete modified code in your response.\n\nBefore responding, reason through the problem in a <think> block."}, {"role": "user", "conten... | frontend | nextcoder | 20 | false |
{"conversations": [{"from": "human", "value": "Write a Python generator function that yields batches of items from any iterable, where each batch is a list of up to N items. The last batch may be smaller than N."}, {"from": "gpt", "value": "```python\nfrom typing import Generator, Iterable, TypeVar\n\nT = TypeVar('T')\... | coding | codegen | 9 | false |
{"conversations": [{"from": "human", "value": "Write a Rust function that takes a slice of strings, filters out empty strings, trims whitespace, converts to uppercase, deduplicates (preserving first occurrence order), and returns a Vec<String>."}, {"from": "gpt", "value": "```rust\nuse std::collections::HashSet;\n\nfn ... | coding | codegen | 8 | false |
{"conversations": [{"from": "human", "value": "Write a Rust function that takes a slice of strings, filters out empty strings, trims whitespace, converts to uppercase, deduplicates (preserving first occurrence order), and returns a Vec<String>."}, {"from": "gpt", "value": "```rust\nuse std::collections::HashSet;\n\nfn ... | coding | codegen | 8 | false |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Create the 'Deep-Mine' Seismic Warning System. The UI mimics a 'rugged' mining terminal w... | agentic | fable | 24 | true |
<|system|>
You are a helpful assistant that can interact multiple times with a computer shell to solve programming tasks.
Your response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).
Include a THOUGHT section before your command where you explain your reasoning process... | agentic | thoughtworks | 37 | false |
[FABLE5_TRACE]
<|user|>
Design DR plan for multi-region SaaS: RTO 10 min, RPO 210 sec. Include replication, failover orchestration, consistency verification, communication plan, testing schedule.
<|assistant|>
<think>
Let me break down this problem systematically.
First, I need to understand the core requirements. T... | agentic | fable | 19 | true |
[INPUT]
[{"role": "system", "content": "You are an expert code editor. Given an instruction and original code, produce the edited code that satisfies the requirements. Write only the complete modified code in your response.\n\nBefore responding, reason through the problem in a <think> block."}, {"role": "user", "conten... | frontend | nextcoder | 21 | false |
[INPUT]
[{"role": "system", "content": "You are an expert code editor. Given an instruction and original code, produce the edited code that satisfies the requirements. Write only the complete modified code in your response.\n\nBefore responding, reason through the problem in a <think> block."}, {"role": "user", "conten... | tools | nextcoder | 24 | false |
[INPUT]
[{"role": "system", "content": "You are an expert code editor. Given an instruction and original code, produce the edited code that satisfies the requirements. Write only the complete modified code in your response.\n\nBefore responding, reason through the problem in a <think> block."}, {"role": "user", "conten... | frontend | nextcoder | 20 | false |
{"conversations": [{"from": "human", "value": "Write pytest tests for a function calculate_discount(price, discount_percent) that returns the discounted price. Include parametrized tests for normal cases, edge cases (0%, 100%), and tests that verify exceptions are raised for invalid inputs (negative price, percent > 10... | backend | codegen | 13 | false |
[INPUT]
[{"role": "system", "content": "You are an expert code editor. Given an instruction and original code, produce the edited code that satisfies the requirements. Write only the complete modified code in your response.\n\nBefore responding, reason through the problem in a <think> block."}, {"role": "user", "conten... | tools | nextcoder | 21 | false |
[FABLE5_TRACE]
<|system|>
You are an AI designed to communicate and reason with a deeply natural, authentic, and human-like style.
<|user|>
What are the common types of network accelerators and their typical use cases for improving internet speed or accessing geo-restricted content?
<|assistant|>
Network acceleratio... | agentic | fable | 20 | true |
<|im_start|>system
You are a helpful coding assistant.<|im_end|>
<|im_start|>user
Provide the best response to a given instruction. Follow the following steps to craft your response:
1. reason about the given instruction
2. provide a high-quality solution
3. offer a concise explanation
4. write tests to verify the corr... | backend | atlas | 13 | false |
[FABLE5_TRACE]
<|user|>
Define a function RentAgreement(tenantname,landlordname, apartmentaddress ,leaseperiod,rentamount, includedutilities, latefeepolicy, guestpolicy, damagecharges,quiethours,groundsfor termination,cityrules) which takes in relevant inputs to form an unambiguous lease agreement between any tenant a... | agentic | fable | 13 | true |
[FABLE5_TRACE]
<|user|>
Create a parametric function that calculates the probability an extrasolar planet discovered by the Kepler space observatory lies within 100 light-years of Earth, based on planet type, discovery year, and [other relevant parameters], with probabilities ranging from 0 to 1.
<|assistant|>
def ke... | agentic | fable | 11 | true |
[INPUT]
[{"role": "system", "content": "You are an expert code editor. Given an instruction and original code, produce the edited code that satisfies the requirements. Write only the complete modified code in your response.\n\nBefore responding, reason through the problem in a <think> block."}, {"role": "user", "conten... | frontend | nextcoder | 20 | false |
[INPUT]
[{"role": "system", "content": "You are an expert code editor. Given an instruction and original code, produce the edited code that satisfies the requirements. Write only the complete modified code in your response.\n\nBefore responding, reason through the problem in a <think> block."}, {"role": "user", "conten... | frontend | nextcoder | 20 | false |
[FABLE5_TRACE]
<|system|>
You are an AI designed to communicate and reason with a deeply natural, authentic, and human-like style.
<|user|>
Last week during class, I missed the explanation about kidney failure. Could you summarize for me how to tell if I have kidney failure?
<|assistant|>
Kidney failure, or **Renal ... | agentic | fable | 18 | true |
{"conversations": [{"from": "human", "value": "Write a Python generator function that yields batches of items from any iterable, where each batch is a list of up to N items. The last batch may be smaller than N."}, {"from": "gpt", "value": "```python\nfrom typing import Generator, Iterable, TypeVar\n\nT = TypeVar('T')\... | coding | codegen | 9 | false |
[FABLE5_TRACE]
<|user|>
Explain in detail the architecture and interrelationship between hardware and software in a computer system, including key components, functions, and how they enable executable programs. Differentiate hardware from software by more than just physicality and code.
<|assistant|>
Hardware: The ph... | agentic | fable | 18 | true |
{"conversations": [{"from": "human", "value": "Write a Python generator function that yields batches of items from any iterable, where each batch is a list of up to N items. The last batch may be smaller than N."}, {"from": "gpt", "value": "```python\nfrom typing import Generator, Iterable, TypeVar\n\nT = TypeVar('T')\... | coding | codegen | 9 | false |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Design a 'Weighted-Kademlia' where nodes have different capacities. A 'Super-Node' can ha... | agentic | fable | 23 | true |
[INPUT]
[{"role": "system", "content": "You are an expert code editor. Given an instruction and original code, produce the edited code that satisfies the requirements. Write only the complete modified code in your response.\n\nBefore responding, reason through the problem in a <think> block."}, {"role": "user", "conten... | frontend | nextcoder | 23 | false |
[FABLE5_TRACE]
<|user|>
Define a function f(x,y) that, given two variables x representing the number of famous living musicians named and y representing the percentage increase in music album sales from last year to this year, returns an integer z representing the chance that there are still many potentially famous... | agentic | fable | 11 | true |
{"conversations": [{"from": "human", "value": "Write pytest tests for a function calculate_discount(price, discount_percent) that returns the discounted price. Include parametrized tests for normal cases, edge cases (0%, 100%), and tests that verify exceptions are raised for invalid inputs (negative price, percent > 10... | backend | codegen | 13 | false |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Design a 'Wait-Free Work-Stealing' scheduler for a multi-core matching engine that proces... | agentic | fable | 26 | true |
[INPUT]
[{"role": "system", "content": "You are an expert code editor. Given an instruction and original code, produce the edited code that satisfies the requirements. Write only the complete modified code in your response.\n\nBefore responding, reason through the problem in a <think> block."}, {"role": "user", "conten... | frontend | nextcoder | 20 | false |
[INSTANCE_ID]
beetbox__beets-3085
[REPO]
beetbox/beets
[MODEL_PATCH]
diff --git a/beets/ui/__init__.py b/beets/ui/__init__.py
index d3c3dafc2..58efb0a52 100644
--- a/beets/ui/__init__.py
+++ b/beets/ui/__init__.py
@@ -408,8 +408,18 @@ def input_select_objects(prompt, objs, rep):
out = []
for obj in ... | tools | swehero | 37 | false |
[FABLE5_TRACE]
<|system|>
You are an AI designed to communicate and reason with a deeply natural, authentic, and human-like style.
<|user|>
Build a Python script to convert Excel spreadsheets to CSV.
<|assistant|>
To convert Excel files to CSV using Python, the most robust approach is utilizing the **Pandas** librar... | agentic | fable | 27 | true |
[FABLE5_TRACE]
<|user|>
Provide a complete, production-ready implementation of high-performance concurrent hashmap in Rust with lock-free reads with extensive comments explaining Mythos-level optimizations for cache locality and branch prediction.
<|assistant|>
Drawing from the autonomous, frontier-level reasoning ch... | agentic | fable | 19 | true |
[FABLE5_TRACE]
<|system|>
You are an AI designed to communicate and reason with a deeply natural, authentic, and human-like style.
<|user|>
Is the Fukushima Daiichi nuclear power plant's wastewater discharge plan truly safe?
<|assistant|>
The safety of the Advanced Liquid Processing System (ALPS) treated water disch... | agentic | fable | 16 | true |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Implement an OR-Set where the unique tags are generated using 'Snowflake IDs'. Ensure the... | agentic | fable | 26 | true |
[INPUT]
[{"role": "system", "content": "You are an expert code editor. Given an instruction and original code, produce the edited code that satisfies the requirements. Write only the complete modified code in your response.\n\nBefore responding, reason through the problem in a <think> block."}, {"role": "user", "conten... | frontend | nextcoder | 23 | false |
[INPUT]
[{"role": "system", "content": "You are an expert code editor. Given an instruction and original code, produce the edited code that satisfies the requirements. Write only the complete modified code in your response.\n\nBefore responding, reason through the problem in a <think> block."}, {"role": "user", "conten... | frontend | nextcoder | 23 | false |
[INPUT]
[{"role": "system", "content": "You are an expert code editor. Given an instruction and original code, produce the edited code that satisfies the requirements. Write only the complete modified code in your response.\n\nBefore responding, reason through the problem in a <think> block."}, {"role": "user", "conten... | frontend | nextcoder | 22 | false |
[FABLE5_TRACE]
<|user|>
Company: $5M revenue, 91% YoY growth, 66% gross margin, 10% net margin, $23M cash. Model 3-year projections and recommend raise Series A or pursue profitability.
<|assistant|>
<think>
I need to think about this as a systems design problem.
Let me start by clarifying the requirements:
- Functi... | agentic | fable | 21 | true |
[FABLE5_TRACE]
<|user|>
Reverse-engineer a patch for a missing authentication in rabbitmq. Explain pre-patch vulnerability, why it is exploitable, and how the fix addresses it.
<|assistant|>
<think>
Let me trace through this system-level problem methodically.
Starting from the bottom of the stack: the hardware provi... | agentic | fable | 17 | true |
[FABLE5_TRACE]
<|user|>
Refactor and harden an existing implementation of high-performance concurrent hashmap in Rust with lock-free reads for maximum security and performance. Show before/after metrics and formal verification steps.
<|assistant|>
Drawing from the autonomous, frontier-level reasoning characteristic o... | agentic | fable | 19 | true |
[FABLE5_TRACE]
<|system|>
You are an AI designed to communicate and reason with a deeply natural, authentic, and human-like style.
<|user|>
The number of boys in a class is $\frac{5}{6}$ of the number of girls. Later, 1 more boy transferred in from another school. At this point, the number of boys is 7 times the numb... | agentic | fable | 15 | true |
[FABLE5_TRACE]
<|system|>
You are an AI designed to communicate and reason with a deeply natural, authentic, and human-like style.
<|user|>
Let $b, c, d, e$ be real numbers such that the polynomial equation $x^5 - 20x^4 + bx^3 + cx^2 + dx + e = 0$ has only real roots. Find the largest possible value of $b$.
<|assist... | agentic | fable | 13 | true |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Implement a 'Prefetch-Aware' packet processor in Go. Use the `PREFETCHT0` and `PREFETCHW`... | agentic | fable | 22 | true |
[FABLE5_TRACE]
<|user|>
Create a step-by-step guide for performing a science experiment demonstrating the properties of static electricity using easily obtainable household materials. Include safety considerations and cautions as needed, as well as possible extension experiments to explore further.
<|assistant|>
Mate... | agentic | fable | 11 | true |
[FABLE5_TRACE]
<|user|>
Explain in detail how to build and operate an equitable public transportation system serving a major city with over a million residents from diverse racial, economic, and ability backgrounds. The explanation should outline different aspects of the system like the types of vehicles used includin... | agentic | fable | 16 | true |
[FABLE5_TRACE]
<|system|>
You are an AI designed to communicate and reason with a deeply natural, authentic, and human-like style.
<|user|>
I need to find two integers whose product is 144 and whose difference is 10. Can you calculate them for me?
<|assistant|>
To find two integers with a product of 144 and a differ... | agentic | fable | 12 | true |
[FABLE5_TRACE]
<|system|>
You are Mythos-Coder, a coding agent that inspects the task, makes a concise plan, edits safely, verifies results, and explains fixes clearly. When the user asks for code, output complete runnable code.
<|user|>
Create rAF skateboard trick animation demo code (variant 586) with easing. Retur... | agentic | fable | 14 | true |
[INPUT]
[{"role": "system", "content": "You are an expert code editor. Given an instruction and original code, produce the edited code that satisfies the requirements. Write only the complete modified code in your response.\n\nBefore responding, reason through the problem in a <think> block."}, {"role": "user", "conten... | tools | nextcoder | 19 | false |
[FABLE5_TRACE]
<|system|>
You are an AI designed to communicate and reason with a deeply natural, authentic, and human-like style.
<|user|>
Find all values of $m$ such that the quadratic inequality $mx^2 - 2(m-1)x - m - 5 < 0$ has roots in the interval $x \in [a, a+2]$ for some real number $a$.
<|assistant|>
Let the... | agentic | fable | 15 | true |
<|im_start|>system
You are a helpful coding assistant.<|im_end|>
<|im_start|>user
Provide the best response to a given instruction. Follow the following steps to craft your response:
1. reason about the given instruction
2. provide a high-quality solution
3. offer a concise explanation
4. write tests to verify the corr... | backend | atlas | 13 | false |
[FABLE5_TRACE]
<|system|>
You are an AI designed to communicate and reason with a deeply natural, authentic, and human-like style.
<|user|>
My fear of public speaking is affecting my career.
<|assistant|>
It is important to recognize that **glossophobia**—the fear of public speaking—is one of the most common anxieti... | agentic | fable | 14 | true |
[FABLE5_TRACE]
<|user|>
Determine significant musicians apart from Jakob Handl, Wolfgang Amadeus Mozart,Giovanni Palestrina,Josquin des Prez and Thomas Tallis who established their work inside the Renaissance period comprising of the interval from probably around 1400 to 1600, focusing specifically on those influentia... | agentic | fable | 13 | true |
[INPUT]
[{"role": "system", "content": "You are an expert code editor. Given an instruction and original code, produce the edited code that satisfies the requirements. Write only the complete modified code in your response.\n\nBefore responding, reason through the problem in a <think> block."}, {"role": "user", "conten... | frontend | nextcoder | 21 | false |
[FABLE5_TRACE]
<|user|>
Calculate the asymptotic worst case time and space complexity of comparing three given algorithms for sorting a list of n complex objects or data structures with non uniform weights, justifying your analysis of algorithms with respect to factors like comparisons, data movement, recursion, and a... | agentic | fable | 13 | true |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Implement a 'Multi-Paxos' instance in Python that supports 'Pipelining'. The 'Commit-Slot... | agentic | fable | 22 | true |
[FABLE5_TRACE]
<|system|>
You are an AI designed to communicate and reason with a deeply natural, authentic, and human-like style.
<|user|>
Let numbers $z_1, z_2, \ldots, z_n \in \mathbb{C}$ such that $|z_1| = |z_2| = \cdots = |z_n| = 2$ and $z_1 + z_2 + \cdots + z_n = [\text{Re}z_1] + [\text{Re}z_2] + \cdots + [\tex... | agentic | fable | 14 | true |
[FABLE5_TRACE]
<|user|>
Explain in 5 steps how to properly organize a set of code files for a beginner Python project. The explanation should cover:
1. Creating the main project folder
2. Naming conventions for files
3. Organizing files into subfolders like 'scripts', 'tests', 'docs', etc.
4. Using an __in... | agentic | fable | 12 | true |
[FABLE5_TRACE]
<|user|>
Identify five specific strategies to help a young child develop better lane-keeping ability while riding a bike through video observation and coached practice. Prioritize strategies that provide the highest level of positional accuracy and precision while minimizing mistakes.
<|assistant|>
1. ... | agentic | fable | 11 | true |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Design a 'Maglev Train Network Optimizer'. The UI is a top-down schematic of a futuristic... | agentic | fable | 28 | true |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Design a 'Safe Integer Overflow' detector. For a given eBPF program, use range tracking t... | agentic | fable | 25 | true |
<|im_start|>system
You are a helpful coding assistant.<|im_end|>
<|im_start|>user
Provide the best response to a given instruction. Follow the following steps to craft your response:
1. reason about the given instruction
2. provide a high-quality solution
3. offer a concise explanation
4. write tests to verify the corr... | coding | atlas | 15 | false |
{"conversations": [{"from": "human", "value": "Implement an LRU (Least Recently Used) cache in Python with O(1) get and put operations, a fixed capacity, and support for the standard dict-like interface. Do not use functools.lru_cache."}, {"from": "gpt", "value": "```python\nfrom collections import OrderedDict\n\n\ncla... | backend | codegen | 13 | false |
{"conversations": [{"from": "human", "value": "Write a Python class that wraps the requests library with automatic retry logic: up to 3 retries, exponential backoff starting at 1 second, retry only on 429 and 5xx status codes, and raise an exception after all retries are exhausted."}, {"from": "gpt", "value": "```pytho... | agentic | codegen | 11 | false |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Design a Smith-Waterman kernel that uses 'Read-Only Data Cache' (`__ldg`) for the target ... | agentic | fable | 20 | true |
{"conversations": [{"from": "human", "value": "Write pytest tests for a function calculate_discount(price, discount_percent) that returns the discounted price. Include parametrized tests for normal cases, edge cases (0%, 100%), and tests that verify exceptions are raised for invalid inputs (negative price, percent > 10... | backend | codegen | 13 | false |
[FABLE5_TRACE]
<|user|>
Describe at least 5 major scientific discoveries in the past century that have advanced human knowledge and understanding of the world.
<|assistant|>
1. The discovery of DNA's structure by James Watson and Francis Crick in 1953. This fundamentally changed our understanding of genetics and here... | agentic | fable | 11 | true |
<|im_start|>system
You are a helpful coding assistant.<|im_end|>
<|im_start|>user
Provide the best response to a given instruction. Follow the following steps to craft your response:
1. reason about the given instruction
2. provide a high-quality solution
3. offer a concise explanation
4. write tests to verify the corr... | coding | atlas | 13 | false |
{"conversations": [{"from": "human", "value": "Write a Python generator function that yields batches of items from any iterable, where each batch is a list of up to N items. The last batch may be smaller than N."}, {"from": "gpt", "value": "```python\nfrom typing import Generator, Iterable, TypeVar\n\nT = TypeVar('T')\... | coding | codegen | 9 | false |
[INPUT]
[{"role": "system", "content": "You are an expert code editor. Given an instruction and original code, produce the edited code that satisfies the requirements. Write only the complete modified code in your response.\n\nBefore responding, reason through the problem in a <think> block."}, {"role": "user", "conten... | frontend | nextcoder | 22 | false |
{"conversations": [{"from": "human", "value": "Write a Python generator function that yields batches of items from any iterable, where each batch is a list of up to N items. The last batch may be smaller than N."}, {"from": "gpt", "value": "```python\nfrom typing import Generator, Iterable, TypeVar\n\nT = TypeVar('T')\... | coding | codegen | 9 | false |
{"conversations": [{"from": "human", "value": "Write a Python generator function that yields batches of items from any iterable, where each batch is a list of up to N items. The last batch may be smaller than N."}, {"from": "gpt", "value": "```python\nfrom typing import Generator, Iterable, TypeVar\n\nT = TypeVar('T')\... | coding | codegen | 9 | false |
[FABLE5_TRACE]
<|system|>
You are an AI designed to communicate and reason with a deeply natural, authentic, and human-like style.
<|user|>
If I plan to buy a pair of jeans and some clothes, where would be the most appropriate place to go? Please analyze these options: (A) Shopping Mall, (B) Museum, (C) Laundromat, (... | agentic | fable | 11 | true |
[FABLE5_TRACE]
<|system|>
You are an elite software engineer AI who thinks and responds like a real person. Reason through problems with natural, practical, human intuition and write exceptionally clean, brilliant code.
<|user|>
Implement 'SSTable Index Binary Search' optimization. During the merge, when fetching blo... | agentic | fable | 21 | true |
{"conversations": [{"from": "human", "value": "Write a Rust function that takes a slice of strings, filters out empty strings, trims whitespace, converts to uppercase, deduplicates (preserving first occurrence order), and returns a Vec<String>."}, {"from": "gpt", "value": "```rust\nuse std::collections::HashSet;\n\nfn ... | coding | codegen | 8 | false |
{"conversations": [{"from": "human", "value": "Write a Rust function that takes a slice of strings, filters out empty strings, trims whitespace, converts to uppercase, deduplicates (preserving first occurrence order), and returns a Vec<String>."}, {"from": "gpt", "value": "```rust\nuse std::collections::HashSet;\n\nfn ... | coding | codegen | 8 | false |
{"conversations": [{"from": "human", "value": "Write a Rust function that takes a slice of strings, filters out empty strings, trims whitespace, converts to uppercase, deduplicates (preserving first occurrence order), and returns a Vec<String>."}, {"from": "gpt", "value": "```rust\nuse std::collections::HashSet;\n\nfn ... | coding | codegen | 8 | false |
{"conversations": [{"from": "human", "value": "Write a Rust function that takes a slice of strings, filters out empty strings, trims whitespace, converts to uppercase, deduplicates (preserving first occurrence order), and returns a Vec<String>."}, {"from": "gpt", "value": "```rust\nuse std::collections::HashSet;\n\nfn ... | coding | codegen | 8 | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.