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 that sends a POST request to a server to process a subscription transaction. The provided code snippet... | 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 exception class and using it within a Python program. Your task is to create a class called `MethodNotIm... | 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 the configuration settings for a system. The class should ensure that all required se... | 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 dynamic music, shield parry, wall boun... | 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 takes a list of mathematical expressions and returns the results of each expression. The expre... | 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 program that fetches the public IP address of the user's machine and extracts the country and city informati... | 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 file management system for a modeling tool. The system should allow users to export a model to an XMI file form... | 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 Python class method that generates a sequence expression based on a given input sequence. The sequence expressi... | 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 Python class that processes performance data for various runners. The provided code snippet includes a base cla... | 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 command-line argument parser for a machine learning model training script. The script uses TensorFlow and requi... | 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 web application that tracks the number of times two buttons are clicked using Python and Flask. The code... | 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 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 puzzle room game with combo meter, stamina sprint, projectil... | 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 gesture detector in Android to recognize a specific gesture and perform an action based on the detected ... | 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 class that manages user continuation in a multi-step process. The class should have two properties: `CanUserCon... | 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 module resolution algorithm for a simple JavaScript module system. The module system uses the `export` statemen... | 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 filtering system for a product catalog. The provided code snippet is a part of a Django web application that handle... | 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 function that parses a given HTML code snippet and extracts the CSS style properties applied to specific elements. ... | 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 method to write multiple events until a certain condition is met. The method should calculate the number of ins... | 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 library that can manipulate and interact with a custom data structure called \"DjangoPonyApple.\" The \"Djan... | 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 class method for loading data from different datasets. The class has a dictionary `available_datasets` containi... | 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 given text file containing Chinese sentences. The function should read the file, s... | 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 text normalization function in Python. Text normalization involves transforming text into a single, consistent ... | 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 event handling system for a 2D game. The provided code snippet is a part of a larger event handling func... | 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 role assignment system for a cloud-based application. The system allows assigning roles to various entities wit... | 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": "\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 parses a JSON configuration file and extracts specific information from it. The JSON configura... | 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 class that manages a list of provider names and their corresponding metadata. The class should allow adding new... | 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 class that manages asynchronous data streams and allows sending requests to the stream. The class provides two ... | 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 unit test for a Python class called `Planner`. The `Planner` class is responsible for managing a set of `Link` obje... | 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 crystal obelisk. Use arcade neon lighting, a fixed-roo... | 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 simulates a simple pipeline system for processing method requests. The class, named `Pipeline... | 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 simplified shader program written in a custom shading language. The program takes two input variables `IN[0]` and `IN[1]`, and pro... | 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 JSON file containing metrics data and returns the highest scoring metric along wit... | 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 pagination feature for a generic repository in a TypeScript application. The repository has a method `paginate`... | 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 Python code snippet that involves the manipulation of matrices using the NumPy library. Your task is to create a function that cal... | 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": "Create a Three.js scene featuring a weathered crate. Use foggy moonlight, a fixed-room cam... | 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 function that extracts metadata from a given webpage. The function should take in a webpage object and return an ob... | 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 that writes data to a file and saves it to an Amazon S3 bucket using multipart upload. The function sh... | 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 a senior gameplay programmer. Focus on responsiveness, feedback, readable mechanics, and player feel."
},
{
"role": "user",
"content": "Improve the game feel for a arena survival that uses dynamic music. Give exact implementation ideas and code patterns."
... | 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 web service endpoint that calculates the histogram of a given list of values and returns the result in JSON for... | 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 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 weathered crate. Use cold sci-fi lab lighting, a third... | 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 extracts the page title from a given code snippet. The page title is enclosed within single quote... | 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": "\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 implementing a Vector class in Python that supports various operations. The Vector class should have a method `_apply` that ta... | 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": "\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 reads a file containing Yelp API keys and returns a list of dictionaries containing restaurant... | 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 pagination algorithm for a leaderboard system. The leaderboard contains a queryset of player scores, and the al... | 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 Rust enum conversion from a foreign library's enum. The foreign library, `napi_status`, contains various status... | 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 working on a machine learning project and are using a Python library to train a model. You are using the `fit` method of a machine learnin... | 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 analyzes the frequency of words in a given text. Your program should take a string of text as input 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 working on a machine learning project and have been tasked with testing a neural network dataset builder. The code snippet provided is a p... | 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 program that utilizes the Jinja2 templating engine to generate personalized messages and iterate through a r... | 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": "Create a Three.js scene featuring a magnetic cube. Use bright outdoor daylight, a first-pe... | 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 list of tuples and returns a modified list based on specific criteria. The fun... | 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 that validates the length of a given string based on a maximum length constraint. The function should ... | 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 generates a unique file path based on the given file name. The function should take the file n... | 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 class that processes TrueType font files to extract and store information about the font's features. TrueTyp... | 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 API endpoint management system. The provided code snippet initializes an empty API object with 'get' and... | 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 given a code snippet containing JavaScript functions and expressions. Your task is to analyze the code and identify the correct output for... | 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 logging system in C#. The system should allow for the propagation of contextual data across threads, app... | 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 program that simulates a simple text-based game. The game involves a player navigating through a series of rooms, e... | 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 task scheduler for a system that supports various task properties. Each task can have multiple properties, such... | 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 developing a Python program to process DNA sequence data from a BAM file and a FASTA file. The program should read the BAM fil... | magicoder-oss-instruct |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.