min_docsearch_score float64 0.04 0.04 | airoboros_subset stringclasses 1
value | instruction stringlengths 18 741 | __original_row_idx int64 0 2k | embedding listlengths 384 384 | too_similar bool 1
class | similar_text stringlengths 0 671 | similar_text_distance float64 0.04 1 |
|---|---|---|---|---|---|---|---|
0.04 | coding | The script should be able to handle directories with spaces in their names. | 877 | [
-0.04796761530180445,
-0.03320765787048144,
0.06589457977455014,
-0.02538595845636059,
0.009680660206025418,
0.005837170265180609,
0.008264730483410802,
-0.007069145157332073,
-0.0008828443609552249,
-0.02063289420778909,
0.015810817095472246,
-0.00790816712513503,
0.04576983191491639,
0.0... | false | Write a bash script that accepts a directory path as an argument and calculates the total size of all files in the directory, including subdirectories. The script should also identify the top 5 largest files by size and print their paths and sizes to the console. Ensure the script handles symbolic links correctly and d... | 0.240861 |
0.04 | coding | Write a simple banking system using Python that allows users to create accounts, deposit and withdraw money, and check their balance. The system should use a dictionary to store account information in memory. Implement basic validation for user input, such as checking if the account exists before performing an action o... | 881 | [
-0.06395638784851856,
-0.016870703682062574,
0.0050063580671838095,
-0.052962180647297914,
-0.007388271450017935,
-0.005684827499497438,
0.06773977780449662,
-0.002331762360285063,
0.008644255878078372,
-0.02284834924589096,
0.008669219048566448,
-0.06071389514700803,
0.01956444621709413,
... | false | Create a simple banking system using Python that allows users to create accounts, deposit and withdraw money, and check their balance. The system should use a dictionary to store account information in memory. Implement the following features: | 0.054478 |
0.04 | coding | Create a Powershell script that accepts a directory path as input and generates a report of all duplicate files within the directory and its subdirectories. The report should include the file paths, sizes, and hashes (using SHA256). Implement a function to delete the duplicates, keeping only the first occurrence of eac... | 910 | [
-0.045450254766599335,
-0.02005820885225559,
0.06378856975044579,
-0.03208667003995533,
0.03092972340870402,
-0.010783087341622534,
0.0034748164082724206,
-0.02135102054446301,
0.004843254053830135,
-0.005589102332387848,
0.05092425959989022,
-0.02550139994718727,
0.04631151952223225,
-0.0... | false | Write a Powershell script that accepts a directory path as input and generates a report of all duplicate files within the directory and its subdirectories. The report should include the file names, sizes, and paths. Use the Get-FileHash cmdlet to calculate the hash of each file for comparison purposes. | 0.064529 |
0.04 | coding | Write a bash script that takes two command line arguments: the path to a directory and a file extension. The script should then recursively search for all files with the given extension in the specified directory, print their paths, and create a new directory called 'archived' inside the original directory. Move all fo... | 911 | [
-0.09879967309952296,
0.021227595768282155,
0.05573516564721805,
0.00045456177288505915,
0.026158341448619615,
-0.011380311733108614,
-0.01782653247527991,
-0.031222318407680413,
-0.049183270529257556,
-0.028313902391925935,
0.051656818518770825,
-0.008761752165936118,
0.044595761912104646,
... | false | Create a bash script that takes two command line arguments: the name of a directory and an extension. The script should find all files in the specified directory with the given extension, then create a new directory called 'archived' inside the original directory and move the found files into it. If the 'archived' dire... | 0.064842 |
0.04 | coding | Write a Powershell script that accepts command line arguments for username and password, then uses these credentials to connect to an IMAP email server. The script should list the subject lines of all unread emails in the inbox. | 913 | [
-0.07647022866480192,
-0.014207384103669287,
0.014786250463687225,
-0.05628022744022068,
-0.03397853416186287,
-0.029083910461569263,
0.07711413766433296,
-0.0041207770363694595,
-0.024503965768839456,
-0.04724003163614432,
0.03302534037530468,
-0.011278861588050951,
0.03890491782568224,
-... | false | Write a Powershell script that accepts command line arguments for username and password, then uses these credentials to connect to an IMAP email server. The script should fetch the subject lines of the last 10 emails in the inbox and print them to the console. | 0.045868 |
0.04 | coding | Write a program in Python that uses SQL to interact with an SQLite database. The program should create a new database called 'library.db' and a table called 'books' with columns for title, author, publication year, and genre. It should then prompt the user to input book information and store it in the database. Additio... | 941 | [
-0.05967517665020239,
-0.0010268813453502075,
0.02903705514211118,
-0.0007856351657018161,
-0.01834524337676869,
-0.024831761384013357,
0.011497361051486403,
0.018467770031639325,
0.016746168178360703,
0.004522334108561741,
-0.00975285145790395,
-0.0012786944268547132,
0.04920465270624595,
... | false | Create a SQL database schema using MySQL to store information about books in a library. The schema should include tables for authors, publishers, genres, and books. Each book should have a unique ISBN, title, publication date, author ID, publisher ID, and genre ID. Write a Python script that connects to the database, i... | 0.09489 |
0.04 | coding | Create a command-line calculator using Java that supports basic arithmetic operations (addition, subtraction, multiplication, and division) as well as exponentiation. The calculator should also support storing and retrieving values in memory locations labeled A-Z. Implement the following commands: SET <letter> <value>,... | 946 | [
-0.09222953995199527,
0.001337375300555352,
0.028595041745095234,
-0.03750740526698758,
-0.09191187701545249,
0.022788081904757587,
0.0248890821855087,
0.0691137424153874,
-0.016244717895326128,
-0.014650482795336895,
0.01841069282317958,
-0.04779103875773321,
0.08319327514435913,
0.015816... | false | Create a command-line calculator using Java that supports basic arithmetic operations (addition, subtraction, multiplication, and division) with the ability to store and recall previously calculated results. The calculator should use a SQLite database to store its history, allowing users to view past calculations and r... | 0.07997 |
0.04 | coding | Create a simple chatbot using Node.js that responds to basic user queries. The chatbot should be able to understand and respond to the following commands: 'hello', 'goodbye', 'what is your name', 'help'. If the user enters anything else, the chatbot should respond with 'I did not understand that command.' The chatbot s... | 959 | [
-0.057606928933716633,
0.00946042887469559,
0.02941704027751865,
-0.045932573039218424,
0.017257383357818838,
-0.030216336713565873,
0.09209773085649689,
0.029500579913742442,
-0.03555122817423712,
-0.014751718605722585,
0.005884443499958062,
-0.0453899994000902,
0.03317053294373161,
0.030... | false | Write a simple chatbot in JavaScript that responds to basic user queries using natural language processing (NLP). The chatbot should be able to understand and respond to the following commands: 'hello', 'goodbye', 'what is your name', and 'help'. The chatbot should also have a default response for any unrecognized inpu... | 0.04786 |
0.04 | coding | Create a bash script that accepts a directory path as an argument and prints the top 5 largest files in the directory, along with their sizes. The script should handle subdirectories recursively and ignore any non-file objects (e.g., directories, symbolic links). Use only built-in bash commands to achieve this function... | 986 | [
-0.0682839672023854,
-0.054692737380592514,
0.04319557145220513,
-0.0401371863693775,
0.03591915940283745,
-0.044828522640940574,
-0.0026336605478804614,
0.002933620920641861,
-0.013172821050841861,
-0.0204326155116254,
0.05068312922894171,
-0.015952652210137856,
0.05524188987027835,
0.015... | false | Create a bash script that accepts a single command line argument, the path to a directory. The script should then recursively traverse the directory and its subdirectories, printing out the total number of files found, as well as the top 5 largest files by size in bytes. | 0.056388 |
0.04 | coding | Create a simple banking system using Java that allows users to create accounts, deposit and withdraw money, and check their balance. The system should have two types of accounts: checking and savings. Checking accounts should have a $1000 overdraft limit, while savings accounts should not allow withdrawals if the balan... | 1,001 | [
-0.02275222824564411,
-0.010714703757034203,
-0.009861989497259938,
-0.047442408309061226,
-0.023391726454742627,
0.0002662505618850624,
0.06485345709207188,
0.025217643896406326,
0.00998246072424687,
-0.010551338607884717,
0.01737573675763523,
-0.054940761739195196,
0.019315493478488144,
... | false | Create a simple banking system using C# that allows users to create accounts, deposit and withdraw money, and check their balance. The system should have two types of accounts: checking and savings. Checking accounts should have a $1000 overdraft limit, while savings accounts should not allow withdrawals if the balance... | 0.055045 |
0.04 | coding | Write a program in Python that uses SQL to create and manage a simple library database. The database should have two tables: 'books' and 'authors'. The 'books' table should have columns for the book's title, author ID (foreign key referencing the 'authors' table), publication year, and genre. The 'authors' table should... | 1,006 | [
-0.05400588652619799,
-0.011034763247897804,
0.0400338502012451,
-0.019378903954273878,
-0.014130020296137896,
-0.017661731417689758,
-0.00633729611991053,
0.028674048860563038,
0.02366894447050717,
0.004637149556711572,
0.0015339773144472592,
-0.026805437687747333,
0.044421631157531234,
0... | false | Write a program in Python that uses SQL to interact with an SQLite database. The program should create a new database called 'library.db' and a table called 'books' with columns for title, author, publication year, and genre. It should then prompt the user to input book information and store it in the database. Additio... | 0.061776 |
0.04 | coding | Create a SQL database schema for a simple e-commerce application using MySQL. The schema should include tables for products, orders, customers, and order items. Each product should have a unique identifier, name, description, price, and quantity in stock. Each customer should have a unique identifier, name, email addre... | 1,018 | [
-0.015266922908750324,
-0.03346420008206079,
0.03199250927983257,
-0.05386118476131808,
-0.03253780608623817,
0.04487201103378432,
0.04585248134242783,
0.01653885433620324,
-0.005814249037813677,
-0.006564567191429106,
0.016190772531353273,
-0.01150064239001659,
0.053651469548432154,
0.017... | false | Write a SQL query to create a database schema for a simple e-commerce application. The schema should include tables for customers, orders, products, and order items. Each customer can have multiple orders, each order is associated with one customer, each product can be part of multiple orders, and each order item is as... | 0.05439 |
0.04 | coding | Implement a simple banking system using C, with the following features: The system should have two types of accounts - checking and savings. Each account should have methods to deposit, withdraw, and check balance. The system should also keep track of all transactions made on each account. The program should be able to... | 1,019 | [
-0.033980775748520764,
0.006660012552604884,
-0.004577572474197434,
-0.025448976177461724,
-0.03454313439815791,
-0.004574778506463392,
0.0951984081166138,
0.020284412502761247,
0.016038715897916587,
-0.011973914734012516,
0.0078448169219675,
-0.04465303213798465,
0.013065331663187338,
0.0... | false | Create a simple banking system using C, with the following features: The system should have two types of accounts - checking and savings. Each account should have an account number, account holder's name, and balance. The system should allow users to deposit and withdraw money from their accounts. It should also allow ... | 0.040242 |
0.04 | coding | Write a Powershell script that takes a directory path as input and generates a report of all files in the directory, including their size, last modified date, and file type. The report should be saved to a text file named 'file_report.txt' in the same directory. If the directory does not exist or is inaccessible, the s... | 1,035 | [
-0.04075055330733509,
-0.0005273773840941659,
0.057005074261680395,
-0.01048143519165938,
0.01577334199848207,
-0.0008609199508627577,
-0.004203216857894078,
-0.008023865050994733,
-0.03885020088100713,
0.0045029965385885995,
0.05491395345563184,
0.000028874030377257745,
0.01694816996729175,... | false | Create a Powershell script that accepts a directory path as input and generates a report of all files in the directory, including their size, last modified date, and file type. The report should be outputted to the console in a human-readable format. | 0.059793 |
0.04 | coding | - User accounts with unique IDs, names, and balances | 1,046 | [
-0.056373543190218825,
-0.02609924560309068,
0.006923428166927703,
-0.02625522536818853,
-0.007655109163824652,
0.015372188530832994,
0.07283889392832162,
0.020117692347056616,
0.020247058638662174,
-0.02468768656408618,
0.013302275711080721,
-0.04105043349568541,
0.029291169277750537,
0.0... | false | - Each account has an account number (unique identifier), account holder's name, and balance. | 0.09191 |
0.04 | coding | - Deposit and withdrawal functionality | 1,046 | [
-0.037295165560984084,
-0.020632290746830557,
0.02976409464926727,
-0.030189943749540288,
0.006018207272605347,
0.0004601753794995306,
0.098701541877468,
0.023516753157480225,
0.03432530087217044,
0.00939485875166518,
-0.010584791883255484,
-0.04010605721519055,
0.021798889591840724,
0.047... | false | 3) Deposit, withdraw, and check balance functionalities | 0.106356 |
0.04 | coding | - Transfer funds between accounts | 1,046 | [
0.008929292187072708,
-0.03152486467227023,
0.013658284893421482,
-0.01972632581400642,
-0.013448858375583515,
-0.010548940456507151,
0.079041410469184,
0.0019609198024546325,
0.00859253989707208,
-0.03677769561941933,
0.002513016234228579,
-0.0730633250692619,
0.0069338291629350195,
0.023... | false | 5) Transfer money between accounts | 0.071563 |
0.04 | coding | - A function to check account balance | 1,046 | [
-0.056704949156867676,
-0.039877979539126696,
0.024873205974426105,
-0.04183062409012742,
0.007869158397349753,
-0.002076685782106091,
0.09923428128538916,
0.03603505552563522,
0.026138258753929236,
-0.04672716829465823,
0.01850484232829828,
-0.06686580569614148,
0.02648906563642708,
0.043... | false | 4) Check account balance | 0.109151 |
0.04 | coding | - Error handling for invalid transactions (e.g., insufficient funds) | 1,046 | [
-0.060993504258830336,
-0.04807912223597933,
0.04280568692968282,
-0.029916301604931066,
-0.006266843576838388,
-0.026420770420782825,
0.0460505451903214,
0.017142495275243166,
-0.008004615146285718,
-0.026733877347540548,
0.029797869037476152,
-0.062487867220907135,
0.008329229494865883,
... | false | 6) Implement basic error handling for invalid inputs and insufficient funds | 0.080148 |
0.04 | coding | Write a program in Java that implements the Merge Sort algorithm to sort an array of integers. The program should accept command line arguments for the size of the array and the maximum value of the random integers it will contain. It should then generate an array of random integers, print the unsorted array, sort it u... | 1,048 | [
-0.08559945189836354,
-0.015973171152277643,
0.0013281672671646065,
-0.04842192286818398,
0.004940048770761772,
0.012992346604844877,
0.022328592743265836,
0.034347738926684274,
0.03871748207672239,
-0.028354052335386258,
0.05708278319155044,
-0.04295679163808718,
0.03575548142108886,
0.05... | false | Implement a binary search algorithm in C to find an element in a sorted array. The program should accept the size of the array, the elements of the array, and the target element as command line arguments. It should then print out whether the target element was found and its index if it exists. | 0.202341 |
0.04 | coding | Create a command-line calculator in Java that supports basic arithmetic operations and has the ability to store and recall previously calculated results. The calculator should be able to handle multiple users, with each user having their own set of stored results. Use SQLite for storing user data. | 1,062 | [
-0.06833935881698366,
-0.004240389204207936,
0.01103834744498867,
-0.03927485419330621,
-0.07115198263316505,
-0.0036889149552140634,
0.06603479751311797,
0.056156609708591036,
0.01798902162448061,
-0.01682871483506053,
-0.005000017761968008,
-0.024369866119409413,
0.05478879494823444,
0.0... | false | Create a command-line calculator using Java that supports basic arithmetic operations (addition, subtraction, multiplication, and division) with the ability to store and recall previously calculated results. The calculator should use a SQLite database to store its history, allowing users to view past calculations and r... | 0.046162 |
0.04 | coding | Write a bash script that accepts two command line arguments: a directory path and a file extension. The script should then recursively search the specified directory for files with the given extension, and print out the paths of these files in alphabetical order. | 1,074 | [
-0.08869894181145446,
-0.00452485612955138,
0.05336118241158653,
-0.009360700410067414,
0.022369594203436455,
0.012587800036144833,
0.012874375429597273,
-0.031110112038769788,
-0.0198289742778042,
-0.04677140122532921,
0.0351179225790064,
-0.008516180864000694,
0.03376926697089214,
-0.011... | false | Create a bash script that accepts two command line arguments: the name of a directory and an extension. The script should then search for all files with the given extension in the specified directory and its subdirectories, and print out the paths to these files relative to the specified directory. | 0.069965 |
0.04 | coding | - User authentication with username and password | 1,078 | [
-0.05445534618869785,
-0.008082130371723012,
0.020621606184932775,
-0.03989676945825233,
-0.018153996127203878,
0.0369005965617283,
0.05885603182473192,
0.008390502466516568,
0.018046085638065642,
-0.0015715652417094032,
-0.004647568086276382,
-0.027552414115481882,
0.033455261667555684,
0... | false | 1) User registration with username and password | 0.129841 |
0.04 | coding | - Ability to create new accounts | 1,078 | [
-0.058016984707594865,
-0.045936021203829495,
0.0234772503268196,
-0.020883112804872272,
-0.03391443510116187,
0.03785911885676674,
0.05542347489705258,
0.025145303047431164,
0.0011679945555739702,
-0.014302302849729073,
0.02820999315516546,
-0.04258614708988806,
0.028341119646240136,
0.02... | false | - Users can create new accounts with initial deposits. | 0.099724 |
0.04 | coding | - Deposit and withdraw money from an account | 1,078 | [
-0.009769573252626621,
-0.01632378716405183,
0.024418229712443666,
-0.014786191375854046,
-0.0028742037943101434,
-0.006541219168279937,
0.1239245091002448,
-0.011583712225127735,
0.03807051263506566,
0.006918822022057912,
0.008146160750666848,
-0.04122961823331139,
0.0003267409152501806,
... | false | 4) Withdraw money from account | 0.082157 |
0.04 | coding | - Display account balance | 1,078 | [
-0.032569275765055326,
-0.016730795381429204,
0.021385595576843653,
-0.024435639543550394,
-0.008517816070024057,
0.006052624013023847,
0.06495839650381421,
0.038615637565523254,
0.029366787342008854,
-0.019258149490668775,
0.026535566912205592,
-0.07439242530724292,
0.01877261940134277,
0... | false | - A function to check account balance | 0.103692 |
0.04 | coding | Write a program in Java that implements the Merge Sort algorithm to sort an array of integers. The program should accept command line arguments for the size of the array and the maximum value of the random integers it will contain. Additionally, implement a SQL database using SQLite to store the sorted arrays and retri... | 1,084 | [
-0.09512996070480566,
-0.014152530614841728,
0.005155081999561327,
-0.04768622736806007,
-0.02098845371162034,
0.011034858644776992,
0.03388733574486366,
0.037514136588483495,
0.0384133694554586,
-0.03377033555987743,
0.034584419471898845,
-0.02000803373567279,
0.04610676771158163,
0.05516... | false | Write a program in Java that implements the Merge Sort algorithm to sort an array of integers. The program should accept command line arguments for the size of the array and the maximum value of the random integers it will contain. It should then generate an array of random integers, print the unsorted array, sort it u... | 0.047717 |
0.04 | coding | Write a program in Python that implements the Rock, Paper, Scissors game. The game should allow two players to play against each other or one player to play against the computer. The game should keep track of the score and display it after each round. The program should also include a SQL database to store the game his... | 1,091 | [
-0.09523662007839667,
-0.0032797171142399124,
0.026415874704841535,
-0.031613949115767544,
-0.03477406439014987,
0.012492453453997283,
0.0642110619282013,
0.015413686354946879,
0.023647512813820833,
0.003218085912654386,
-0.003407548585879572,
-0.01722986033757408,
0.05583630401458955,
0.0... | false | Write a Python program that implements the Rock, Paper, Scissors game. The program should allow two players to play against each other or one player to play against the computer. When playing against the computer, the computer's move should be chosen randomly. After each round, the program should display the current sc... | 0.070274 |
0.04 | coding | Write a bash script that accepts a directory path as an argument and creates a backup of the directory by copying it to a new location with a timestamp in the name. The script should also delete any backups older than 30 days. Use rsync for efficient file transfer and find for deleting old files. | 1,122 | [
-0.10319120829534591,
-0.022121085961147573,
0.03950530900738699,
-0.03565815714407407,
0.0374274464579988,
-0.02694911231448103,
0.002115143856438059,
-0.012806479381737611,
-0.012074327615289525,
-0.048946814802512326,
0.030142183317464363,
-0.00533086462366248,
0.04922516475881658,
-0.0... | false | Write a bash script that accepts a directory path as an argument and creates a backup of the directory by copying it to a new location with the current date appended to the original directory name. The script should also remove any backups older than 30 days. | 0.052197 |
0.04 | coding | Create a command-line Hangman game using C that allows two players to play against each other. The first player thinks of a word and the second player tries to guess it by suggesting letters. For each incorrect guess, draw a part of a hangman's gallows. If the second player guesses the word correctly before the gallows... | 1,144 | [
-0.05679528996786883,
0.02317743088680949,
0.03826389975128334,
-0.019841798380206575,
-0.01758141507847849,
0.01613973885577873,
0.09249224109160856,
0.03270700321781641,
0.04118033277575084,
-0.015540680488768098,
0.014381412014731712,
-0.035129183333742785,
0.018635856673625363,
0.01392... | false | Create a command-line Hangman game using Java. The game should randomly select a word from a predefined list, and the player has to guess the word by suggesting letters. After each guess, the game should display the current state of the word with correctly guessed letters revealed and incorrectly guessed letters drawn ... | 0.081481 |
0.04 | coding | Create a bash script that accepts a single command line argument, the path to a directory. The script should then recursively traverse the directory and all subdirectories, printing out the total number of files and directories found, as well as the total size in bytes of all files found. The output should be in a huma... | 1,188 | [
-0.07383534637058284,
-0.04398246231680053,
0.04362510641467957,
-0.04074415705162909,
-0.016390238887002483,
-0.004654870103599445,
0.008821022194727718,
-0.01723866066567159,
-0.01768087681331638,
0.003082290116351752,
0.0450751495037918,
-0.050517403439316724,
0.07719961859473681,
0.006... | false | Create a bash script that accepts a single command line argument, the path to a directory. The script should then recursively traverse the directory and its subdirectories, calculating the total size of all files within. If any file is larger than 100MB, print out the full path to the file along with its size in MB. En... | 0.042857 |
0.04 | coding | The script should also print out the top 5 largest files by size, along with their paths and sizes. | 1,188 | [
-0.0759141807238649,
-0.05622154769393264,
0.03645879352567771,
-0.0536567151610713,
0.04017645065314107,
0.012818643646805478,
-0.013141368334886354,
0.029479356076814258,
-0.014831408654131123,
-0.008065868989357678,
0.03844803891302779,
-0.00331774558961412,
0.027532627427055246,
0.0328... | false | Create a bash script that accepts a directory path as an argument and prints the top 5 largest files in the directory, along with their sizes. The script should handle subdirectories recursively and ignore any non-file objects (e.g., directories, symbolic links). Use only built-in bash commands to achieve this function... | 0.141334 |
0.04 | coding | Write a SQL query to retrieve the names of all employees who have worked on projects in both 'New York' and 'Los Angeles', along with their job titles, from the following tables: Employees (EmployeeID, Name, JobTitle), Projects (ProjectID, ProjectName, Location), and EmployeeProjects (EmployeeID, ProjectID). The databa... | 1,201 | [
-0.029374073804187377,
-0.025093385890855895,
0.02478409555015508,
-0.01889196079845924,
-0.009320015305368325,
0.015230738322907524,
0.07091839813532397,
-0.01802455868385103,
-0.00003615862893241671,
-0.017815402276059992,
0.007083426152905337,
0.0030636209976900378,
0.04812881727030045,
... | false | Write a SQL query to retrieve the names of all employees who have worked on at least two projects, along with the total number of projects they've worked on. The database schema consists of two tables: 'employees' (with columns 'id', 'name') and 'projects' (with columns 'id', 'employee_id'). Assume that you are using M... | 0.067722 |
0.04 | coding | Create a simple banking system using Python that allows users to create accounts, deposit and withdraw money, and check their balance. The system should have two types of accounts: checking and savings. Each account type should have its own interest rate. The system should also keep track of all transactions made by ea... | 1,210 | [
-0.0513613316169645,
-0.025208781441755604,
-0.012696193046196205,
-0.03156529246399395,
-0.016698577734758312,
-0.021009761037590422,
0.06648600592570894,
0.010773777550202519,
0.016825885800555135,
0.0036080976501271338,
0.003939066397439021,
-0.07469758106056257,
0.02857733781256729,
0.... | false | Create a simple banking system using Python that supports the following operations: deposit, withdraw, and check balance. The system should have two types of accounts: checking and savings. Each account type should have its own interest rate. Implement a class hierarchy to represent the different account types and use ... | 0.042115 |
0.04 | coding | Create a command-line Hangman game using C, where the computer randomly selects a word from a predefined list and the player has to guess the word by suggesting letters. The game should keep track of the number of attempts made and display the current state of the word after each guess. If the player guesses the word c... | 1,237 | [
-0.07072449387935872,
0.015097770652946568,
0.039039834850323245,
-0.025640248934769738,
-0.006333866543855226,
0.017035545570272783,
0.08690917384277487,
0.037003658253626996,
0.04023354823232698,
-0.02697306651744041,
0.011181034940586998,
0.004445773028656579,
0.015670921459427764,
0.00... | false | Create a C++ program that implements the game of Hangman. The program should randomly select a word from a predefined list, and the user should be able to guess letters until they correctly guess the word or run out of attempts (6 attempts). After each guess, the program should display the current state of the word wit... | 0.078523 |
0.04 | coding | Ability to deposit and withdraw money from an account | 1,301 | [
-0.02294851495643646,
-0.028925869489601977,
0.02373322308951862,
-0.011074196717901583,
-0.02089734790725699,
-0.0042103130272266075,
0.1313770919201763,
-0.006445171334437689,
0.009706965912185212,
0.009499823022013113,
0.004032977114007622,
-0.0186593650130227,
0.008200103785093223,
0.0... | false | - Deposit and withdraw money from an account | 0.051635 |
0.04 | coding | Ability to transfer money between accounts | 1,301 | [
-0.011916055345442832,
-0.04250629246733462,
0.015600834043663745,
-0.0163221042622399,
-0.025046141821103516,
-0.011228002609139384,
0.09395294637589963,
0.004311409779398692,
-0.002877830295229741,
-0.019858274611179713,
-0.0034441174943314495,
-0.04136921465882113,
0.011728319340829824,
... | false | - Transfer funds between accounts | 0.061702 |
0.04 | coding | Validation for sufficient balance before withdrawal or transfer | 1,301 | [
-0.04700565772464824,
-0.027404274842581573,
0.02448935458601368,
-0.03843559815723272,
0.021061946176964098,
0.03177286474480529,
0.06258515599906969,
0.04146826365648062,
0.0002051115744434084,
-0.0231783020820714,
0.0014507315559577805,
-0.07756196939826551,
0.008441538923259509,
0.0292... | false | - Users can withdraw money from existing accounts if they have sufficient balance. | 0.163943 |
0.04 | coding | Create a bash script that accepts a directory path as an argument and generates a report of the top 5 largest files in the directory, including their sizes in bytes. The report should be saved to a file named 'largest_files.txt' in the same directory. If the specified directory does not exist or is not accessible, the ... | 1,319 | [
-0.07713055707317513,
-0.03671918855430759,
0.037524614953380234,
-0.026992237533641966,
0.02908154427197594,
-0.01886432082750164,
-0.0007556980221242205,
0.020383104937411772,
-0.009714369783847479,
0.010306072550528655,
0.04909795584219862,
-0.028209695946049315,
0.02903277649606761,
0.... | false | Create a bash script that accepts a directory path as an argument and prints the top 5 largest files in the directory, along with their sizes. The script should handle subdirectories recursively and ignore any non-file objects (e.g., directories, symbolic links). Use only built-in bash commands to achieve this function... | 0.091796 |
0.04 | coding | Create a bash script that accepts a directory path as an argument and calculates the total size of all files in the directory, including subdirectories. The script should output the total size in bytes, kilobytes, megabytes, and gigabytes. Additionally, it should list the top 5 largest files in the directory and its su... | 1,350 | [
-0.07703643901374652,
-0.050158760557038766,
0.06251589098579706,
-0.040268670057312085,
0.019037162549304282,
-0.014369674704845336,
0.009996767910831927,
0.0005834827795159174,
0.004953794559636251,
-0.007270036137029671,
0.039366818270154036,
-0.06509635482654544,
0.0652291912256651,
0.... | false | Write a bash script that accepts a directory path as an argument and prints the total size of all files in the directory, including subdirectories. The output should be in human-readable format (e.g., KB, MB, GB). Additionally, the script should print the top 5 largest files in the directory and its subdirectories. | 0.043726 |
0.04 | coding | Create a command-line Hangman game using Python that allows two players to play against each other. The first player thinks of a word and the second player tries to guess it by suggesting letters. For each incorrect guess, draw a part of a hangman's gallows. If the second player guesses the word correctly before the ga... | 1,352 | [
-0.05976266011459957,
0.010345064338245391,
0.03177703330497459,
-0.016461244607048047,
-0.016907763460086662,
0.003588039652023148,
0.07529641180792027,
0.022623939778707358,
0.029886871426245566,
-0.01622783469647158,
0.0019289546045629788,
-0.03537740320139399,
0.0275262799203075,
0.012... | false | Create a command-line Hangman game using Python. The game should randomly select a word from a predefined list, and the player has to guess the word by suggesting letters. For each incorrect guess, draw a part of a hangman's gallows. If the player guesses the word correctly before the gallows is complete, they win. Imp... | 0.047949 |
0.04 | coding | Create a Powershell script that takes in a list of URLs as input and uses the Invoke-WebRequest cmdlet to fetch each URL. The script should then parse the HTML content of each page using the Select-String cmdlet, looking for all instances of email addresses (using a regular expression). Finally, the script should outpu... | 1,356 | [
-0.0789285867623452,
-0.005761975664883821,
0.004498785652979018,
-0.040851613786302345,
-0.042681021824600075,
0.008705360477592553,
0.03054912642474591,
0.002994987531923399,
-0.01165862615677378,
-0.06262093539766114,
0.020255747397616264,
0.00011908188291848281,
0.038228972264910656,
0... | false | Write a Powershell script that takes a list of URLs as input and uses the Invoke-WebRequest cmdlet to download each URL. The script should then parse the HTML content of each page using the Select-String cmdlet, looking for all occurrences of a specific keyword (also provided as input). The output should be a dictionar... | 0.06076 |
0.04 | coding | Create a Powershell script that accepts command line arguments for username and password, then uses these credentials to connect to an IMAP email server. The script should list the top 10 most recent emails in the inbox folder, including sender, subject, and date received. | 1,366 | [
-0.0812915018161811,
-0.01678709822751688,
0.007856734797520018,
-0.08180923519607133,
-0.028548390697215032,
-0.019530536033161287,
0.05818820201284969,
-0.005421038557778184,
-0.01718246886321333,
-0.04470316934391747,
0.039110569997064144,
-0.008219686095346481,
0.027924957796146507,
0.... | false | Write a Powershell script that accepts command line arguments for username and password, then uses these credentials to connect to an IMAP email server. The script should list the subject lines of all unread emails in the inbox. | 0.061603 |
0.04 | coding | Write a python program that implements the game of Hangman. The computer should randomly select a word from a predefined list and the user has to guess the word by suggesting letters. For each incorrect guess, a part of a hangman figure should be drawn. If the user guesses the word correctly before the hangman figure i... | 1,376 | [
-0.05014212922188334,
0.003640899018588388,
0.05362974954904237,
-0.008891633264189975,
-0.008492582981472875,
0.009344196408028305,
0.09078229506821722,
0.03737679308269344,
0.02174010018352819,
-0.00826786137478767,
0.002594189122124431,
-0.03344613145321965,
0.012197305765717701,
0.0190... | false | Write a Python program that implements the game of Hangman. The program should randomly select a word from a predefined list, and the user should be able to guess letters until they correctly guess the word or run out of attempts (6 attempts). After each guess, the program should display the current state of the word w... | 0.063065 |
0.04 | coding | Create a simple banking system using C++ that allows users to create accounts, deposit and withdraw money, and check their balance. The system should have two types of accounts: checking and savings. Each account type has its own interest rate. Implement the logic for calculating interest on each account type. Use obje... | 1,384 | [
-0.04698164191163787,
-0.012019231410536452,
-0.008759352010559836,
-0.03150066601023483,
-0.021056138957090586,
-0.01335137281356032,
0.06019476920803007,
0.014991279992984708,
0.029926507407848423,
-0.016421051006081443,
0.006092242640616888,
-0.05893792336935549,
0.00947692298563929,
-0... | false | Create a simple banking system using C++ that supports the following operations: deposit, withdraw, and check balance. The system should have two types of accounts: checking and savings. Each account should have an account number, account holder's name, and initial balance. The system should also keep track of all tran... | 0.052331 |
0.04 | coding | Create a simple banking system using Java. The system should have the following features: | 1,388 | [
-0.055466380086698894,
-0.015856529485639332,
-0.0047617272169635785,
-0.042349305973726756,
-0.021312913402004623,
-0.011222896367253963,
0.04097095982884843,
0.05760804933993758,
0.006472525231365078,
-0.01169934140765342,
-0.005976331497055842,
-0.06723003397055792,
0.025463212487354333,
... | false | Create a simple banking system using Java that allows users to create accounts, deposit and withdraw money, and check their balance. The system should store data in memory and not use any external databases. Implement the following features: account creation with unique account number, deposit, withdrawal, balance inqu... | 0.097479 |
0.04 | coding | Write a Powershell script that accepts command line arguments for the path to a directory and an optional filter string. The script should then list all files in the specified directory, including subdirectories, that match the filter string (if provided). If no filter is provided, it should list all files. For each fi... | 1,417 | [
-0.0824432419969958,
-0.0201814670814253,
0.0356799948199093,
-0.0453466012803642,
0.013408088608021725,
-0.01308662400569682,
0.013689470019398802,
-0.017204198410697542,
-0.0396335372479761,
-0.017513924623684722,
0.07173132656434561,
-0.010697312295168807,
0.05304643334296715,
-0.012811... | false | Write a script in Powershell that accepts two command line arguments: the path to a directory and a file extension. The script should then recursively search for all files with the specified extension within the given directory, calculate their total size in bytes, and output the result. | 0.139425 |
0.04 | coding | Write a bash script that accepts a directory path as an argument and calculates the total size of all files in the directory, excluding subdirectories. The output should be displayed in human-readable format (e.g., KB, MB, GB). Additionally, the script should identify the three largest files in the directory and displa... | 1,420 | [
-0.06237318267310895,
-0.029631310601423076,
0.052910528233385865,
-0.018587067426900337,
0.031001401570835366,
-0.0236512847198793,
0.015857252970811062,
-0.015875978142197704,
0.007972475945486964,
-0.00792037310488089,
0.04197715528431296,
-0.0403500937942102,
0.06517927989742349,
-0.01... | false | Write a bash script that accepts a directory path as an argument and prints the total size of all files in the directory, including subdirectories. The output should be in human-readable format (e.g., KB, MB, GB). Additionally, the script should print the top 5 largest files in the directory and its subdirectories. | 0.042246 |
0.04 | coding | Write a script in PowerShell that simulates a simple banking system. The system should have two classes: Account and Bank. The Account class should have properties for account number, account holder's name, and balance. It should also have methods to deposit and withdraw money. The Bank class should have a list of acco... | 1,421 | [
-0.04407072000068675,
-0.015177875525809154,
0.02735017012083724,
-0.05636605161917141,
-0.02124440823887827,
0.0014631569860941447,
0.0418735363655725,
-0.0015001320051418264,
0.010137724535575295,
-0.02600485791851003,
0.01707880917974527,
-0.028586772765977313,
0.002918620782177972,
-0.... | false | Create a simple banking system using Python. The system should have two classes: 'Account' and 'Bank'. The 'Account' class should have methods to deposit, withdraw, and check balance. The 'Bank' class should be able to create new accounts, delete existing accounts, and list all accounts. Use PowerShell to test the syst... | 0.068756 |
0.04 | coding | Create a simple banking system using GoLang. The system should have the following features: account creation, deposit, withdrawal, and balance inquiry. It should also support multiple users with unique IDs. Use structs to represent accounts and implement methods for each of the above operations. Ensure that the system ... | 1,426 | [
-0.03391003860608399,
-0.02205124418973304,
-0.0015652028985480963,
-0.03410054249459016,
-0.041814288499676104,
-0.008366197981362516,
0.06233338789937833,
0.028797975648252424,
0.0017461206841347461,
0.003514806149296536,
0.005006993011346128,
-0.07094257072578233,
0.029447852517701788,
... | false | Create a simple banking system using GoLang. The system should have the following features: account creation, deposit, withdrawal, and balance inquiry. It should also include basic user authentication with username and password. Implement data validation to prevent negative deposits or withdrawals that exceed the curre... | 0.04002 |
0.04 | coding | Create a bash script that accepts a directory path as an argument and generates a report of the top 5 largest files in the directory, including their sizes in bytes. The report should be printed to the console in descending order by file size. | 1,468 | [
-0.07708406000213586,
-0.03554177450137277,
0.042158809833444194,
-0.0353175157637336,
0.030537683603988616,
-0.007892027969788069,
-0.001546638578596442,
0.023204833782683697,
0.0013028931977848931,
0.008796178224401152,
0.030895635552086343,
-0.01940636969036904,
0.03768098880328237,
0.0... | false | Create a bash script that accepts a directory path as an argument and generates a report of the top 5 largest files in the directory, including their sizes in bytes. The report should be saved to a file named 'largest_files.txt' in the same directory. If the specified directory does not exist or is not accessible, the ... | 0.048063 |
0.04 | coding | Write a script in PowerShell that takes a directory path as input and generates a report of all files and subdirectories within it. The report should include the file name, size (in bytes), last modified date, and whether the item is a file or directory. The output should be formatted as a table with clear headers. Ens... | 1,509 | [
-0.02983518223055428,
-0.013237441366712892,
0.07798130305609326,
-0.026989846391064203,
0.019108469255762935,
0.0030304611197809533,
-0.0004264611474860157,
-0.028232757872495892,
-0.036025882877905896,
0.015329001943974234,
0.062152570166980614,
-0.01119242736184323,
0.03860081106216519,
... | false | Create a Powershell script that accepts a directory path as input and generates a report of all files in the directory, including their size, last modified date, and file type. The report should be outputted to the console in a human-readable format. | 0.061582 |
0.04 | coding | Write a simple banking system using Python that allows users to create accounts, deposit and withdraw money, and check their balance. The system should use SQLite as its database management system for storing user data. Implement proper error handling and ensure the system is secure by hashing passwords before storing ... | 1,520 | [
-0.04984447172311513,
-0.023954537726268786,
0.009258200065790886,
-0.03631196406814032,
-0.03281726937077249,
-0.02564180545792701,
0.06251622501001647,
0.0013042906739326222,
0.011277984402998657,
0.004014385247285127,
0.005947439241675748,
-0.0424061811390313,
0.03787189206896732,
0.002... | false | Write a simple banking system using Python that stores data in an SQLite database. The system should have the following features: create a new account, deposit money, withdraw money, check balance, and transfer money between accounts. Use SQL queries to interact with the database. Ensure proper error handling for inval... | 0.0459 |
0.04 | coding | Implement a simple banking system using Golang. The system should have the following features: user accounts, account balances, and transaction history. Each user should be able to deposit, withdraw, and transfer funds to other users. The system should also keep track of all transactions made by each user. Ensure that ... | 1,522 | [
-0.03787832037863107,
-0.01855383291694265,
0.01040034855095619,
-0.035867334129496775,
-0.030424038556714304,
-0.014143850005910045,
0.10095586084569728,
0.02014136168409157,
0.008935800000922202,
-0.0008866501916573648,
0.004942888492853115,
-0.06720788166228438,
0.02725917527952208,
0.0... | false | Create a simple banking system using GoLang. The system should have the following features: account creation, deposit, withdrawal, and balance inquiry. It should also support multiple users with unique IDs. Use structs to represent accounts and implement methods for each of the above operations. Ensure that the system ... | 0.046676 |
0.04 | coding | Create a Powershell script that accepts command line arguments for username and password, then uses these credentials to authenticate with an Active Directory server. The script should return the user's group membership information in JSON format. | 1,532 | [
-0.05779060306695266,
-0.011460229670816094,
0.00904014979411292,
-0.03572850648317661,
-0.019102539727760562,
0.0066094430612496455,
0.06447422457374524,
-0.005958472800730867,
-0.03712922680104733,
-0.025180537069861477,
0.026624496831910902,
-0.033164053913332686,
0.04947924577844805,
-... | false | Write a Powershell script that accepts command line arguments for username and password, then uses these credentials to authenticate with an Active Directory server. If authentication is successful, the script should print out the user's group membership information. The script should handle exceptions and errors grace... | 0.048694 |
0.04 | coding | Write a Powershell script that accepts command line arguments for username and password, then uses these credentials to connect to an IMAP email server. The script should list the top-level folders in the user's mailbox, along with the number of unread messages in each folder. Use .NET's System.Net.Mail namespace to ha... | 1,552 | [
-0.08129693855157591,
-0.020026820515723465,
0.004687051024930515,
-0.052696251137891,
-0.010726170010542326,
-0.023634205173164807,
0.0545776194902522,
-0.004694046654055927,
-0.036165362050733646,
-0.05078188416592365,
0.031407578011565504,
0.006380936237333921,
0.05004618407687653,
-0.0... | false | Write a Powershell script that accepts command line arguments for username and password, then uses these credentials to connect to an IMAP email server. The script should list the subject lines of all unread emails in the inbox. | 0.065321 |
0.04 | coding | Create a Powershell script that generates a random password of a specified length, with the option to include or exclude special characters and numbers. The script should also validate the strength of the generated password based on a set of predefined rules (e.g., at least one uppercase letter, one lowercase letter, e... | 1,560 | [
-0.08609423823499499,
-0.024635113881882102,
0.013487018702924883,
-0.05375978001275242,
-0.07571435007295498,
0.02100417399516372,
0.0016993006066067056,
-0.009233745786102459,
-0.015554521299867365,
-0.013921484411145402,
0.009662039619594408,
0.000038186801412775826,
0.049505811397963756,... | false | Write a Powershell script that accepts command line arguments for username and password, then uses these credentials to authenticate with an Active Directory server. The script should output the user's email address if authentication is successful. | 0.241912 |
0.04 | coding | Create a command-line based banking system using Python. The system should have the following features: | 1,562 | [
-0.07234855133619511,
-0.028916746927174834,
0.006528666832620557,
-0.04391583511198316,
-0.013917734179496483,
-0.03556814857328354,
0.03286960038388707,
0.02565387498884253,
-0.0034399873764770616,
-0.005997954981702295,
0.004509643271537616,
-0.06430258724036958,
0.023528302535264393,
-... | false | Create a simple text-based banking system using Python. The system should have the following features: | 0.069454 |
0.04 | coding | Implement a hash table in C, using separate chaining for collision resolution. The hash table should have the following methods: insert, delete, and search. It should also handle hash collisions by storing colliding elements in a linked list at each index of the table. | 1,564 | [
-0.07353678759201428,
-0.007410298233175743,
0.007488539104803026,
-0.05481341979143344,
-0.007238288549334681,
0.018758193675365898,
0.047896718309598754,
0.0025205413140196842,
0.036181276895568514,
0.0037980043013971423,
0.052274027345200216,
-0.01774372266702566,
0.07049625794155458,
0... | false | Implement a hash table in C++ using separate chaining for collision resolution. The hash table should support insertion, deletion, and search operations. It should also handle resizing when the load factor exceeds a certain threshold (e.g., 0.7). Include example usage to demonstrate its functionality. | 0.073432 |
0.04 | coding | Write a simple chatbot in Python that uses natural language processing (NLP) to understand and respond to user queries. The chatbot should be able to handle basic conversations, such as greeting the user, asking for their name, and providing information about the weather. Use the NLTK library for NLP tasks and ensure t... | 1,591 | [
-0.05197746495057653,
0.008402417116236354,
0.027009933230113744,
-0.02577882168763173,
0.0018581968539576844,
-0.029156581397138795,
0.08706532110300652,
0.020386561029175666,
-0.021143389116755548,
-0.007127498955363994,
-0.014368351971236615,
-0.047074722321158474,
0.05545136881134556,
... | false | Create a simple chatbot using Python that can understand basic user queries and respond accordingly. The chatbot should be able to tell the time, provide the current date, perform basic arithmetic operations, and generate a random joke. Use natural language processing (NLP) techniques to parse user input and determine ... | 0.083209 |
0.04 | coding | Create a bash script that accepts a single command line argument, the path to a directory. The script should then recursively traverse the directory and all subdirectories, calculating the total size of all files in bytes. It should also count the number of files with each file extension (e.g., .txt, .jpg, etc.) and pr... | 1,597 | [
-0.07258631787007826,
-0.030493826498811244,
0.05742743788404185,
-0.039268063907427694,
-0.004829871303856003,
-0.013431796346904517,
0.030126019286937075,
0.0036228526081883237,
-0.01034823956136909,
-0.0012323094578124945,
0.04523390377581352,
-0.049630681226214335,
0.04552620494384325,
... | false | Create a bash script that accepts a single command line argument, the path to a directory. The script should then recursively traverse the directory and all subdirectories, printing out the total number of files and directories found, as well as the total size in bytes of all files found. The output should be in a huma... | 0.05074 |
0.04 | coding | Create an implementation of the game Tic Tac Toe in JavaScript that can be played in the console. The game should alternate between two players, X and O, and end when one player has three in a row or when the board is full. Include input validation to ensure that players enter valid moves. | 1,645 | [
-0.0575533811806639,
-0.010260177192839993,
0.06097217302543276,
-0.080133686873817,
-0.009700468189804029,
0.046378658310067176,
0.0555661885138731,
0.016477284016125818,
0.011753196159799134,
-0.006562121770693149,
0.006510026848460205,
-0.05087564596345416,
0.015063076354917276,
0.03692... | false | Create a GoLang program that implements the Minimax algorithm for playing Tic Tac Toe. The game should be played in the console, with the user as X and the computer as O. After each move, print the current state of the board and announce the winner if there is one. The computer's moves should be chosen based on the Min... | 0.143654 |
0.04 | coding | Write a program in GoLang that generates a random maze and then solves it using depth-first search. The maze should be represented as a 2D grid where '#' represents walls and ' ' represents open spaces. The start point should be at the top left corner and the end point should be at the bottom right corner. | 1,645 | [
-0.0752589726101255,
-0.004146733971505216,
0.03294563442679586,
-0.0036104884811061773,
-0.025511991366068493,
0.04125787038105784,
0.003016067930026905,
0.017971926081953145,
0.027719194053334794,
-0.0040885011688292705,
0.018158149606060672,
-0.054959759116274515,
0.04675520267079103,
0... | false | Write a program in Java that implements the A* pathfinding algorithm to find the shortest path between two points on a grid. The grid should be represented as a 2D array, where each cell can have one of three values: 0 (empty), 1 (wall), or 2 (start/end point). The start and end points should be specified by their coor... | 0.234563 |
0.04 | coding | Write a bash script that accepts two command line arguments: the name of a directory and an extension. The script should then recursively search for all files with the given extension in the specified directory, and move them to a new directory named after the extension (e.g., if the extension is '.txt', the new direct... | 1,672 | [
-0.06977021694843193,
0.008008293808263935,
0.07390706986887854,
-0.0025132303128533183,
0.006723334082106817,
-0.010498945602277428,
0.025773745032602238,
-0.04036941752219519,
-0.014430254699164405,
-0.03269346431206907,
0.04372232035215935,
-0.017453467475038356,
0.015231745319018839,
-... | false | Create a bash script that accepts two command line arguments: the name of a directory and an extension. The script should then search for all files with the given extension in the specified directory and its subdirectories, and print out the paths to these files relative to the specified directory. | 0.093205 |
0.04 | coding | Create a Powershell script that accepts a single command line argument for the path to a directory. The script should then iterate over all files in the specified directory and its subdirectories, checking if each file is a duplicate based on its contents (not name). If a duplicate is found, move it to a 'duplicates' f... | 1,728 | [
-0.07831665718183332,
-0.034843161011028155,
0.044618829199768555,
-0.03133551341724886,
0.007032880885724944,
-0.014956544788045895,
0.019023647154525446,
-0.033884263856643566,
-0.03985889549467849,
-0.02565208212813318,
0.06334736072534873,
-0.04360202240884303,
0.05111821639470698,
-0.... | false | Write a Powershell script that accepts a single command line argument, the path to a directory. The script should iterate over all files in the specified directory and its subdirectories, calculate the SHA256 hash of each file, and print out the filename and hash for any files with duplicate hashes. | 0.0846 |
0.04 | coding | Create a Powershell script that accepts command line arguments for username and password, then uses these credentials to connect to an IMAP email server. The script should list all folders in the mailbox, then prompt the user to select a folder by number. Once a folder is selected, it should display the subject lines o... | 1,737 | [
-0.06969129410794603,
-0.008042764053244496,
0.012808907991444974,
-0.05545717943142398,
-0.017751302867196072,
0.00022554140391581567,
0.03983095727468064,
-0.00695219740731117,
-0.02264804058428509,
-0.05405976341243854,
0.023652371414978626,
0.014101492477032053,
0.03978422723239465,
-0... | false | Create a Powershell script that accepts command line arguments for username and password, then uses these credentials to connect to an IMAP email server. The script should list the top 10 most recent emails in the inbox folder, including sender, subject, and date received. | 0.052905 |
0.04 | coding | - User can create an account with name, email and initial balance | 1,753 | [
-0.053098716338732824,
-0.025163013820823397,
0.002608182914306039,
-0.037555286240126745,
-0.028501577805131663,
0.030946735273800062,
0.07473010860520324,
0.020539187508784938,
0.035095603865467735,
-0.027967868535035845,
0.003463018009371364,
-0.055911261914298856,
0.026778111468880733,
... | false | 1) Create an account with a unique ID and initial balance | 0.084331 |
0.04 | coding | - System should prevent concurrent access to the same account for multiple operations at the same time. | 1,753 | [
-0.044808889283849934,
-0.03928464575461779,
0.008462724241747968,
-0.017436658836962035,
-0.023491551282220028,
0.009313236790856744,
0.07718671722791645,
0.021488883875013135,
0.04513241208291108,
-0.027780872394267863,
-0.011495894372267544,
-0.030571041866341263,
0.051821672964851954,
... | false | The program should be able to handle multiple accounts and perform various operations on them. | 0.167194 |
0.04 | coding | Write a program in Java that simulates a simple banking system. The system should have two types of accounts: checking and savings. Each account should have an account number, account holder's name, balance, and account type. The system should allow users to create new accounts, deposit money into existing accounts, wi... | 1,755 | [
-0.048400873258134476,
-0.011769492642910382,
-0.008184529515798762,
-0.02073174073887423,
-0.014957499096136148,
0.0007895992289468295,
0.05886923660415885,
0.024709450962001674,
0.015395549445671803,
-0.03751399964073618,
-0.014229035371018,
-0.04831071006062272,
0.035299787758132646,
0.... | false | Write a program in Java that simulates a simple banking system. The system should have two types of accounts: checking and savings. Each account should have methods to deposit, withdraw, and check the balance. The system should also have a method to transfer funds between accounts. In addition, implement a database usi... | 0.046792 |
0.04 | coding | 1. User authentication with username and password | 1,758 | [
-0.028817140772351448,
-0.027840202040278643,
0.026180326342437638,
-0.03872124017513961,
-0.03179069536054571,
0.0489390295030114,
0.07442117312948157,
0.0028992441288272853,
0.015417723565370876,
-0.004148035215747661,
-0.00562353046843282,
-0.020674425637790327,
0.0344014793250918,
0.01... | false | - User authentication with username and password | 0.057734 |
0.04 | coding | 2. Account creation with initial deposit | 1,758 | [
-0.031781414329866996,
-0.032178124239871105,
0.011125749561260459,
-0.03474065098789919,
-0.03601669709257629,
0.02507740018318933,
0.06517008289165795,
0.04301541897023991,
0.03567663394982502,
-0.014287099061080609,
0.0045911294956226326,
-0.06848697723944491,
0.016612076141495895,
0.02... | false | - Users can create new accounts with initial deposits. | 0.071658 |
0.04 | coding | 4. Balance inquiry | 1,758 | [
-0.04841628542598271,
-0.014396981886600381,
0.005802227961990426,
-0.02998289572843495,
0.01915499703571988,
0.018707328912397594,
0.04566998286416357,
0.02619715896974881,
-0.022791422300548828,
-0.02846600598780724,
0.013040329915986179,
-0.09456579882054834,
0.018743233259344252,
0.022... | false | 4) Check account balance | 0.159487 |
0.04 | coding | 5. Transaction history for each account | 1,758 | [
-0.033473539106381386,
-0.025641358629631943,
0.05046846940696664,
-0.007699552229809206,
-0.01790493673716922,
0.004913419339614304,
0.09840029186726855,
0.022402101464383716,
0.016288771743097553,
-0.03382712502459083,
0.03229468220220792,
-0.0565602464618692,
0.008529223249146716,
0.053... | false | 5) List all accounts and their balances | 0.124628 |
0.04 | coding | Write a Powershell script that accepts a single directory path as input and outputs the total size of all files within that directory, including subdirectories. The output should be in human-readable format (e.g., KB, MB, GB). If the user inputs more than one directory or the directory does not exist, print an error me... | 1,763 | [
-0.04004241476687048,
-0.04002726773670395,
0.07579760159843167,
-0.030818476892475914,
-0.007623792066172499,
-0.0006491023734161895,
0.009666582450127992,
-0.022645909059583635,
0.006729003424561867,
-0.014212144363284813,
0.056768330975810875,
-0.04541993830153009,
0.04610690790111664,
... | false | Write a script in Powershell that accepts a directory path as input and calculates the total size of all files within that directory, including subdirectories. The output should be displayed in a human-readable format (e.g., KB, MB, GB). Additionally, the script should identify the top 5 largest files by size and displ... | 0.053869 |
0.04 | coding | Write a bash script that accepts a directory path as an argument and creates a backup of the directory by copying it to a new location with the current date appended to the original directory name. The script should also create a log file in the same location, recording the timestamp and success or failure of each back... | 1,772 | [
-0.1014025459770077,
-0.018252268882097956,
0.038348165351758105,
-0.020545606074960934,
0.007394511900014015,
-0.03560905991082697,
0.009534184123918323,
-0.016024770608942755,
-0.01805366620082594,
-0.03745991828703616,
0.010461178865309322,
-0.023115587057476177,
0.031906802991302025,
-... | false | Write a bash script that accepts a directory path as an argument and creates a backup of the directory by copying it to a new location with the current date appended to the original directory name. The script should also remove any backups older than 30 days. | 0.061822 |
0.04 | coding | Create a bash script that accepts a directory path as an argument and calculates the total size of all files in the directory, excluding subdirectories. The output should be in human-readable format (e.g., KB, MB, GB). If the provided path is not a valid directory, the script should print an error message and exit with... | 1,798 | [
-0.07771221053252479,
-0.030466447633080738,
0.05416513781149258,
-0.020301832539260028,
0.007681642440457246,
-0.018204169933490492,
0.012351468602785192,
0.006075642267111095,
-0.011204750637546558,
-0.006119784630261444,
0.05181713568961325,
-0.05597039492174887,
0.06132161442014945,
0.... | false | Write a bash script that accepts a directory path as an argument and prints the total size of all files in the directory, including subdirectories. The output should be in human-readable format (e.g., KB, MB, GB). If the provided path does not exist or is not a directory, print an error message. | 0.041627 |
0.04 | coding | - A user can withdraw money from their account, but not more than the available balance. | 1,814 | [
-0.032629783590357245,
-0.013629949398415497,
-0.004765776363129456,
-0.034379097925626316,
-0.0011904213821991164,
-0.012861774995371184,
0.10422304824064396,
0.01365083803205344,
0.03331447330804159,
-0.009020581673867345,
0.022149040883524707,
-0.005525312283793426,
0.020909145085944165,
... | false | - Users can withdraw money from existing accounts if they have sufficient balance. | 0.066049 |
0.04 | coding | - The system should handle concurrent transactions safely. | 1,814 | [
-0.06724169138360374,
-0.05832389770819298,
0.015619780945108876,
-0.03772040475084071,
0.0023634540964667036,
-0.006134745695064843,
0.07520034946231373,
0.037422105854014655,
0.025999531277728125,
-0.0027211557741922384,
-0.00990836792841742,
-0.04278467616618453,
0.023055529335277884,
0... | false | - System should prevent concurrent access to the same account for multiple operations at the same time. | 0.158437 |
0.04 | coding | Write a Powershell script that takes a directory path as input and creates a backup of all files in the directory by appending '.bak' to each file name. The script should also create a log file named 'backup_log.txt' in the same directory, containing the names of all backed-up files along with their original and new si... | 1,822 | [
-0.07636742263190274,
-0.0007126200333512919,
0.020020855510362222,
-0.0409006027726204,
-0.00660528659032659,
-0.008809658663386578,
-0.0022939662357010517,
-0.053300224030713585,
-0.034411258857448876,
-0.0657928881389278,
0.0019511929634892916,
-0.03380477042342207,
0.01102150506573915,
... | false | Write a Powershell script that accepts a directory path as input and creates a backup of all files in the directory, saving them to a new directory with the current date appended to the original directory name. The script should also create a log file detailing which files were backed up and any errors encountered duri... | 0.079028 |
0.04 | coding | Create a command-line calculator using Java that supports basic arithmetic operations and has the ability to store and recall previously calculated results. The calculator should have a history feature, allowing users to view their previous calculations. Implement data validation to ensure that only valid mathematical ... | 1,826 | [
-0.07919499298720603,
-0.0032514496791215767,
0.030233899210259672,
-0.06327911482861692,
-0.0461537280392206,
0.014485181347056486,
0.043689418698039356,
0.06716095673670426,
-0.004691731662617135,
-0.026900511305148464,
0.009668881098808101,
-0.044452693429281646,
0.04690923926546065,
0.... | false | Create a command-line calculator using Java that supports basic arithmetic operations (addition, subtraction, multiplication, and division) with the ability to store and recall previously calculated results. The calculator should use a SQLite database to store its history, allowing users to view past calculations and r... | 0.061552 |
0.04 | coding | Create a command-line based chat application using Node.js that allows multiple users to communicate with each other in real-time. The application should store the chat history in a SQLite database and allow users to view previous conversations. Implement user authentication using username and password, and ensure that... | 1,834 | [
-0.04195886125653837,
0.027259269861495225,
-0.002285096106960232,
-0.05469110262103293,
-0.03557171317309941,
0.0042659049129305055,
0.06092517107478488,
-0.015678554849389587,
-0.020022112973306954,
-0.01976756947391367,
-0.023765571530714517,
-0.0030985900816881714,
0.04386498427808955,
... | false | Create a simple chatbot using Node.js that responds to basic user queries. The chatbot should be able to understand and respond to the following commands: 'hello', 'goodbye', 'help', and 'joke'. For the 'joke' command, use a predefined list of jokes and select one at random. Implement a simple natural language processi... | 0.219985 |
0.04 | coding | Implement a simple banking system using C. The system should have the following features: account creation, deposit, withdrawal, and balance inquiry. It should also include user authentication with username and password. The data should be stored in memory (no database required). The program should handle invalid input... | 1,841 | [
-0.033917162079113675,
-0.0014648748118029377,
-0.005490194927096583,
-0.04402819212474078,
-0.025253034764579914,
0.004425683926409792,
0.08395215003036309,
0.03460062990446255,
0.014000084980946065,
-0.0011233690731559981,
0.014010512999663915,
-0.03447713653284632,
0.03204399301175526,
... | false | Create a simple banking system using C. The system should have the following features: account creation, deposit, withdrawal, and balance inquiry. Each account should have a unique ID, name, and initial balance. The system should store data in memory and not use any external storage. Implement basic error handling for ... | 0.045998 |
0.04 | coding | Write a powershell script that accepts a directory path as input and creates a new folder for each file type found in the directory. The folder name should be the file extension (e.g., .txt, .jpg, etc.). Move each file to its corresponding folder based on its extension. If a file has no extension, move it to a 'no_exte... | 1,862 | [
-0.07048588161641345,
-0.009998465768386994,
0.06592161874453013,
-0.0007881815450810289,
0.016088399843303517,
0.03641217158314157,
0.006971986880797163,
-0.049392133359303515,
-0.05155299914690281,
-0.01666404286919461,
0.07714227494542283,
-0.01214447789242175,
0.006281305960545531,
-0.... | false | Write a script in Powershell that will take a directory path as input and create a new folder for each file type found within the directory. For example, if there are .txt, .jpg, and .pdf files, it should create three folders named 'txt', 'jpg', and 'pdf' respectively, and move the corresponding files into their respec... | 0.077673 |
0.04 | coding | - If a user tries to perform an invalid operation (e.g., withdrawing more money than they have), the system should print an error message. | 1,925 | [
-0.056175672036510325,
-0.033262481876921234,
0.020424610700593166,
-0.03237435036872259,
-0.006921286765284745,
-0.010058662279964823,
0.09178004635000846,
0.04719379647394743,
0.022938112350263187,
-0.009562199389486003,
0.0254280068366594,
-0.03060968418036245,
0.00020534753558592875,
0... | false | - If a user tries to withdraw more money than their balance, the system should display an error message. | 0.079759 |
0.04 | coding | 5) User can close their account. | 1,939 | [
-0.023395822089500553,
-0.028210843750467327,
0.04594134291992258,
-0.02873337719635163,
-0.03187498909643577,
0.00584018292914456,
0.09865898162676974,
0.0521993092511792,
0.006190741603344366,
-0.04445908712268727,
0.0028157623786152367,
-0.02984000451197938,
0.009461749602825496,
0.0504... | false | 5) A user can transfer money to another user's account. | 0.133373 |
0.04 | coding | Create a simple banking system using Python that allows users to create accounts, deposit and withdraw money, and check their balance. The system should store the account information in memory (not in a database) and should be able to handle multiple users concurrently. Implement a threading lock to prevent concurrent ... | 1,941 | [
-0.054565592315117546,
-0.04684566968614803,
0.005236574790972025,
-0.031706328688347094,
-0.018330964759385997,
-0.011910294833404061,
0.06816965926069528,
0.0037361131101067524,
0.03335188995725871,
-0.0025980944598987935,
0.006724444059602504,
-0.06535434568974631,
0.040944400210441115,
... | false | Create a simple banking system using Python that allows users to create accounts, deposit and withdraw money, and check their balance. The system should use a dictionary to store account information in memory. Implement the following features: | 0.047748 |
0.04 | coding | Create a command-line calculator in Python that supports basic arithmetic operations (addition, subtraction, multiplication, division) and also implements the concept of 'undo' and 'redo'. The calculator should store its history in an SQLite database. Implement SQL queries to save, retrieve, and delete calculation hist... | 1,947 | [
-0.09264622861493618,
-0.02924483666548023,
0.0608275573595918,
-0.03319845910095961,
-0.07150890282785159,
-0.01275364052768251,
0.04464775449533487,
0.028097853373614715,
0.005110263076248398,
-0.0009383409114480096,
0.0101523933906728,
-0.045177803670854104,
0.05297347610354291,
0.01639... | false | Create a command-line calculator in Python that supports basic arithmetic operations (addition, subtraction, multiplication, division) and also has the ability to store variables. The program should continue running until the user chooses to exit. It should use SQL to store the history of calculations and be able to di... | 0.046724 |
0.04 | coding | - A user can create an account with a unique ID, name, and initial balance. | 1,973 | [
-0.06297515275996995,
-0.030921557639778167,
0.005035280670337296,
-0.029151621943496103,
-0.03490621192616755,
0.027776805433872512,
0.0926820925473869,
0.02942549783319249,
0.02949935916327506,
-0.02329488636440568,
0.02120020407721461,
-0.04635741892440777,
0.022881844806282674,
0.02207... | false | 1) Create an account with a unique ID and initial balance | 0.044945 |
0.04 | coding | - A user can check their account balance. | 1,973 | [
-0.05374064035317872,
-0.019250443604150645,
0.020506311632947437,
-0.04215219704238955,
0.0008119468279798816,
-0.001829272290414217,
0.11393384871545471,
0.03127199476194944,
0.016956147157848683,
-0.045017302969146966,
0.008376103068116631,
-0.04668811432908167,
0.01862447933703838,
0.0... | false | 4) User can check their current balance. | 0.067645 |
0.04 | coding | - A BankAccount struct with fields for account number, account holder's name, and balance. | 1,998 | [
-0.04927637589409506,
-0.046423418320630704,
-0.0029318701616443807,
-0.017791017127575363,
0.004635009250350574,
-0.011032485861666313,
0.0739018363873833,
-0.013851592654961735,
0.025384398952109793,
-0.040541770061983354,
0.004715004733807825,
-0.08489279830251724,
0.016771896954878244,
... | false | - Each account has an account number (unique identifier), account holder's name, and balance. | 0.134543 |
0.04 | coding | - A method to transfer money between two accounts. | 1,998 | [
-0.017841619205251794,
-0.023167211911654995,
0.00611402007858541,
-0.017447945453388052,
-0.015728996039129084,
-0.015646831041673588,
0.08016579819567836,
-0.004346789042567195,
0.02536085268589623,
-0.025991914958586732,
0.005956054276072321,
-0.06306247746264346,
0.013078223059580348,
... | false | Ability to transfer money between accounts | 0.06044 |
0.04 | coding | - Use goroutines to simulate concurrent transactions. | 1,998 | [
-0.06356722734268679,
-0.03145082231977328,
0.01352783824243178,
-0.00909705814388551,
-0.015387617674868407,
0.008661457164039238,
0.030841284745406254,
0.033296182085075815,
0.024584931760581605,
-0.02265016130461566,
0.0007676387750532855,
-0.03649781198747755,
0.029338791379084326,
0.0... | false | - The system should handle concurrent transactions safely. | 0.165549 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.