id int64 0 5k | task_category stringclasses 1
value | messages listlengths 3 3 |
|---|---|---|
1,179 | 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 a unified HTTP client interface for making requests using either the `isahc` or... |
1,128 | 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 virtual reality game where players navigate through a series of interconnected rooms and hallways. The game is repre... |
1,889 | 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 puzzle input file containing a series of space-separated integers. Your task is to implement a function to process this i... |
853 | 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 web service that manages counters. The service should provide an endpoint to increment the value of a spec... |
3,206 | 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 key-value store using the Rust programming language. The key-value store will be backed by a fi... |
2,681 | 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 create a new `Surface` object in a graphics library. The `Surface` struct represents a dra... |
3,925 | 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 trait for error handling in Rust. The trait, named `ErrorMapper`, is defined as follows:\n\n``... |
4,658 | 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 hash tree data structure in Rust. The hash tree, also known as a Merkle tree, is a tree in whic... |
1,174 | 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 text-based user interface (TUI) for a command-line application. The application should display ... |
2,516 | 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 retrieves a specific byte from a tile in a virtual memory space. The function `get_tile_... |
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 data validation function for a specific data structure. The data structure is represented by a Rust st... |
3,540 | 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 for a system that interacts with various hardware components. ... |
2,868 | 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 argument parser for a Rust program. The program should accept configuration options in th... |
713 | 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 mention map related to a set of instructions in a virtual machine. The menti... |
786 | 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 file parsing algorithm to process a custom file format used for storing points and folds in a 2D space... |
1,145 | 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 function that takes an expression `e` and converts it to a string using a custom library `pprust`... |
2,034 | 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 hash function in Rust for a Python integration library. The Python integration library uses a c... |
4,437 | 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 game battle system using Rust. The game consists of a `Player` and an `Enemy` that engage in ba... |
1,380 | 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 defines a struct `Maintainer` and an associated function `force_set_maintainer`. Your task is to i... |
4,384 | 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 recursive function to generate all possible combinations of a given string, considering a set of optio... |
18 | 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 simplified file system. Your program should implement a function `generate_file_p... |
1,424 | 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 for handling input events in a game development framework. The provided code snippet is a part ... |
4,873 | 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 secure messaging system using the `sodiumoxide` cryptography library in Rust. The system involves encr... |
3,616 | 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 pairs representing connections between nodes in a graph. Each pair represents an undirected edge between two node... |
2,169 | 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 blockchain network using Rust. In this problem, you will focus on creating a m... |
549 | 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 policy management system in Rust. The system should allow the creation of policy proxies that can hand... |
1,817 | 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 rasterizes a given character using the RustType library. RustType is a pure Rust alternative ... |
4,213 | 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 user authentication and authorization. The code snippet provided includes several modules and ... |
3,367 | 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 parser for various types of tags in a markup language. The provided code snippet shows a Rust ... |
3,912 | 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 simulating a simplified process management system in a multi-threaded environment. The system involves handling proce... |
1,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 creating a Rust function that interacts with a database to initialize a table. The provided code snippet is a part of... |
2,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 function to parse command-line arguments and extract specific settings based on the provided name. The... |
2,445 | 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 interacts with a multimedia framework using the GStreamer library in Rust. The function ... |
2,966 | 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 program that processes JSON data related to guild integrations in a Discord-like application. The... |
4,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 optimizing a function that performs a series of transformations on a collection of elements. The function is currentl... |
3,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 draw a triangle on a 64x64 pixel grid using the `embedded-graphics` library in Rust. The f... |
2,702 | 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 DNA sequence manipulation program. The program should read DNA sequences in FASTA format from standard... |
3,614 | 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 database system for storing and retrieving projections. A projection is a representation of an ... |
3,301 | 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 slab allocator. A slab allocator is a memory allocation algorithm that ... |
3,013 | 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. Your error type should represent a failure to connect to a serve... |
4,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 implementing a confidential token transfer system for a blockchain application. The system involves encrypting and de... |
829 | 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 constraint satisfaction problem (CSP) solver in Rust. A CSP consists of a set of variables, each with ... |
2,002 | 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 simulating a progress bar for a file download process. You are given a `ProgressBar` class with a method `reach_perce... |
2,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 function that retrieves permissions for a user from a database using the Diesel ORM and Rocket web framewo... |
2,713 | 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 two different endpoints asynchronously. Your goal is to implement a func... |
4,210 | 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 2D vector struct in Rust. The struct should have the following properties and methods:\n\nProp... |
4,130 | 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 protocol state machine in Rust. The protocol has three states: `Init`, `Established`, and `Clos... |
881 | 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 state builder for an equation of state in a thermodynamics library. The state builder is responsible f... |
3,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 creating a program that generates a configuration file for a location-based service. The configuration file template ... |
3,901 | 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 Dead Code Elimination (DCE) and Common Subexpression Elimination (CSE) on a binary f... |
4,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 creating a Rust plugin system for a game engine. The game engine provides a set of hooks that plugins can register to... |
2,925 | 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 a simple game scoreboard using the Conrod GUI library. The game has two players, ea... |
3,048 | 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 upgrade the encryption key size for a secure communication protocol. The function should t... |
3,992 | 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 memory simulation system in Rust. The provided code snippet is part of a large... |
1,397 | 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 that processes the output of a command line tool and extracts specific information from it. Th... |
4,452 | 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 string `input` containing a sequence of characters. Your task is to implement a function or method that takes this string... |
1,895 | 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 memory allocator in Rust. Your allocator should support allocating and freeing memory for a spe... |
15 | 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 subpackets of varying lengths. The input data strea... |
4,001 | 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 random alphanumeric string of a specified length. You should implement a functio... |
1,920 | 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 simple network client for testing purposes. The function should asynchronou... |
274 | 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 file format used for storing configuration data in a specific format. The f... |
2,830 | 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 for a Rust application. The application uses a library called `common_... |
1,680 | 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 logging macro in Rust. The macro should take a target identifier, a log level, and a message, a... |
4,631 | 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 rule-based system for a text processing application. The provided code snippet initializes the rule sy... |
3,815 | 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 character encoding system. The system should have a method `from_index` that takes an index as ... |
277 | 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 reader class in Rust that uses two `u64` fast fields to efficiently read and process data. The ... |
1,992 | 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 blockchain network. In this network, there are blocks, each containing a timestam... |
1,480 | 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 struct for managing projects and pull requests. The struct, `Projects`, is intended to store info... |
1,583 | 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 Docker task management system in Rust. The provided code snippet imports the `DockerTask` module from ... |
1,922 | 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. Your goal is to create a custom error type and associated error ... |
426 | 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 sort a list of TVU (Transmit, Verify, and Update) peers based on their staked nodes at a s... |
3,889 | 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 handles various mathematical operations. Your module should include functions for additio... |
2,854 | 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 simulates a simple file system. The function should handle creating, deleting, and listi... |
4,105 | 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 performance benchmark for a function that propagates bounds in a system with a given name. The code snippe... |
1,919 | 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 parses a given code snippet and extracts information about the number of GitHub stars an... |
2,359 | 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 for a stock trading application. The iterator should iterate over a list of st... |
1,880 | 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 program that processes configuration extra descriptors. These descriptors are represented by the ... |
3,722 | 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 that simulates a resource management system. The system consists of a main ... |
4,838 | 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 conversion library in Rust. The library provides a trait `DataConverter` with several meth... |
4,548 | 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 takes a byte array as input and returns a hexadecimal string representation of the bytes... |
2,687 | 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 creation and comparison of logical formulas. Your task is to implement a function that eva... |
586 | 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 responses from an AWS integration service. The function `integrations_aws_pushes_l... |
3,689 | 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 thread-safe circular buffer in Rust using the given code snippet as a starting point. The code snippet... |
319 | 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 program that calculates the average of a list of numbers. The program should take ... |
1,702 | 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 priority-based message queue for a distributed system. The system receives different types of messages... |
2,897 | 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 stream reader in Rust. The `ReaderStream` struct is provided, which wraps a generic type `S`. Y... |
20 | 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 inventory management system for a warehouse. The program should utili... |
4,842 | 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 performs a specific operation on a collection of elements. The function should b... |
4,850 | 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 sets up the graphics for an agent in a game engine. The function `setup_agent_graphics` ... |
2,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 function to parse and extract data from a specific data structure used in industrial automation system... |
2,785 | 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 track changes made to different types of columns in a database. The data structure s... |
1,866 | 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 job management system in Rust. The system should support creating, canceling, and deleting jobs. The c... |
2,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 cache system for a file storage application. The cache system should support two different cache imple... |
4,781 | 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 modeling system for geometric shapes. The system provides a `Model` struct that can be used ... |
3,046 | 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 TGA (Truevision Graphics Adapter) image. The TGA format is a simple raster im... |
141 | 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 cryptocurrency wallets. The module should provide functionality for handling erro... |
3,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 program that processes a list of file paths and extracts the zip files to a specified directory. The p... |
4,268 | 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 a cluster network for a distributed system. The provided code snippet is a partia... |
4,487 | 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 determine whether a given string is a palindrome. A palindrome is a word, phrase, number, ... |
3,755 | 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 test framework for a file processing system. The system processes input files and generates expected o... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.