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 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 health pickups, camera shake, spawn wa...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are working on a Laravel application that includes a model for logging administrative actions. The provided code snippet is a simplified repre...
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 serialize a signature in the context of the secp256k1 elliptic curve cryptography library. The secp...
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 implementing a function that calculates the total time taken to process a series of requests. Each request has a specific proc...
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 web application that involves showing and hiding a button based on user input. The application uses jQuery for DOM ...
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 to decompose a data URI into its constituent parts. A data URI is a scheme that provides a way to incl...
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 interacts with a genetic dataset to query for specific single nucleotide polymorphisms (SNPs)...
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 custom button component for a web application using React and styled-components. The button component should have 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 Python function that dynamically selects and builds a machine learning model based on the provided model name 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 Python program that involves reading and writing matrices to a file. Your program should perform the following step...
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 decorator that associates a reference with a given class. The decorator should store the reference URL a...
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 hovering drone. Use cyberpunk alley lighting, a top-do...
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 Java program that adapts data from one format to another using the provided code snippet as a reference. Your progr...
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 script that automates the setup process for a quantum Monte Carlo simulation package called \"pyqmc.\" 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": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a Python function that generates a header file for a C++ program. The header file should contain forward declarat...
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 data processing pipeline using the Combine framework in Swift. The pipeline will involve fetching data f...
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 calculate the connected domin score for a pair of images. The connected domin score is a measure 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 program that reads a text file and counts the occurrences of each word in the file. Your program should ignore punc...
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 script to automate the deployment process for a documentation website using a Netlify webhook. The script should 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 simple event management system that categorizes events as live, past, or upcoming based on their start dates. Y...
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 simulates a camera system. The camera should have a method to start capturing images and a method...
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 stealth maze game with dash cooldown, stamina sprint, magnet...
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 a specific class from a TypeScript module and returns it as a named export. The module c...
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 represents a unique identifier. The class should have the following functionalities:\n\n1. In...
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 glowing portal. Use soft sunset lighting, a spring-arm...
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 physics toy game with shield parry, inventory hotbar, dash 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 implementing a Python function that takes a list of strings representing linguistic features and returns a dictionary containi...
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 analyzes the popularity of GitHub repositories based on the number of stars they have received....
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 web application for a car dealership. As part of this application, you need to implement a feature for adding new c...
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 Squeeze-and-Excite block, a component commonly used in convolutional neural networks (CNNs) to improve feature ...
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 simplified version of a queue data structure using Python. Your queue should support the following operations:\...
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 tag helper in an ASP.NET Core web application. Tag helpers are a feature in ASP.NET Core that enables server...
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 represents a 3D point in spherical coordinates. The class should provide methods for converti...
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 project to develop a software tool for image processing. As part of this project, you are tasked with implementing a class 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 implementing a simple authentication service in JavaScript. The provided code snippet contains a partial implementation of the...
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 reads a file containing copyright information and extracts the name of the copyright holder. The copyr...
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 utility that processes user input and performs specific actions based on the provided options 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 script to process configuration settings for a natural language processing (NLP) application. The configurat...
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 water orb. Use underwater caustic mood, a spring-arm c...
null
[ { "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 processes a list of differences and then plots the differences using the `matplotlib` library. Your task ...
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 dictionary and returns a specific value based on certain conditions. The function sho...
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 Django model method for the `ImageSlide` model. The method should update the `sent` field with the current time...
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 web form for sending messages using Django's form framework. The provided code snippet includes a form definition 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 creating a program that processes a list of exported modules from a TypeScript file and calculates the total number of GitHub ...
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 function that generates an unguessable reference. An unguessable reference is a unique identifier that is difficult...
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 a scheduler for updating a web page at regular intervals. Your class should utilize 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": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are working on a file system manipulation tool and need to implement a function to retrieve a list of directories within a specified folder. 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 given a program that takes input for the dimensions of a box and a list of integers representing the lengths of various objects. The progr...
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 list of file paths representing images in a web application. Each file path starts with \"/static/img/\" followed by the image nam...
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 simplified version of a state management library in TypeScript. The library should support defining a model 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 REST client class in TypeScript for an Angular 4 application. The RestClient class will be responsible for maki...
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 script to automate the installation and setup of a software package called VIAME (VGG Image Annotator and Modeler E...
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 function that manipulates a NumPy array `gp` according to certain conditions. Your task is to understand the given 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": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a class that manages the serialization and deserialization of objects to and from JSON files. The class should pr...
magicoder-oss-instruct