messages listlengths 3 3 | source stringclasses 1
value |
|---|---|
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a function to generate polynomial features from a given dataset. The function should take the input matrix `X` an... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a simple event management system in Swift. The system should include a class for managing upcoming events and a p... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a modal dialog box using HTML, CSS, and JavaScript. The modal should have two buttons: one for closing the modal and ... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a URL matching and content setting retrieval system. The system should iterate through a collection of rules, eac... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are working on a data analysis project and need to manipulate and analyze a dataset stored in a CSV file. The dataset contains information abo... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a Python function that simulates a simplified version of a database migration system. The function should take a list... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a function that calculates the total area of a series of rectangles in a 2D plane. Each rectangle is represented ... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a Python function that calculates the time difference between the current time and a given future time. The function ... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a JavaScript function that validates the input from a form field. The form field has the following attributes: type=\... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are given a function `findLargestNumber` that takes in an array of integers and returns the largest number in the array. However, the code sni... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a custom rendering system for a web application. The provided code snippet is a simplified representation of a Py... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a program that simulates a simple text-based adventure game. The game will involve navigating through different r... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are a careful debugging assistant. Identify likely causes, explain them clearly, and provide corrected code or a verification checklist."
},
{
"role": "user",
"content": "My Three.js game has a texture not loading. Here is the suspicious line: `player.position... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a k-nearest neighbor (KNN) classifier from scratch in Python. The KNN algorithm is a simple and effective method ... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a middleware in a Laravel application that restricts access to a specific route based on the user's authentication st... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are working on a code editor application and need to implement a feature to mark syntax errors in the code. The code snippet provided is part ... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are working on a Python project that involves importing modules and classes from different files within the project directory. Your task is to... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs."
},
{
"role": "user",
"content": "Make a browser-based Three.js arena survival game with knockback, shield parry, hit stop. ... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a C++ unit test for a class that interacts with a user script library. The class, `UserScript`, has several methods t... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs."
},
{
"role": "user",
"content": "Create a Three.js scene featuring a laser turret. Use bright outdoor daylight, a top-down ... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a Python function to validate URLs using a regular expression. Your function should take a URL as input and return `T... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a Python script to manage the configuration of a Gunicorn web server. Gunicorn is a popular WSGI HTTP server for Pyth... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a function to determine the status of parental leave withdrawals based on a given set of withdrawal records. The ... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs."
},
{
"role": "user",
"content": "Create a Three.js scene featuring a robot pet. Use foggy moonlight, a isometric camera, an... | null |
[
{
"role": "system",
"content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs."
},
{
"role": "user",
"content": "Make a browser-based Three.js coin collector game with checkpoint respawn, dynamic music, ... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a Python function that preprocesses a given dataset for machine learning using the pandas and scikit-learn libraries.... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a logging system for a software application. The logging system should support different log levels and be able t... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs."
},
{
"role": "user",
"content": "Create a Three.js scene featuring a training dummy. Use high-contrast studio lighting, a t... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a Python function that processes a given configuration dictionary to create and manipulate data loaders for a dat... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs."
},
{
"role": "user",
"content": "Make a browser-based Three.js physics toy game with combo meter, magnet pickup radius, pro... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a function that processes skill entries for a role-playing game. The function should take in three parameters: `i... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs."
},
{
"role": "user",
"content": "Create a Three.js scene featuring a magnetic cube. Use high-contrast studio lighting, a sp... | null |
[
{
"role": "system",
"content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs."
},
{
"role": "user",
"content": "Create a Three.js scene featuring a magnetic cube. Use bright outdoor daylight, a cinemati... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with simulating a version control system's status update and handling process. The given code snippet is part of a version control ... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs."
},
{
"role": "user",
"content": "Make a browser-based Three.js hoverboard course game with dynamic music, magnet pickup rad... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are working on a project that involves processing data using TensorFlow. As part of the project, you need to create a function that generates ... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a Python class that manages database engines and tables. The class should provide methods for setting the parent ... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a simple error handling mechanism for an API using Python's FastAPI framework. The provided code snippet demonstr... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a custom migration in a Django project to update a model's field. Your task is to write a migration that adds a new f... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a simplified event notification system in Rust. The system consists of an `EventNotifier` struct that allows subs... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a Python function that processes a list of file paths and returns a dictionary containing the count of files with eac... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs."
},
{
"role": "user",
"content": "Create a Three.js scene featuring a lava bridge. Use arcade neon lighting, a spring-arm ca... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a Django web application for managing user sessions and settings. The given code snippet contains the URL mappings fo... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with optimizing a C++ program by replacing a slow function with a more efficient assembly implementation. The given C++ program con... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a Python class to manage products in an inventory system. Your class should include methods to calculate the total va... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are given a JavaScript function that returns a JSX element. Your task is to complete the function by adding the necessary JSX code to render a... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a Python class that manages a list of code blocks. Each code block has a name and a set of instructions associate... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs."
},
{
"role": "user",
"content": "Make a browser-based Three.js dungeon crawler game with combo meter, dash cooldown, camera... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a simple game menu system in Unity using C#. The game menu should have a button that, when clicked, opens a credi... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a k-nearest neighbors (KNN) classifier from scratch. KNN is a simple, non-parametric, lazy learning algorithm use... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a custom documentation generator for a programming language. The generator should parse a given code snippet and ... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a Python function that parses a configuration file and extracts specific information from it. The configuration file ... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a program that simulates a simple banking system. The program should allow users to create accounts, deposit and with... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a function to calculate the multiplicative inverse of a given element in a Galois field. A Galois field, denoted ... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a unit test for a method using the EasyMock framework in Java. The method being tested is part of a system that u... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs."
},
{
"role": "user",
"content": "Make a browser-based Three.js physics toy game with camera shake, dash cooldown, combo met... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a Python function that processes a dictionary containing file information and returns a modified version of the dicti... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a Java class that utilizes the Retrofit library to implement a file upload functionality using the Ascii2DApi interfa... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a Python function that takes a list of integers as input and returns a tuple containing the elements of the input lis... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a Python function that identifies and prints all prime numbers within a given range. A prime number is a natural numb... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a custom validation function for a web application using Python and Django. The function should validate a user-provi... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a Python class that can scan a directory and categorize its contents into files, directories, and empty files. The cl... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic... | null |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with implementing a simple progress bar for a command-line interface (CLI) application. The `cliProgressBar` function is provided a... | magicoder-oss-instruct |
[
{
"role": "system",
"content": "You are an expert programmer. Provide clear, correct, and efficient code solutions."
},
{
"role": "user",
"content": "You are tasked with creating a simple lexer for a custom programming language. The lexer should be able to tokenize a given input string into a se... | magicoder-oss-instruct |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.