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
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
[ -0.07171397131260517, -0.051270406665548635, 0.052670288700853565, -0.03904289093924392, 0.022124445309005526, -0.029229549414141402, 0.013602915155560263, -0.003307936470960592, 0.0025996386964578125, -0.014615193802198601, 0.035470900323321494, -0.035309762903256686, 0.05729625327202779, ...
false
1
0.04
coding
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. Implement data validation to en...
1
[ -0.04906287899703217, -0.02950625560491705, 0.011109213594635263, -0.05716597417431905, -0.01432640137710669, -0.014406479287841067, 0.0575690990224541, 0.010679493898461286, 0.014516239381018661, -0.004321254421367084, 0.016986890146757163, -0.07390668409410041, 0.017956227468026855, 0.02...
false
1
0.04
coding
Implement a simple banking system using GoLang. The system should have two classes: 'Account' and 'Transaction'. The 'Account' class should have methods to deposit, withdraw, and check balance. The 'Transaction' class should store information about each transaction, including the account it was made from, the amount tr...
2
[ -0.037723486347708, -0.014343337038548584, 0.018015727946280983, -0.04351082871137983, -0.020307839294701778, -0.01980724972215415, 0.09411553350438637, 0.011946522688654135, 0.009639074321195873, 0.005847560279960032, 0.002848633589573465, -0.06242060204954038, 0.024913590442604217, 0.055...
false
1
0.04
coding
Create a simple banking system using SQL and Python. The system should have two tables: one for customers and one for transactions. The customer table should store the customer's name, email, and account balance. The transaction table should store the transaction ID, customer ID, transaction type (deposit or withdrawal...
3
[ -0.023752906120289383, -0.03526543652043741, -0.0015458990057788619, -0.03251757685005526, -0.03427840600334883, -0.0005362807159478392, 0.07592118157254948, 0.010294190100571036, 0.022836037717223784, 0.008003366716606088, 0.008326806648924727, -0.03554519463219191, 0.045149614671710935, ...
false
1
0.04
coding
Create a simple banking system using GoLang. The system should have the following features:
4
[ -0.05852822250302791, -0.012858807188252597, 0.01418459703542259, -0.0256926996348361, -0.039249956848823105, -0.0021884378645834167, 0.039151530953243086, 0.034285243811126846, -0.004388551720356481, 0.006255108435861946, 0.0004697747964851977, -0.07803834277625203, 0.04403132227277416, 0...
false
1
0.04
coding
Write a Powershell script that takes in a directory path as an argument 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 d...
5
[ -0.07882242529041228, -0.04561005090339978, 0.06974144173116077, -0.057105953861633744, 0.011843315144243154, -0.006470789568089349, 0.0126012086800483, -0.010923219677360112, 0.0055733010250361955, -0.015900639573528025, 0.040953389672886455, -0.03520492410371616, 0.04529907484991909, -0....
false
1
0.04
coding
Write a python program that simulates a simple banking system. 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. Each account ...
6
[ -0.053398040592506676, -0.02905375214128503, 0.014505478933929512, -0.04689537111734274, -0.0038948299919145963, -0.016171111218090613, 0.06122243564965106, 0.004104307960334899, 0.024470056117641553, -0.02313775629887158, 0.009547854092802639, -0.06005579763215359, 0.01596148726485291, 0....
false
1
0.04
coding
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. Each account should have a unique ID ge...
7
[ -0.040742756799797254, -0.029030774324795124, 0.008207311478739179, -0.049470921580461014, -0.016650877132121048, -0.01217771638418931, 0.059119434188466345, 0.015764004761871817, 0.014952793034127092, -0.005574081304030497, 0.007970761143531294, -0.06984935381721746, 0.024950201414382627, ...
false
1
0.04
coding
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...
8
[ -0.06204890698815848, -0.04917824907599347, 0.07414066632031674, -0.057305010665446084, 0.01006764990038938, -0.004844779975792105, 0.010950384425973859, -0.016424730066758673, -0.000011181326713551861, -0.015817802059100126, 0.051116923633218, -0.03509985580034006, 0.043724603010306735, -...
false
1
0.04
coding
Implement a simple banking system using GoLang. The system should have the following features:
9
[ -0.05752872974145028, -0.008005241760399582, 0.01639000677829613, -0.028677789125303138, -0.034768547415286094, -0.010317762249535683, 0.05351531436708833, 0.034296012973459356, -0.0018522386433586348, 0.0014161852704632832, 0.0001341625303225175, -0.07003096400966363, 0.03602394415267832, ...
false
1
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. Checking accounts should have a $1000 overdraft limit, while savings accounts should not allow withdrawals if the balance...
10
[ -0.04429031370534245, -0.007748257545023998, 0.004159974710217283, -0.027920379191737593, -0.02572357744744246, 0.0016482223839400971, 0.07285279508480776, 0.012771869532501085, -0.001771450442212416, -0.005896358996160192, 0.018249907780431698, -0.03577833489042128, 0.020091130579021486, ...
false
1
0.04
coding
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...
11
[ -0.05224447594625537, -0.012858161464277805, -0.007614226784741632, -0.0453456487230713, -0.03148045104444663, -0.0015942448231064834, 0.0723965251146697, 0.009585635795834904, 0.029723079033640337, -0.015139606335270577, 0.004156777257045612, -0.0505390568292249, 0.007412097208149103, 0.0...
false
1
0.04
coding
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...
12
[ -0.09929481788111709, -0.0010695598207216617, 0.023152310154822307, -0.021456254417851962, -0.028212777970013897, 0.03189067508615986, 0.06655096191872155, 0.026287505123418438, 0.024905517432298317, -0.012980868901755198, 0.00838814480617062, -0.03508013822060133, 0.03892549830975197, 0.0...
false
1
0.04
coding
Write a bash script that accepts two command line arguments: a directory path and a file 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 of these files. If no files are found, it should print a message indicating ...
13
[ -0.09364111204940677, 0.0064338191119587525, 0.05015726509883829, -0.006822692862477914, 0.027264862055253667, -0.005746341450651469, 0.030949064354262746, -0.01854779616551163, -0.02725164845024261, -0.04923546061844348, 0.046316472080957724, -0.013272564250724412, 0.027914876799421662, -...
false
1
0.04
coding
Implement a simple banking system using Java. 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 accounts and methods to add...
14
[ -0.023110385243755346, -0.019952393428992105, 0.006399305797978787, -0.05662121069818397, -0.01718944628598223, -0.013943415619738664, 0.08298812540723016, 0.020082674277135882, 0.02092046968667629, 0.0001946446801805577, 0.0000033137595285246777, -0.06397686693734693, 0.0030974723803279015,...
false
1
0.04
coding
Create a simple banking system using Golang that supports the following operations: account creation, deposit, withdrawal, and balance inquiry. The system should store data in memory and not use any external databases. Implement validation to prevent overdrafts and ensure that account numbers are unique. Include error ...
15
[ -0.02969458994591549, -0.011916131402845701, 0.01113130402696648, -0.03735753424246546, -0.03800950473123788, -0.014612440571452123, 0.0500737080376965, 0.021638569791092563, -0.015020483714432785, 0.0037063210239503134, 0.0034765125280228357, -0.06593017853834786, 0.04375395437625603, 0.0...
false
1
0.04
coding
Implement a simple banking system using Java. 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 accounts and methods to add...
16
[ -0.028366277303479837, -0.01808116299728098, 0.010598920636561843, -0.055943698352430925, -0.02007077338150074, -0.011531213598241939, 0.07914127721089612, 0.01797022199562345, 0.021009458940982897, -0.003466313980672773, -0.0049454422753160065, -0.06251356408363738, 0.0036045979131316135, ...
false
1
0.04
coding
Implement 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 a unique ID, account holder's name, and initial balance. The system should also keep track of all transact...
17
[ -0.05383140953837108, -0.005433183616490842, -0.003620261783714548, -0.039926685300447705, -0.019388133615085696, -0.00701220564783896, 0.09439288802949779, 0.011141458500467192, -0.00035096527345273936, -0.0014397291200441082, -0.00018264308122089773, -0.03700340530652689, 0.021399309809151...
false
1
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 store data in memory and not use any external databases or files. Implement basic error checking to prevent invalid operations such as withdrawing more money than the accou...
18
[ -0.041789455059800855, -0.00968545718761633, 0.00786079146651184, -0.04213641367925306, -0.012587558764192453, -0.01239421155100052, 0.0635485989062458, 0.013214440338934912, 0.022535464502527275, -0.0072922907756890806, 0.03724596085953897, -0.03687116314711341, 0.04004650730249451, 0.013...
false
1
0.04
coding
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. If playing against the computer, the computer's move should be chosen randomly. After each round, the program should display the current scor...
19
[ -0.09791187758172426, -0.0037805696322307726, 0.015154245246806431, -0.042183360640073865, -0.020046689765293814, 0.022952760954014273, 0.06567214805792186, 0.02612834759805055, 0.01006257498570599, -0.01047533624311127, 0.0055741796671003, -0.03356847359419815, 0.03341757325142919, 0.0039...
false
1
0.04
coding
Create a simple banking system using Python. The system should have two classes: 'Account' and 'Bank'. The 'Account' class should have attributes 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 all accounts and met...
20
[ -0.04279171458508127, -0.03401198810766345, 0.009576125516307035, -0.0440078467172324, -0.013054430754291012, -0.01529020738572971, 0.06486397652811313, 0.0024891333789623573, 0.024145959583704364, -0.001046217924961908, 0.014580795733544845, -0.0723918118136177, 0.018739375267121407, 0.00...
false
1
0.04
coding
Implement a simple banking system using GoLang. The system should have the following features:
21
[ -0.05752872974145028, -0.008005241760399582, 0.01639000677829613, -0.028677789125303138, -0.034768547415286094, -0.010317762249535683, 0.05351531436708833, 0.034296012973459356, -0.0018522386433586348, 0.0014161852704632832, 0.0001341625303225175, -0.07003096400966363, 0.03602394415267832, ...
false
1
0.04
coding
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 trans...
22
[ -0.06507492760351025, -0.005346653941803854, -0.0017073411595782697, -0.039939600666608274, -0.03444990489167129, 0.0034078098571007566, 0.0905541621622457, 0.004128920348214997, -0.002138026740693446, -0.002053455666650626, 0.004031242306019308, -0.04797533117525204, 0.02615184689281153, ...
false
1
0.04
coding
Create a Powershell script that takes in an IP address as input and performs a simple port scan on the target machine. The script should iterate over ports 1-1024, checking if each port is open or closed. If a port is open, it should print out the port number along with a brief description of the service typically asso...
23
[ -0.05413572432248571, -0.0345650721365549, 0.022847380244468807, -0.049408405490162066, -0.011933082586901383, 0.011455168824919343, 0.028738667880728635, 0.025533009047098557, -0.02564911889387775, -0.024427773169379028, 0.05271955523068928, -0.005946054059673671, 0.036972000799070044, 0....
false
1
0.04
coding
Create a simple banking system using GoLang. The system should have two classes: Account and Bank. The Account class should have properties for account number, balance, and account holder's name. It should also have methods to deposit and withdraw money. The Bank class should have a list of accounts and methods to add ...
24
[ -0.037393117937681714, -0.022030371437044137, 0.033318306138306705, -0.041335328033310276, -0.03514930116002868, -0.004085085684013855, 0.06906561322882006, 0.011421914762373423, 0.013358939924352659, 0.009810749113824027, 0.008057057588504429, -0.08464651272205187, 0.026103899873954176, 0...
false
1
0.04
coding
Implement a simple banking system using Java. 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 accounts and methods to add...
25
[ -0.030277780501823334, -0.01769820669487399, 0.008348838750439281, -0.05881495629698873, -0.016624136542240316, -0.013752281268614162, 0.08228796295050834, 0.017646278008741686, 0.02513958425113648, -0.0008038802501045964, 0.0028129446947114246, -0.06242273245311067, -0.0025210158015936757, ...
false
1
0.04
coding
Create a simple banking system using SQL and Python. The system should have two tables: one for users and one for transactions. The user table should store the user's name, email, and balance. The transaction table should store the sender's ID, receiver's ID, amount transferred, and timestamp. Implement functions to ad...
26
[ -0.03572315373267641, -0.028115276429010263, -0.00004808108528026702, -0.034450743570108446, -0.02488372677259084, -0.018117105705432436, 0.0663812984346936, 0.015158094563719976, 0.024370318436208856, -0.004117471192571888, -0.002558493071942256, -0.06266713927963383, 0.03532459609693845, ...
false
1
0.04
coding
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. Implement data validation to ensure tha...
27
[ -0.05058813180685097, -0.028282715266107716, 0.008344644207309664, -0.058045585141387496, -0.017020300927959225, -0.011843655517965637, 0.05598409528882358, 0.011772943924176157, 0.014254013199257228, -0.004396110523738444, 0.014432016872847087, -0.07247606253810607, 0.018939179225406378, ...
false
1
0.04
coding
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 ...
28
[ -0.029952435263162498, -0.00869101803455553, -0.0016320090897223192, -0.029455515088558416, -0.0305238966304538, 0.003559209703015237, 0.0766518377619643, 0.01689581679038114, 0.018777850123595285, -0.0045629276589807, 0.009536699870339409, -0.05320028335535002, 0.02875140731590898, 0.0195...
false
1
0.04
coding
Create a simple banking system using Python and SQLite. The system should have two tables: one for users and one for transactions. Each user should have an ID, name, email, and balance. Each transaction should have an ID, sender's ID, receiver's ID, amount, and timestamp. Implement the following endpoints: create_user,...
29
[ -0.041204923022877, -0.025619045143780196, 0.024470653701327717, -0.031211553031937393, -0.039955118009037574, -0.015246201274533522, 0.07253482479482806, 0.009562655679137538, 0.023998407993257507, -0.005045244617103179, -0.004649401814258987, -0.07507893713760036, 0.018859493285824726, 0...
false
1
0.04
coding
Implement 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. Additionally, the system sho...
30
[ -0.04834265519652802, -0.035364484437456656, 0.010686275187705365, -0.05781541327951407, -0.010799413191424776, -0.03521068581928408, 0.06571589015645804, 0.00585730079127785, 0.020782164474785807, -0.010656471932405978, 0.008037169892476508, -0.06614053602022194, 0.008318552259593614, 0.0...
false
1
0.04
coding
Implement a simple banking system using C++. The system should have classes for Bank, Account, and Customer. Each customer can have multiple accounts, and each account is associated with one customer. The system should support deposit, withdrawal, and balance inquiry operations. Additionally, it should keep track of th...
31
[ -0.030723851714998546, -0.019041183516781295, -0.0003047994556094973, -0.053665978387928234, -0.02359271134266444, -0.01910758308820452, 0.07785401158377235, 0.010092290615481475, 0.043257059531118296, -0.013952218327208317, 0.0034191562720186563, -0.03888608347971808, -0.0031862418193532227...
false
1
0.04
coding
Implement a simple banking system using C. The system should have the following features:
32
[ -0.0572084343328468, -0.0024186128532338574, 0.005698220396996366, -0.030143415863889973, -0.02409087146144804, -0.01465624027054364, 0.06292014633445843, 0.04043622356318339, 0.018345946633840527, -0.005295108592318912, 0.011781640471409265, -0.044884607655269255, 0.01776631194656366, 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.081484
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 fetch the subject lines of the last 10 emails in the inbox and print them to the console.
34
[ -0.0765846234170809, 0.00015404098899151508, 0.00810940855286251, -0.06330800896841576, -0.03208554211887958, -0.013531767035629349, 0.04726862978584379, -0.0005177781063796622, -0.01780092743020777, -0.05968228444916651, 0.011625469837299531, 0.00242123407232219, 0.04176370117369082, -0.0...
false
Create a Powershell script that takes in an IP address as input and performs a simple port scan on the target machine. The script should iterate over ports 1-1024, checking if each port is open or closed. If a port is open, it should print out the port number along with a brief description of the service typically asso...
0.265838
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 store data in memory and not use any external databases. Implement the following features: account creation with unique account number, deposit, withdrawal, balance inqu...
38
[ -0.035284501367007066, -0.01080892818276852, -0.0018615519350396658, -0.0460156547998107, -0.018724881536008434, -0.012590755993235222, 0.07790257212850007, 0.033475884062075745, 0.014741497447655846, -0.007026370307995785, 0.020962195944955297, -0.055136909092567556, 0.02391973378210653, ...
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 store data in memory and not use any external databases or files. Implement basic error checking to prevent invalid operations such as withdrawing more money than the accou...
0.083877
0.04
coding
Write a Powershell script that takes in an IP address as input and performs a simple port scan on the target machine. The script should iterate over ports 1-1024, check if each port is open or closed, and output the results to the console. Implement error handling for invalid IP addresses and include comments explainin...
41
[ -0.060600149908558755, -0.03596960876836052, 0.061555925222557484, -0.04874050652482088, -0.012539065506648347, -0.0026448970227387386, 0.02645797844436702, 0.03611370671242432, -0.013768617042349681, -0.029485093252078366, 0.05302897101269835, -0.02373353972717142, 0.03150282954739554, -0...
false
Create a Powershell script that takes in an IP address as input and performs a simple port scan on the target machine. The script should iterate over ports 1-1024, checking if each port is open or closed. If a port is open, it should print out the port number along with a brief description of the service typically asso...
0.063306
0.04
coding
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.
42
[ -0.06174324712384477, -0.006592001713230839, 0.0177819658988176, -0.025923337611416363, -0.04240913355629889, 0.0053451257279710975, 0.08260328418112518, 0.004574854032790532, -0.023986695310640002, -0.042231250958536075, 0.02225304033697355, -0.01771011995577145, 0.03743191886625513, -0.0...
false
Create a Powershell script that takes in an IP address as input and performs a simple port scan on the target machine. The script should iterate over ports 1-1024, checking if each port is open or closed. If a port is open, it should print out the port number along with a brief description of the service typically asso...
0.289919
0.04
coding
Implement a binary search algorithm in C++ to find an element in a sorted array. The function should take the array, its size, and the target element as input and return the index of the target element if found, or -1 otherwise.
43
[ -0.09956177527354947, -0.01783545031950552, -0.007533659748575165, -0.045928214971488204, 0.0034540077188913855, 0.022093011726784035, 0.05050212987634306, 0.042463855369912616, 0.05286825533124037, -0.03907770823389735, 0.0322119352574941, -0.02505838920912912, 0.013843081138273323, 0.000...
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.371282
0.04
coding
Implement a binary search algorithm in JavaScript to find an element in a sorted array. The function should take two parameters: the array and the target value, and return the index of the target value if found, or -1 if not found.
44
[ -0.09309351557439179, -0.013752111231682124, 0.005150646553025621, -0.04127039107703349, 0.01371470000639907, 0.02771412579362925, 0.06818998887237974, 0.035697241684807354, 0.036364511912487234, -0.037595899086484, 0.018809449513612804, -0.02853016734192564, 0.010118819086392079, 0.020384...
false
Implement a simple banking system using GoLang. The system should have the following features:
0.416424
0.04
coding
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.
48
[ -0.0444746825818208, -0.00012629734965452044, 0.06592311544080565, -0.021840303586190705, 0.017796862422210256, 0.004574093386808481, -0.009363132293134143, -0.019196258374355537, -0.04237260935276172, 0.012302057507729879, 0.06340464044854317, 0.0020907369381357403, 0.020491472860638023, ...
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.146274
0.04
coding
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.
50
[ -0.06727860022764787, -0.04225969251665299, 0.06146665198495716, -0.01413639148142213, 0.010392448710170024, -0.026127431152735255, 0.010272186096577643, 0.0001010055696922362, 0.0038438855563833734, -0.015851763772425524, 0.04485869713403934, -0.05796741235389735, 0.06124590618631763, 0.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.046916
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 its subdirectories, printing out the total number of files found, as well as the top 5 largest files by size in bytes.
53
[ -0.08622724086560103, -0.06206687942013645, 0.042673805233879106, -0.04983213641145906, -0.0054231618329236295, -0.022267262152619385, 0.012225942942155964, -0.004304555938280734, -0.021243910063001147, -0.003393998647749776, 0.04566624508365293, -0.04134466643229372, 0.07236308204741818, ...
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.062949
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 include basic user authentication with username and password. Implement data validation to prevent negative deposits or withdrawals that exceed the curre...
56
[ -0.03712835384861868, -0.00862739293313302, 0.01115582372462937, -0.04134830664825445, -0.035261189997964015, 0.010852743431461321, 0.07191187596801112, 0.03282232449483681, -0.0012583275746701904, 0.00999876071203627, 0.004445594555187038, -0.07564083180092789, 0.04991848936927113, 0.0247...
false
Create a simple banking system using Golang that supports the following operations: account creation, deposit, withdrawal, and balance inquiry. The system should store data in memory and not use any external databases. Implement validation to prevent overdrafts and ensure that account numbers are unique. Include error ...
0.054319
0.04
coding
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...
59
[ -0.08934262423987584, -0.011730727777817578, 0.04212297885420593, -0.03585124400007305, -0.0023542507628245206, -0.012886350085065189, -0.009524353810855729, -0.03812778753532514, -0.02703296401955726, -0.028512355032988414, 0.039056755729495934, -0.008561082212182458, 0.014538709121584694, ...
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.243316
0.04
coding
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.
62
[ -0.06727860022764787, -0.04225969251665299, 0.06146665198495716, -0.01413639148142213, 0.010392448710170024, -0.026127431152735255, 0.010272186096577643, 0.0001010055696922362, 0.0038438855563833734, -0.015851763772425524, 0.04485869713403934, -0.05796741235389735, 0.06124590618631763, 0.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.046916
0.04
coding
Implement a simple banking system using C++. 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. Each account should have a unique ID an...
63
[ -0.0426711755051449, -0.017066524483027687, 0.0017966749455535036, -0.04813395956523801, -0.019038419264336314, -0.018042828028880895, 0.06261524260025178, 0.019074627221668753, 0.03376117187971238, -0.023178483187566174, 0.004596489728501024, -0.03501352873676751, -0.002261624098206524, 0...
false
Implement a simple banking system using C++. The system should have classes for Bank, Account, and Customer. Each customer can have multiple accounts, and each account is associated with one customer. The system should support deposit, withdrawal, and balance inquiry operations. Additionally, it should keep track of th...
0.045604
0.04
coding
Create a simple banking system using Java 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 tra...
71
[ -0.043935727039060846, -0.008884450540311025, -0.015390706705018275, -0.05413411808123307, -0.03199039107336104, -0.0001448968554939143, 0.08045789609354122, 0.01761011059615838, 0.00987599513597405, -0.002937064004931093, 0.006149538696463928, -0.06771902866328833, 0.018907558308052616, 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 trans...
0.051476
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. Checking accounts should have a $1000 overdraft limit, while savings accounts should not allow withdrawals if the balanc...
72
[ -0.034751669237207225, -0.012988935012125348, -0.002589905872095976, -0.04205593841438681, -0.018918136331307, -0.006701166151391878, 0.05077458470933181, 0.01853814744110299, 0.02409743305416055, -0.019995164227869414, 0.013841659474281016, -0.03386054634868183, 0.004275959074176513, 0.01...
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.048342
0.04
coding
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...
80
[ -0.051829926672827216, 0.0004868384567392734, 0.03350802138656554, 0.0021227234975826213, -0.0031014992857421836, 0.011987206526847573, 0.07730757445578683, 0.027460807936114537, 0.03867262229564361, -0.01896594837426109, -0.0031937665773683066, -0.028404660524707706, 0.008753561415323678, ...
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.209687
0.04
coding
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 ...
83
[ -0.056264738773944334, -0.03037840261023084, -0.0045798435922560195, -0.035225880349658456, -0.030991088018809284, -0.026303715793209014, 0.05709313523760713, 0.00539102455948402, 0.009071809455943235, 0.001621922583066058, 0.004689075148793727, -0.06726780003567359, 0.030050336808600985, ...
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. Implement data validation to ensure tha...
0.056648
0.04
coding
Create a Powershell 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 in the directory tree. The script should output the total size in bytes, kilobytes, megabytes, gigaby...
84
[ -0.06893338953434251, -0.03487304942970541, 0.06490793772729092, -0.05620561123031245, -0.015723731244103603, 0.009767447520830525, 0.005607365120443895, -0.01358445071088451, -0.0036612178374349387, -0.004694454800367208, 0.06161407332441157, -0.0568964290577816, 0.05901974020294039, -0.0...
false
Write a Powershell script that takes in a directory path as an argument 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 d...
0.060928
0.04
coding
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.
85
[ -0.07302213292198993, -0.011329498812659544, 0.038769139947583416, -0.04820220806560541, 0.001802609144214095, -0.011552041130711425, 0.03084887120676731, -0.02516997920180611, -0.037532634169586646, -0.013274438373802435, 0.04299953853499124, -0.04216658226987116, 0.049095093074378024, -0...
false
Write a Powershell script that takes in a directory path as an argument 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 d...
0.183416
0.04
coding
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...
88
[ -0.05481522445405979, -0.02008758081671605, 0.012537745564675606, -0.037608827813026886, -0.023340915899515303, -0.011001419105581979, 0.0709251973967238, 0.00546890395603798, -0.03770067111862247, -0.03588734139045187, 0.026725301105048973, -0.02765098543845845, 0.04274692692700834, -0.00...
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.071448
0.04
coding
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...
91
[ -0.07677628047955813, -0.02157978140113577, 0.034920252623250506, -0.03848792586503831, -0.06820247276161179, 0.0023879934871998865, 0.038473978378255266, 0.051451235661373364, 0.006122821900532228, -0.0033418470767460234, 0.009003268493872158, -0.03258207418324579, 0.06246781306903615, 0....
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.259823
0.04
coding
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.
93
[ -0.09909266305886599, -0.007988796958470438, -0.011327528557197585, -0.03887387101236865, 0.012718860127975429, 0.010314221725119383, 0.06613748816746408, 0.03661625583777472, 0.03214191427212734, -0.04349048140485745, 0.051630329561451804, -0.021432634850897327, 0.02774949555987273, -0.00...
false
Implement a binary search algorithm in C++ to find an element in a sorted array. The function should take the array, its size, and the target element as input and return the index of the target element if found, or -1 otherwise.
0.076743
0.04
coding
Implement 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 also keep track of all transactions (deposits and withdrawals) for each account. Use st...
94
[ -0.029983261210041738, -0.013992478826902823, 0.00046605988715516715, -0.040738238159839166, -0.02349202263991292, -0.007869391157277703, 0.09537439516696865, 0.027756724007170972, 0.029095492823350288, -0.003986251270595152, 0.010792094812831674, -0.043549990557662385, 0.017944836007714085,...
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.056522
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 remove any backups older than 30 days.
97
[ -0.11480353878021148, -0.022380006183913063, 0.05537222762329801, -0.010298580288752173, 0.011591393786024853, -0.0353782865064063, 0.004746956020592247, -0.004708543157481281, -0.0181461860559393, -0.03478943362702919, 0.021286270326452573, 0.0012757874081582071, 0.035295342922532606, -0....
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.137073
0.04
coding
Implement a binary search algorithm in C, that can be used to find an element in a sorted array of integers. The function should take the array, its size and the target value as input and return the index of the target value if found, or -1 otherwise. Additionally, include a main function to test the implementation wit...
101
[ -0.08668686933434064, 0.0009993503034800377, -0.01631681758183359, -0.05188818492139856, -0.006069531947063638, 0.028828305255136535, 0.05187141739027032, 0.03738367817433082, 0.04665698715557108, -0.03851118567796705, 0.05377637432932272, -0.02380445155313958, 0.029093814137289824, 0.0078...
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.048475
0.04
coding
Create a C++ program 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 accounts and...
105
[ -0.05257965404801373, -0.018306483681595535, 0.010267399754098185, -0.04652982383409793, -0.01830821966680214, -0.006782225515643385, 0.046017387823197975, 0.011955418124820143, 0.036471696910391135, -0.029812819011008816, -0.004856584856542389, -0.041178053388323664, 0.004420944304954997, ...
false
Implement a simple banking system using C++. 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. Each account should have a unique ID an...
0.056838
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, calculate their total size in bytes, and print the result to the console.
106
[ -0.09356880847794105, 0.0033048749903499446, 0.07121011371883644, -0.01746706042674145, 0.010831898842139975, -0.007524932799631924, 0.015533521935463611, -0.009171712859013135, -0.010044557750717666, -0.026178004203439905, 0.05010883863458115, -0.03202089893117458, 0.03797264664910615, 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.108199
0.04
coding
Write a SQL query to retrieve the top three highest-paid employees from each department in a company database. The database schema includes tables for 'employees' and 'departments', where each employee is associated with a department ID. Use PostgreSQL as your SQL dialect.
109
[ -0.07195441811034452, -0.03641268061327353, 0.0075350188969033555, -0.02085255198340059, 0.018656834098672845, -0.01924125394677175, 0.07046122482103179, -0.014540617203303598, 0.009183465996043578, 0.005798077056312268, 0.03922649310956049, -0.010010505632399825, 0.04414155571147145, -0.0...
false
Create a simple banking system using SQL and Python. The system should have two tables: one for customers and one for transactions. The customer table should store the customer's name, email, and account balance. The transaction table should store the transaction ID, customer ID, transaction type (deposit or withdrawal...
0.29836
0.04
coding
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...
114
[ -0.07655046077878204, 0.010781455704321503, 0.03582202616338152, -0.0239562558079398, -0.011413281698016867, 0.052069320884944204, 0.008569438877622272, 0.04071369364179985, 0.01843897611999742, -0.020177399588566434, 0.03566117558007873, -0.06779087284120149, 0.02442439068450106, 0.023671...
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.328261
0.04
coding
Implement a simple banking system using C# with the following features:
116
[ -0.07527610291529317, -0.0038188263303648926, 0.0013696430745454935, -0.03219946316394423, -0.018771774148988014, -0.015471305872994053, 0.05924162351499834, 0.03970325544058591, -0.001624455712468695, -0.016371416990154614, -0.010399119420003915, -0.02764632045153706, 0.022414411253487594, ...
false
Implement a simple banking system using C. The system should have the following features:
0.074079
0.04
coding
Create a simple banking system using C++. The system should have classes for Customer, Account, and Transaction. Each customer can have multiple accounts, and each account can have multiple transactions. Implement methods to deposit, withdraw, and transfer money between accounts. Also, include a method to display the t...
118
[ -0.025839975501639956, -0.023196140851977815, -0.0014775912603979902, -0.04625542572201873, -0.04093988380226132, -0.010368492797874105, 0.062089901623212984, 0.0024977206233664207, 0.04523280379073595, -0.009821417184749655, 0.0065589436337248974, -0.043924485637368546, -0.00415704515481447...
false
Implement a simple banking system using C++. The system should have classes for Bank, Account, and Customer. Each customer can have multiple accounts, and each account is associated with one customer. The system should support deposit, withdrawal, and balance inquiry operations. Additionally, it should keep track of th...
0.042607
0.04
coding
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.
121
[ -0.053323883565076356, -0.02032122432847796, 0.0450188635146387, -0.020885844187847828, 0.019405242563272616, 0.007521568737974789, 0.0150980091355692, -0.038013757346047, -0.017560696865757463, -0.0078062204781100715, 0.048916966032559704, -0.036497843697198426, 0.047755755874710995, -0.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.094304
0.04
coding
Create a simple banking system using GoLang 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 a unique ID, account holder's name, and initial balance. Implement data validation to ensure that the acc...
123
[ -0.04315188136634217, -0.006621045858314037, 0.008433019910604578, -0.03171237643696324, -0.037794880874285855, 0.007200248353572535, 0.07470922986156309, 0.009650372958147765, -0.002973011425826488, -0.00355012054095732, 0.0036130551239034196, -0.08029069770024161, 0.037423517893907, 0.03...
false
Create a simple banking system using Golang that supports the following operations: account creation, deposit, withdrawal, and balance inquiry. The system should store data in memory and not use any external databases. Implement validation to prevent overdrafts and ensure that account numbers are unique. Include error ...
0.057101
0.04
coding
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...
129
[ -0.05492701464518967, 0.01336291827621908, 0.057930410580761746, -0.041392018699894784, -0.02413243859492809, 0.04566617069395054, 0.03874663804429936, 0.0324029048592864, 0.033399688182497854, 0.0055623726781995775, 0.011423195110287544, -0.044640888901457676, 0.04522507399411583, 0.02177...
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.208445
0.04
coding
Write a SQL query to retrieve the names of all employees who have been with the company for more than 5 years, along with their job titles and hire dates. The database schema includes tables 'employees' (with columns 'employee_id', 'name', 'job_title', 'hire_date') and 'departments' (with columns 'department_id', 'depa...
132
[ -0.05968438531064651, 0.0037921381121173285, 0.027501790319956573, 0.005560170576929984, -0.000026508746051021963, -0.009869048802397513, 0.06242741327574814, -0.023950309208535994, -0.0016431325678387709, 0.003978507857033433, 0.041812071317473797, -0.006923248174366778, 0.05329362405092241...
false
Write a SQL query to retrieve the top three highest-paid employees from each department in a company database. The database schema includes tables for 'employees' and 'departments', where each employee is associated with a department ID. Use PostgreSQL as your SQL dialect.
0.200178
0.04
coding
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...
134
[ -0.01387160067266971, -0.03187499899321822, 0.030605064310643037, -0.05452002887209765, -0.03556111781669316, 0.03533174424539193, 0.04155773243401723, -0.007978524909921757, 0.004963085457059144, -0.009947937785051719, 0.015486638793466866, -0.00846034650033556, 0.05595550614017758, 0.007...
false
Write a SQL query to retrieve the top three highest-paid employees from each department in a company database. The database schema includes tables for 'employees' and 'departments', where each employee is associated with a department ID. Use PostgreSQL as your SQL dialect.
0.240128
0.04
coding
Create a simple chatbot using Python that can have basic conversations with users. The chatbot should be able to understand and respond to the following commands: 'hello', 'how are you', 'what is your name', 'exit'. If the user enters anything else, the chatbot should respond with 'I did not understand that command.' T...
139
[ -0.05696779268006612, -0.0003973872331542404, 0.022196522570968012, -0.036919650669108905, -0.0018851081176272343, -0.02276109219331149, 0.10096685856017323, 0.03153257900621055, -0.02809063419660562, -0.00029735099148367185, 0.006365220231173099, -0.0616221518758974, 0.06408558210744607, ...
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.314818
0.04
coding
Create a SQL database schema for an e-commerce application using MySQL. 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 associated wi...
141
[ 0.0008512990700906577, -0.047343979422334544, 0.033887720811775136, -0.07114638968117937, -0.03438156763402119, 0.045844833234054375, 0.03790198178553679, -0.0008127038993409847, 0.012718108187531916, -0.019158413189128316, 0.009100971532274103, -0.0239323688705361, 0.05519744253221481, 0....
false
Create a simple banking system using SQL and Python. The system should have two tables: one for customers and one for transactions. The customer table should store the customer's name, email, and account balance. The transaction table should store the transaction ID, customer ID, transaction type (deposit or withdrawal...
0.245268
0.04
coding
Create a simple banking system using Golang. The system should have two classes: Account and Customer. The Account class should have methods to deposit, withdraw, and check balance. The Customer class should have a method to create a new account and link it to the customer. Implement data validation for account numbers...
142
[ -0.025328270225361684, -0.021660150219827323, 0.014222086852510665, -0.04734892608827622, -0.05051453983997963, 0.015055341131541713, 0.06064706088460403, 0.01603504215513576, 0.009494619119523153, 0.0016369574609488475, 0.0017119296241350649, -0.07597969957797024, 0.04177806756170197, 0.0...
false
Create a simple banking system using GoLang. The system should have two classes: Account and Bank. The Account class should have properties for account number, balance, and account holder's name. It should also have methods to deposit and withdraw money. The Bank class should have a list of accounts and methods to add ...
0.048839
0.04
coding
1. The system should have two types of accounts: Checking and Savings.
148
[ -0.038014921016918356, -0.01171618847023573, 0.012434170164652179, -0.025126951835801013, -0.017633523201016785, 0.015876313139353344, 0.08209459953530288, 0.018524890144660727, 0.015237058933498205, -0.010496516360204808, 0.001391351176358906, -0.06226152718005404, 0.0056676699742975786, ...
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.133077
0.04
coding
2. Each account should have an account number, account holder's name, balance, and account type.
148
[ -0.04623848265161939, -0.037442606471410865, 0.013266688400160731, -0.02792599277904216, -0.01292316633837084, 0.024348160595922957, 0.09502912446986445, 0.006621420942650421, 0.0025887920421237324, -0.03001801525737272, 0.0161001088509386, -0.07588224965238645, 0.01212463451913151, 0.0281...
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 trans...
0.171225
0.04
coding
3. The system should allow users to deposit and withdraw money from their accounts.
148
[ -0.02738927701307329, -0.0246932789958291, 0.00943544078610063, -0.0243622329557098, 0.02361678192204515, -0.00045442150658841026, 0.09260440814347544, -0.0024602400078719733, 0.03608581582546606, 0.013778530176443824, 0.013748061028897439, -0.031180415318295813, 0.008791717179913183, 0.04...
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.173219
0.04
coding
4. The system should also allow users to transfer money between accounts.
148
[ -0.037177175225980824, -0.032071635077506155, -0.0046689095834763, -0.038614116549424794, 0.007559804234147154, -0.0013717452508619763, 0.0645736678436897, 0.01901000548941724, 0.015660177892088158, -0.016289466966847927, -0.0012782190440958955, -0.032381057689218236, 0.01172619218057286, ...
false
Create a simple banking system using C++. The system should have classes for Customer, Account, and Transaction. Each customer can have multiple accounts, and each account can have multiple transactions. Implement methods to deposit, withdraw, and transfer money between accounts. Also, include a method to display the t...
0.17637
0.04
coding
5. Implement data validation to ensure that account numbers are unique and that users cannot withdraw more money than they have in their accounts.
148
[ -0.04626562131849707, -0.02344659186502319, 0.02310930780246078, -0.05496111581112305, -0.0023887129800083005, 0.024441466041962255, 0.08004473250162636, 0.028430881335262562, -0.011455475496370616, -0.038391352181305016, 0.04636269865960216, -0.031191289816074302, 0.004747930973708624, 0....
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.171086
0.04
coding
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. The computer's moves should be determined by the Minimax algorithm. After each move, the current state of the board should be printed to the console.
149
[ -0.06325970592971958, 0.004687799142928389, 0.0637525022317839, -0.051428150408847684, -0.02543241531805566, 0.038383413123540405, 0.029545532552832245, 0.029316702870855565, 0.027019746613786068, -0.002107961337102906, 0.01397588104640902, -0.049131449334163746, 0.05498071017364546, 0.018...
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. If playing against the computer, the computer's move should be chosen randomly. After each round, the program should display the current scor...
0.227029
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. Both account types should inherit from a base Account class. Each account should have properties for account number, balance, and account holder's name. The system should support ...
155
[ -0.06495478517157088, 0.007544982443093368, 0.0026684525866155218, -0.03376441700797671, -0.03190978874974381, -0.008283976169432952, 0.07869195656901987, 0.015982195163848578, -0.008575559287286618, 0.0034238196617236696, -0.0009130846266303788, -0.0542970578340751, 0.006236945521724518, ...
false
Implement 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 a unique ID, account holder's name, and initial balance. The system should also keep track of all transact...
0.04524
0.04
coding
Create a GoLang program that implements the Rock, Paper, Scissors game. The program should allow two players to play against each other and keep track of their scores. Each player's choice (rock, paper, or scissors) should be represented by a struct with methods to determine the winner of a round. The game should conti...
159
[ -0.09448669574121157, 0.002382768015446849, 0.018585092775149994, -0.013289437240100154, -0.04461944717630589, 0.04448031876360362, 0.05254145557792277, 0.03421651099256681, 0.011883342290607085, -0.001674961482483399, -0.0034111685983250774, -0.033438282970847395, 0.05531966524244661, 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.09321
0.04
coding
Create a simple command-line calculator using bash scripting that supports basic arithmetic operations (addition, subtraction, multiplication, and division) with two operands. The script should take the operation and operands as arguments and print the result to the console. If an invalid operation or operand is provid...
163
[ -0.10166042365663053, -0.03775871942707644, 0.05325227638718769, -0.046995051517584416, -0.07569952359457162, -0.01660415354978808, 0.028830779908041403, 0.05945342818684574, -0.010612488794843845, -0.01962450159721607, 0.006578370972497785, -0.044507649091732895, 0.05085090209077047, -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.164803
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 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...
165
[ -0.07145812795894718, -0.04028095874377415, 0.03694868671710493, -0.055589163114563314, -0.0030338197089301395, -0.00041651785070845364, 0.000028774264701886762, 0.007454390778186388, -0.010205510558717601, -0.004411558893925318, 0.03580434091725213, -0.05364326898788406, 0.07635523790957237...
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.053104
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 use a dictionary to store account information in memory. Implement the following features:
168
[ -0.06188115509347381, -0.03084355981683627, 0.005975594880706231, -0.02654267887647385, -0.009098850620941186, -0.012240664359437334, 0.08014874464015213, 0.008493368977524209, 0.020373317222514318, -0.005672305044370238, -0.0003517471584054125, -0.07149300330597493, 0.046840471430281, 0.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. Implement data validation to ensure tha...
0.072776
0.04
coding
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...
171
[ -0.08359738695484573, -0.016276672981248026, -0.0009067583874187041, -0.04797936377918532, -0.04179801174927735, 0.00646045404725012, 0.020204531647983553, 0.01289789325033111, -0.01855987367281586, -0.05312989442430927, 0.018683275780378903, 0.0005507107876423217, 0.03454871581562367, 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 fetch the subject lines of the last 10 emails in the inbox and print them to the console.
0.266659
0.04
coding
Create a simple command-line calculator using bash scripting that supports basic arithmetic operations (addition, subtraction, multiplication, and division) with two operands. The script should continuously prompt the user for input until the user chooses to exit. It should also handle invalid inputs and division by ze...
176
[ -0.0996680611355021, -0.03436643930803943, 0.053245800363224204, -0.06055335946192975, -0.06955101940370795, -0.0034901254544938, 0.024550241835223675, 0.0483694252670109, -0.006611872325912026, -0.01612780395638116, 0.017871262131280933, -0.03370803896506212, 0.05206596742280392, -0.00002...
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.152985
0.04
coding
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...
188
[ -0.05812088709020514, 0.004034729371675812, 0.038523931890557014, -0.017311538201822716, -0.011999324926285396, -0.007263085259827866, 0.08038091056334475, 0.0305176838682461, 0.0439419601664362, -0.0021322826651715846, 0.009232793241776477, -0.022701712484230585, 0.01207401140322933, 0.02...
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.047022
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. Both account types should have methods to deposit, withdraw, and check the balance. The Checking account should also have a method to pay bills. Implement data validation to ensure that th...
190
[ -0.05199535644931039, -0.019991864262007407, -0.008525356172912632, -0.038157196441227205, -0.029299060104589436, 0.014089961678480487, 0.061443232284199976, 0.025710531001885514, -0.01435439208228234, -0.036115014765719114, 0.002398222783384799, -0.04311747980048657, 0.023303676954193196, ...
false
Create a simple banking system using Java 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 tra...
0.059684
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 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...
191
[ -0.03785940148630531, -0.001104681021723221, -0.0007061977896422469, -0.019699829983961137, -0.039283207396608615, -0.007952549261506585, 0.07039639147236944, 0.014666532667366672, 0.009000294577792887, -0.028380056010602898, -0.006061064367257489, -0.03946769494264721, 0.032560630677604646,...
false
Create a simple banking system using Java 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 tra...
0.073783
0.04
coding
Write a SQL query to retrieve the names of all employees who earn more than the average salary in their department, along with their respective salaries and departments. The database schema consists of two tables: 'employees' (with columns 'id', 'name', 'salary', and 'department_id') and 'departments' (with columns 'id...
198
[ -0.050831091199921345, -0.031526507697451085, 0.00864670744015897, -0.028435343957817372, 0.01707142112004891, 0.02975652739262818, 0.07120736987360797, -0.005096918118337677, 0.030823621830614146, 0.00036625110694636013, 0.02253928266831205, 0.003428234969642302, 0.06010488416731775, -0.0...
false
Write a SQL query to retrieve the top three highest-paid employees from each department in a company database. The database schema includes tables for 'employees' and 'departments', where each employee is associated with a department ID. Use PostgreSQL as your SQL dialect.
0.099837
0.04
coding
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...
199
[ -0.04894867466458988, -0.02379032934020733, 0.010579918353542321, -0.014274979728810904, -0.0466066815463967, -0.032336305345003515, 0.056309356446337056, -0.0030299832127198578, 0.00913573601638241, -0.00021599389989277005, 0.004315263061736312, -0.038552484831861925, 0.034448261790694844, ...
false
Create a simple banking system using SQL and Python. The system should have two tables: one for customers and one for transactions. The customer table should store the customer's name, email, and account balance. The transaction table should store the transaction ID, customer ID, transaction type (deposit or withdrawal...
0.069502
0.04
coding
Write a SQL query to retrieve the names of all employees who earn more than the average salary in their department, along with their department name and salary. Assume you have two tables: 'employees' (columns: id, name, department_id, salary) and 'departments' (columns: id, name). The solution should be written in Pos...
203
[ -0.06355754377308728, -0.019029842962869876, 0.012047712864113127, -0.018613141297326535, -0.0017528120912828694, 0.0241945761935886, 0.06377300711646341, -0.001275293547344729, 0.039085507954085386, 0.0032166301269002146, 0.019005855818293664, -0.018287023791981234, 0.05771009334337312, -...
false
Write a SQL query to retrieve the top three highest-paid employees from each department in a company database. The database schema includes tables for 'employees' and 'departments', where each employee is associated with a department ID. Use PostgreSQL as your SQL dialect.
0.086059
0.04
coding
Implement a binary search algorithm in Rust to find an element in a sorted array. The function should take the array and the target element as input, and return the index of the target element if found, or -1 if not found.
204
[ -0.10372136561923198, -0.013132165222397204, -0.003600996928927472, -0.04037651803326455, 0.012875144405480009, 0.020677965191524712, 0.055693645184166536, 0.026834447011001357, 0.018975839071260447, -0.029128454706101484, 0.03310184934942123, -0.048745472118853564, 0.024089887804798978, 0...
false
Implement a binary search algorithm in C++ to find an element in a sorted array. The function should take the array, its size, and the target element as input and return the index of the target element if found, or -1 otherwise.
0.07955
0.04
coding
1) User registration with username and password
207
[ -0.021303509789736375, -0.03671092401687058, 0.03860577814690066, -0.029627459151113072, -0.02799514487161532, 0.04436568453808373, 0.05745635548197342, 0.008889361851753192, 0.03159941561936902, -0.016133059845372485, -0.0025642797589733256, -0.0328190496638576, 0.04198970541002454, 0.005...
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.262615
0.04
coding
2) Login functionality to access account information
207
[ -0.004785723591024374, -0.03473277849680745, 0.021301012598675166, -0.03160853424238229, -0.014527485443589516, 0.04229154090293585, 0.08735502538571796, 0.026329558041982525, 0.005248019971885626, -0.02496335264075893, -0.03583578470948977, -0.038077813238500686, 0.04152277888423938, 0.02...
false
2. Each account should have an account number, account holder's name, balance, and account type.
0.219432
0.04
coding
3) Deposit, withdraw, and check balance functionalities
207
[ -0.0232834875435615, -0.037125155900092244, 0.013217135535591801, -0.014056802943249656, 0.03369174204376412, -0.002454030132371794, 0.11066878757038173, 0.01969003335090746, 0.036081698346171164, -0.003612997531521323, 0.013866930481755314, -0.059018515957167034, 0.009223284341539682, 0.0...
false
3. The system should allow users to deposit and withdraw money from their accounts.
0.141262
0.04
coding
4) A user can only access their own account information
207
[ -0.006859258560735797, -0.01502453308382869, 0.005661652268385215, -0.024881732899985437, -0.01261470059775161, 0.01375466640621527, 0.09884088960794629, 0.031213597470998895, -0.00032417600435862714, -0.031050256534400817, -0.010211092140270226, -0.013310179681137187, 0.06450597765212339, ...
false
4. The system should also allow users to transfer money between accounts.
0.230857
0.04
coding
5) All data should be stored in memory (no database required)
207
[ -0.03085143041772186, -0.003662500205855517, 0.0302302382760226, -0.052606782488766095, 0.0003409434490135053, 0.026281879556093738, 0.02781199407906302, 0.056145670347866855, 0.004275918831049935, -0.003384910671884288, 0.010268416929672324, -0.025534008920970293, 0.06429546165251737, 0.0...
false
Create a simple banking system using Golang that supports the following operations: account creation, deposit, withdrawal, and balance inquiry. The system should store data in memory and not use any external databases. Implement validation to prevent overdrafts and ensure that account numbers are unique. Include error ...
0.272499
0.04
coding
6) Implement basic error handling for invalid inputs and insufficient funds
207
[ -0.05568946665727882, -0.03640655276335833, 0.055623976056563176, -0.05168524168942745, -0.011633584721979895, -0.0035132871406820835, 0.03116672914877981, 0.02229006681761706, -0.015045894613704465, -0.005967027724525829, 0.03693969766218763, -0.06251058466799345, 0.000665276632838223, 0....
false
5. Implement data validation to ensure that account numbers are unique and that users cannot withdraw more money than they have in their accounts.
0.210897
0.04
coding
Create a command-line Hangman game using Python that supports multiple rounds and keeps track of the player's score. The game should randomly select a word from a predefined list, and the player has to guess the word by suggesting letters. After each round, the game should display the current score and ask if the playe...
213
[ -0.07779392149782821, -0.0016362625391297331, 0.04806313758057295, -0.04589415448506114, 0.007115371113444945, 0.002511294180458178, 0.0793329058862707, 0.030867332668628775, 0.029911482838013485, -0.007203759208595437, 0.01027989514275966, -0.036977236812845087, 0.012174543219958566, 0.01...
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.06425
0.04
coding
1) Create an account with a unique ID and initial balance
232
[ -0.05356400098918404, -0.02522118208729844, 0.016000634093491367, -0.036229673850446065, -0.027696328296819152, 0.025687396581211455, 0.06329578174761206, 0.033354759287562805, 0.024947257765777067, -0.03146803385781207, 0.03452074907644015, -0.053928885724117276, 0.019719274756714485, 0.0...
false
2. Each account should have an account number, account holder's name, balance, and account type.
0.157206