id int64 0 5k | task_category stringclasses 1
value | messages listlengths 3 3 |
|---|---|---|
232 | 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 generates a number based on a given string and a specific condition. Your task is to understand the giv... |
2,652 | 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 leaderboard system for a game. The leaderboard should support the following operations: \n\n1. ... |
3,328 | 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 asset management system for a game engine. The system should support hot reloading of assets an... |
1,195 | 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 error type and handling its instances in Rust. The custom error type, `Error`, has multiple var... |
4,624 | 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 system for managing various background jobs in a distributed storage service. The system will handle diff... |
643 | 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 windows in a terminal using the `crossterm` library. Your program should define a `... |
0 | 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 Rust trait for a custom compiler. The trait, `Compile`, is defined for a pointer to a string (`*const ... |
2,994 | 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 convert block IDs into tile IDs based on a given set of rules. The block IDs are to be mul... |
3,505 | 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 error handling mechanism in Rust. Your goal is to create a custom error type and implement the ... |
2,685 | 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 manipulate a collection of alert filters for a monitoring service. The function should all... |
2,037 | 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 to simulate a robot's movement on a grid. The robot can move in four cardinal direction... |
4,071 | 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 chessboard represented as an 8x8 grid. Each cell of the grid is indexed from 0 to 63, starting from the top-left corner a... |
2,236 | 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 involves the use of an enum called `Bracket` and an error scoring mechanism. Your task is to creat... |
1,946 | 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 simulation system for a game engine. The provided code snippet contains two functions related t... |
4,240 | 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 parse a binary data stream and extract a 32-bit unsigned integer value. The function shoul... |
3,153 | 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 Rust program to manage a hotel's room booking system. The program should allow users to create,... |
2,280 | 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 FFI (Foreign Function Interface) binding for the `pam_open_session` function from the PAM (Pluggable ... |
1,594 | 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 configuration file for a parallel processing system. The configuration file ... |
1,798 | 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 parse and process audio and video packets from a multimedia file using the FFmpeg library ... |
441 | 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 future in Rust that represents a stream resizing operation. The future should asynchronously po... |
3,780 | 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 series of test cases for a programming language. Each test case is represent... |
3,936 | 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 factorial of a given non-negative integer. The factorial of a non-negativ... |
490 | 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 management system for a WebAssembly application. The provided code snippet is a part of a Rust ... |
2,146 | 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 resource management system for a database. The system should allow for efficient allocation and deallo... |
2,905 | 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 trait for a decentralized exchange (DEX) API in Rust. The trait, `ZenlinkDexAp... |
2,479 | 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 caching mechanism for a storage system. The goal is to convert a normal storage result into a `CacheRe... |
3,544 | 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 program that simulates a parallel write operation to a database. The provided code snip... |
417 | 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 process sprite data in a Rust program. The function `sass_sprite` takes two parameters: a ... |
791 | 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 compiler in Rust. The compiler is responsible for taking a source code file and generating an e... |
3,509 | 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 package manager tool, and you need to implement a function that processes package and workspace information. The fun... |
1,643 | 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 integrates with various features based on different configuration options. The library h... |
1,918 | 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 interface with a hardware module using the provided register block structure. The register... |
25 | 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 performance profiling using the HawkTracer tool. HawkTracer provides two macros for instr... |
4,691 | 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 recipe management system for a cooking application. The system should support two types of recipes: sh... |
1,611 | 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 lookup system for Android style resources. The Android platform provides a set of predefined st... |
1,284 | 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 parse a configuration file for a networking device. The configuration file contains settin... |
3,776 | 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 constraint system in Rust for a constraint satisfaction problem solver. The provided code snip... |
3,270 | 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 serialization and deserialization mechanism for the `Duration` struct in Rust. The `Duration` s... |
3,416 | 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 interacts with a SQLite database using the Diesel ORM. Your program should define a simp... |
2,573 | 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 cellular automata simulation using the Bevy game engine. The library should support both ... |
3,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 implementing a custom error type and handling conversions between different error types in Rust. Your goal is to crea... |
1,211 | 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 error handling system in Rust for a backend service. The system should be able to handle variou... |
2,030 | 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 organization management system in Rust. The `Organization` struct has a single field `name` of ... |
3,706 | 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 management system for a kernel that loads modules during boot. The provided code snippet is par... |
486 | 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 project that involves implementing a zero-knowledge proof system for a cryptocurrency protocol. As part of this syst... |
1,744 | 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 allocation function for an ACPI (Advanced Configuration and Power Interface) library. The libra... |
3,230 | 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 inventory management system for a retail store. The system should support adding, updating, and... |
765 | 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 interacts with a blockchain network to fund a new account. The function will utilize as... |
1,286 | 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 handle error handling and data extraction from a ZooKeeper client in Rust. The given code ... |
2,200 | 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 data structure called EliasFano, which supports two operations: `len()` and `is_empty()`. The `len()` ... |
3,225 | 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 manipulates URLs based on a given configuration. The function should take in a `Databas... |
3,792 | 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 HTTP request builder in Rust. Your task is to create a struct `RequestBuilder` and implement se... |
4,260 | 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 in Rust using the `thiserror` crate. Your custom error type should represent different k... |
3,851 | 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 lazy evaluation mechanism using the Thunk data structure in Rust. Thunk is a container type that delay... |
3,314 | 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 calculates the sum of all even numbers in a given array. The function should take an array o... |
3,396 | 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 fuzz testing function for a cryptographic library. The library contains a `Ciphertext` struct represen... |
1,252 | 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 baseline model for text classification using a Naive Bayes classifier. The NaiveBayesClassifier... |
61 | 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 Rust module that manages unique container IDs for a containerization system. The module should provide... |
768 | 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 uniform builder for a custom data type in Rust. The `uniform_builder` function takes a mutable... |
3,932 | 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 graphics module for a virtual display. The module is responsible for rendering pixels on a 64x3... |
1,083 | 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 simplified version of a task scheduler in Rust. Your goal is to implement a function that schedules and ex... |
4,861 | 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 sum of a series of predefined constants. The constants are fractions represe... |
1,404 | 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 data type called `Number` in Rust, which can represent either a boolean value or an unsigned 64... |
1,470 | 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 analyze a piece of code and identify the dimensions of code blocks within it. A code block... |
2,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 working on a migration tool for a database management system. The tool supports different types of migrations, such as SQL and Mo... |
3,370 | 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 card game in Rust. The game involves creating a deck of cards, shuffling the deck, and dealing ... |
4,701 | 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 error type and handling errors in a cryptographic provider module. The provided code snippet sh... |
1,812 | 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 validates waypoint epochs in a blockchain network. A waypoint is a cryptog... |
2,356 | 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 data structure to efficiently store and retrieve encrypted server requests. Each request is identified... |
4,316 | 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 build script that sets up the necessary linking for a third-party library called \"nlopt\". The build... |
3,076 | 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 an SVG (Scalable Vector Graphics) file based on the input parameters. The func... |
767 | 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 stock trading system. The system consists of a market where various shares can be bought an... |
3,700 | 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 queue manipulation system for a game. The game involves a queue of actions that players can perform, a... |
4,315 | 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 filter and display words based on a given regular expression pattern. The program should re... |
2,637 | 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 parses user input and returns a specific error message if the input does not meet certa... |
4,971 | 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 data structure and associated functionality for managing canticles, which are hymns or chants typicall... |
2,791 | 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 parse and extract data from a JSON-like structure. The structure is represented as a serie... |
780 | 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 cryptographic hash function called the Miyaguchi-Preneel (Miyaguchi-Preneel Compression Functio... |
1,672 | 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 cross-platform function to retrieve the cursor position within a terminal window. The function should ... |
989 | 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 utility function to retrieve the short names of months and days of the week from the given static data... |
481 | 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 translates a given hostname into a region name by finding the first part of the domain n... |
4,943 | 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 contains a partial implementation of a function. Your task is to complete the implementation of th... |
2,208 | 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 word frequency counter in Rust. You need to create a function that takes a string as input and ... |
2,226 | 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 dense matrix module in Rust. The module should provide functionality for creating, manipulating, and p... |
4,778 | 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 checks for the presence of a specific label in a given array of issue labels. Each issue... |
1,969 | 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 storage usage tracking system for a smart contract. The given code snippet is part of a Rust program t... |
3,737 | 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 interacts with the operating system to execute a command and capture its output. Your program... |
4,906 | 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 data structure in Rust that simulates a simple version of a tuple. The tuple will consist of tw... |
3,963 | 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 UART (Universal Asynchronous Receiver/Transmitter) controller in Rust. The provided code snippe... |
1,824 | 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 future polling mechanism in Rust. A future represents an asynchronous computation that may prod... |
1,413 | 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 presence system for a chat application. The system should support different presence states for users,... |
1,654 | 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 given text string according to the following rules:\n\n1. If the text is not... |
243 | 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 control a Crazyradio device, which is used for wireless communication. The Crazyradio libr... |
4,541 | 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 testing framework for a serverless runtime environment. The runtime environment allows users to def... |
3,821 | 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 asynchronous task in Rust using the `async/await` syntax. Your goal is to create a function tha... |
1,667 | 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 interface (CLI) for a file manipulation tool. The CLI should support the \"path join\" co... |
1,836 | 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 `from_str_radix` function for a custom data type in Rust. The function should parse a string re... |
1,486 | 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 sorting algorithm for a specific data structure. The data structure consists of two variants: `... |
2,666 | 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 macro that processes a given input and generates a specific output. The macro should take a list of i... |
1,679 | 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 parse and process a configuration file for OAuth 2.0 authorization server. The configurati... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.