prompt
large_stringlengths
150
7.97k
target
large_stringlengths
32
83
kind
large_stringclasses
3 values
The committee scheduled a follow-up meeting to discuss the budget allocations. Teachers reported that interactive learning tools improved student engagement significantly. Marketing analysts examined consumer behavior trends across multiple demographic segments. Modern microprocessors rely on pipelining and out-of-orde...
{"is_valid":true,"category":{"Java":true}}
single
Policy analysts examined the long-term implications of the proposed legislative reform. Refactor the function below: export LC_ALL=C < /dev/random tr -cd '0-9' | fold -w 4 | jq -Mnr -f program.jq
{"is_valid":true,"category":{"jq":true}}
single
Find any security problems in: function invmod { typeset -i a=$1 n=$2 if (( n < 0 )); then (( n = -n )); fi if (( a < 0 )); then (( a = n - (-a) % n )); fi   typeset -i t=0 nt=1 r=n nr q tmp (( nr = a % n )) while (( nr )); do (( q = r/nr )) (( tmp = nt )) (( nt = t - q*nt )) (( t = tmp )) ...
{"is_valid":true,"category":{"Bash":true,"C":true}}
multi
Software architects often debate the merits of monolithic versus microservice designs. Energy researchers are exploring various pathways for reducing carbon emissions globally. Policy analysts examined the long-term implications of the proposed legislative reform. Energy researchers are exploring various pathways for r...
{"is_valid":true,"category":{"PowerShell":true}}
single
I copied this from the docs: $file = @' Given$a$text$file$of$many$lines,$where$fields$within$a$line$ are$delineated$by$a$single$'dollar'$character,$write$a$program that$aligns$each$column$of$fields$by$ensuring$that$words$in$each$ column$are$separated$by$at$least$one$space. Further,$allow$for$each$word$in$a$column$to$b...
{"is_valid":true,"category":{"PowerShell":true,"jq":true}}
multi
Late spring rains caused the lake to swell beyond its usual seasonal boundaries. 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 botanical garden featured an impressive collection of rare...
{"is_valid":true,"category":{"Makefile":true}}
single
The morning light filtered through the kitchen window as the coffee brewed. Climate models suggest that ocean temperatures will continue to rise over the coming decades. Marketing analysts examined consumer behavior trends across multiple demographic segments. Climate models suggest that ocean temperatures will continu...
{"is_valid":true,"category":{"PowerShell":true}}
single
Quarterly reports indicated a steady rise in operational efficiency across divisions. Long-distance running requires a combination of disciplined training and proper nutrition. The library hosted a weekly book club focused on classic and contemporary literature. Farmers depend on accurate weather forecasts to plan thei...
{"is_valid":false,"category":{}}
benign
Researchers gathered data from hundreds of households participating in the longitudinal study. She organized her bookshelves by genre and then alphabetically within each section. Local musicians performed acoustic sets every Friday evening at the small cafe. Find any security problems in: public class Accumulator /...
{"is_valid":true,"category":{"Java":true}}
single
Astronomers observed a faint signal that appeared to originate from a distant galaxy. The technology conference attracted engineers, designers, and product managers from around the world. The morning light filtered through the kitchen window as the coffee brewed. Researchers gathered data from hundreds of households pa...
{"is_valid":true,"category":{"Rust":true,"C":true}}
multi
She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. Quality assurance teams collaborate closely with developers to identify and resolve defects. Take a look at this: var beer = 99; while (beer > 0) { var verse = [ beer + " bottles of beer on the wall,", beer + " bottl...
{"is_valid":true,"category":{"JavaScript":true}}
single
Add comments to make this clearer: using System;   public static class Angles { public static void Main() => Print(-2, -1, 0, 1, 2, 6.2831853, 16, 57.2957795, 359, 6399, 1_000_000);   public static void Print(params double[] angles) { string[] names = { "Degrees", "Gradians", "Mils", "Radians" }; ...
{"is_valid":true,"category":{"C#":true,"R":true}}
multi
Hikers were advised to carry plenty of water and to inform someone of their planned route. Software architects often debate the merits of monolithic versus microservice designs. He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. She placed the manuscript carefully on the desk a...
{"is_valid":true,"category":{"C++":true}}
single
Corporate training programs increasingly include modules on collaboration and communication. Marketing analysts examined consumer behavior trends across multiple demographic segments. Researchers gathered data from hundreds of households participating in the longitudinal study. A gentle breeze drifted across the meadow...
{"is_valid":true,"category":{"Kotlin":true}}
single
Marketing analysts examined consumer behavior trends across multiple demographic segments. Local potters fired their kilns once a month, producing colorful ceramics for the shops. She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. Statistical models can sometimes obscure the l...
{"is_valid":true,"category":{"Rust":true,"Go":true}}
multi
Corporate training programs increasingly include modules on collaboration and communication. Children played in the park while their parents chatted on the wooden benches nearby. Project managers stressed the importance of clear documentation throughout the cycle. Engineering teams often adopt iterative methodologies t...
{"is_valid":true,"category":{"JavaScript":true}}
single
Historians continue to debate the significance of the treaty signed in that pivotal year. Find any security problems in: #!/usr/bin/awk -f { c = atan2(0,-1)/(12*60*60); x=0.0; y=0.0; for (i=1; i<=NF; i++) { split($i,a,":"); p = (a[1]*3600+a[2]*60+a[3])*c; x += sin(p); y += cos(p); } p = ...
{"is_valid":true,"category":{"AWK":true}}
single
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. Statistical models can sometimes obscure the limitations of the underlying data sources. Network operators continually upgrade infrastructure to keep...
{"is_valid":true,"category":{"Ruby":true}}
single
Please review the following snippet for issues: public class LowerAscii {   public static void main(String[] args) { StringBuilder sb = new StringBuilder(26); for (char ch = 'a'; ch <= 'z'; ch++) sb.append(ch); System.out.printf("lower ascii: %s, length: %s", sb, sb.length()); ...
{"is_valid":true,"category":{"Java":true}}
single
Network operators continually upgrade infrastructure to keep pace with growing demand. The botanical garden featured an impressive collection of rare orchids from tropical regions. Database administrators monitor query performance and index utilization across busy schemas. Climate scientists continue to refine their mo...
{"is_valid":false,"category":{}}
benign
She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. The committee scheduled a follow-up meeting to discuss the budget allocations. Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. The newly opened gallery showcased contemporary works by ...
{"is_valid":true,"category":{"C#":true}}
single
Researchers gathered data from hundreds of households participating in the longitudinal study. Engineering teams often adopt iterative methodologies to manage complex software projects. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Project managers stressed the importance ...
{"is_valid":true,"category":{"Scala":true,"Rust":true}}
multi
Public libraries have evolved into community hubs offering far more than just printed books. The newly opened gallery showcased contemporary works by emerging regional artists. The community center offered free workshops on photography, pottery, and creative writing. Travelers explored ancient ruins, marveling at the c...
{"is_valid":true,"category":{"JavaScript":true,"Python":true}}
multi
The neighborhood gathered every Saturday morning at the small farmers' market downtown. She enjoyed reading historical novels that transported her to far away places. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Local musicians performed acoustic sets every Friday evening at the s...
{"is_valid":true,"category":{"JavaScript":true}}
single
Researchers gathered data from hundreds of households participating in the longitudinal study. Researchers gathered data from hundreds of households participating in the longitudinal study. Translate this into another language for me: cities = [ {"UK", "London"}, {"US", "New York"}, {"US", "Birmin...
{"is_valid":true,"category":{"C":true,"JavaScript":true}}
multi
Please review the following snippet for issues: using System.Collections; using System.Collections.Generic; using static System.Console; using static System.Math; using static System.Linq.Enumerable;   public class Solver { private static readonly (int dx, int dy)[] //other puzzle types elided hidat...
{"is_valid":true,"category":{"C#":true}}
single
Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. Researchers have been studying migration patterns of monarch butterflies for years. Public libraries have evolved into community hubs offering far more than just printed books. Distributed systems demand careful attention to consi...
{"is_valid":true,"category":{"Rust":true}}
single
Refactor the function below: from PIL import Image import colorsys import math   if __name__ == "__main__":   im = Image.new("RGB", (300,300)) radius = min(im.size)/2.0 cx, cy = im.size[0]/2, im.size[1]/2 pix = im.load()   for x in range(im.width): for y in range(im.height): rx =...
{"is_valid":true,"category":{"Python":true,"PowerShell":true}}
multi
Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. He adjusted the telescope and waited patiently for the clouds to clear over the observatory. Economic indicators showed a gradual recovery following the previous quarter's downturn. Travelers explored ancient ruins, marveling at the...
{"is_valid":true,"category":{"YAML":true,"AWK":true}}
multi
She organized her bookshelves by genre and then alphabetically within each section. Add comments to make this clearer: func factors(n: Int) -> [Int] {   return filter(1...n) { n % $0 == 0 } }
{"is_valid":true,"category":{"Swift":true}}
single
The conference featured keynote speakers from a wide variety of academic backgrounds. Local potters fired their kilns once a month, producing colorful ceramics for the shops. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Modern microprocessors rely on pipelining and out-of-order e...
{"is_valid":true,"category":{"R":true,"Scala":true}}
multi
The painting featured warm colors that evoked memories of childhood summers by the sea. Climate scientists continue to refine their models in light of newly available data. Here is the code I was given: # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTIC...
{"is_valid":true,"category":{"Dockerfile":true}}
single
The engineer reviewed the blueprints carefully before approving the modifications. Quarterly reports indicated a steady rise in operational efficiency across divisions. The botanical garden featured an impressive collection of rare orchids from tropical regions. Astronomers observed a faint signal that appeared to orig...
{"is_valid":true,"category":{"C":true,"Dockerfile":true}}
multi
Quick question about this snippet: import scala.util.Try   object Menu extends App { val choice = menu(list)   def menu(menuList: Seq[String]): String = { if (menuList.isEmpty) "" else { val n = menuList.size   def getChoice: Try[Int] = { println("\n M E N U\n") menuList.zipWi
{"is_valid":true,"category":{"Scala":true}}
single
Policy analysts examined the long-term implications of the proposed legislative reform. 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. Network operators continually upgrade infrastructure to ke...
{"is_valid":true,"category":{"Lua":true}}
single
Late spring rains caused the lake to swell beyond its usual seasonal boundaries. Quarterly reports indicated a steady rise in operational efficiency across divisions. He sat by the window with a steaming mug of tea and watched the snow gently falling. The garden looked particularly vibrant after the recent rain. The ga...
{"is_valid":true,"category":{"YAML":true}}
single
Please review the following snippet for issues: APP_STL := gnustl_static APP_ABI := armeabi-v7a x86 mips arm64-v8a x86_64 mips64 APP_OPTIM := release APP_PLATFORM := android-8 APP_CPPFLAGS += -fexceptions -frtti NDK_TOOLCHAIN_VERSION := 4.8
{"is_valid":true,"category":{"Makefile":true}}
single
The technology conference attracted engineers, designers, and product managers from around the world. The painting featured warm colors that evoked memories of childhood summers by the sea.
{"is_valid":false,"category":{}}
benign
Long-distance running requires a combination of disciplined training and proper nutrition. Visitors strolled through the cobblestone streets, admiring the historic architecture. Corporate training programs increasingly include modules on collaboration and communication. Public libraries have evolved into community hubs...
{"is_valid":true,"category":{"Scala":true,"C++":true}}
multi
Economic indicators showed a gradual recovery following the previous quarter's downturn. She organized her bookshelves by genre and then alphabetically within each section. Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. The newly opened gallery showcased contemporary works ...
{"is_valid":true,"category":{"C#":true}}
single
Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. The garden looked particularly vibrant after the recent rain. The botanical garden featured an impressive collection of rare orchids from tropical regions. She drafted a detailed agenda for the upcoming retreat and circulated i...
{"is_valid":false,"category":{}}
benign
Project managers stressed the importance of clear documentation throughout the cycle. Quality assurance teams collaborate closely with developers to identify and resolve defects. The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. Could you explain what this code does: def pasca...
{"is_valid":true,"category":{"Ruby":true}}
single
Software architects often debate the merits of monolithic versus microservice designs. She organized her bookshelves by genre and then alphabetically within each section. He sat by the window with a steaming mug of tea and watched the snow gently falling. Add comments to make this clearer: using System; using System.Te...
{"is_valid":true,"category":{"C#":true}}
single
Please review the following snippet for issues: # syntax: GAWK -f WATER_COLLECTED_BETWEEN_TOWERS.AWK [-v debug={0|1}] BEGIN { wcbt("1,5,3,7,2") wcbt("5,3,7,2,6,4,5,9,1,2") wcbt("2,6,3,5,2,8,1,4,2,2,5,3,5,7,4,1") wcbt("5,5,5,5") wcbt("5,6,7,8") wcbt("8,7,7,6") wcbt("6,7,10,7,6") exit(0) }...
{"is_valid":true,"category":{"AWK":true}}
single
Run the following: function isLeapYear (y) return (y % 4 == 0 and y % 100 ~=0) or y % 400 == 0 end   function dayOfWeek (y, m, d) local t = os.time({year = y, month = m, day = d}) return os.date("%A", t) end   function lastWeekdays (wday, year) local monthLength, day = {31, 28, 31, 30, 31, 30, 31, 31, 3...
{"is_valid":true,"category":{"Lua":true,"Go":true}}
multi
Translate this into another language for me: import java.math.BigInteger   val SMALL_PRIMES = listOf( 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, ...
{"is_valid":true,"category":{"Kotlin":true}}
single
The conference featured keynote speakers from a wide variety of academic backgrounds. Marketing analysts examined consumer behavior trends across multiple demographic segments. Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. The chef prepared a simple meal of roasted vegeta...
{"is_valid":true,"category":{"Bash":true}}
single
Could you explain what this code does: resource "aws_s3_bucket" "working_storage" { bucket = "wellcomecollection-assets-workingstorage" acl = "private" lifecycle { prevent_destroy = true } lifecycle_rule { id = "transition_all_to_standard_ia" transition { days = 30 stor
{"is_valid":true,"category":{"Terraform":true}}
single
The newly opened gallery showcased contemporary works by emerging regional artists. Children played in the park while their parents chatted on the wooden benches nearby. Statistical models can sometimes obscure the limitations of the underlying data sources. The library hosted a weekly book club focused on classic and ...
{"is_valid":true,"category":{"C++":true}}
single
What does this output: function MaximumSubsequence(population) { var maxValue = 0; var subsequence = [];   for (var i = 0, len = population.length; i < len; i++) { for (var j = i; j <= len; j++) { var subsequence = population.slice(i, j); var value = sumValue
{"is_valid":true,"category":{"JavaScript":true}}
single
Local potters fired their kilns once a month, producing colorful ceramics for the shops. Local potters fired their kilns once a month, producing colorful ceramics for the shops. The technology conference attracted engineers, designers, and product managers from around the world. Climate models suggest that ocean temper...
{"is_valid":true,"category":{"Batch":true}}
single
Find any security problems in: use std::{ops, fmt};   #[derive(Copy, Clone, Debug)] enum Trit { True, Maybe, False, }   impl ops::Not for Trit { type Output = Self; fn not(self) -> Self { match self { Trit::True => Trit::False, Trit::Maybe => Trit::Maybe, ...
{"is_valid":true,"category":{"Rust":true}}
single
Production teams refined their processes to minimize waste and improve overall yield. Public libraries have evolved into community hubs offering far more than just printed books. He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. Teachers reported that interactive learning tool...
{"is_valid":true,"category":{"Swift":true,"SQL":true}}
multi
Visitors strolled through the cobblestone streets, admiring the historic architecture. Please review the following snippet for issues: rangeExpand <- function(text) { lst <- gsub("(\\d)-", "\\1:", unlist(strsplit(text, ","))) unlist(sapply(lst, function (x) eval(parse(text=x))), use.names=FALSE) }   rangeExpand("-6...
{"is_valid":true,"category":{"R":true}}
single
Quick question about this snippet: #include <stdlib.h> /* More "natural" way of ending the program: finish all work and return from main() */ int main(int argc, char **argv) { /* work work work */ ... return 0; /* the return value is the exit code. see below */ }   if(problem){ exit(exit_code); /* On u...
{"is_valid":true,"category":{"C":true,"C++":true}}
multi
Researchers gathered data from hundreds of households participating in the longitudinal study. Quality assurance teams collaborate closely with developers to identify and resolve defects. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Children played in the park while their parents...
{"is_valid":true,"category":{"YAML":true}}
single
Astronomers observed a faint signal that appeared to originate from a distant galaxy. The garden looked particularly vibrant after the recent rain. Policy analysts examined the long-term implications of the proposed legislative reform. Quality assurance teams collaborate closely with developers to identify and resolve ...
{"is_valid":false,"category":{}}
benign
Astronomers observed a faint signal that appeared to originate from a distant galaxy. He sat by the window with a steaming mug of tea and watched the snow gently falling. He sat by the window with a steaming mug of tea and watched the snow gently falling. The neighborhood gathered every Saturday morning at the small fa...
{"is_valid":false,"category":{}}
benign
The committee scheduled a follow-up meeting to discuss the budget allocations. Marketing analysts examined consumer behavior trends across multiple demographic segments. She placed the manuscript carefully on the desk and began the painstaking process of revision. Nutritionists generally recommend a balanced diet rich ...
{"is_valid":false,"category":{}}
benign
The committee scheduled a follow-up meeting to discuss the budget allocations. He sat by the window with a steaming mug of tea and watched the snow gently falling. Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. Statistical models can sometimes obscure the limitations of th...
{"is_valid":true,"category":{"C#":true}}
single
He walked along the river path, listening to the rustling of leaves overhead. Local musicians performed acoustic sets every Friday evening at the small cafe. He walked along the river path, listening to the rustling of leaves overhead. Late spring rains caused the lake to swell beyond its usual seasonal boundaries. He ...
{"is_valid":true,"category":{"Go":true,"Lua":true,"Batch":true}}
multi
What does this output: locals { days = [ "first", "second", "third", "fourth", "fifth", "sixth", "seventh", "eighth", "ninth", "tenth", "eleventh", "twelfth" ] gifts = [ "A partridge in a pear tree.", "Two turtle doves, and", "Three French hens,", "Four calling birds,", "Five go...
{"is_valid":true,"category":{"Terraform":true}}
single
Could you explain what this code does: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <arpa/inet.h> #include <err.h>   char response[] = "HTTP/1.1 200 OK\r\n" "Content-Type: text/html; charset=UTF-8\r\n\r\n" ...
{"is_valid":true,"category":{"C":true}}
single
The conference featured keynote speakers from a wide variety of academic backgrounds. Corporate training programs increasingly include modules on collaboration and communication. The morning light filtered through the kitchen window as the coffee brewed. Policy analysts examined the long-term implications of the propos...
{"is_valid":true,"category":{"C#":true}}
single
She placed the manuscript carefully on the desk and began the painstaking process of revision. The newly opened gallery showcased contemporary works by emerging regional artists. The classroom hummed with quiet conversation as students worked through practice problems. The conference featured keynote speakers from a wi...
{"is_valid":true,"category":{"Ruby":true}}
single
The committee scheduled a follow-up meeting to discuss the budget allocations. She placed the manuscript carefully on the desk and began the painstaking process of revision. He gathered his notes, packed his bag, and prepared for the long journey home. Database administrators monitor query performance and index utiliza...
{"is_valid":true,"category":{"Python":true}}
single
Long-distance running requires a combination of disciplined training and proper nutrition. Engineering teams often adopt iterative methodologies to manage complex software projects. Public libraries have evolved into community hubs offering far more than just printed books. Children played in the park while their paren...
{"is_valid":true,"category":{"YAML":true}}
single
Quick question about this snippet: provider "aws" { region = "${var.region}" } data "terraform_remote_state" "state" { backend = "s3" config { bucket = "${var.tf_state_bucket}" lock_table = "${var.tf_state_table}" region = "${var.region}" key = "${var.application}/${var.enviro
{"is_valid":true,"category":{"Terraform":true}}
single
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. Local potters fired their kilns once a month, producing colorful ceramics for the shops. The garden looked particularly vibrant after the...
{"is_valid":true,"category":{"Batch":true}}
single
Visitors strolled through the cobblestone streets, admiring the historic architecture. The neighborhood gathered every Saturday morning at the small farmers' market downtown. She enjoyed reading historical novels that transported her to far away places. The botanical garden featured an impressive collection of rare orc...
{"is_valid":true,"category":{"C":true,"C++":true}}
multi
Translate this into another language for me: ################################################################################################### resource "aws_lambda_function" "s3_sftp_bridge_lambda" { filename = "${var.lambda_function_package_path}" function_name = "${var.function_prefix}-${var.integra...
{"is_valid":true,"category":{"Terraform":true,"SQL":true}}
multi
The botanical garden featured an impressive collection of rare orchids from tropical regions. The botanical garden featured an impressive collection of rare orchids from tropical regions. Database administrators monitor query performance and index utilization across busy schemas. Local musicians performed acoustic sets...
{"is_valid":true,"category":{"YAML":true,"Bash":true}}
multi
The bakery on the corner was famous for its sourdough loaves and seasonal pastries. 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. Public libraries have evolved into community hubs offerin...
{"is_valid":true,"category":{"Java":true}}
single
Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. I copied this from the docs: # syntax: GAWK -f DYNAMIC_VARIABLE_NAMES.AWK # Variables created in GAWK's internal SYMTAB (symbol table) can only be accessed via SYMTAB[name] BEGIN { PROCINFO["sorted_in"] = "@ind_str_asc" sh...
{"is_valid":true,"category":{"AWK":true,"SQL":true}}
multi
Public libraries have evolved into community hubs offering far more than just printed books. Climate scientists continue to refine their models in light of newly available data. The garden looked particularly vibrant after the recent rain. The bakery on the corner was famous for its sourdough loaves and seasonal pastri...
{"is_valid":true,"category":{"Go":true}}
single
Database administrators monitor query performance and index utilization across busy schemas. He walked along the river path, listening to the rustling of leaves overhead. Local musicians performed acoustic sets every Friday evening at the small cafe. Network operators continually upgrade infrastructure to keep pace wit...
{"is_valid":true,"category":{"JavaScript":true}}
single
Engineering teams often adopt iterative methodologies to manage complex software projects. Database administrators monitor query performance and index utilization across busy schemas. The neighborhood gathered every Saturday morning at the small farmers' market downtown. Engineering teams often adopt iterative methodol...
{"is_valid":true,"category":{"Swift":true}}
single
Visitors strolled through the cobblestone streets, admiring the historic architecture. Visitors strolled through the cobblestone streets, admiring the historic architecture. He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. Researchers gathered data from hundreds of households...
{"is_valid":false,"category":{}}
benign
Local musicians performed acoustic sets every Friday evening at the small cafe. Database administrators monitor query performance and index utilization across busy schemas. Project managers stressed the importance of clear documentation throughout the cycle. He walked along the river path, listening to the rustling of ...
{"is_valid":true,"category":{"Terraform":true,"R":true}}
multi
Take a look at this: """A Maybe Monad. Requires Python >= 3.7 for type hints.""" from __future__ import annotations   from typing import Any from typing import Callable from typing import Generic from typing import Optional from typing import TypeVar from typing import Union     T = TypeVar("T")     class Maybe(Generic...
{"is_valid":true,"category":{"Python":true}}
single
Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. The morning light filtered through the kitchen window as the coffee brewed. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Could you explain what this code does: const myVar = 123; con...
{"is_valid":true,"category":{"JavaScript":true}}
single
He gathered his notes, packed his bag, and prepared for the long journey home. Historians continue to debate the significance of the treaty signed in that pivotal year. Network operators continually upgrade infrastructure to keep pace with growing demand. He sat by the window with a steaming mug of tea and watched the ...
{"is_valid":true,"category":{"jq":true,"C#":true}}
multi
Can you optimize this implementation: # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Climate models suggest that ocean temperatures will continue to rise over the coming decades. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Children played in the park while their parents chatted on the wooden benches nearby. Marketing analysts examined consumer behavior trends ac...
{"is_valid":true,"category":{"Swift":true}}
single
Here is the code I was given: import java.math.BigInteger;   class MersenneFactorCheck {   private final static BigInteger TWO = BigInteger.valueOf(2);   public static boolean isPrime(long n) { if (n == 2) return true; if ((n < 2) || ((n & 1) == 0)) return false; long maxFactor = (long)Mat...
{"is_valid":true,"category":{"Java":true}}
single
Quality assurance teams collaborate closely with developers to identify and resolve defects. The garden looked particularly vibrant after the recent rain. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Refactor the function below: object Binomial { def main(args: Array[S...
{"is_valid":true,"category":{"Scala":true}}
single
I need help debugging this script: # 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 in writing...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Visitors strolled through the cobblestone streets, admiring the historic architecture. He adjusted the telescope and waited patiently for the clouds to clear over the observatory. He walked along the river path, listening to the rustling of leaves overhead. The newly opened gallery showcased contemporary works by emerg...
{"is_valid":true,"category":{"C++":true}}
single
Here is the code I was given: module OperatingSystem require 'rbconfig' module_function def operating_system case RbConfig::CONFIG["host_os"] when /linux/i :linux when /cygwin|mswin|mingw|windows/i :windows when /darwin/i :mac when /solaris/i :solaris else
{"is_valid":true,"category":{"Ruby":true}}
single
She enjoyed reading historical novels that transported her to far away places. Run the following: BEGIN { for (elem in original) copied[elem] = original[elem] }
{"is_valid":true,"category":{"AWK":true}}
single
What does this output: from turtle import * import math speed(0) # 0 is the fastest speed. Otherwise, 1 (slow) to 10 (fast) hideturtle() # hide the default turtle   part_ratio = 2 * math.cos(math.radians(72)) side_ratio = 1 / (part_ratio + 2)   hide_turtles = True # show/hide turtles as they draw path_color = "...
{"is_valid":true,"category":{"Python":true}}
single
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. Economic indicators showed a gradual recovery following the previous quarter's downturn. Quality assurance teams collaborate closel...
{"is_valid":false,"category":{}}
benign
Take a look at this: using System;   namespace RosettaCode { class Program { static void Main(string[] args) { int[] a = { 1, 2, 3 }; int[] b = { 4, 5, 6 };   int[] c = new int[a.Length + b.Length]; a.CopyTo(c, 0); b.CopyTo(c, a.Length)...
{"is_valid":true,"category":{"C#":true,"Terraform":true}}
multi
Project managers stressed the importance of clear documentation throughout the cycle. Take a look at this: # input and output: {limits, count} where # .limits holds an array defining the limits, and # .count[$i] holds the count of bin $i, where bin[0] is the left-most bin def bin($x): (.limits | bsearch($x)) as...
{"is_valid":true,"category":{"jq":true,"AWK":true}}
multi
Visitors strolled through the cobblestone streets, admiring the historic architecture. Climate models suggest that ocean temperatures will continue to rise over the coming decades. She enjoyed reading historical novels that transported her to far away places. Long-distance running requires a combination of disciplined ...
{"is_valid":true,"category":{"Ruby":true}}
single
Policy analysts examined the long-term implications of the proposed legislative reform. Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. Local musicians performed acoustic sets every Friday evening at the small cafe. Translate this into another language for me: letter.frequency ...
{"is_valid":true,"category":{"R":true}}
single
Quality assurance teams collaborate closely with developers to identify and resolve defects. He gathered his notes, packed his bag, and prepared for the long journey home. She enjoyed reading historical novels that transported her to far away places. Statistical models can sometimes obscure the limitations of the under...
{"is_valid":true,"category":{"jq":true}}
single
The neighborhood gathered every Saturday morning at the small farmers' market downtown. Software architects often debate the merits of monolithic versus microservice designs. Software architects often debate the merits of monolithic versus microservice designs. She organized her bookshelves by genre and then alphabetic...
{"is_valid":true,"category":{"Perl":true,"Batch":true}}
multi
He adjusted the telescope and waited patiently for the clouds to clear over the observatory. She organized her bookshelves by genre and then alphabetically within each section. The garden looked particularly vibrant after the recent rain. Network operators continually upgrade infrastructure to keep pace with growing de...
{"is_valid":false,"category":{}}
benign
Database administrators monitor query performance and index utilization across busy schemas. Can you optimize this implementation: FROM 763104351884.dkr.ecr.us-east-1.amazonaws.com/pytorch-training:2.5.1-cpu-py311-ubuntu22.04-sagemaker RUN apt-get update \ && apt-get -y upgrade \ && apt-get install -y --no-ins...
{"is_valid":true,"category":{"Dockerfile":true}}
single