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 creating a Django model for a simple to-do application. The model should represent a to-do item with a title, description, com...
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 serves as a base class for different ensemble classifiers. The class should provide a framewo...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a Python function that processes a list of import statements and extracts the unique module names being imported. 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 Python class that simulates a simple bank account. The class should have methods for depositing funds, withdrawing ...
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 function that calculates the sum of the squares of all the even numbers in a given list. 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 an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are working on a computer vision project and need to implement functions to convert bounding box coordinates between different formats. The tw...
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 a Python script that securely retrieves and stores sensitive environment variables from the system's environment. 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 developing a command-line interface (CLI) for managing Azure NetApp Files (ANF) accounts. The CLI should support the creation ...
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 class hierarchy for employees in a company. The base class `Employee` should have attributes such as `name`, `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 function to calculate the Jaccard similarity between two strings. The Jaccard similarity between two sets is de...
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 coin collector game with quest markers, wall bounce, checkpo...
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 simulates a simple banking system. The program should allow users to create accounts, log in, d...
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 user authentication system for a web application using Swift and the Vapor framework. The `UserController` class 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": "\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 coin collector game with magnet pickup radius, dynamic music...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are given a dataset containing temperature readings over a period of time. Your task is to write a function that takes this dataset as input 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 laser turret. Use cold sci-fi lab lighting, a third-pe...
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": "Create a Three.js scene featuring a ice platform. Use warm torch lighting, a isometric 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": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are working on a serverless application using AWS Lambda and the AWS CDK (Cloud Development Kit) to define your infrastructure as code. You ha...
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 of software packages on a Debian-based system. The script should update the pac...
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 can parse and execute commands from a script file. The script file may contain commands written in a 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 updating a Python codebase to replace deprecated classes with their modern equivalents. In this scenario, the codebase uses th...
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 PHP class that interacts with the Intelepeer API to send SMS messages. The IntelepeerConnector class provided in th...
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 dictionary `d1` containing unique keys and values. Your task is to write a Python function that swaps the keys and values of `d1` ...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a function to handle the encoding of a dictionary containing Unicode characters and then making a POST request us...
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 SQL INSERT statements for a given table and a list of dictionaries representing 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 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 bright outdoor daylight, a top-dow...
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 a query builder in TypeScript. The method should set a limit for the number of results to be r...
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 password hashing function for a user management system. The system receives user input for a new password and 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 function that calculates the sum of two numbers. However, there's a twist to this problem. If the sum of the tw...
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 script that sets up the environment for a custom library by adding its path to the `LD_LIBRARY_PATH` environment va...
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 floating island. Use cold sci-fi lab lighting, a first...
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 Lambda function in AWS using the Boto3 library. Your goal is to write a Python script that utilizes Boto3 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 creating a function that determines the client's IP address based on the provided environment variables. The function should h...
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 data preprocessing task and need to write a Python function to perform specific operations on pandas DataFrames. 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": "\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 to interact with an RFID reader using the RFIDIOt library. The script should establish a connection w...
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 represents an item with associated text data and performing operations on it. The class `ItemText` i...
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 management tool that needs to automate the process of patching Xcode project files. Your task is to create a function...
magicoder-oss-instruct
[ { "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 dungeon crawler that uses stamina sprint. Give exact implementation ideas and code patterns....
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with designing a Swift protocol for an onboarding scroll view and implementing a function to load onboarding pages. The protocol 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": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a Python program to calculate the discounted price of a product and display the result. The program should take the o...
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 to represent a standard deck of playing cards. The `Card` class should have attributes for suit 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": "\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 low-poly forest. Use arcade neon lighting, a side-scro...
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 simplified file processing workflow. Your function will take an input file, proces...
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 asynchronous dialog system in Rust. The provided code snippet is a part of a larger program that creates...
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 represents a course. The class should have the following attributes and methods:\n\nAttributes:\n...
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 convert lattice constants to a LAMMPS box representation for a crystal lattice. LAMMPS is a widely ...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a Python function that processes a list of database migration operations and returns a dictionary containing the chan...
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 pagination component for a web application using PHP and HTML. The pagination component should display a set of pag...
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 given a Python class `Grafo` that represents a graph. The class has a method `insertAresta` to insert an edge (represented by `Aresta` obj...
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 text parsing utility in Python. Your goal is to create a class that can be used to read and extract spec...
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 directory structure represented as a tree. Each node in the tree represents a directory, and each directory may contain files 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 working on a text processing tool that removes certain words from a word list and then displays the changes made. The code snippet provide...
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 function that evaluates a given integer input according to the rules of the classic Fizz-Buzz game. The Fizz...
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 to interact with a ClickHouse database. The program needs to execute a series of SQL queries using the `cur...
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 for a theme park that calculates the admission fee based on the age of the visitor. The program should take...
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 company with n employees, where each employee has a unique ID from 0 to n-1. The head of the company is the one with headID. Each ...
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 Battleship game simulation in Python. The game involves two players, each with a set of ships placed on a grid. 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 to analyze code coverage information from a test suite. Code coverage is a measure used to describe the deg...
magicoder-oss-instruct