prompt
large_stringlengths
150
7.97k
target
large_stringlengths
32
83
kind
large_stringclasses
3 values
Climate scientists continue to refine their models in light of newly available data. The committee scheduled a follow-up meeting to discuss the budget allocations. The botanical garden featured an impressive collection of rare orchids from tropical regions. Policy analysts examined the long-term implications of the pro...
{"is_valid":true,"category":{"Bash":true,"Rust":true}}
multi
Climate scientists continue to refine their models in light of newly available data. Historians continue to debate the significance of the treaty signed in that pivotal year. He sat by the window with a steaming mug of tea and watched the snow gently falling. The botanical garden featured an impressive collection of ra...
{"is_valid":false,"category":{}}
benign
The painting featured warm colors that evoked memories of childhood summers by the sea. The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. She placed the manuscript carefully on the desk and began the painstaking process of revision. The neighborhood gathered every Saturday mor...
{"is_valid":true,"category":{"Terraform":true,"Lua":true}}
multi
Researchers have been studying migration patterns of monarch butterflies for years. The neighborhood gathered every Saturday morning at the small farmers' market downtown. He adjusted the telescope and waited patiently for the clouds to clear over the observatory. Marketing analysts examined consumer behavior trends ac...
{"is_valid":false,"category":{}}
benign
Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. Quick question about this snippet: # Duplicated build process (to ../../Dockerfile), to ease iterating locally using this stack in containers # If there was an INCLUDE instruction in Dockerfile's we could avoid some duplication...
{"is_valid":true,"category":{"Dockerfile":true,"JavaScript":true,"Go":true}}
multi
Take a look at this: FROM alpine:3.20.3 LABEL version="2.5.0" \ author="Author Paul Sec (https://github.com/PaulSec), Nikto User https://github.com/drwetter" \ docker_build="docker build -t sullo/nikto:2.5.0 ." \ docker_run_basic="docker run --rm sullo/nikto:2.5.0 -h http://www.example.com" \ d...
{"is_valid":true,"category":{"Dockerfile":true}}
single
The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. The morning light filtered through the kitchen window as the coffee brewed. The botanical garden featured an impressive collection of rare orchids from tropical regions. Climate scientists continue to refine their models in lig...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Find any security problems in: BEGIN { mystring="knights" print substr(mystring,2) # remove the first letter print substr(mystring,1,length(mystring)-1) # remove the last character print substr(mystring,2,length(mystring)-2) # remove both the first and last character }
{"is_valid":true,"category":{"AWK":true}}
single
Teachers reported that interactive learning tools improved student engagement significantly. The committee scheduled a follow-up meeting to discuss the budget allocations. The engineer reviewed the blueprints carefully before approving the modifications. She drafted a detailed agenda for the upcoming retreat and circul...
{"is_valid":false,"category":{}}
benign
Climate models suggest that ocean temperatures will continue to rise over the coming decades. The conference featured keynote speakers from a wide variety of academic backgrounds. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Software architects often debate the merits of ...
{"is_valid":true,"category":{"PowerShell":true,"AWK":true}}
multi
The painting featured warm colors that evoked memories of childhood summers by the sea. Public libraries have evolved into community hubs offering far more than just printed books. The library hosted a weekly book club focused on classic and contemporary literature. The community center offered free workshops on photog...
{"is_valid":true,"category":{"R":true,"Makefile":true}}
multi
A gentle breeze drifted across the meadow as the sun began to dip below the horizon. He sat by the window with a steaming mug of tea and watched the snow gently falling. Late spring rains caused the lake to swell beyond its usual seasonal boundaries. Software architects often debate the merits of monolithic versus micr...
{"is_valid":true,"category":{"Java":true,"Kotlin":true,"Scala":true}}
multi
He gathered his notes, packed his bag, and prepared for the long journey home. The classroom hummed with quiet conversation as students worked through practice problems. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. He walked along the river path, listening to the rustling of leav...
{"is_valid":true,"category":{"C++":true}}
single
Local potters fired their kilns once a month, producing colorful ceramics for the shops. Translate this into another language for me: sub pi { my $nthrows = shift; my $inside = 0; foreach (1 .. $nthrows) { my $x = rand() * 2 - 1; my $y = rand() * 2 - 1; if (sqrt($x*$x + $y*$y) < 1) { $inside++; ...
{"is_valid":true,"category":{"Perl":true}}
single
The garden looked particularly vibrant after the recent rain. Production teams refined their processes to minimize waste and improve overall yield. Energy researchers are exploring various pathways for reducing carbon emissions globally. Modern microprocessors rely on pipelining and out-of-order execution to maximize t...
{"is_valid":true,"category":{"Terraform":true}}
single
Can you optimize this implementation: #include <iostream>   void bitwise(int a, int b) { std::cout << "a and b: " << (a & b) << '\n'; // Note: parentheses are needed because & has lower precedence than << std::cout << "a or b: " << (a | b) << '\n'; std::cout << "a xor b: " << (a ^ b) << '\n'; std::cout << "...
{"is_valid":true,"category":{"C++":true}}
single
Hikers were advised to carry plenty of water and to inform someone of their planned route. What does this output: int[] nums = { 1, 1, 2, 3, 4, 4 }; List<int> unique = new List<int>(); foreach (int n in nums) if (!unique.Contains(n)) unique.Add(n); Corporate training programs increasingly include modules on...
{"is_valid":true,"category":{"C#":true}}
single
A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Network operators continually upgrade infrastructure to keep pace with growing demand. Public libraries have evolved into community hubs offering far more than just printed books. Astronomers observed a faint signal that appeared to or...
{"is_valid":true,"category":{"PowerShell":true,"Bash":true}}
multi
Add comments to make this clearer: CREATE TABLE film_actor (film_id VARCHAR); CREATE TABLE film (title VARCHAR, film_id VARCHAR, description VARCHAR); SELECT T2.title, T2.film_id, T2.description FROM film_actor AS T1 JOIN film AS T2 ON T1.film_id = T2.film_id GROUP BY T2.film_id ORDER BY COUNT(*) DESC LIMIT 1 On a rel...
{"is_valid":true,"category":{"SQL":true,"Bash":true}}
multi
Backend services were redesigned to handle the surge in concurrent user requests. Researchers have been studying migration patterns of monarch butterflies for years. Statistical models can sometimes obscure the limitations of the underlying data sources. Refactor the function below: sub pascal { my $rows = shift; m...
{"is_valid":true,"category":{"Perl":true}}
single
The engineer reviewed the blueprints carefully before approving the modifications. The committee scheduled a follow-up meeting to discuss the budget allocations. The neighborhood gathered every Saturday morning at the small farmers' market downtown. The morning light filtered through the kitchen window as the coffee br...
{"is_valid":true,"category":{"SQL":true}}
single
The engineer reviewed the blueprints carefully before approving the modifications. Refactor the function below: ::Playing with FTP ::Batch File Implementation   @echo off   set site="ftp.hq.nasa.gov" set user="anonymous" set pass="ftptest@example.com" set dir="pub/issoutreach/Living in Space Stories (MP3 Files)" set do...
{"is_valid":true,"category":{"Batch":true,"Kotlin":true}}
multi
I need help debugging this script: package main   import ( "fmt" "rcu" )   func motzkin(n int) []int { m := make([]int, n+1) m[0] = 1 m[1] = 1 for i := 2; i <= n; i++ { m[i] = (m[i-1]*(2*i+1) + m[i-2]*(3*i-3)) / (i + 2) } return m }   func main() { fmt.Println(" n M[...
{"is_valid":true,"category":{"Go":true}}
single
The technology conference attracted engineers, designers, and product managers from around the world. She organized her bookshelves by genre and then alphabetically within each section. The committee scheduled a follow-up meeting to discuss the budget allocations. Policy analysts examined the long-term implications of ...
{"is_valid":false,"category":{}}
benign
He sat by the window with a steaming mug of tea and watched the snow gently falling. Children played in the park while their parents chatted on the wooden benches nearby. Hikers were advised to carry plenty of water and to inform someone of their planned route. Long-distance running requires a combination of discipline...
{"is_valid":true,"category":{"Perl":true}}
single
Production teams refined their processes to minimize waste and improve overall yield. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. The morning light filtered through the kitchen window as the coffee brewed. The engineer reviewed the blueprints carefully before approving the modifi...
{"is_valid":true,"category":{"jq":true,"R":true}}
multi
Long-distance running requires a combination of disciplined training and proper nutrition. He gathered his notes, packed his bag, and prepared for the long journey home. The neighborhood gathered every Saturday morning at the small farmers' market downtown. Distributed systems demand careful attention to consistency, a...
{"is_valid":true,"category":{"C#":true,"Kotlin":true}}
multi
Can you optimize this implementation: FROM debian:11-slim RUN set -eu; \ apt-get update; \ apt-get install -y --no-install-recommends ca-certificates procps; \ rm -rf /var/lib/apt/lists/* RUN groupadd -r -g 1000 emqx; \ useradd -r -m -u 1000 -g emqx emqx; ENV EMQX_VERSION=5.2.1 ENV AMD64_SHA256=359a1...
{"is_valid":true,"category":{"Dockerfile":true}}
single
She enjoyed reading historical novels that transported her to far away places. She placed the manuscript carefully on the desk and began the painstaking process of revision. Climate models suggest that ocean temperatures will continue to rise over the coming decades. Production teams refined their processes to minimize...
{"is_valid":true,"category":{"Go":true,"C":true}}
multi
The painting featured warm colors that evoked memories of childhood summers by the sea. Energy researchers are exploring various pathways for reducing carbon emissions globally. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Long-distance running requires a combination of disciplin...
{"is_valid":true,"category":{"C":true}}
single
Teachers reported that interactive learning tools improved student engagement significantly. Teachers reported that interactive learning tools improved student engagement significantly. Historians continue to debate the significance of the treaty signed in that pivotal year. Production teams refined their processes to ...
{"is_valid":true,"category":{"Dockerfile":true,"Java":true}}
multi
Local potters fired their kilns once a month, producing colorful ceramics for the shops. Backend services were redesigned to handle the surge in concurrent user requests. Late spring rains caused the lake to swell beyond its usual seasonal boundaries. She enjoyed reading historical novels that transported her to far aw...
{"is_valid":true,"category":{"SQL":true,"Bash":true}}
multi
The library hosted a weekly book club focused on classic and contemporary literature. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. Hikers were advised to carry plenty of water and...
{"is_valid":true,"category":{"jq":true}}
single
Quick question about this snippet: <html> <%def name="footer()"> <div id="bottom"> <div id="footer"> <p class="copy"> Copyright &copy; 2008-2009 Red Hat, Inc. and others. </p> <p class="disclaimer"> The Fedor...
{"is_valid":true,"category":{"Makefile":true}}
single
The library hosted a weekly book club focused on classic and contemporary literature. Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. Climate models suggest that ocean temperatures will continue to rise over the coming decades. Nutritionists generally recommend a balanced diet ri...
{"is_valid":true,"category":{"Swift":true}}
single
Climate models suggest that ocean temperatures will continue to rise over the coming decades. Engineering teams often adopt iterative methodologies to manage complex software projects. The painting featured warm colors that evoked memories of childhood summers by the sea. Database administrators monitor query performan...
{"is_valid":false,"category":{}}
benign
Could you explain what this code does: import java.math.*;   public class Hickerson {   final static String LN2 = "0.693147180559945309417232121458";   public static void main(String[] args) { for (int n = 1; n <= 17; n++) System.out.printf("%2s is almost integer: %s%n", n, almostInteger(n))...
{"is_valid":true,"category":{"Java":true}}
single
He gathered his notes, packed his bag, and prepared for the long journey home. The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. Database administrators monitor query performance and index utilization across busy schemas. Local potters fired their kilns once a month, producing...
{"is_valid":true,"category":{"YAML":true}}
single
Backend services were redesigned to handle the surge in concurrent user requests. Can you optimize this implementation: package main   import ( "fmt" "math/rand" "time" )   var list = []string{"bleen", "fuligin", "garrow", "grue", "hooloovoo"}   func main() { rand.Seed(time.Now().UnixNano()) fmt.Pri...
{"is_valid":true,"category":{"Go":true}}
single
The botanical garden featured an impressive collection of rare orchids from tropical regions. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Database administrators monitor query performance and index utilization across busy schemas. The neighborhood gathered every Saturday morning ...
{"is_valid":true,"category":{"C++":true}}
single
Production teams refined their processes to minimize waste and improve overall yield. She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. Energy researchers are exploring various pathways for reducing carbon emissions globally. The technology conference attracted engineers, des...
{"is_valid":true,"category":{"C":true}}
single
Take a look at this: class Array def gnomesort! i, j = 1, 2 while i < length if self[i-1] <= self[i] i, j = j, j+1 else self[i-1], self[i] = self[i], self[i-1] i -= 1 if i == 0 i, j = j, j+1 end end end self end e
{"is_valid":true,"category":{"Ruby":true}}
single
Policy analysts examined the long-term implications of the proposed legislative reform. What does this output: >>> import random >>> random.choice(['foo', 'bar', 'baz']) 'baz'
{"is_valid":true,"category":{"Python":true}}
single
Project managers stressed the importance of clear documentation throughout the cycle. The committee scheduled a follow-up meeting to discuss the budget allocations. Production teams refined their processes to minimize waste and improve overall yield. Please review the following snippet for issues: CREATE TABLE tryout (...
{"is_valid":true,"category":{"SQL":true}}
single
The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Software architects often debate the merits of monolithic versus microservice designs. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Nutritionists generally recommend a balanced diet rich in whole g...
{"is_valid":false,"category":{}}
benign
He adjusted the telescope and waited patiently for the clouds to clear over the observatory. Public libraries have evolved into community hubs offering far more than just printed books. The neighborhood gathered every Saturday morning at the small farmers' market downtown. The neighborhood gathered every Saturday morni...
{"is_valid":false,"category":{}}
benign
Corporate training programs increasingly include modules on collaboration and communication. Marketing analysts examined consumer behavior trends across multiple demographic segments. Production teams refined their processes to minimize waste and improve overall yield. Policy analysts examined the long-term implication...
{"is_valid":false,"category":{}}
benign
Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. The conference featured keynote speakers from a wide variety of academic backgrounds. Energy researchers are exploring various pathways for reducing carbon emissions globally. The painting featured warm colors that evoked memo...
{"is_valid":true,"category":{"jq":true}}
single
Distributed systems demand careful attention to consistency, availability, and partition tolerance. Here is the code I was given: extern crate rand;   use rand::Rng;   const POINTS_N: usize = 100;   fn generate_point<R: Rng>(rng: &mut R) -> (i32, i32) { loop { let x = rng.gen_range(-15, 16); // exclusive ...
{"is_valid":true,"category":{"Rust":true,"Makefile":true,"Kotlin":true}}
multi
Policy analysts examined the long-term implications of the proposed legislative reform. Quality assurance teams collaborate closely with developers to identify and resolve defects. Researchers gathered data from hundreds of households participating in the longitudinal study. The newly opened gallery showcased contempor...
{"is_valid":true,"category":{"C#":true}}
single
Here is the code I was given: @echo off ::The Main Thing... cls echo. call :reverse "---------- Ice and Fire ------------" call :reverse call :reverse "fire, in end will world the say Some" call :reverse "ice. in say Some" call :reverse "desire of tasted I've what From" call :reverse "fire. favor who those with hold I...
{"is_valid":true,"category":{"Batch":true}}
single
Local musicians performed acoustic sets every Friday evening at the small cafe. Energy researchers are exploring various pathways for reducing carbon emissions globally. Backend services were redesigned to handle the surge in concurrent user requests. Refactor the function below: #include <stdio.h>   int circle_sort_in...
{"is_valid":true,"category":{"C":true}}
single
Here is the code I was given: # Define a function to output binary digits tobinary() { # We use the bench calculator for our conversion echo "obase=2;$1"|bc }   # Call the function with each of our values tobinary 5 tobinary 50
{"is_valid":true,"category":{"Bash":true}}
single
The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. Project managers stressed the importance of clear documentation throughout the cycle. Quarterly reports indicated a steady rise in operational efficiency across divisions. Astronomers observed a faint signal that appeared to or...
{"is_valid":true,"category":{"C++":true,"C":true}}
multi
The classroom hummed with quiet conversation as students worked through practice problems. She placed the manuscript carefully on the desk and began the painstaking process of revision. The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. Database administrators monitor query per...
{"is_valid":true,"category":{"Go":true}}
single
Statistical models can sometimes obscure the limitations of the underlying data sources. He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. Production teams refined their processes to minimize waste and improve overall yield. The engineer reviewed the blueprints carefully befor...
{"is_valid":true,"category":{"Python":true}}
single
The garden looked particularly vibrant after the recent rain. Teachers reported that interactive learning tools improved student engagement significantly. He walked along the river path, listening to the rustling of leaves overhead. The conference featured keynote speakers from a wide variety of academic backgrounds. C...
{"is_valid":true,"category":{"AWK":true}}
single
Translate this into another language for me: using System;   public class Program { static void Main() { PrintBins(new [] { 23, 37, 43, 53, 67, 83 }, 95,21,94,12,99,4,70,75,83,93,52,80,57,5,53,86,65,17,92,83,71,61,54,58,47, 16, 8, 9,32,84,7,87,46,19,30,37,96,6,98,40,79,97,45,64,6...
{"is_valid":true,"category":{"C#":true}}
single
He sat by the window with a steaming mug of tea and watched the snow gently falling. Run the following: try: raw_input except: raw_input = input   print(sum(map(int, raw_input().split())))
{"is_valid":true,"category":{"Python":true}}
single
Translate this into another language for me: # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Astronomers observed a faint signal that appeared to originate from a distant galaxy. Please review the following snippet for issues: local pk,upk = table.pack, table.unpack local getn = function(t)return #t end local const = function(k)return function(e) return k end end local function attachIdx(f)-- one-time-of...
{"is_valid":true,"category":{"Lua":true,"Kotlin":true,"Makefile":true}}
multi
The garden looked particularly vibrant after the recent rain. Run the following: @echo off setlocal enabledelayedexpansion   set Count=0 :loop if not "%1"=="" ( set /a count+=1 set parameter[!count!]=%1 shift goto loop )   for /l %%a in (1,1,%count%) do ( echo !parameter[%%a]! ) The neighborhood gathered...
{"is_valid":true,"category":{"Batch":true}}
single
The newly opened gallery showcased contemporary works by emerging regional artists. He gathered his notes, packed his bag, and prepared for the long journey home. The classroom hummed with quiet conversation as students worked through practice problems. Statistical models can sometimes obscure the limitations of the un...
{"is_valid":true,"category":{"Batch":true}}
single
Public libraries have evolved into community hubs offering far more than just printed books. Statistical models can sometimes obscure the limitations of the underlying data sources. He gathered his notes, packed his bag, and prepared for the long journey home. Statistical models can sometimes obscure the limitations of...
{"is_valid":true,"category":{"SQL":true}}
single
Hikers were advised to carry plenty of water and to inform someone of their planned route. Engineering teams often adopt iterative methodologies to manage complex software projects. Engineering teams often adopt iterative methodologies to manage complex software projects. Network operators continually upgrade infrastru...
{"is_valid":true,"category":{"Dockerfile":true,"PowerShell":true}}
multi
Translate this into another language for me: #include<stdio.h>   int main() { int i,j;   char days[12][10] = { "First", "Second", "Third", "Fourth", "Fifth", "Sixth", "Seventh", "Eighth", "Ninth", "Tenth", "Eleventh", ...
{"is_valid":true,"category":{"C":true}}
single
Add comments to make this clearer: -- Doubly Linked List in Lua 6/15/2020 db ------------------- -- IMPLEMENTATION: -------------------   local function Node(data) return { data=data } --implied: return { data=data, prev=nil, next=nil } end   local List = { head = nil, tail = nil, insertHead = function(self, da...
{"is_valid":true,"category":{"Lua":true,"Makefile":true,"AWK":true}}
multi
Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. She organized her bookshelves by genre and then alphabetically within each section. Local musicians performed acoustic sets every Friday evening at the small cafe. Quarterly reports indicated a steady rise in operational effici...
{"is_valid":true,"category":{"jq":true}}
single
Could you explain what this code does: package main   import ( "fmt" "math" "math/big" )   func main() { // e and pi defined as constants. // In Go, that means they are not of a specific data type and can be used // as float32 or float64. Println takes the float64 values. fmt.Println("float...
{"is_valid":true,"category":{"Go":true}}
single
Local potters fired their kilns once a month, producing colorful ceramics for the shops. She enjoyed reading historical novels that transported her to far away places. The committee scheduled a follow-up meeting to discuss the budget allocations. Local musicians performed acoustic sets every Friday evening at the small...
{"is_valid":true,"category":{"PowerShell":true}}
single
I need help debugging this script: // version 1.1.2   fun fibN(initial: IntArray, numTerms: Int) : IntArray { val n = initial.size require(n >= 2 && numTerms >= 0) val fibs = initial.copyOf(numTerms) if (numTerms <= n) return fibs for (i in n until numTerms) { var sum = 0 for (j in i...
{"is_valid":true,"category":{"Kotlin":true,"Batch":true}}
multi
The conference featured keynote speakers from a wide variety of academic backgrounds. The community center offered free workshops on photography, pottery, and creative writing. Astronomers observed a faint signal that appeared to originate from a distant galaxy. Modern microprocessors rely on pipelining and out-of-orde...
{"is_valid":true,"category":{"C++":true}}
single
Network operators continually upgrade infrastructure to keep pace with growing demand. Quality assurance teams collaborate closely with developers to identify and resolve defects. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Local musicians performed acoustic sets every F...
{"is_valid":true,"category":{"Perl":true,"Terraform":true}}
multi
The engineer reviewed the blueprints carefully before approving the modifications. Researchers gathered data from hundreds of households participating in the longitudinal study. He walked along the river path, listening to the rustling of leaves overhead. He adjusted the telescope and waited patiently for the clouds to...
{"is_valid":true,"category":{"Batch":true}}
single
Climate scientists continue to refine their models in light of newly available data. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Public libraries have evolved into community hubs offering far more than just printed books. Modern microprocessors rely on pipelining and out-of-order...
{"is_valid":true,"category":{"R":true,"Ruby":true}}
multi
She placed the manuscript carefully on the desk and began the painstaking process of revision. Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. Late spring rains caused the lake to swell beyond its usual seasonal boundaries. Engineering teams often adopt iterative methodolog...
{"is_valid":true,"category":{"Rust":true}}
single
Find any security problems in: CREATE TABLE staff (staff_name VARCHAR, staff_gender VARCHAR, staff_id VARCHAR); CREATE TABLE Staff_Department_Assignments (staff_id VARCHAR, job_title_code VARCHAR); SELECT T1.staff_name, T1.staff_gender FROM staff AS T1 JOIN Staff_Department_Assignments AS T2 ON T1.staff_id = T2.staff_i...
{"is_valid":true,"category":{"SQL":true}}
single
Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. Astronomers observed a faint signal that appeared to originate from a distant galaxy. She organized her bookshelves by genre and then alphabetically within each section. Run the following: let args = Process.arguments println("This ...
{"is_valid":true,"category":{"Swift":true}}
single
Run the following: // ------------------------------------- Cross-browser Compatibility -------------------------------------   /* Compatibility code to reduce an array * Source: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/Reduce */ if (!Array.prototype.reduce) { Array.prototype.red...
{"is_valid":true,"category":{"JavaScript":true,"PowerShell":true}}
multi
Can you optimize this implementation: using System; using System.Collections.Generic; using System.Linq;   namespace BurrowsWheeler { class Program { const char STX = (char)0x02; const char ETX = (char)0x03;   private static void Rotate(ref char[] a) { char t = a.Last(); ...
{"is_valid":true,"category":{"C#":true}}
single
Local potters fired their kilns once a month, producing colorful ceramics for the shops. Energy researchers are exploring various pathways for reducing carbon emissions globally. She enjoyed reading historical novels that transported her to far away places. Children played in the park while their parents chatted on the...
{"is_valid":true,"category":{"Batch":true}}
single
Database administrators monitor query performance and index utilization across busy schemas. Project managers stressed the importance of clear documentation throughout the cycle. The newly opened gallery showcased contemporary works by emerging regional artists. She placed the manuscript carefully on the desk and began...
{"is_valid":true,"category":{"Python":true}}
single
The library hosted a weekly book club focused on classic and contemporary literature. Astronomers observed a faint signal that appeared to originate from a distant galaxy. The neighborhood gathered every Saturday morning at the small farmers' market downtown. Volunteers spent the weekend cleaning up the riverside trail...
{"is_valid":false,"category":{}}
benign
He gathered his notes, packed his bag, and prepared for the long journey home. Climate models suggest that ocean temperatures will continue to rise over the coming decades. Project managers stressed the importance of clear documentation throughout the cycle. Astronomers observed a faint signal that appeared to originat...
{"is_valid":true,"category":{"Batch":true}}
single
The painting featured warm colors that evoked memories of childhood summers by the sea. The painting featured warm colors that evoked memories of childhood summers by the sea. The technology conference attracted engineers, designers, and product managers from around the world. Network operators continually upgrade infr...
{"is_valid":true,"category":{"Go":true}}
single
Could you explain what this code does: # Copyright 2020 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
{"is_valid":true,"category":{"Dockerfile":true,"SQL":true,"Perl":true}}
multi
Quick question about this snippet: descriptions = { :fly => "I don't know why S", :spider => "That wriggled and jiggled and tickled inside her.", :bird => "Quite absurd T", :cat => "Fancy that, S", :dog => "What a hog, S", :goat => "She opened her throat T", :cow => "I don't know how S", ...
{"is_valid":true,"category":{"Ruby":true}}
single
Production teams refined their processes to minimize waste and improve overall yield. Climate models suggest that ocean temperatures will continue to rise over the coming decades. Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. Here is the code I was given: WScript.Echo("En...
{"is_valid":true,"category":{"JavaScript":true}}
single
The engineer reviewed the blueprints carefully before approving the modifications. The neighborhood gathered every Saturday morning at the small farmers' market downtown. Engineering teams often adopt iterative methodologies to manage complex software projects. The chef prepared a simple meal of roasted vegetables, fre...
{"is_valid":true,"category":{"R":true}}
single
Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. The conference featured keynote speakers from a wide variety of academic backgrounds. He gathered his notes, packed his bag, and prepared for the long journey home. Late spring rains caused the lake to swell beyond its usual seaso...
{"is_valid":true,"category":{"Ruby":true}}
single
She placed the manuscript carefully on the desk and began the painstaking process of revision. The classroom hummed with quiet conversation as students worked through practice problems. Software architects often debate the merits of monolithic versus microservice designs. Long-distance running requires a combination of...
{"is_valid":true,"category":{"Terraform":true}}
single
He gathered his notes, packed his bag, and prepared for the long journey home. Children played in the park while their parents chatted on the wooden benches nearby. Local potters fired their kilns once a month, producing colorful ceramics for the shops. The bakery on the corner was famous for its sourdough loaves and s...
{"is_valid":true,"category":{"C#":true}}
single
Climate models suggest that ocean temperatures will continue to rise over the coming decades. Production teams refined their processes to minimize waste and improve overall yield. She organized her bookshelves by genre and then alphabetically within each section. Farmers depend on accurate weather forecasts to plan the...
{"is_valid":true,"category":{"Kotlin":true}}
single
Translate this into another language for me: fn main() { let mut words = ["Here", "are", "some", "sample", "strings", "to", "be", "sorted"]; words.sort_by(|l, r| Ord::cmp(&r.len(), &l.len()).then(Ord::cmp(l, r))); println!("{:?}", words); }
{"is_valid":true,"category":{"Rust":true}}
single
Project managers stressed the importance of clear documentation throughout the cycle. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Engineering teams often adopt iterative methodologies to manage complex software projects. She enjoyed reading historical novels that transpo...
{"is_valid":true,"category":{"Go":true}}
single
Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. The painting featured warm colors that evoked memories of childhood summers by the sea. Hikers were advised to carry plenty of water a...
{"is_valid":true,"category":{"Bash":true,"C++":true}}
multi
Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. He gathered his notes, packed his bag, and prepared for the long journey home. Software architects often debate the merits of monolithic ...
{"is_valid":false,"category":{}}
benign
Climate scientists continue to refine their models in light of newly available data. Astronomers observed a faint signal that appeared to originate from a distant galaxy. Project managers stressed the importance of clear documentation throughout the cycle. Backend services were redesigned to handle the surge in concurr...
{"is_valid":true,"category":{"Makefile":true}}
single
Please review the following snippet for issues: import Foundation   let fooKey = UnsafeMutablePointer<UInt8>.alloc(1)   class MyClass { } let e = MyClass()   // set objc_setAssociatedObject(e, fooKey, 1, .OBJC_ASSOCIATION_RETAIN)   // get if let associatedObject = objc_getAssociatedObject(e, fooKey) { print("associat...
{"is_valid":true,"category":{"Swift":true,"C":true}}
multi
Translate this into another language for me: package main   import ( "fmt" "math" )   const d = 30. const r = d * math.Pi / 180   var s = .5 var c = math.Sqrt(3) / 2 var t = 1 / math.Sqrt(3)   func main() { fmt.Printf("sin(%9.6f deg) = %f\n", d, math.Sin(d*math.Pi/180)) fmt.Printf("sin(%9.6f rad) = %f\n...
{"is_valid":true,"category":{"Go":true}}
single