row_id int64 0 48.4k | init_message stringlengths 1 342k | conversation_hash stringlengths 32 32 | scores dict |
|---|---|---|---|
32,422 | class ImageService:
"""Service for image manipulations."""
@staticmethod
def get_binary_image(image: np.ndarray) -> np.ndarray:
"""Gets binary image from image."""
binary_image = image.copy()
binary_image[np.where(binary_image != 0)] = 255
return binary_image
@staticmeth... | 22e8a0c0549495218fb3b259c5b84e7e | {
"intermediate": 0.3217918872833252,
"beginner": 0.5325292944908142,
"expert": 0.1456788033246994
} |
32,423 | package foleon.miningcore;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.AsyncPlayerChatEvent;
import org.bukkit.plugin.java.JavaPlugin;
public class CustomChat implements Listener {
private fin... | 36987e86359173f2e25a9abf332af3e3 | {
"intermediate": 0.4364241361618042,
"beginner": 0.27647823095321655,
"expert": 0.2870975434780121
} |
32,424 | 以下是我的模型推理代码,我想把把它变成具有ui的web网站,然后可以直接调用用户的gpu进行推理,该怎么做呢:
from modelscope import AutoTokenizer, AutoModel, snapshot_download
model_dir = snapshot_download("01ai/Yi-6B-200K")
model = AutoModel.from_pretrained(model_dir, trust_remote_code=True).half().cuda()
# model = AutoModelForCausalLM.from_pretrained("01-ai/Yi-34B", d... | 9a4b21b4251cfcdb6253f66aa46b63bb | {
"intermediate": 0.4655773341655731,
"beginner": 0.28005334734916687,
"expert": 0.2543693780899048
} |
32,425 | python code using BiLSTM encoder and LSTM decoder rnn and attention layer to translate English text to Arabic text by splitting data from file into train. validate and test ,Tokenize the sentences and convert them into numerical representations ,Pad or truncate the sentences to a fixed length and use test data to eval... | ab8d017a43d719b227dd2e159b2adbcb | {
"intermediate": 0.34519463777542114,
"beginner": 0.08485053479671478,
"expert": 0.5699547529220581
} |
32,426 | python code using BiLSTM encoder, LSTM decoder rnn and attention layer to translate English text to Arabic text by splitting data from file into train. validate and test ,Tokenize the sentences and convert them into numerical representations ,Pad or truncate the sentences to a fixed length and example translation from ... | 4ef9de83120bab71b2d3d4c2edd76c1b | {
"intermediate": 0.3584964871406555,
"beginner": 0.09602220356464386,
"expert": 0.5454813241958618
} |
32,427 | Add a sub-bit sorting to this code: #include <iostream>
#include <vector>
#include <ctime>
using namespace std;
template< class T >
void downHeap(vector<T>& a, long k, long n)
{
T new_elem;
long child;
new_elem = a[k];
while (k <= n / 2)
{
child = 2 * k;
if (child < n && a[child]... | 09087555f410eea39fe846e2d70fc689 | {
"intermediate": 0.32519659399986267,
"beginner": 0.424150288105011,
"expert": 0.25065308809280396
} |
32,428 | Ihad made youtube shorts on Neena Gupta podcast with RanveerAllahbadia in which she is talking about aurat khunte se bandhi dor hai aur aadmi aakash me usne wala panchi now make Stronng SEO title, description, Tags that grab youtube audience for more views | be5c9e04df96234b9a6f7de35ed687b3 | {
"intermediate": 0.2913563847541809,
"beginner": 0.3405923843383789,
"expert": 0.3680512011051178
} |
32,429 | Добавь в данный код Radixsort подразрядную сортировку , не изменяя сортировку деревом#include <iostream>
#include <vector>
#include <ctime>
using namespace std;
template< class T >
void downHeap(vector<T>& a, long k, long n)
{
T new_elem;
long child;
new_elem = a[k];
while (k <= n / 2)
{
... | 9ea327ff87ddbc99ce81eda9011b0b1e | {
"intermediate": 0.3136706054210663,
"beginner": 0.4753393530845642,
"expert": 0.2109900414943695
} |
32,430 | Develop an algorithm and a C++ program running in O(Logn)
time, to find a key k in a weight-balanced
tree. | fd2ad45310f0e1b7cb9046018f37cf58 | {
"intermediate": 0.058402903378009796,
"beginner": 0.041603583842515945,
"expert": 0.8999935388565063
} |
32,431 | class ImageService:
“”“Service for image manipulations.”“”
@staticmethod
def get_binary_image(image: np.ndarray) -> np.ndarray:
“”“Gets binary image from image.”“”
binary_image = image.copy()
binary_image[np.where(binary_image != 0)] = 255
return binary_image
@staticmethod
def count_zero_pixels(image_gray: np.ndarray)... | 3d4b5aff856c2edeb11c43d3dc72170f | {
"intermediate": 0.2589637041091919,
"beginner": 0.3415154814720154,
"expert": 0.39952078461647034
} |
32,432 | write a c++ programm printing 3 random number using default_random_engine | 082f65f9aade367ca629827d99b8e7f2 | {
"intermediate": 0.29418811202049255,
"beginner": 0.2925143241882324,
"expert": 0.413297563791275
} |
32,433 | Добавь в данный код Radixsort подразрядную сортировку , не изменяя сортировку деревом#include
#include <vector>
#include <ctime>
using namespace std;
template< class T >
void downHeap(vector<T>& a, long k, long n)
{
T new_elem;
long child;
new_elem = a[k];
while (k <= n / 2)
{
child = 2 * k;
if (child < n && a[chil... | f03bd51e31d86363f99cbc32392c580e | {
"intermediate": 0.34346508979797363,
"beginner": 0.3651477098464966,
"expert": 0.29138725996017456
} |
32,434 | #define decl_val(name, len) \
virtual uint##len##_t name() const { return 0; }
#define decl_var(name, len) \
virtual uint##len##_t &name() { return j##len(); } \
decl_val(name, len) | c8fa97c38d74b5e63b76f42550fac1b4 | {
"intermediate": 0.32725393772125244,
"beginner": 0.4586624503135681,
"expert": 0.21408355236053467
} |
32,435 | I need you to make a todolist app using svelte stores, demonstrate it in code | 0fad754c423666eb7b05c18cc1154312 | {
"intermediate": 0.3372304439544678,
"beginner": 0.2555464506149292,
"expert": 0.407223105430603
} |
32,436 | use imagemagik and python to distort the image then add an annotation at "/home/brrt/Pictures/icons/panties.png" | 0559f70b08a84c0dc9bd25e8dd6d3bb7 | {
"intermediate": 0.3814374506473541,
"beginner": 0.2139117270708084,
"expert": 0.40465086698532104
} |
32,437 | "0x2013": этот символ недопустим как первый символ идентификатора строка 105
синтаксическая ошибка: непредвиденный элемент ")". Ожидается "выражение" строка 103
синтаксическая ошибка: непредвиденный маркер "идентификатор" после "expression" строка 105
#include <iostream>
#include <vector>
#include <ctime>
using namesp... | ad36252cc85c058982a37629db3f4d0d | {
"intermediate": 0.3390144407749176,
"beginner": 0.37932926416397095,
"expert": 0.28165629506111145
} |
32,438 | class Turntable {
constructor(canvasId) {
this.canvas = document.getElementById(canvasId);
this.ctx = this.canvas.getContext('2d');
this.refreshButton = document.getElementById('update');
this.rotateButton = document.getElementById('rotate');
this.isSpinning = false;
this.spinSpe... | af5f18b0e2c89a2123e5ded4ee52de72 | {
"intermediate": 0.22980740666389465,
"beginner": 0.46149176359176636,
"expert": 0.308700829744339
} |
32,439 | Добавь в данный код метод сортировки подразрядную , не меняя метод сортировки деревом :#include <iostream>
#include <vector>
#include <ctime>
#include <algorithm>
using namespace std;
template< class T >
void downHeap(vector<T>& a, long k, long n)
{
T new_elem;
long child;
new_elem = a[k];
while (k <... | bad9b8a49b50d6fd1e4ef1dbbee543f0 | {
"intermediate": 0.34164363145828247,
"beginner": 0.3898009955883026,
"expert": 0.26855534315109253
} |
32,440 | 使用JS类以及html设计一个随机转盘游戏,要求点击刷新可以更新扇形分布,点击开始可以进行旋转并且逐渐减慢速度暂停,可以选择顺逆时针进行旋转 | db93515f21ee0ada529ac4a8df95b818 | {
"intermediate": 0.4473576545715332,
"beginner": 0.26133114099502563,
"expert": 0.29131120443344116
} |
32,441 | app.get('/api/register', (req, res) => {
const q = req.query
db.run(`insert into users values (${q.username}, ${q.password}, ${q.email})`)
res.send('success')
})
throws:
[Error: SQLITE_ERROR: unrecognized token: "123password"
Emitted 'error' event on Statement instance at:
] {
errno: 1,
code: 'SQLITE_ERROR'
} | de5dcfa269460c533cb618eb07f112e7 | {
"intermediate": 0.3975719213485718,
"beginner": 0.36215218901634216,
"expert": 0.24027594923973083
} |
32,442 | class Turntable {
constructor(canvasId) {
this.canvas = document.getElementById(canvasId);
this.ctx = this.canvas.getContext('2d');
this.refreshButton = document.getElementById('update');
this.rotateButton = document.getElementById('rotate');
this.isSpinning = false;
this.spinSpe... | 312553230582ec25dccfab773ea37a8a | {
"intermediate": 0.29329583048820496,
"beginner": 0.5055087804794312,
"expert": 0.20119543373584747
} |
32,443 | ScoreboardPlugin.java:
package com.example.scoreboardplugin;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.plugin.java.JavaPlugin;
public class ScoreboardPlugin exten... | 9e0069dc4432889905272e1d5c5a80c4 | {
"intermediate": 0.23623748123645782,
"beginner": 0.5368449091911316,
"expert": 0.22691762447357178
} |
32,444 | from transformers import BertTokenizer, TFBertModel
import numpy as np
import pandas as pd
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.model_selection import train_test_split
from sklearn.svm import SVC
from sklearn.metrics import classification_report
# Load Quora dataset
quora_data = pd.... | 2524f2e4af1ea5d30630c7d92656eb9a | {
"intermediate": 0.4513007402420044,
"beginner": 0.3444914221763611,
"expert": 0.20420783758163452
} |
32,446 | hello | dc21b23a3ba25e119009dcb797475c13 | {
"intermediate": 0.32064199447631836,
"beginner": 0.28176039457321167,
"expert": 0.39759764075279236
} |
32,447 | Добавь в данный код сортировку методом подразрядной: #include <iostream>
#include <vector>
#include <ctime>
using namespace std;
template< class T >
void downHeap(vector<T>& a, long k, long n)
{
T new_elem;
long child;
new_elem = a[k];
while (k <= n / 2)
{
child = 2 * k;
if (chil... | 0c794fd06925d944b22d6351b96a8a8f | {
"intermediate": 0.3618195056915283,
"beginner": 0.4478703737258911,
"expert": 0.19031007587909698
} |
32,448 | add radix sorting to this code without changing the tree sorting.
#include <iostream>
#include <vector>
#include <ctime>
using namespace std;
template< class T >
void downHeap(vector<T>& a, long k, long n)
{
T new_elem;
long child;
new_elem = a[k];
while (k <= n / 2)
{
child = 2 * k;
... | feb8d98b2a1a014a465a995cebef7334 | {
"intermediate": 0.35548505187034607,
"beginner": 0.4666714370250702,
"expert": 0.17784349620342255
} |
32,449 | need to write php class | 13f20c9440c4d1b725e3e53ef37a7e26 | {
"intermediate": 0.15141132473945618,
"beginner": 0.6875258088111877,
"expert": 0.16106288135051727
} |
32,450 | read data from json file and unmarshal struct type in golang | 08ee5918eace3ee933b42a0dbbfd7a3e | {
"intermediate": 0.611570417881012,
"beginner": 0.15904468297958374,
"expert": 0.22938483953475952
} |
32,451 | Write a movement code for my play it's a 3d game | 2a2be8619dd016c04acc03965349d474 | {
"intermediate": 0.3662239611148834,
"beginner": 0.2645520865917206,
"expert": 0.3692239224910736
} |
32,452 | исправь ошибки в 25 и 27 строчке:#include <iostream>
#include <vector>
#include <ctime>
using namespace std;
template <class T>
void radixSort(vector<T>& a) {
if (a.empty()) {
return;
}
T maxNum = max_element(a.begin(), a.end());
for (int exp = 1; maxNum / exp > 0; exp = 10) {
vector<T... | 11ba009704923e53ae3826de0cc4140c | {
"intermediate": 0.2862851023674011,
"beginner": 0.4619000256061554,
"expert": 0.2518148720264435
} |
32,453 | can you write a script in bash that will write pihole -g in terminal and press enter | 244e35dbb96a330ad693939d51165ca2 | {
"intermediate": 0.31941238045692444,
"beginner": 0.39735177159309387,
"expert": 0.2832358479499817
} |
32,454 | Добавь сортировку из данного кода: template<class T>
void radix_sort(vector<T> &data) {
static_assert(numeric_limits<T>::is_integer &&
!numeric_limits<T>::is_signed,
"radix_sort only supports unsigned integer types");
constexpr int word_bits = numeric_limits<T>::digits;
// max_bit... | 2e3380903f03f891d8c25b8fc4cc80ac | {
"intermediate": 0.42071986198425293,
"beginner": 0.33610302209854126,
"expert": 0.2431771159172058
} |
32,455 | class TradingPlatform:
def buy_order(self, price, quantity):
print(f"Buying ${price:.2f}\t{quantity:.4f}")
def place_stop_loss_order(self, price):
print(f"Stop Loss order placed at ${price:.2f}")
def calculate_order_sizes(total_equity, num_orders, equity_to_risk):
risk_amount = total_equity * equity_to_risk
order_... | f2d2143ade848dafcab87d5f4a560962 | {
"intermediate": 0.28516480326652527,
"beginner": 0.488953173160553,
"expert": 0.22588197886943817
} |
32,456 | create ray tracing program in c++ under 400 lines. | a6fed1a9b2428ca13cec045654ed021c | {
"intermediate": 0.23277555406093597,
"beginner": 0.12975774705410004,
"expert": 0.6374667286872864
} |
32,457 | feature_group<-list(CognitiveSymptoms=c(1:6),CESD-10symptoms=c(7:16))
Error: unexpected symbol in "feature_group<-list(CognitiveSymptoms=c(1:6),CESD-10symptoms"該如何修改 | 841ff9c8bc6ade1beac954c50d603a1d | {
"intermediate": 0.323384165763855,
"beginner": 0.25959476828575134,
"expert": 0.4170210361480713
} |
32,458 | Is there any kind of Java exception that serves as a boilerplate basic exception, where I can provide to it a message and that's it? | 3072d07f411f3a2b46e812cd89e701a2 | {
"intermediate": 0.5912207365036011,
"beginner": 0.1297547072172165,
"expert": 0.27902457118034363
} |
32,459 | from transformers import BertTokenizer, TFBertModel
import numpy as np
import pandas as pd
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.model_selection import train_test_split
from sklearn.svm import SVC
from sklearn.metrics import classification_report
# Load Quora dataset
quora_data = pd... | 6f9432dd7f9a4f36bcd883f73d464244 | {
"intermediate": 0.4368651211261749,
"beginner": 0.38063791394233704,
"expert": 0.18249693512916565
} |
32,460 | i need a prog to cypher 1 file( over 10mb) | 80bb0f657c2552643558653c9523e071 | {
"intermediate": 0.32759588956832886,
"beginner": 0.2604403793811798,
"expert": 0.4119637608528137
} |
32,461 | how to get latex simbols with python | 885839ce547733c329acd5710c898a36 | {
"intermediate": 0.3376246690750122,
"beginner": 0.19961892068386078,
"expert": 0.46275633573532104
} |
32,462 | Write me a code that hides the credit card number. The user should be able to input 16 numbers. The program should then return the formatted number back to the user with hyphens and all the digits should be masked by an asterisk (*) except for the last four. For example, when the user inputs 1234567890123456, the progr... | 9bb81455f6452654941f5a36bef8923f | {
"intermediate": 0.4236266314983368,
"beginner": 0.1498977392911911,
"expert": 0.4264756143093109
} |
32,463 | Hi | 063c2bfed0551d76163f3af87c95c994 | {
"intermediate": 0.33010533452033997,
"beginner": 0.26984941959381104,
"expert": 0.400045245885849
} |
32,464 | Как я понимаю алгоритм лангелара, попровь если что-то не так:
1. у нас есть контейнер-фото и цвз-текст
2. цвз мы переводим в биты, набор 0 и 1
3. контейнер мы делим на блоки 8 на 8 со значениями их интенсивность цвета RGB
4. далее мы создаем маску по которой будем встраивать цвз в блоки , в маске 0 - мы ничего не меняе... | a8446f06657a1c96d0f932d2d6298f82 | {
"intermediate": 0.16415554285049438,
"beginner": 0.6365734934806824,
"expert": 0.19927099347114563
} |
32,465 | help me on how to turn a top down tilemap in godot to 2d platformer, it should make so the depth becomes on the same level so things that are far away on the top down are on the same platform in 2d so if enemies are further up and you go into 2d they would be right next to you
I'm using godot 4 | 8340ee407d0d3cbfd309e862dcd5558d | {
"intermediate": 0.5036271810531616,
"beginner": 0.18434825539588928,
"expert": 0.3120245039463043
} |
32,466 | Hi | c1099aa8c91aa719ca70959d81834406 | {
"intermediate": 0.33010533452033997,
"beginner": 0.26984941959381104,
"expert": 0.400045245885849
} |
32,467 | make new code to use https://stablediffusion.fr/chatgpt4turbo : reevere eenegre it
import gradio as gr
import os
import sys
import json
import requests
MODEL = "gpt-4-1106-preview"
API_URL = os.getenv("API_URL")
DISABLED = os.getenv("DISABLED") == 'True'
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
print (API_URL)
p... | ba44d2e0c47c26a70e5a557934189567 | {
"intermediate": 0.49010396003723145,
"beginner": 0.3523193895816803,
"expert": 0.15757663547992706
} |
32,468 | public function showBattleSelect(c:ClientObject):void
{
var alert:Alert;
if (this.isGarageSelect)
{
GarageModel(Main.osgi.getService(IGarage)).objectUnloaded(null);
GarageModel(Main.osgi.getService(IGarage)).kostil = false;
Main... | 2e86c4b858161954fd9eb7f89b19fc45 | {
"intermediate": 0.3465747535228729,
"beginner": 0.43534913659095764,
"expert": 0.21807610988616943
} |
32,469 | hi
I want a matlab code | 2a883f996f51d2131fa34a65808c09df | {
"intermediate": 0.273894727230072,
"beginner": 0.4027784466743469,
"expert": 0.3233267664909363
} |
32,470 | проверь правильность кода, исправь если что-то не так
For[i = 1, i <= Length[blocks], i++,
maskedBlock = ImageApply[BitwiseAnd, {blocks[[i]], mask}];
flattenedBlock = Flatten[maskedBlock, 1];
l = Flatten[flattenedBlock].{0.299, 0.587, 0.114};
l1 = Mean[l];
inverseMask = BitXor[mask, 1];
invertedMaskedBlock =
I... | ad106456d6ef8dd5118a3d251ceb3003 | {
"intermediate": 0.2943441867828369,
"beginner": 0.3403354585170746,
"expert": 0.3653202950954437
} |
32,471 | write a VBA code for a power point presentation about generality in soil and pedogenesis. i need 20 slides. fill the content on your own | 0d12ae4ad1e3e7c5e1e13b3871bbd457 | {
"intermediate": 0.3070882558822632,
"beginner": 0.45156869292259216,
"expert": 0.24134306609630585
} |
32,472 | ####导入数据
library(qgraph)
library(networktools)
library(ggplot2)
library(bootnet)
library(haven)
mydata1 <- read_sav("D:/1Rstudy/sav数据/抑郁与认知 - 练习.sav")
mydata<-mydata1[,c("CESD1", "CESD2", "CESD3","CESD4","CESD5","CESD6","CESD7","CESD8","CESD9","CESD10","OrientationTotal","RegistrationTotal","AttentionAndCalculationTot... | f9990d5e5b76a6b3b4a608b6333131a6 | {
"intermediate": 0.3603731691837311,
"beginner": 0.3476797938346863,
"expert": 0.2919470965862274
} |
32,473 | исправь ошибку в 12 строчке: #include <iostream>
#include <vector>
#include <ctime>
#include <limits>
using namespace std;
template<class T>
void radix_sort(vector<T>& data) {
static_assert(numeric_limits<T>::is_integer &&
!numeric_limits<T>::is_signed,
“radix_sort only supports unsigned integer t... | 4ee09cb16b3514181bafb22cc0022b3b | {
"intermediate": 0.35857704281806946,
"beginner": 0.39247629046440125,
"expert": 0.2489466816186905
} |
32,474 | hi. i want you to edit a code in matlab. this code should model a one dimensional diffusion and one dimensional advection. there is a continues source of pollution in a channel with steady flow with velocity of u only in one direction. the diffusion coefficient is D . the retardation coefficient is R. the width of chan... | 7806e9c54a68d69648ad67d007f901ba | {
"intermediate": 0.4046650826931,
"beginner": 0.32153066992759705,
"expert": 0.27380433678627014
} |
32,475 | I have a project idea: In my college, we have to submit worksheets in online mode. So, I am thinking of creating a worksheet creator website. I will give the input worksheet and return me with same worksheet but with different name in the worksheet and uid etc. How can I make one. Here is worksheet format: Experiment N... | e6bf8156ada48c07beda5bf4670c12d3 | {
"intermediate": 0.4766068756580353,
"beginner": 0.25971946120262146,
"expert": 0.26367372274398804
} |
32,476 | Ошибка "vector subscript out of range" возникает, когда вы пытаетесь получить доступ к элементу вектора с помощью индекса, который выходит за пределы размера вектора. В данном коде ошибка может возникать в следующих строках:
В функции downHeap:
В строке if (child < n && a[child] < a[child + 1]), если child равно n - ... | fbb9586ae362aa5c2daa7b29f62798d1 | {
"intermediate": 0.23921120166778564,
"beginner": 0.5244395732879639,
"expert": 0.23634913563728333
} |
32,477 | convert this python code to c++: import pyautogui as pag
import keyboard
def ZOV_NOL():
pag.keyDown('shift')
pag.click(1060, 250)
pag.click(1138, 250)
pag.click(1138, 250)
pag.keyUp('shift')
pag.click(900, 205)
pag.press('backspace')
pag.click(647, 217)
pag.click(647, 217)
keyboard.add_hotkey('X', ZOV_NOL)
keyboard.w... | 12f82b4e44c7c0599a400c0fb4ad1270 | {
"intermediate": 0.4383632242679596,
"beginner": 0.28933021426200867,
"expert": 0.27230650186538696
} |
32,478 | Implement a program in C# that performs a depth-first search on a tree of integers. | 664fa6d8daac37de1c5fca330ac94fb1 | {
"intermediate": 0.28303807973861694,
"beginner": 0.09637410938739777,
"expert": 0.6205878257751465
} |
32,479 | How do I have my discord bot send unicode characters with markdown? | a55b8b27677ff109510b9f04db36c0ed | {
"intermediate": 0.4847355782985687,
"beginner": 0.13747861981391907,
"expert": 0.3777858018875122
} |
32,480 | How do I send a unicode character (U+266A) to be interpreted as the character to discord bot? | 578790feccf26189e91801f5cf6559d9 | {
"intermediate": 0.4155856668949127,
"beginner": 0.09924858063459396,
"expert": 0.4851657450199127
} |
32,481 | Bayesian Beta-Binomial models are a good way of modelling the probability of success based on a fixed number of trials. For instance, imagine we flip a coin n=10 times and observed the number of times, k, the coin lands on heads. We can then find our posterior distribution of θ by combining appropriate distributions fo... | e703ddda376be270f489abbda509b1cc | {
"intermediate": 0.38789817690849304,
"beginner": 0.2807924747467041,
"expert": 0.3313092887401581
} |
32,482 | Can you solve my task | afd173f4de84ee096327d3a972177cd1 | {
"intermediate": 0.36653733253479004,
"beginner": 0.3015410602092743,
"expert": 0.33192160725593567
} |
32,483 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyHealth : MonoBehaviour
{
public int maxHealth = 1;
private int currentHealth;
private void Start()
{
currentHealth = maxHealth;
}
public void TakeDamage(int damageAmount)
{
cur... | 30cc93c7ee90fb0aec40d13a49464dda | {
"intermediate": 0.34843382239341736,
"beginner": 0.38054367899894714,
"expert": 0.2710224390029907
} |
32,484 | #include <iostream>
#include <string>
using namespace std;
int main(int argc, char **argv)
{
int value_first = 100, value_second = 100;
string str_first, str_second;
int len, count;
int i = 0, j = 0;
cout << "Числа-палиндромы:" << endl;
while (i != 50) // Палиндром
{
count = 0;
++value_first;
str_first =... | ac7aacd772a51040f21396aadb18b9fb | {
"intermediate": 0.3524978458881378,
"beginner": 0.341304749250412,
"expert": 0.3061973452568054
} |
32,485 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class BossHealth : MonoBehaviour
{
public int maxHealth = 5;
private int currentHealth;
private ScoreCounter scoreCounter; // Reference to the ScoreCounter script
private void Star... | 47f14d886524a5a8868a8eb43e7225c7 | {
"intermediate": 0.4431140720844269,
"beginner": 0.3493402600288391,
"expert": 0.2075456976890564
} |
32,486 | Please list all 007 Bond films and year made, for the years 1955-1990 | cd8da0f0242ab68dfe01ea43ba526fdb | {
"intermediate": 0.34736737608909607,
"beginner": 0.2792850434780121,
"expert": 0.37334761023521423
} |
32,487 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI; //This line enables use of uGUI classes like Text.
public class ScoreCounter : MonoBehaviour
{
private Text uiText;
private ScoreManager scoreManager; // Reference to the ScoreManager script
// Start is ca... | dcce948a9ceb73e6b2871c70ebd691ed | {
"intermediate": 0.38281646370887756,
"beginner": 0.4188831150531769,
"expert": 0.19830042123794556
} |
32,488 | please write a VBA code for a powerpoint presentation about design pattern:builder, i need12 slides, fill the content on your own. | ac35a2692598c8d1f1d8cc6aa61e6ac6 | {
"intermediate": 0.33049169182777405,
"beginner": 0.443461537361145,
"expert": 0.22604681551456451
} |
32,489 | Сделай так, чтобы функция radixSort могла работать с отрицательными цифрами и после сортировки выводила их | 8d1ebf2ab6e32271dfad884758cd3751 | {
"intermediate": 0.3075513541698456,
"beginner": 0.1880580186843872,
"expert": 0.5043906569480896
} |
32,490 | How would i make a user rewrite the fields in a forms application if they get a messagebox shown and then run it again after they click submit | ba4398e342569c36f5c5d6609e4a1009 | {
"intermediate": 0.48997962474823,
"beginner": 0.23362937569618225,
"expert": 0.27639099955558777
} |
32,491 | write a PowerBASIC program to save a 3 dimensional array to a file | f169d4ef6f6049d77ef6d41b491951cf | {
"intermediate": 0.36817502975463867,
"beginner": 0.227809876203537,
"expert": 0.40401509404182434
} |
32,492 | write a PowerBASIC function to save a 3 dimensional array to a file | 3aa49d9a6252a11c4f5387fa5514be6d | {
"intermediate": 0.3964550197124481,
"beginner": 0.32467326521873474,
"expert": 0.2788717746734619
} |
32,493 | Tell me about yourself | eef8bb07dfdd1262dbbf86c356dd0e88 | {
"intermediate": 0.41631922125816345,
"beginner": 0.30509600043296814,
"expert": 0.2785848081111908
} |
32,494 | create a basic game template using python pyglet | a28a275ae9d671137c81311f99764002 | {
"intermediate": 0.35295355319976807,
"beginner": 0.34334996342658997,
"expert": 0.30369648337364197
} |
32,495 | cypress test ssr angular | abdc092a5e4d858b7a9b1732b81eac4d | {
"intermediate": 0.4997929632663727,
"beginner": 0.3241459131240845,
"expert": 0.17606110870838165
} |
32,496 | cypress intercept api request | f64742b4788a07bfaf446e264bebdb09 | {
"intermediate": 0.5260962843894958,
"beginner": 0.21461722254753113,
"expert": 0.25928646326065063
} |
32,497 | Hi! I want a program in python with an usser and password using functions, for, while and download the information in a dictionary | cf71277ca80a16541ab2fa2d70e37a21 | {
"intermediate": 0.36232343316078186,
"beginner": 0.47877204418182373,
"expert": 0.1589045524597168
} |
32,498 | Hi can you help me with CSS problem? | c65ad8eedf8b3558e33c27288f569c37 | {
"intermediate": 0.2824953496456146,
"beginner": 0.4568464457988739,
"expert": 0.26065823435783386
} |
32,499 | help me to create a 100 unique and highquality sddingment for my university the question is:What is meaning of word " Cyber"? Write your ideas about cyber security and how we can secure e-commerce/m-commerce trading platform? | 62e6fb0af3d86da09c5131a6cd3810a1 | {
"intermediate": 0.3207249939441681,
"beginner": 0.33303511142730713,
"expert": 0.3462398946285248
} |
32,500 | <?
namespace Bit\FileDownloads;
use \Bitrix\Main\Context;
class EventManager {
static function onProlog() {
if(Context::getCurrent()->getRequest()->isAdminSection() === false) {
\CJSCore::registerExt(
"bit.filedownloads",
[
"js" => "/local/js... | 3285297b1e65052e4fe5f1b1628cff6a | {
"intermediate": 0.5599153637886047,
"beginner": 0.2689403295516968,
"expert": 0.1711442619562149
} |
32,501 | class Turntable {
constructor(canvasId) {
this.canvas = document.getElementById(canvasId);
this.ctx = this.canvas.getContext('2d');
this.refreshButton = document.getElementById('update');
this.rotateButton = document.getElementById('rotate');
this.isSpinning = false;
this.spinSpe... | 22ff601042e5666b1084cac39d495ea0 | {
"intermediate": 0.2647414803504944,
"beginner": 0.5487921833992004,
"expert": 0.1864663064479828
} |
32,502 | Review this code:
pub fn bed2gtf(input: &String, isoforms: &String, output: &String) -> Result<(), Box<dyn Error>> {
msg();
simple_logger::init_with_level(Level::Info)?;
let start = Instant::now();
let isf = reader(isoforms).unwrap_or_else(|_| {
let message = format!("Isoforms file {} not fou... | 1e21caa82f6ad4161a8b054a9a4565a6 | {
"intermediate": 0.37107041478157043,
"beginner": 0.46634605526924133,
"expert": 0.16258352994918823
} |
32,503 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Random Spin Game</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f0... | 73431b249bd7b89ad664c3ee1f9ce996 | {
"intermediate": 0.273590087890625,
"beginner": 0.46949923038482666,
"expert": 0.2569107115268707
} |
32,504 | Write following statement in your own words: It discussed about general capital assets, accounting for donated assets, trade-ins, asset impairments, and investments in marketable securities. These general capital assets are differentiated from other captital assets accounted for under propriety and fiduciary funds. As ... | 4252b5bc2395db327b13546a0b3132a2 | {
"intermediate": 0.348888635635376,
"beginner": 0.2698012590408325,
"expert": 0.3813101649284363
} |
32,505 | Hi ,i want to solve this qusation in redhot write or use needed commands to accomplish the following: Each time the user
logs in, a detailed list of all files – in the /var global directory and its subs - that is being modified for the past 5 days
should be produced and saved in a log file in the backups/November dire... | 5769fc61f96892db5ea38c53f7180ca8 | {
"intermediate": 0.5131943225860596,
"beginner": 0.19666370749473572,
"expert": 0.2901419997215271
} |
32,506 | from matplotlib import pyplot as plt
import numpy as np
import math
import cv2
potential_points_num = 200
image_threshold = 100
def hough_line(edge):
theta = np.arange(0, 180, 1)
cos = np.cos(np.deg2rad(theta))
sin = np.sin(np.deg2rad(theta))
rho_range = round(math.sqrt(edge.shape[0]**2 + edge.shape[... | 48f39ca3f60e2b0c0eaae7c68a8815d4 | {
"intermediate": 0.43884220719337463,
"beginner": 0.3191887140274048,
"expert": 0.24196913838386536
} |
32,507 | Write a c++ program. User enters a string. A function prints the word ant another ine counts them | 1f45a483ffd96e148643b0e391a83903 | {
"intermediate": 0.21366065740585327,
"beginner": 0.6183148622512817,
"expert": 0.16802455484867096
} |
32,508 | use streamlit and sqlqlchemy to make web app for an education center and add more specific information for students and make page for data add and anther for search and one for editing or delete data | 1bfa6a992a4da35dd654ff1de9d37c62 | {
"intermediate": 0.8128916025161743,
"beginner": 0.045006800442934036,
"expert": 0.14210158586502075
} |
32,509 | from matplotlib import pyplot as plt
import numpy as np
import math
import cv2
potential_points_num = 200
image_threshold = 100
def hough_line(edge):
theta = np.arange(0, 180, 1)
cos = np.cos(np.deg2rad(theta))
sin = np.sin(np.deg2rad(theta))
rho_range = round(math.sqrt(edge.shape[0]**2 + edge.shape[... | 9593745d97b6b1e9f2bf9943143edea3 | {
"intermediate": 0.43884220719337463,
"beginner": 0.3191887140274048,
"expert": 0.24196913838386536
} |
32,510 | how to highlight attribute of block reference c++? | 19966f8429b8ea65c6c38ae273f8f1d4 | {
"intermediate": 0.3910307288169861,
"beginner": 0.277824342250824,
"expert": 0.33114486932754517
} |
32,511 | binary tree searcg algith for ds18b20 in C language | d725502c40cc4c255033331fbae96d88 | {
"intermediate": 0.17268307507038116,
"beginner": 0.19287951290607452,
"expert": 0.6344373226165771
} |
32,512 | Write code that takes two pil images (already opened) and then it concatantes them into one where the first image is on the top half and the second image is on the bottom half then you ask a yes or no question, the filename is gonna be either 1 or 0 depending on the answer. | 02009ba09c553dd44c7e6e1f4a6cfe4a | {
"intermediate": 0.3605926036834717,
"beginner": 0.19505365192890167,
"expert": 0.44435378909111023
} |
32,513 | from matplotlib import pyplot as plt
import numpy as np
import math
import cv2
potential_points_num = 200
image_threshold = 0
import numpy as np
import math
def rgb2gray(rgb):
return np.dot(rgb[..., :3], [0.299, 0.587, 0.114]).astype(np.uint8)
def fast_hough_line(img, angle_step=1, lines_are_white=True, value... | cb4f421b5b31f9f73636a5617c61f144 | {
"intermediate": 0.31805333495140076,
"beginner": 0.3897414207458496,
"expert": 0.29220521450042725
} |
32,514 | from matplotlib import pyplot as plt
import numpy as np
import math
import cv2
potential_points_num = 200
image_threshold = 0
import numpy as np
import math
def fast_hough_line(img, angle_step=1, lines_are_white=True, value_threshold=5):
"""
Hough line using vectorized numpy operations.
May take more me... | 0bf6c2644b382e145ba03d261150b196 | {
"intermediate": 0.2958414852619171,
"beginner": 0.4432579576969147,
"expert": 0.2609005868434906
} |
32,515 | Optimize python code | 844b5f5af636952ad9923a78f662a6ee | {
"intermediate": 0.18916307389736176,
"beginner": 0.3037698566913605,
"expert": 0.5070670247077942
} |
32,516 | from matplotlib import pyplot as plt
import numpy as np
import math
import cv2
potential_points_num = 200
image_threshold = 0
import numpy as np
import math
def fast_hough_line(img, angle_step=1, lines_are_white=True, value_threshold=5):
"""
Hough line using vectorized numpy operations.
May take more me... | 992433ee005b0312a3aa8b950ca1ee33 | {
"intermediate": 0.40628084540367126,
"beginner": 0.367410808801651,
"expert": 0.22630833089351654
} |
32,517 | Push your commits to your remote repository branch. | 039f4c9af783fac792a944ebe6318b5b | {
"intermediate": 0.36974474787712097,
"beginner": 0.23793497681617737,
"expert": 0.39232027530670166
} |
32,518 | The following code is not working as intented, even though an error should be raised when the content vector is null it skips it you know why? for _ in range(RETRY_COUNT):
try:
doc["content_vector"] = embeddings_engine.embed_query(doc["content"] )
brea... | 94aece54001adfd9d9cdc95439e730e1 | {
"intermediate": 0.5597975254058838,
"beginner": 0.19019627571105957,
"expert": 0.25000616908073425
} |
32,519 | build one intensive malaysia lottery software | 52326385f6a6b1896bb391370ce05af0 | {
"intermediate": 0.19885969161987305,
"beginner": 0.1769503504037857,
"expert": 0.6241899728775024
} |
32,520 | Write a c++ program. User enters a string. A function prints the words and another one counts them. Use c-strings | 8cddc177d9275a58530e8f3908612341 | {
"intermediate": 0.3108764886856079,
"beginner": 0.48562338948249817,
"expert": 0.2035001963376999
} |
32,521 | from matplotlib import pyplot as plt
import numpy as np
import math
import cv2
potential_points_num = 200
image_threshold = 0
import numpy as np
import math
def hough_line(img, angle_step=1, lines_are_white=True, value_threshold=5):
"""
Hough line using vectorized numpy operations.
May take more memory,... | 1b98bbcc17e53e0af056ccf479f544d1 | {
"intermediate": 0.28391751646995544,
"beginner": 0.44599148631095886,
"expert": 0.2700909376144409
} |
32,522 | Write a c++ program. User enters a string. A function prints the words and another one counts them. The length of the string is unknown. Use c-strings (char arrays) | 656d2c832b483dac684866aa774b9a77 | {
"intermediate": 0.29284924268722534,
"beginner": 0.4862426519393921,
"expert": 0.220908060669899
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.