id int64 0 5k | task_category stringclasses 1
value | messages listlengths 3 3 |
|---|---|---|
4,609 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a simple shader program manager for a graphics application. The provided code snippet includes a functio... |
4,209 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a custom iterator in Rust that iterates over a collection of strings and returns a reference to each str... |
1,863 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a generic resource storage system in Rust. The system should allow storing resources of different types ... |
4,432 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a simple data structure to manage a list of SSH keys. Your goal is to create a Rust program that can add... |
1,876 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a Rust function that simulates a simplified file synchronization process. The function should take a list of... |
949 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a Rust program that simulates a simple file management system using the `worktree` library. The program shou... |
2,846 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a function to calculate the area of a circle using the value of π from the standard library. The functio... |
4,098 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a function to calculate the baud rate divisor for a serial peripheral interface (SPI) communication prot... |
2,610 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a simple texture manager in Rust. The given code snippet is part of a `TextureManager` struct, which is ... |
1,112 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a safe Rust wrapper for the XInput extension in the X Window System. The XInput extension provides suppo... |
4,087 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are given a list of results, where each result is either an `Ok` value containing an integer or an `Err` value containing another int... |
3,514 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a module system for a programming language. The module system should allow for the import and use of ext... |
4,442 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a session storage system for a web application using the Rust programming language. The provided code sn... |
1,379 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a Rust module that manages address spaces and calling conventions for a virtual machine. The module should p... |
3,705 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a function that takes a `dto` struct as input and returns a `chrono::DateTime` object. The `dto` struct cont... |
4,514 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a simplified version of a module builder for a programming language. The module builder is responsible f... |
937 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are working on a version control system that tracks changes to a document over time. The system uses a data structure called `VectorE... |
1,644 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a simple queue data structure in Rust. A queue is a linear data structure that follows the First In Firs... |
773 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a multi-threaded task management system in Rust. The system should allow for graceful termination of tas... |
318 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a Rust program to process stock price data using asynchronous programming. The program should implement an a... |
2,832 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a Rust library that can be used in both web and non-web environments. The provided code snippet shows a cond... |
459 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are working on a memory management system for a programming language runtime. The system uses an Immix memory allocator, which divide... |
3,374 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a utility function for managing directories in a file system. Your function should handle the creation of a ... |
4,970 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a generic function that takes a value of type `T` and an error code of type `i32`, and returns an instan... |
3,044 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a builder pattern for a data processing pipeline in Rust. The builder pattern is a creational design pat... |
4,458 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a Rust function that extracts and decodes HTML entities from a given web page. You will need to use the `req... |
2,693 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a function that processes a list of lines from a file and identifies the lines that contain novel conten... |
3,962 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a function that utilizes the `Crypto` API to generate random values and store them in an array buffer vi... |
2,496 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a program to parse and process edge data from a file. The edge data represents connections between nodes... |
3,803 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with designing a modular system for a home automation application. The system should be able to manage various devices, gr... |
3,852 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a simple numeric library in Rust to handle numerical values with units. The library should support the c... |
3,118 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a simplified version of a proof-of-work algorithm used in blockchain technology. The provided code snipp... |
3,444 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a simple locking mechanism using Rust's standard library. The provided code snippet demonstrates the usa... |
4,807 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a Rust program that consumes messages from a Kafka topic and processes them based on certain criteria. The p... |
1,306 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a simple 2D game engine in Rust. The game engine has a `Transform` struct representing the position and ... |
3,144 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a Rust program to manage financial data related to underlying return rates. Your program will need to define... |
1,770 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a function that processes a list of transactions and calculates the total balance. Each transaction is repre... |
1,438 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a multi-threaded application registration system in Rust. The system is designed to handle concurrent re... |
2,507 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a function that merges two configuration objects in a Rust program. The configuration objects are represente... |
80 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a memory reset control module for a hardware design. The module is responsible for controlling the reset... |
884 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a mock server for testing HTTP requests and responses. Your goal is to implement a function that verifies wh... |
2,131 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a simple command-line text editor that supports basic operations such as inserting, deleting, and displa... |
2,371 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a Rust library for neural network operations using the `tract_core` crate. Your goal is to implement a custo... |
743 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a simple version of a closure in Rust. A closure is a function that captures the environment in which it... |
3,346 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a function that formats a given string based on a provided block and node index. The function should han... |
3,349 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are given a code snippet that involves the use of a cryptographic library to perform operations on elliptic curve points. Your task i... |
209 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a custom panic handler for a Rust application. The provided code snippet shows a part of the panic handl... |
1,764 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a trajectory simulation for a projectile in a 3D space. You are given a struct `Projectile` representing... |
1,152 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a ZeroMQ device using the ZeroMQ library in Rust. ZeroMQ is a high-performance asynchronous messaging li... |
1,201 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a Rust program that simulates a simple command-line utility for processing and executing commands. Your prog... |
298 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a function that generates a list of HTTP requests based on a given map of endpoints and their corresponding ... |
1,421 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a function to set the trace level in a system. The function should take in a trace level as an input and... |
1,429 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a program to process a tree-like data structure and calculate the sum of metadata entries based on speci... |
3,003 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a function that generates a random sequence of bytes and returns it as a result. The function should mak... |
489 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a custom asynchronous function in Rust that simulates a simplified version of an HTTP request handler. T... |
1,475 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a Rust program that utilizes the `structopt` and `zeebe_log_reader` crates to process and analyze log data f... |
2,072 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a custom assertion macro in Rust that compares two instances of a custom vector type. The custom vector ... |
964 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a simplified version of a network simulation system. The system consists of nodes that can communicate w... |
3,108 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a simple blockchain data structure in Rust. A blockchain is a distributed ledger that stores a growing l... |
4,846 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a command-line utility that generates completions for a given program. The utility should accept a command-l... |
216 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a program that simulates a simple dice game. The game involves rolling a standard six-sided die and keeping ... |
1,346 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a function to count the number of graphemes in a given string. Graphemes are the smallest units of a wri... |
1,945 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a custom integer type `MyInt` in Rust. The `MyInt` type should support the following operations: additio... |
3,382 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a program to manage permissions for a cluster management system. The program should allow adding various che... |
185 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a custom bitset data structure in Rust using the `bitset_const_macros` crate. The bitset should support ... |
188 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a simple error handling system for a graphical user interface (GUI) library. The library has a set of pr... |
2,094 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a simple entity-component system (ECS) in Rust. An entity-component system is a design pattern used in g... |
2,340 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a function that calculates the sum of all even Fibonacci numbers up to a given limit. The Fibonacci sequ... |
11 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a game algorithm that simulates a sequence of numbers based on a set of rules. The game is played as fol... |
4,834 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a method for a custom data structure that represents a matrix. The method is responsible for creating a ... |
1,288 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a function that calculates the bounding sphere of a given 3D object. The function takes in the object's ... |
1,870 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a trait for encoding CLI calls in a blockchain application. The provided code snippet includes a trait d... |
3,191 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a custom token type for a multi-token standard library in Rust. The provided code snippet declares a public ... |
2,844 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a Rust library for handling date and time operations. The library should provide functionalities to format t... |
1,022 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a simple Rust program that calculates the area of a rectangle. Your program should take input for the length... |
4,244 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a command-line tool for processing vector data. The tool accepts various parameters, including input vec... |
4,844 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a Rust library that provides functionality for converting timestamps between different time zones. The libra... |
3,894 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a function that processes and boxes constant values based on their field type. The function takes in an ... |
2,220 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a custom comparison method for a data structure representing geometric points in a 2D plane. The data st... |
2,047 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a simple program that calculates the sum of all even numbers in a given range. The program should take t... |
1,173 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a function that processes geographic data using the GDAL library in Rust. The function should take in a data... |
844 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a parser for a simple programming language called RL (Really Light). The RL language consists of various... |
4,947 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a database migration system for a web application. The system should support both forward and backward m... |
1,958 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a simple authority management system in Rust. The system should allow the addition and removal of author... |
4,318 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a Huffman coding algorithm to compress a given input string. Huffman coding is a widely used algorithm f... |
2,933 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a method to check if a given string is a valid UTF-8 encoded string. UTF-8 is a variable-width character... |
4,835 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a trait for a buffer type in a graphics library. The trait, `Usage`, specifies the memory usage and flag... |
697 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a Rust program that utilizes the Teloxide library to implement a simple Telegram bot. Teloxide is a framewor... |
996 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a function that processes a set of files and performs specific operations on them. The function should take ... |
4,715 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a program that performs a linear scan algorithm to flatten a nested list of integers. The linear scan algori... |
3,587 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a rate limiter for a web service. The rate limiter should restrict the number of operations that can be ... |
3,731 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are given a Rust code snippet that imports a module called `raw`. Your task is to create a Rust module that provides a function to pa... |
2,501 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a test for a file download functionality in a Rust application. The application uses the `isahc` and `httpmo... |
1,347 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a generic Top-K provider for a search engine. The Top-K provider is responsible for retrieving the top K... |
186 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a simple programming problem related to module organization in a Rust project.\n\nYou are given a Rust proje... |
2,348 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a program that retrieves the top GitHub repositories based on the number of stars within a specified range. ... |
3,204 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a simplified version of a device driver for a hardware device that communicates with multiple applicatio... |
3,176 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with implementing a rate calculation function for a data aggregation system. The system aggregates data using different ag... |
342 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a custom error type for a Rust application. The error type should handle various error cases related to inte... |
400 | oss_instruct | [
{
"role": "system",
"content": "You are an expert assistant who solves Rust programming problems and generates correct code."
},
{
"role": "user",
"content": "You are tasked with creating a Rust program that manages a collection of modules for a chatbot application. Each module represents a spec... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.