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": "Create a Three.js scene featuring a energy pickup. Use warm torch lighting, a fixed-room 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": "\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 processes shader attributes for a 3D model in Autodesk Maya. The function should take in the 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": "\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 and displays images for a sports event website. The website stores images of event shirts 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 programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a Python program that analyzes a given number and provides specific output based on certain conditions. Your program ...
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 class for reading and analyzing finite automata from a file. A finite automaton is defined by a set of states, ...
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 implementing a function that parses and processes an SVG path string to extract specific information about the path commands. ...
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 module that provides a set of functions for performing basic arithmetic operations. The module should be nam...
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 options management system for a web application. The system should allow users to set and retrieve optio...
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 resizes images to fit within a specified maximum size while maintaining the original aspec...
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 generates visualizations of graphs using different layout algorithms. The function takes a graph ...
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 magnet pickup radius, wall bounce, pr...
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 dungeon crawler game with hit stop, enemy patrols, health pi...
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 module that provides various utility functions. Your module should be named `utils` and should contain a fun...
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 lock-on targeting, charged jump, sl...
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 training dummy. Use arcade neon lighting, a top-down c...
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 drawing application that supports different shapes. You are provided with an abstract class `Shape` that...
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 manages socket connections based on a given configuration. The function takes in three paramet...
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 physics toy game with shield parry, checkpoint respawn, spaw...
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 parallel processing system for evaluating machine learning models on multiple datasets with varying parameters....
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 two functions to convert bounding box coordinates between different formats commonly used in computer vision 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 bright outdoor daylight, a cinematic or...
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 simulation program for a residential area (RA) management system. The program simulates the behavior of resident assistants (...
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 URLs, some of which are valid and some are not. Your task is to write a function that extracts the domain names from the v...
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 extends the functionality of an AnimatedSprite to create a BackgroundSprite. The BackgroundSp...
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 area of a shadow cast by a given object. The shadow is cast on a flat surface, 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 program that simulates a sticker calibration process for a robotic system. The program should prompt the use...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a function that processes an array of subjects and returns a new array containing only the subjects with unique n...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a Python program that processes a CSV file containing student information and performs various operations on the data...
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 module for working with different astronomical observations. The module should provide tools for handlin...
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 determines the appropriate logging module to import based on the version of the Sphinx documen...
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 cyberpunk alley lighting, a third-perso...
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 processes a given HTML file and extracts specific information from it. The HTML file contains a table ...
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 scrapes job listings from Indeed.com and categorizes them based on whether they offer an \"expres...
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 data encoding and decoding system. The system should support encoding data from a source format to an intermedi...
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 processes movie data to ensure that each movie's poster path is properly formatted. The function shou...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs." }, { "role": "user", "content": "Make a browser-based Three.js dungeon crawler game with hit stop, projectile pooling, knoc...
null
[ { "role": "system", "content": "You are a senior gameplay programmer. Focus on responsiveness, feedback, readable mechanics, and player feel." }, { "role": "user", "content": "Improve the game feel for a racing checkpoint that uses magnet pickup radius. Give exact implementation ideas and code p...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a custom exception class and handling it within a Python program. Your task is to create a `ChildLimitError` exce...
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 virtual machine that processes a series of commands and conditions. The virtual machine has a set of commands with correspond...
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 lava bridge. Use bright outdoor daylight, a spring-arm...
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 bot using the Discord.py library to manage a server. The bot should have the ability to send a message to 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 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 neon hover car. Use soft sunset lighting, a fixed-room...
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 retrieves and processes login data from a database using Laravel's Eloquent ORM. The given code snipp...
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 transaction processing system. The system should be able to handle deposits, withdrawals, and provide 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": "\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 code snippet that appears to be incomplete. Your task is to complete the code by implementing a function that calculates 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 Django migration for a music streaming application. The application has a model for playlists, and each playlist 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 tasked with creating a PHP class that extends another class and overrides a method. Your task is to implement the overridden method in 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
[ { "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 stormy blue-gray lighting, a fixed-r...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are working on a distributed system that manages data across multiple partitions. The system allows multiple writers to concurrently update da...
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 cloud storage application that allows users to upload files to a cloud bucket. As part of the testing process, you need to wr...
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 integers representing the scores of a game. The game has a rule that a player's score is the sum of the scores of the last...
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 `addBinary(a, b)` that takes in two binary strings `a` and `b` and returns their sum as a binary string. Additiona...
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 extracts the image source URLs from a given HTML code snippet. The function should take the HT...
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 date formatting utility in TypeScript. Your goal is to implement a function that takes a date string in one of mult...
magicoder-oss-instruct