row_id int64 0 48.4k | init_message stringlengths 1 342k | conversation_hash stringlengths 32 32 | scores dict |
|---|---|---|---|
1,206 | write a python program to remove the "<" and ">" from the filenames
i have files with this format, <01> name.txt | b6d3f7155bae4b4368ca4df5932aa8a4 | {
"intermediate": 0.48745062947273254,
"beginner": 0.16302385926246643,
"expert": 0.349525511264801
} |
1,207 | const errorsResult = [];
const makeErrors = (errors = []) =>
errors.forEach((error) => {
if (!errorsResult.some(err => err.caption === error.caption)) {
errorsResult.push(error);
}
})
const checkErrors = ({ errors, sum }) => {
makeErrors(errors);
const isPayed = !sum.to_pay;
... | 4dabbcfc7183620f5a5dc94d77c68f9b | {
"intermediate": 0.4784128665924072,
"beginner": 0.2558557093143463,
"expert": 0.26573145389556885
} |
1,208 | How to speak 滚出我的房子 in English? | 8562b4e5ac21ad8e057296c120dd964e | {
"intermediate": 0.36215996742248535,
"beginner": 0.4053477346897125,
"expert": 0.23249229788780212
} |
1,209 | 现在有5000个文本表达,每个表达有对应的标签,构成一个元组列表,要求输入语句,返回这个列表里面与输入语句最相似的前5个文本,已经相似度值,相似度计算要精准。要求5000个文本表达训练成一个索引文件,下次可以加载文件进行相似度计算,也可以在索引文件中添加新的文本表达列表。 | a97d74bf24b9b082c65cb7b3b4edf742 | {
"intermediate": 0.38379964232444763,
"beginner": 0.25917795300483704,
"expert": 0.35702240467071533
} |
1,210 | Create an expert level lengthy advanced script in python for Use 2 layers of LSTM to predict next hour’s price instead of next day’s price which may have better application in real world.
------------------------------------------------------------------
First you will implemented data normalization like min-max norm... | 418979d7420da5d88b0fec24931677d3 | {
"intermediate": 0.2433919757604599,
"beginner": 0.10328736901283264,
"expert": 0.6533206701278687
} |
1,211 | from sklearn.feature_extraction.text import TfidfVectorizer
import joblib
import faiss
import numpy as np
class TextSimilarity:
def __init__(self):
self.vectorizer = TfidfVectorizer()
self.index = None
self.texts = None
def train(self, text_label_tuples):
texts, _ = zip(*text_... | d2e7a33a208c0a02eadcf371ac4b31ba | {
"intermediate": 0.19635413587093353,
"beginner": 0.5729050040245056,
"expert": 0.23074083030223846
} |
1,212 | hi | f655a29d76e82032cafeb149ff11851d | {
"intermediate": 0.3246487081050873,
"beginner": 0.27135494351387024,
"expert": 0.40399640798568726
} |
1,213 | def str(self):
return f"{self.first_name} {self.last_name}"
in models y to wrote this | c7dd7b2d19562ffd7bbecd91d664c486 | {
"intermediate": 0.25153985619544983,
"beginner": 0.43455836176872253,
"expert": 0.31390178203582764
} |
1,214 | write me an excel formula where it gives the average of all the numbers in Column “FP” which ignores blank cells, when the value in Column “AV” in the same row is the value “Alex” | fba0e05a4ef4b48a2aaf42fc0b7aee94 | {
"intermediate": 0.2988390326499939,
"beginner": 0.14177435636520386,
"expert": 0.5593866109848022
} |
1,215 | for m3u8 live playlist, how the web client know what segments should be fetched next? | 9fe9794e5ef2cb764aced7b4ed7a53c3 | {
"intermediate": 0.38712748885154724,
"beginner": 0.2255711406469345,
"expert": 0.38730141520500183
} |
1,216 | window.containerItems().find and bot.clickWindow are not working after change pages in this code: let page = itemData[itemname][0]
for (i = 0; i < page - 1; i++) {
bot.on("windowOpen", async function ChangePageGui(window) {
bot.clickWindow(53, 0, 0)
bot.removeListener("windowOpen", ChangePageGui)
})
}
let index = item... | 528805e5fadbd43d5f12206bf6e2d452 | {
"intermediate": 0.4787859618663788,
"beginner": 0.30432847142219543,
"expert": 0.21688561141490936
} |
1,217 | write a python program to remove the “<” and “>” from the filenames
i have files with this format, <01> name.txt | dc08b1e46e4698b10ce9904ce669f0fa | {
"intermediate": 0.4347919225692749,
"beginner": 0.16235455870628357,
"expert": 0.4028535485267639
} |
1,218 | Hi, I've implemented the following train function. I think there are some issues with the accuracy calculations. I might be due to appending issues or might be a division issuse. And also look for other potential issues and feel free to modify the code. Even come with a much more optimized way. here is the code: def tr... | 63df584c1010a30dd2c486d1300bdbce | {
"intermediate": 0.2744673490524292,
"beginner": 0.4462796151638031,
"expert": 0.2792530357837677
} |
1,219 | u mean form.as.p renders the fileds which i gave in form.py file | bcc8855d6b7b76929bf645946a4ce659 | {
"intermediate": 0.27616411447525024,
"beginner": 0.2954588234424591,
"expert": 0.4283769726753235
} |
1,220 | Caused by: java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probabl... | b19f2aae5a6878905938d5c898a46237 | {
"intermediate": 0.6988149285316467,
"beginner": 0.15340058505535126,
"expert": 0.14778444170951843
} |
1,221 | An application needs to be created for writing a poker Card game. Following are the requirements for the same.
Implementation guidelines:
1. Implementation needs to be Object oriented. To make it object
oriented, you can use these guidelines.
2. Do not read any data from command line unless specifically required
(In th... | c8e2bfbaf6716ae1914b7c4f24192446 | {
"intermediate": 0.3859492838382721,
"beginner": 0.4113888144493103,
"expert": 0.20266194641590118
} |
1,222 | webview加载android相机画面 | c1a256e6c731e68cba23f8050fcb7ae0 | {
"intermediate": 0.38508743047714233,
"beginner": 0.22030963003635406,
"expert": 0.3946029841899872
} |
1,223 | Write a code on Python for simple neural network which can generate fixed third-dimensional arrays with size 64x64x64 and then train it on third-dimensional arrays of random numbers in range 0-1024. Check if CUDA available, if it is use it instead CPU | 0ffeac9b29c2d4eae88c8dc221b4a41b | {
"intermediate": 0.09874490648508072,
"beginner": 0.03256704658269882,
"expert": 0.8686880469322205
} |
1,224 | I need you to write code for a chrome extension that monitors active input box and if there are words that starts with <//> it pops up mesage<found!> | 4c2bce48508d86acc2ab0c7a45958d8b | {
"intermediate": 0.5255224704742432,
"beginner": 0.19866801798343658,
"expert": 0.27580946683883667
} |
1,225 | How many ways to research a paper that I interest? | 6fcb6562e23d07fa7c8dc31586e64026 | {
"intermediate": 0.31291067600250244,
"beginner": 0.17959880828857422,
"expert": 0.5074905157089233
} |
1,226 | R example code for KM plot with number of subjects at risk | 328316645494c8f12efbef3961a55648 | {
"intermediate": 0.33410027623176575,
"beginner": 0.2370491921901703,
"expert": 0.4288504719734192
} |
1,227 | I'll give you some java code,and you should improve the code. | b46f12961f28ac63feff1286bdf72969 | {
"intermediate": 0.2856694757938385,
"beginner": 0.37852564454078674,
"expert": 0.33580484986305237
} |
1,228 | 1.1 Background
Consider the scenario of reading from a file and transferring the data to another program over the network. This scenario describes the behaviour of many server applications, including Web applications serving static content, FTP servers, mail servers, etc. The core of the operation is in the following t... | 181df9eb204112be97c0fe8c4fb5dcd2 | {
"intermediate": 0.43557482957839966,
"beginner": 0.360271155834198,
"expert": 0.20415395498275757
} |
1,229 | 简化代码 :monthly_dryTemp_apt,monthly_dryTemp_ofs=[[df.query(f'month == {_}')['Drybulb Temperature'].mean() for _ in months] for df in dfs] xs = np.arange(12) _, ax = plt.subplots(figsize=(6, 6)) ax.bar(xs - 0.2, monthly_dryTemp_apt, width=0.4) ax.bar(xs + 0.2, monthly_dryTemp_apt, width=0.4) ax.set_xticks(xs, labels=month... | e825c02470bd13f1538af530ae6de8d9 | {
"intermediate": 0.3343774974346161,
"beginner": 0.345339298248291,
"expert": 0.3202832341194153
} |
1,230 | athena create table as select | 6c6bdd1fe0d85404c964c945e29a9f90 | {
"intermediate": 0.3346570134162903,
"beginner": 0.21209834516048431,
"expert": 0.4532446265220642
} |
1,231 | lowList = df['low'].rolling(19).min() # 计算low值19日移动最低
lowList.fillna(value=df['low'].expanding().min(), inplace=True)
highList = df['high'].rolling(19).max() # 计算high值19日移动最高
highList.fillna(value=df['high'].expanding().max(), inplace=True)
rsv = (df.loc[:, 'close'] - lowList) / (highList - lowList) *... | 256acb0e531248a97dcc35e655579167 | {
"intermediate": 0.354884535074234,
"beginner": 0.3127937912940979,
"expert": 0.3323216438293457
} |
1,232 | code a hbbtv website that can stream an m3u8 stream | db0f1b919d40c4b0bee6c7d9e5addf46 | {
"intermediate": 0.31032422184944153,
"beginner": 0.2271680384874344,
"expert": 0.4625077247619629
} |
1,233 | please provide R example code for simulation of survival data based on data already observed, and predict when the target number of events will achieve. | 85167d6a7441be3fd1b1af7a8937bb5f | {
"intermediate": 0.2889788746833801,
"beginner": 0.08338313549757004,
"expert": 0.6276379823684692
} |
1,234 | room database build and add calback to prepopulate data | 5c69003a6cb48b1097e7c618ae331cea | {
"intermediate": 0.4513883590698242,
"beginner": 0.21378913521766663,
"expert": 0.33482250571250916
} |
1,235 | Imprègne toi de ce code tu vas devoir l'utiliser pr la suite : class node:
def init(self, identity, label, parents, children):
‘’‘
identity: int; its unique id in the graph
label: string;
parents: int->int dict; maps a parent node’s id to its multiplicity
children: int->int dict; maps a child node’s id to its multipli... | 223334747f5894856b1d68c7d93778b7 | {
"intermediate": 0.19167982041835785,
"beginner": 0.45599180459976196,
"expert": 0.352328360080719
} |
1,236 | Write a Python implementation of shellsort. | bef779fa6b98617b033926936959052f | {
"intermediate": 0.4489132761955261,
"beginner": 0.17615437507629395,
"expert": 0.37493228912353516
} |
1,237 | class node:
def init(self, identity, label, parents, children):
‘’‘
identity: int; its unique id in the graph
label: string;
parents: int->int dict; maps a parent node’s id to its multiplicity
children: int->int dict; maps a child node’s id to its multiplicity
‘’’
self.id = identity
self.label = label
self.parents = p... | 1d57684000daff2bb72192982451d296 | {
"intermediate": 0.2337455004453659,
"beginner": 0.5259801745414734,
"expert": 0.2402743250131607
} |
1,238 | java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.trivia/com.example.trivia.MainActivity}: java.lang.RuntimeException: Cannot create an instance of class com.example.trivia.data.MyViewModel | a726b86b89307af92b0059dc0d7bfb64 | {
"intermediate": 0.36332789063453674,
"beginner": 0.38501405715942383,
"expert": 0.25165805220603943
} |
1,239 | class node:
def init(self, identity, label, parents, children):
‘’‘
identity: int; its unique id in the graph
label: string;
parents: int->int dict; maps a parent node’s id to its multiplicity
children: int->int dict; maps a child node’s id to its multiplicity
‘’’
self.id = identity
self.label = label
self.parents = p... | aae03bbbb6877153c1f7c35c41758ecd | {
"intermediate": 0.2337455004453659,
"beginner": 0.5259801745414734,
"expert": 0.2402743250131607
} |
1,240 | class bool_circ(open_digraph):
def __init__(self,g):
circuit = {}
nod = g.get_node_ids()
inp = g.get_input_ids()
out = g.get_output_ids()
for n in nod:
if (n not in inp) or (n not in out):
circuit.update(rand.randint(0,3),n) #porte et = 0, porte o... | d9b30c6ee8dd1d5f8d8c0341dffd2cc0 | {
"intermediate": 0.29157334566116333,
"beginner": 0.5253821611404419,
"expert": 0.18304450809955597
} |
1,241 | Hello,
I want to build a home server with a NAS controled by a RaspberryPi 4 as data storage.
I want it to be headless.
I know how to handle python commands, powershell and Unix, what would be the steps to build a safe storage on a personal network ? | d261120bfeb63a1ba147d28a4380a517 | {
"intermediate": 0.473376989364624,
"beginner": 0.3495047390460968,
"expert": 0.17711825668811798
} |
1,242 | def evaluate(self):
def sub_rec_eval(self, node):
if node.get_label() in ["0", "1"]:
return
for par in node.get_parents():
sub_rec_eval(par)
rules(node)
outputs = self.get_output_nodes()
for out in outputs:
sub_rec_... | 0993c362e7c40fe8aae159b7ef15167b | {
"intermediate": 0.25636541843414307,
"beginner": 0.38674259185791016,
"expert": 0.3568919897079468
} |
1,243 | what's the problem whit this c code: #include <stdio.h>
int main() {
int v[4],
for (int i=0,i<5,i++){
printf("Type a number: \n");
scanf("%d",&v[i]);
}
for (int i=0,i<5,i++){
printf("% \n", v[i]);
}
return 0
} | 73c06850f2a3ea07e9e464bfff398398 | {
"intermediate": 0.2923148572444916,
"beginner": 0.5599614381790161,
"expert": 0.1477237194776535
} |
1,244 | const errorsResult = [];
const makeErrors = (errors = []) =>
errors.forEach((error) => {
if (!errorsResult.some(err => err.caption === error.caption)) {
errorsResult.push(error);
}
})
const checkErrors = ({ errors, sum }) => {
makeErrors(errors);
const isPayed = !sum.to_pay;
... | 2b2d9f194d77c6812edff6a33cb4071d | {
"intermediate": 0.39354443550109863,
"beginner": 0.32715725898742676,
"expert": 0.279298335313797
} |
1,245 | js new Promise()解释 | c04793b91a4633e211d087bf5b0c6ed5 | {
"intermediate": 0.4110892117023468,
"beginner": 0.2778748869895935,
"expert": 0.3110358715057373
} |
1,246 | Assume that you have membership functions defined using straight line segments.
Say, we have membership fucntion as: μ{cool}(temp), μ{moderate}(temp), μ{hot}(temp)
so, if you look at μ{cool}(temp) then we can write it as,
μ{cool}(temp) = 1 if Temp. ≤10
μ{cool}(temp) = 0 if Temp≥20
μ{cool}(temp) = <Equation of line join... | 86d2048e4e6d5a6bc1235576da2a400a | {
"intermediate": 0.4601652920246124,
"beginner": 0.2575937807559967,
"expert": 0.2822408974170685
} |
1,247 | traceback.print_exec() | fb359bf5e67e39c8c033d87a63746204 | {
"intermediate": 0.33596163988113403,
"beginner": 0.40417662262916565,
"expert": 0.25986170768737793
} |
1,248 | @WebFilter(filterName = "Filter01")
public class Filter01 implements Filter {
public void init(FilterConfig config) throws ServletException {
}
public void destroy() {
}
@Override
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws ServletException,... | ca39a3d5a4d9d0914ac061388650a4a7 | {
"intermediate": 0.45760446786880493,
"beginner": 0.34033194184303284,
"expert": 0.20206360518932343
} |
1,249 | write me p5.js script which draw a mouse | f30b0d2e06948c38008da72c7aedc6b7 | {
"intermediate": 0.40196701884269714,
"beginner": 0.3454791307449341,
"expert": 0.2525538504123688
} |
1,250 | I need a website that can show our IT software product,please build a website, show me the code. | 3fc98fb6bd7d4f4b815afd16d0949fa1 | {
"intermediate": 0.39496558904647827,
"beginner": 0.32246047258377075,
"expert": 0.282573938369751
} |
1,251 | from django.shortcuts import render, redirect, get_object_or_404
from .models import Student
from .forms import StudentForm
def student_list(request):
students = Student.objects.all()
return render(request, 'student_list.html', {'students': students})
def student_add(request):
if request.method == 'POST':
... | 2d6267d78392bfaf02395b6b39cb6a78 | {
"intermediate": 0.45239436626434326,
"beginner": 0.3620994985103607,
"expert": 0.18550604581832886
} |
1,252 | can you give me a sample code of getting the average of 60 EMG AND GSR data from sensors from arduino uno | a9229dd4e3953e049fb62a14e48d23de | {
"intermediate": 0.6048077940940857,
"beginner": 0.09648483246564865,
"expert": 0.29870736598968506
} |
1,253 | const CustomTooltip = ({ active, payload, label }: any) => {
if (active && payload) {
const date = dayjs(payload[0].payload.day);
const weekday = dayjs(payload[0].payload.weekday); /// Среда
const formattedDate = date.format('DD-MM')
const formattedWeekday = weekday.locale('ru')
const... | fbd90c5ac264d3e54d7e26a720147e99 | {
"intermediate": 0.39964228868484497,
"beginner": 0.32943853735923767,
"expert": 0.27091917395591736
} |
1,254 | hi | 03e9fe18e0c568b22203c0f2b9c0da11 | {
"intermediate": 0.3246487081050873,
"beginner": 0.27135494351387024,
"expert": 0.40399640798568726
} |
1,255 | in one of our previous chats you gave me this plan lets do this together? I am at step 3. Here is the plan: Sure! Here’s a detailed plan for building a Java Spring app that incorporates NLP for summarization and sentiment analysis:
Step 1: Define your project requirements and architecture.
- Define the app’s overall ... | 8c8770c3932c9c029ffac30b2211a623 | {
"intermediate": 0.5671300888061523,
"beginner": 0.18458378314971924,
"expert": 0.2482861578464508
} |
1,256 | Object.values(response.baskets).reduce((errorsResult, basket) => {
const { errors } = basket;
errors.forEach(error => {
const isDuplicate = errorsResult.some(e => e.caption === error.caption);
if (!isDuplicate) {
errorsResult.push(error);
}
});
return errorsRe... | 6c24fd8373543865fd027712f0dae0a8 | {
"intermediate": 0.37924039363861084,
"beginner": 0.30799970030784607,
"expert": 0.3127598464488983
} |
1,257 | Please give me a few categories about what people most often photograph | 86d618d1d14a9b9971a725645f5fe8de | {
"intermediate": 0.4143664836883545,
"beginner": 0.40669581294059753,
"expert": 0.17893770337104797
} |
1,258 | import os
import re
def lire_fichier(file):
with open(file, "r", encoding='utf-8') as f:
films = [re.sub(r'[\d+]', '', ligne.strip()) for ligne in f.readlines()]
return set(films)
def comparer_fichiers(fichiers):
films_repertoire = {}
for fichier in fichiers:
fils_fichier = lire_f... | d5dd7dacf9598244565d87f76cec48e5 | {
"intermediate": 0.33395916223526,
"beginner": 0.48443692922592163,
"expert": 0.18160390853881836
} |
1,259 | Hi,
Can you help me have a setup of automatized video making ?
I write objectives inside an AI interface which will generate a text script, scrap the web for images related to each paragraph of the text script, maybe generate images and video clip related too, use an AI to read the text with my voice or a human voice,... | 6fd040c655d6e8c10f3cfafe3ef1e042 | {
"intermediate": 0.4986925423145294,
"beginner": 0.11595003306865692,
"expert": 0.38535740971565247
} |
1,260 | This is an app to type the text symbol by symbol like on the keyboard from text copied to the keyboard.
At this moment name "tray" is not defined. Fix this and any other issue that you'd see.
import pyperclip
import time
import string
from pynput.keyboard import Key, Controller, Listener
from PyQt5 import QtWidgets, Q... | 892b678bb98394628079ec5935b8d348 | {
"intermediate": 0.2498716115951538,
"beginner": 0.5673574805259705,
"expert": 0.18277092278003693
} |
1,261 | Write a code of simple neural network on Python which can draw 256x256 images. Train it on set of 1000 png images from folder "dataset". Name of png file is describing token. Save trained weights into file "model.weights" on disk. At the end generate 5 example 256x256 images and save images into "results" folder as png | c060ad2aed9222c1aa51ee3173eaab31 | {
"intermediate": 0.1898968368768692,
"beginner": 0.0635397806763649,
"expert": 0.7465633749961853
} |
1,262 | Write a code of simple neural network on Python which can draw 256x256 images. Use PyTorch. Train it on set of 1000 png images from folder “dataset”. Name of png file is describing token. Save trained weights into file “model.weights” on disk. At the end generate 5 example 256x256 images and save images into “results” ... | a824e9f6e6c2ba2b22e9a52b95dee736 | {
"intermediate": 0.26961347460746765,
"beginner": 0.0843397006392479,
"expert": 0.6460468173027039
} |
1,263 | Is there an easy way in C# WPF for a datagrid to be ordered by two columns instead of one when clicking in a column header? | 197dc2d8ce5e9cf6daaf145ef9065594 | {
"intermediate": 0.7629101276397705,
"beginner": 0.09951867908239365,
"expert": 0.13757120072841644
} |
1,264 | how to get free onlyfans | 4a8da9bbc59c8980ff28aaeb88add68a | {
"intermediate": 0.3749190866947174,
"beginner": 0.36719322204589844,
"expert": 0.25788769125938416
} |
1,265 | make basic strategi to blackjack in py where the user inputs his number and the delears and it says the option out of basic strategi and why | 2c93c5a16ef3cf0d8aceb7ff9b3e5ff2 | {
"intermediate": 0.36789146065711975,
"beginner": 0.23062004148960114,
"expert": 0.4014884829521179
} |
1,266 | сделай так, чтобы при открытии изображения оно стало серым.
private void openImage() {
JFileChooser fileChooser = new JFileChooser();
int option = fileChooser.showOpenDialog(this);
if (option == JFileChooser.APPROVE_OPTION) {
File file = fileChooser.getSelectedFile();
try {
image = ImageIO.read(fi... | 8dc17dd8a170d4e94d7a5343cb81dfa1 | {
"intermediate": 0.39818865060806274,
"beginner": 0.3044680058956146,
"expert": 0.297343373298645
} |
1,267 | def getkdj(stockcode, end_date):
# Step1: 获取数据
start_date = '2022-11-01'
lg = bs.login()
rs = bs.query_history_k_data_plus(code,
"date,code,open,high,low,close,volume",
start_date=start_date, end_date=end_date, frequency="d",
... | 123522b922787ce5d0eb20c4691d5dbb | {
"intermediate": 0.3824795186519623,
"beginner": 0.36341843008995056,
"expert": 0.25410208106040955
} |
1,268 | Raster cannot be to type. fix this. private BufferedImage binarizeImage(BufferedImage image, int threshold1, int threshold2) {
int width = image.getWidth();
int height = image.getHeight();
BufferedImage binarizedImage = new BufferedImage(width, height, BufferedImage.TYPE_BYTE_BINARY);
Graphics2D g = binariz... | 3fefa024d99225e50c9eda19c014c953 | {
"intermediate": 0.3947434425354004,
"beginner": 0.32676050066947937,
"expert": 0.278496116399765
} |
1,269 | C++, RAD STUDIO IDE.
Сделай так, чтобы длина строки в TDBGrid автоматически подгонялась под размер текста.
Код: | 9c1160d6fabdf8c852b4041e3aab311e | {
"intermediate": 0.5632511973381042,
"beginner": 0.22273580729961395,
"expert": 0.2140129953622818
} |
1,270 | Manager::Manager(const rclcpp::NodeOptions& options) : Node("lidar_manager", options)
{
RCLCPP_INFO(this->get_logger(), "Manager http constructor");
// get parameters from http server
auto host_desc = rcl_interfaces::msg::ParameterDescriptor{};
host_desc.description = "host ip";
this->declare_parameter("host"... | f2419e13f3b176db7715774af69a2d42 | {
"intermediate": 0.3023272752761841,
"beginner": 0.3850768208503723,
"expert": 0.312595933675766
} |
1,271 | Please write a backgammon in python | 6fe2dcce9b5d103a64233bf30cd78b8e | {
"intermediate": 0.33738458156585693,
"beginner": 0.40839025378227234,
"expert": 0.25422513484954834
} |
1,272 | def getkdj:
lowList = df[‘low’].rolling(19).min() # 计算low值19日移动最低
lowList.fillna(value=df[‘low’].expanding().min(), inplace=True)
highList = df[‘high’].rolling(19).max() # 计算high值19日移动最高
highList.fillna(value=df[‘high’].expanding().max(), inplace=True)
rsv = (df.loc[:, ‘close’] - lowList) / (highList - lowList) * 100
d... | 2df5c185ac18bf8f41f697bedb01c7fc | {
"intermediate": 0.3302535116672516,
"beginner": 0.41670864820480347,
"expert": 0.25303786993026733
} |
1,273 | For a given integer N, print all the squares of positive integers where the square is less than or equal to N, in ascending order. use while loops | a776338157dab12b7ff15d1d6af92230 | {
"intermediate": 0.20948933064937592,
"beginner": 0.6397303938865662,
"expert": 0.15078024566173553
} |
1,274 | how to find the actuall temperature with relative huimidity, wetbuld and drybulb temperature | 790d9aca94e1f0d36517d8ab495fd915 | {
"intermediate": 0.2841350734233856,
"beginner": 0.28823816776275635,
"expert": 0.42762675881385803
} |
1,275 | I have a pandas dataframe. I want to see the column names as index and their number of unique values and list of all unique values as columns. | 88ee87aa041c95b1ab0220a130e75b26 | {
"intermediate": 0.5706398487091064,
"beginner": 0.1528855264186859,
"expert": 0.27647456526756287
} |
1,276 | For a given integer X, find the greatest integer n where 2ⁿ is less than or equal to X. Print the exponent value and the result of the expression 2ⁿ. use while loops. | 7809736f179197c04860b7e15bdb4384 | {
"intermediate": 0.14642386138439178,
"beginner": 0.6764606833457947,
"expert": 0.1771155148744583
} |
1,277 | def getkdj(stockcode, end_date):
# Step1: 获取数据
start_date = '2022-11-01'
lg = bs.login()
rs = bs.query_history_k_data_plus(code,
"date,code,open,high,low,close,volume",
start_date=start_date, end_date=end_date, frequency="d",
... | 7779c1421d8e3b56dd98c478946f43f0 | {
"intermediate": 0.2758110463619232,
"beginner": 0.5655354261398315,
"expert": 0.15865352749824524
} |
1,278 | Проверь и допиши, исправь код C++ builder (Rad Studio IDE). Программа с помощью canvas рисует на форме электрическую цепь(схему) с одним выключателем и при нажатии на кнопку меняет(перерисовывает) эту цепь из состояния "Замкнута" в состояние "Разомкнута" и обратно( при замкнутой цепи у лампочки появляются лучики:)
//-... | 6049e8ada5a60b9713ae1c6b2cc881b1 | {
"intermediate": 0.3381562829017639,
"beginner": 0.41000044345855713,
"expert": 0.25184333324432373
} |
1,279 | images = ["/content/gdrive/MyDrive/castle/"+i for i in os.listdir("/content/gdrive/MyDrive/castle/") if i.endswith(('jpeg', 'png', 'jpg',"PNG","JPEG","JPG"))]
# # _ = [resize(path, 1920, save_image=True) for path in images] # Resize Images to 1920 as the max dimension's size else it'll blow the GPU / CPU memory
for ... | c21cf6723f47c3abf484d1489ec985f4 | {
"intermediate": 0.4226814806461334,
"beginner": 0.2798115313053131,
"expert": 0.29750701785087585
} |
1,280 | As a future athlete you just started your practice for an upcoming event. On the first day you run x miles, and by the day of the event you must be able to run y miles.
Calculate the number of days required for you to finally reach the required distance for the event, if you increases your distance each day by 10% fro... | 0e2efb82ad6055789f6b7b70e783d1aa | {
"intermediate": 0.1846838891506195,
"beginner": 0.634759783744812,
"expert": 0.1805562973022461
} |
1,281 | def resize(path, new_width_height = 1280, save_image = False, convert_RGB = True, clip_full_hd = False, quality = 100):
'''
Resize and return Given Image
args:
path: Image Path
new_width_height = Reshaped image's width and height. # If integer is given, it'll keep the aspect ratio as it is by shrinking th... | a022678b938c1bbf1cab6d47f8db6a3c | {
"intermediate": 0.30388209223747253,
"beginner": 0.4474644660949707,
"expert": 0.24865350127220154
} |
1,282 | 给出下面ctf题目的解题报告import os
flag = open(“flag”).read()
flag1 = open(“flag1”).read()
flag2 = open(“flag2”).read()
key = os.urandom(16)
def pad(msg):
n = AES.block_size - len(msg) % AES.block_size
return msg + bytes([n]) * n
tag = b"Can you give me the flag please"
def unpad(msg):
assert len(msg) > 0 and len(msg) % A... | 61de6c7902857971d09c3cb36f4f2b4c | {
"intermediate": 0.3225480020046234,
"beginner": 0.5116131901741028,
"expert": 0.16583886742591858
} |
1,283 | lazycolumn items which retrieved from database coroutine | aab0e5d8205ae7db99e358b8418c33a1 | {
"intermediate": 0.38480156660079956,
"beginner": 0.3051527142524719,
"expert": 0.31004565954208374
} |
1,284 | def resize(path, new_width_height = 1280, save_image = False, convert_RGB = True, clip_full_hd = False, quality = 100):
'''
Resize and return Given Image
args:
path: Image Path
new_width_height = Reshaped image's width and height. # If integer is given, it'll keep the aspect ratio as it is by shrinking th... | 762d68d1a6d64549c60bf5895da63cb2 | {
"intermediate": 0.30174028873443604,
"beginner": 0.4547675549983978,
"expert": 0.2434922158718109
} |
1,285 | In PERL, how do you parse a JSON file | 4135215e864441fa2e8df947eb75cfc8 | {
"intermediate": 0.6840830445289612,
"beginner": 0.1288018822669983,
"expert": 0.18711507320404053
} |
1,286 | get file path kotlin in adnroid studio | f709cbf2471f63c6d9de492015f317ca | {
"intermediate": 0.3146456480026245,
"beginner": 0.14295078814029694,
"expert": 0.5424035787582397
} |
1,287 | say hi | 76fe7cd5e927bb5077a7e6911736dadd | {
"intermediate": 0.35526859760284424,
"beginner": 0.2773764133453369,
"expert": 0.3673549294471741
} |
1,288 | I just need to get hairstyle change over the human images (static). | a5a121671365a1d42b258dbdf88c04f9 | {
"intermediate": 0.34885746240615845,
"beginner": 0.3160078823566437,
"expert": 0.33513468503952026
} |
1,289 | este codigo no da un resultado de imagen con el canal alpha, está malo
def resize(path, new_width_height = 1280, save_image = False, convert_RGB = True, clip_full_hd = False, quality = 100):
'''
Resize and return Given Image
args:
path: Image Path
new_width_height = Reshaped image's width and height. # I... | 098e3d1a427239a96ad5dc5946a4ac48 | {
"intermediate": 0.37358787655830383,
"beginner": 0.34905728697776794,
"expert": 0.27735480666160583
} |
1,290 | How do I start a simple webserver using nginx? | e7363f08ed3bba6a4c0b351007505f7b | {
"intermediate": 0.345278799533844,
"beginner": 0.4151117503643036,
"expert": 0.23960945010185242
} |
1,291 | can you turn this so i can use it in python data base :
Juice WRLD 31,818,659
Key Glock 10,397,097
King Von 7,608,559
Kodak Black 24,267,064
Latto 10,943,008
Lil Baby 30,600,740
Lil Durk 20,244,848
Lil Keed 2,288,807
Lil Loaded 2,130,890
Lil Mabu 2,886,517
Lil Mosey 8,260,285
Lil Peep 15,028,635
Lil Pump 7,530,07... | d2bcd2fb5256f68755d0ae873df07190 | {
"intermediate": 0.43230101466178894,
"beginner": 0.2784157693386078,
"expert": 0.28928321599960327
} |
1,292 | get file in same directory by its name kotlin | daa5329f931192081a13d7b34a704d71 | {
"intermediate": 0.3680258095264435,
"beginner": 0.17584805190563202,
"expert": 0.4561261534690857
} |
1,293 | Вы - инженер-программист мирового класса. Мне нужно, чтобы вы составили техническое задание на создание следующего программного обеспечения:
К следующему коду добавить: Приложение должно обеспечивать
запуск до 10 потоков, обрабатывающих до 10 различных изображений.
Организация многопоточности производится средством, у... | 1e5384008b44399bff0abc8e48b6d8d5 | {
"intermediate": 0.19546082615852356,
"beginner": 0.6741613149642944,
"expert": 0.13037782907485962
} |
1,294 | Привет! Ты мог бы приукрасить мой JavaScript код своим CSS кодом? Вот мой JavaScript код: const apiKey = '4162461887360bfbbaff0ec128ea078f';
const city = 'Вязьма,ru';
const url = `https://api.openweathermap.org/data/2.5/forecast?q=${city}&appid=${apiKey}&lang=ru&units=metric`;
$.getJSON(url, function (data) {
let cu... | c0f22b245eb0bea1aedc810cd92cd736 | {
"intermediate": 0.30527880787849426,
"beginner": 0.4975908398628235,
"expert": 0.19713038206100464
} |
1,295 | python give me a desktop pet code | 0ad7978ec61e34e5e8a391c1e366f0d0 | {
"intermediate": 0.3707732558250427,
"beginner": 0.3155113756656647,
"expert": 0.3137153387069702
} |
1,296 | android studio retrieve data from txt file to room database | 38aa10fc32efe40cea99f650e380d4cb | {
"intermediate": 0.48766636848449707,
"beginner": 0.15105430781841278,
"expert": 0.36127936840057373
} |
1,297 | Обнови данный код так, чтобы при открытии изображения оно появлялось в pictureBox1, а обработанное в pictureBox2.
После обработки, оба изображения должны храниться в progressListBox.
По нажатию на один из объектов progressListBox, изображения хранящиеся в нём, должны отображаться в соответствующих pictureBox.
using Sy... | c2acb6acfddb715081376cbea0106482 | {
"intermediate": 0.27738505601882935,
"beginner": 0.5398718118667603,
"expert": 0.1827431321144104
} |
1,298 | $NOT 7,781,046
21 Savage 60,358,167
9lokknine 1,680,245
A Boogie Wit Da Hoodie 18,379,137
Ayo & Teo 1,818,645
Bhad Bhabie 1,915,352
Blueface 4,890,312
Bobby Shmurda 2,523,069
Cardi B 30,319,082
Central Cee 22,520,846
Chief Keef 9,541,580
Coi Leray 28,619,269
DaBaby 30,353,214
DDG 4,422,588
Denzel Curry 7,555,42
Des... | 8ca3231c901678ea54604133ce582415 | {
"intermediate": 0.3548513650894165,
"beginner": 0.3811045289039612,
"expert": 0.2640440762042999
} |
1,299 | what does this error mean File "main.py", line 53
break
^
SyntaxError: 'break' outside loop
** Process exited - Return Code: 1 **
for this code : if guess_lower == 'quit':
print(f"Thanks for playing! Your final score is {score}.")
break | 1a6f3df210d81c957b7a4f52047e1da2 | {
"intermediate": 0.10243698209524155,
"beginner": 0.8451699018478394,
"expert": 0.05239313840866089
} |
1,300 | a simple golang chi + htmx application | 1813e8c12d0543fd7c3d271d8f211a9d | {
"intermediate": 0.3744410276412964,
"beginner": 0.4187285304069519,
"expert": 0.2068304419517517
} |
1,301 | can you show me how to use auto gpt | d8995d82871a40b1d0c0cd291419cf6f | {
"intermediate": 0.32516932487487793,
"beginner": 0.12187399715185165,
"expert": 0.5529567003250122
} |
1,302 | how to change the code so that you can type both the names or the numbers affiliated with the given rappers :
import random
artists_listeners = {
'$NOT': 7781046,
'21 Savage': 60358167,
'9lokknine': 1680245,
'A Boogie Wit Da Hoodie': 18379137,
'Ayo & Teo': 1818645,
'Bhad Bhabie': 1915352,
'Blueface': 4890312,
'Bobby... | 5f5dc760da4e202ec31c7d9663d33cc8 | {
"intermediate": 0.392667293548584,
"beginner": 0.22774752974510193,
"expert": 0.3795851767063141
} |
1,303 | Try solving the following question without assuming how many cards are in the deck. A small number of cards has been lost from a complete pack. If I deal among four people, three cards remain. If I deal among three people, two remain and if I deal among five people, two cards remain. How many cards are there? | e2b001d5c473c2719cab39f709edae20 | {
"intermediate": 0.3913685977458954,
"beginner": 0.2873096764087677,
"expert": 0.3213217854499817
} |
1,304 | in py make a machine learning script that predcits a game that choses a random color: Red, purple or yellow. The most rare color is yellow, and you've data for some of the past games: ['red', 'red', 'purple', 'purple', 'purple', 'red', 'red', 'red', 'purple', 'red', 'yellow', 'red', 'purple', 'red', 'purple', 'purple',... | ed08e7790c01f8578932e9adc68690bd | {
"intermediate": 0.09386668354272842,
"beginner": 0.07269039005041122,
"expert": 0.8334429264068604
} |
1,305 | import random
artists_listeners = {
'$NOT': 7781046,
'21 Savage': 60358167,
'9lokknine': 1680245,
'A Boogie Wit Da Hoodie': 18379137,
'Ayo & Teo': 1818645,
'Bhad Bhabie': 1915352,
'Blueface': 4890312,
'Bobby Shmurda': 2523069,
'Cardi B': 30319082,
'Central Cee': 22520846,
'C... | 8bd77ae7d7d9b6573c857a3ede7f9123 | {
"intermediate": 0.35717204213142395,
"beginner": 0.279269814491272,
"expert": 0.3635580539703369
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.