messages
listlengths
3
3
source
stringclasses
1 value
[ { "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 evaluate a postfix expression. A postfix expression is an arithmetic expression in which the operat...
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 form validation function for a web application that manages athlete information. The function should validate the i...
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 reducer function in JavaScript. A reducer function takes an array of elements and reduces them to a sing...
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 tower-defense sandbox game with enemy patrols, checkpoint re...
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 program that manages dependencies for a package manager. The package manager uses a configuration file to define th...
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 square matrix of size n x n, where each cell contains a non-negative integer. Your task is to write a function to calculate the su...
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 command-line argument parser for a custom scripting language. The parser should handle quoted strings as a sing...
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 converts an octal UTF-8 string into a pronounceable syllable representation. The input string consist...
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 processes a given `TestRunnerConfiguration` and returns the count of negative compile test target...
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 GUI application using Python's tkinter library. The application should consist of a main viewer window w...
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 simplified version of a collective communication library for GPUs. The library should support the following col...
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 middleware component for an OWIN-based web application. The middleware needs to log the incoming HTTP requests 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 simplified version of the `cd` command found in Unix-like operating systems. The `cd` command is used to change...
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 TypeScript function that generates CSS styles for responsive border radii in a web application. 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 implementing a Python class for a neural network layer. The class, named `CustomLayer`, is responsible for processing input da...
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 processes a list of file information and extracts specific details from each entry. Each entry is in 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 function that retrieves and processes data from a given URL using the `requests` library. Your function shou...
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 bash script that automates the process of running unit tests for a given repository. Your script should be able to ...
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 callback system for a machine learning library. The provided code snippet includes a base class `Callbac...
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 activation function for a neural network using PyTorch. The custom activation function, named \"SmoothRe...
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 processing pipeline for a child welfare organization. The organization collects data on children and households, and you...
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 software-defined networking (SDN) controller, and you need to implement a function to handle packet forwarding in a network s...
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 converts a given date and time to a Unix timestamp. The Unix timestamp is a way to represent a po...
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 ancient rune gate. Use stormy blue-gray lighting, a sp...
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 extracts the version number from a given package's `__init__.py` file and appends a version id...
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 class in Python that represents a person's name. The class should have the following functionalities:\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 implementing a Python class to convert dates from the Gregorian calendar to the French Republican calendar. The French Republi...
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 memory management system for a virtual reality application. The application uses the Oculus Rift SDK, and you 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 program that generates a random order of presentation for a list of participants in a competition. The program shou...
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 coin collector game with hit stop, inventory hotbar, slow-mo...
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 system for managing bands and their members. The system should allow the creation of bands and the addition of ...
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 that interacts with a government expenses website to retrieve daily expenses data. Your class should h...
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 cryptocurrency trading platform, and you need to implement a function to convert time intervals from a user-friendly format t...
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 reinforcement learning algorithm using the Keras-RL library. The code snippet provided shows the training and t...
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 function that determines the type of environment in which a Python script is being executed. The functio...
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 manages settings for a scientific imaging system. The system has a specific component called \"Be...
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 simulates a data source for HTTP requests. The class should have methods to send GET and POST...
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 data validation function for a file storage system. The function should validate a given URL to ensure it confo...
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 Python program that contains a single line of code as shown below:\n\n```python\nprint(x)\n```\n\nYour task is to write a Python 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 creating a class that represents an AWS CloudFormation resource for managing triggers in IoT Analytics datasets. Your task is ...
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 Python function that takes a dictionary `data` as input and returns two values. The first value is the value associated with the k...
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 GraphQL resolver function for a recipe search feature. The resolver function will handle two types of queries: ...
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 developing an error handling system for a cloud infrastructure management tool. The tool interacts with various resources 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 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 water orb. Use soft sunset lighting, a side-scroller c...
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 compares two numbers and returns a specific message based on their relationship. 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": "\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 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 enemy patrols, combo meter, slow-motio...
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 a nested list of arrays or dictionaries and concatenates their elements based on certai...
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 custom dataset class for a computer vision project. The dataset contains images along with their corresponding ...
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 simulates a simple command execution system. The function should take a command string and a b...
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 thread-safe command table manager in C++. The given code snippet is a part of the `PikaCmdTableManager` class, ...
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 custom method within the `ReportInternationalPrice` class in the Laravel framework. The method should calculate the...
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