prompt
large_stringlengths
150
7.97k
target
large_stringlengths
32
83
kind
large_stringclasses
3 values
Production teams refined their processes to minimize waste and improve overall yield. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Public libraries have evolved into community hubs offering far more than just printed books. He adjusted the telescope and waited patiently f...
{"is_valid":true,"category":{"Kotlin":true}}
single
The community center offered free workshops on photography, pottery, and creative writing. He sat by the window with a steaming mug of tea and watched the snow gently falling. The newly opened gallery showcased contemporary works by emerging regional artists. Statistical models can sometimes obscure the limitations of ...
{"is_valid":false,"category":{}}
benign
Researchers have been studying migration patterns of monarch butterflies for years. She organized her bookshelves by genre and then alphabetically within each section. The engineer reviewed the blueprints carefully before approving the modifications. Children played in the park while their parents chatted on the wooden...
{"is_valid":true,"category":{"YAML":true}}
single
She organized her bookshelves by genre and then alphabetically within each section. Researchers gathered data from hundreds of households participating in the longitudinal study. The morning light filtered through the kitchen window as the coffee brewed. Marketing analysts examined consumer behavior trends across multi...
{"is_valid":true,"category":{"Bash":true}}
single
He gathered his notes, packed his bag, and prepared for the long journey home. Run the following: var Δ = 1 val π = 3.141592 val 你好 = "hello" Δ += 1 println(Δ)
{"is_valid":true,"category":{"Scala":true}}
single
Local potters fired their kilns once a month, producing colorful ceramics for the shops. Public libraries have evolved into community hubs offering far more than just printed books. Climate models suggest that ocean temperatures will continue to rise over the coming decades. Marketing analysts examined consumer behavio...
{"is_valid":false,"category":{}}
benign
He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. Local musicians performed acoustic sets every Friday evening at the small cafe. The technology conference attracted engineers, designers, and product managers from around the world. The botanical garden featured an impressive c...
{"is_valid":true,"category":{"Perl":true}}
single
Teachers reported that interactive learning tools improved student engagement significantly. Visitors strolled through the cobblestone streets, admiring the historic architecture. Local musicians performed acoustic sets every Friday evening at the small cafe. Volunteers spent the weekend cleaning up the riverside trail...
{"is_valid":true,"category":{"C#":true,"Batch":true}}
multi
Engineering teams often adopt iterative methodologies to manage complex software projects. Policy analysts examined the long-term implications of the proposed legislative reform. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Long-distance running requires a combination of discipli...
{"is_valid":true,"category":{"SQL":true}}
single
Database administrators monitor query performance and index utilization across busy schemas. What does this output: from sys import stdout if stdout.isatty(): print 'The output device is a teletype. Or something like a teletype.' else: print 'The output device isn\'t like a teletype.' A gentle breeze drifted ac...
{"is_valid":true,"category":{"Python":true}}
single
Run the following: module "mirror" { source = "../host" base_configuration = var.base_configuration name = "mirror" use_os_released_updates = var.use_os_released_updates additional_repos = var.additional_repos additional_packages = var.additional_packages swap_file_size...
{"is_valid":true,"category":{"Terraform":true}}
single
Software architects often debate the merits of monolithic versus microservice designs. Corporate training programs increasingly include modules on collaboration and communication. Production teams refined their processes to minimize waste and improve overall yield. Marketing analysts examined consumer behavior trends a...
{"is_valid":true,"category":{"Batch":true}}
single
The newly opened gallery showcased contemporary works by emerging regional artists. The neighborhood gathered every Saturday morning at the small farmers' market downtown. Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. Quality assurance teams collaborate closely with developer...
{"is_valid":true,"category":{"Terraform":true}}
single
I need help debugging this script: // [dependencies] // svg = "0.8.0"   const SQRT3_2: f64 = 0.86602540378444;   use svg::node::element::path::Data;   struct Cursor { x: f64, y: f64, angle: i32, }   impl Cursor { fn new(x: f64, y: f64) -> Cursor { Cursor { x: x, y: y, ...
{"is_valid":true,"category":{"Rust":true}}
single
Take a look at this: function Test-FileLock { Param ( [parameter(Mandatory=$true)] [string] $Path )   $outFile = New-Object System.IO.FileInfo $Path   if (-not(Test-Path -Path $Path)) { return $false }   try { $outStream = $outFile.Open([System...
{"is_valid":true,"category":{"PowerShell":true}}
single
The garden looked particularly vibrant after the recent rain. He walked along the river path, listening to the rustling of leaves overhead. Teachers reported that interactive learning tools improved student engagement significantly. Marketing analysts examined consumer behavior trends across multiple demographic segmen...
{"is_valid":true,"category":{"Scala":true,"Dockerfile":true,"Makefile":true}}
multi
The newly opened gallery showcased contemporary works by emerging regional artists. The garden looked particularly vibrant after the recent rain. Economic indicators showed a gradual recovery following the previous quarter's downturn. Long-distance running requires a combination of disciplined training and proper nutri...
{"is_valid":true,"category":{"Ruby":true}}
single
The conference featured keynote speakers from a wide variety of academic backgrounds. Visitors strolled through the cobblestone streets, admiring the historic architecture. Network operators continually upgrade infrastructure to keep pace with growing demand. Distributed systems demand careful attention to consistency,...
{"is_valid":true,"category":{"Perl":true}}
single
Quarterly reports indicated a steady rise in operational efficiency across divisions. She placed the manuscript carefully on the desk and began the painstaking process of revision. She placed the manuscript carefully on the desk and began the painstaking process of revision. Statistical models can sometimes obscure the...
{"is_valid":true,"category":{"Terraform":true}}
single
Researchers have been studying migration patterns of monarch butterflies for years. He walked along the river path, listening to the rustling of leaves overhead. He walked along the river path, listening to the rustling of leaves overhead. She organized her bookshelves by genre and then alphabetically within each secti...
{"is_valid":true,"category":{"Ruby":true}}
single
Please review the following snippet for issues: // Extend the Collection protocol. Any type that conforms to extension where its Element type conforms to Hashable will automatically gain this method. extension Collection where Element: Hashable {   /// Return a Mode of the function, or nil if none exist. func m...
{"is_valid":true,"category":{"Swift":true}}
single
He gathered his notes, packed his bag, and prepared for the long journey home. He sat by the window with a steaming mug of tea and watched the snow gently falling. Backend services were redesigned to handle the surge in concurrent user requests. Quick question about this snippet: import java.awt.* import java.awt.image...
{"is_valid":true,"category":{"Kotlin":true,"Python":true}}
multi
Run the following: #include <iostream> #include <sstream> #include <algorithm> #include <vector> #include <string>   std::string findLargestConcat ( std::vector< int > & mynumbers ) { std::vector<std::string> concatnumbers ; std::sort ( mynumbers.begin( ) , mynumbers.end( ) ) ; do {
{"is_valid":true,"category":{"C++":true}}
single
Public libraries have evolved into community hubs offering far more than just printed books. Long-distance running requires a combination of disciplined training and proper nutrition. The community center offered free workshops on photography, pottery, and creative writing. The garden looked particularly vibrant after ...
{"is_valid":true,"category":{"Go":true}}
single
Project managers stressed the importance of clear documentation throughout the cycle. The classroom hummed with quiet conversation as students worked through practice problems. Energy researchers are exploring various pathways for reducing carbon emissions globally. Software architects often debate the merits of monoli...
{"is_valid":true,"category":{"jq":true}}
single
Could you explain what this code does: using System; using System.Collections.Generic; using System.Linq;   class Program { static Tuple<int, int> DigitalRoot(long num) { int mp = 0; while (num > 9) { num = num.ToString().ToCharArray().Select(x => x - '0').Aggregate((a, b) =>...
{"is_valid":true,"category":{"C#":true,"JavaScript":true}}
multi
Take a look at this: # Copyright 2021 Google LLC # # 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 a...
{"is_valid":true,"category":{"YAML":true}}
single
Researchers have been studying migration patterns of monarch butterflies for years. He adjusted the telescope and waited patiently for the clouds to clear over the observatory. Local potters fired their kilns once a month, producing colorful ceramics for the shops. Quality assurance teams collaborate closely with devel...
{"is_valid":true,"category":{"Kotlin":true}}
single
Can you optimize this implementation: #include <stdio.h> #include <string.h> #include <stdlib.h>   #define TRUE 1 #define FALSE 0 #define STACK_SIZE 80 #define BUFFER_SIZE 100   typedef int bool;   typedef struct { char name; bool val; } var;   typedef struct { int top; bool els[STACK_SIZE]; } stack_o
{"is_valid":true,"category":{"C":true}}
single
Software architects often debate the merits of monolithic versus microservice designs. The classroom hummed with quiet conversation as students worked through practice problems. Climate models suggest that ocean temperatures will continue to rise over the coming decades. Local potters fired their kilns once a month, pr...
{"is_valid":true,"category":{"Go":true}}
single
Distributed systems demand careful attention to consistency, availability, and partition tolerance. Astronomers observed a faint signal that appeared to originate from a distant galaxy. Take a look at this: FROM golang:1.24.1 AS builder ADD ./ /root/whaler_build WORKDIR /root/whaler_build RUN export CGO_ENABLED=0 && go...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Can you optimize this implementation: // Version 1.2.31   import java.util.Random import kotlin.system.measureNanoTime   typealias Sorter = (IntArray) -> Unit   val rand = Random()   fun onesSeq(n: Int) = IntArray(n) { 1 }   fun ascendingSeq(n: Int) = shuffledSeq(n).sorted().toIntArray()   fun shuffledSeq(n: Int) = I
{"is_valid":true,"category":{"Kotlin":true}}
single
Researchers have been studying migration patterns of monarch butterflies for years. She organized her bookshelves by genre and then alphabetically within each section. Historians continue to debate the significance of the treaty signed in that pivotal year. Long-distance running requires a combination of disciplined tr...
{"is_valid":true,"category":{"AWK":true,"Swift":true}}
multi
Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. Project managers stressed the importance of clear documentation throughout the cycle. The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. She placed the manuscript carefully on the desk...
{"is_valid":true,"category":{"YAML":true}}
single
Production teams refined their processes to minimize waste and improve overall yield. The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Quality assurance teams collaborate closely with...
{"is_valid":true,"category":{"Terraform":true,"C":true,"Ruby":true}}
multi
Network operators continually upgrade infrastructure to keep pace with growing demand. The morning light filtered through the kitchen window as the coffee brewed. The conference featured keynote speakers from a wide variety of academic backgrounds. Volunteers spent the weekend cleaning up the riverside trail and planti...
{"is_valid":true,"category":{"Lua":true}}
single
Find any security problems in: # path "auth/token/lookup-self" { policy = "read" } path "cubbyhole/*" { policy = "write" } # Handle Endpoint server credentials path "secret/endpoint/*" { policy = "read" } # User Management API path "secret/keycloak" { policy = "read" } ##############################...
{"is_valid":true,"category":{"Terraform":true}}
single
He sat by the window with a steaming mug of tea and watched the snow gently falling. The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. He walked along the river path, listening to the rustling of leaves overhead. Network operators continually upgrade infrastructure to keep pac...
{"is_valid":true,"category":{"Go":true}}
single
I copied this from the docs: using System;   namespace RosettaCode {   class PascalsTriangle {   public static void CreateTriangle(int n) { if (n > 0) { for (int i = 0; i < n; i++) { int c = 1; Console.Write(" ".PadLeft(2 * (n -
{"is_valid":true,"category":{"C#":true}}
single
The committee scheduled a follow-up meeting to discuss the budget allocations. I need help debugging this script: $ echo 'fn main(){println!("Hello!")}' | rustc -;./rust_out
{"is_valid":true,"category":{"Rust":true}}
single
The neighborhood gathered every Saturday morning at the small farmers' market downtown. Public libraries have evolved into community hubs offering far more than just printed books. He walked along the river path, listening to the rustling of leaves overhead. Energy researchers are exploring various pathways for reducin...
{"is_valid":true,"category":{"Kotlin":true,"PowerShell":true}}
multi
Engineering teams often adopt iterative methodologies to manage complex software projects. The engineer reviewed the blueprints carefully before approving the modifications. He sat by the window with a steaming mug of tea and watched the snow gently falling. The morning light filtered through the kitchen window as the ...
{"is_valid":true,"category":{"Ruby":true}}
single
He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. Visitors strolled through the cobblestone streets, admiring the historic architecture. Refactor the function below: puts (1..5).map { |i| "*" * i } The engineer reviewed the blueprints carefully before approving the modificatio...
{"is_valid":true,"category":{"Ruby":true}}
single
Visitors strolled through the cobblestone streets, admiring the historic architecture. Hikers were advised to carry plenty of water and to inform someone of their planned route. Network operators continually upgrade infrastructure to keep pace with growing demand. He walked along the river path, listening to the rustli...
{"is_valid":true,"category":{"jq":true}}
single
Take a look at this: # 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 2.0 (the # "Lic...
{"is_valid":true,"category":{"Dockerfile":true}}
single
The library hosted a weekly book club focused on classic and contemporary literature. Historians continue to debate the significance of the treaty signed in that pivotal year. The garden looked particularly vibrant after the recent rain. Children played in the park while their parents chatted on the wooden benches near...
{"is_valid":true,"category":{"Rust":true,"Scala":true}}
multi
Could you explain what this code does: # # 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 ...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Translate this into another language for me: # 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,...
{"is_valid":true,"category":{"Dockerfile":true}}
single
What does this output: // version 1.1.2   fun gcd(a: Long, b: Long): Long = if (b == 0L) a else gcd(b, a % b)   infix fun Long.ldiv(denom: Long) = Frac(this, denom)   infix fun Int.idiv(denom: Int) = Frac(this.toLong(), denom.toLong())   fun Long.toFrac() = Frac(this, 1)   fun Int.toFrac() = Frac(this.toLong(), 1)   cl...
{"is_valid":true,"category":{"Kotlin":true}}
single
Economic indicators showed a gradual recovery following the previous quarter's downturn. Software architects often debate the merits of monolithic versus microservice designs. Late spring rains caused the lake to swell beyond its usual seasonal boundaries. Visitors strolled through the cobblestone streets, admiring the...
{"is_valid":true,"category":{"Dockerfile":true,"Batch":true}}
multi
Researchers have been studying migration patterns of monarch butterflies for years. She organized her bookshelves by genre and then alphabetically within each section. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Volunteers spent the weekend cleaning up the riverside trail and pl...
{"is_valid":true,"category":{"Batch":true}}
single
Researchers have been studying migration patterns of monarch butterflies for years. Children played in the park while their parents chatted on the wooden benches nearby. Children played in the park while their parents chatted on the wooden benches nearby. He gathered his notes, packed his bag, and prepared for the long...
{"is_valid":true,"category":{"Kotlin":true}}
single
Researchers gathered data from hundreds of households participating in the longitudinal study. Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. Quality assurance teams collaborate closely with developers to identify and resolve defects. Software architects often debate the m...
{"is_valid":true,"category":{"Java":true,"AWK":true}}
multi
Economic indicators showed a gradual recovery following the previous quarter's downturn. He adjusted the telescope and waited patiently for the clouds to clear over the observatory. The committee scheduled a follow-up meeting to discuss the budget allocations. The garden looked particularly vibrant after the recent rai...
{"is_valid":false,"category":{}}
benign
Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. Public libraries have evolved into community hubs offering far more than just printed books. Researchers have been studying migration patterns of monarch butterflies for years. Could you explain what this code does: julia> 0b10...
{"is_valid":true,"category":{"jq":true}}
single
The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Children played in the park while their parents chatted on the wooden benches nearby. Corporate training programs increasingly include modules on collaboration and communication. Teachers reported that interactive learning tools improve...
{"is_valid":true,"category":{"C":true}}
single
Economic indicators showed a gradual recovery following the previous quarter's downturn. Please review the following snippet for issues: @echo off for %%b in ( "" " /$$$$$$$ /$$$$$$ /$$$$$$$$ /$$$$$$ /$$ /$$" "| $$__ $$| $$__ $$|__ $$__/| $$__ $$| $$ | $$" "| $$ \ $$| $$ \ $$ | $$ | $$ \__/| $$ | $$...
{"is_valid":true,"category":{"Batch":true}}
single
I need help debugging this script: ''' The 24 Game Player   Given any four digits in the range 1 to 9, which may have repetitions, Using just the +, -, *, and / operators; and the possible use of brackets, (), show how to make an answer of 24.   An answer of "q" will quit the game. An answer of "!" will generat...
{"is_valid":true,"category":{"Python":true}}
single
Translate this into another language for me: // version 1.1.4-3   val r = Regex("[ ]+")   val table = "Add ALTer BAckup Bottom CAppend Change SCHANGE CInsert CLAst COMPress COpy " + "COUnt COVerlay CURsor DELete CDelete Down DUPlicate Xedit EXPand EXTract Find " + "NFind NFINDUp NFUp CFind FINdup FUp FO...
{"is_valid":true,"category":{"Kotlin":true,"Terraform":true,"C++":true}}
multi
She organized her bookshelves by genre and then alphabetically within each section. Long-distance running requires a combination of disciplined training and proper nutrition. The committee scheduled a follow-up meeting to discuss the budget allocations. He adjusted the telescope and waited patiently for the clouds to c...
{"is_valid":true,"category":{"Scala":true}}
single
Please review the following snippet for issues: CREATE TABLE inst (country VARCHAR, instid VARCHAR); CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR); SELECT t1.country FROM inst AS t1 JOIN authorship AS t2 ON t1.instid = t2.instid JOIN papers AS t3 ON t2.paperid = t3.pap...
{"is_valid":true,"category":{"SQL":true}}
single
Please review the following snippet for issues: # syntax: GAWK -f ABBREVIATIONS_AUTOMATIC.AWK ABBREVIATIONS_AUTOMATIC.TXT { dow_arr[NR] = $0 } END { for (i=1; i<=NR; i++) { if (split(dow_arr[i],arr1,FS) != 7) { printf("NG %s\n",dow_arr[i]) continue } col_width = 0 for (j=1; j...
{"is_valid":true,"category":{"AWK":true}}
single
Climate models suggest that ocean temperatures will continue to rise over the coming decades. He adjusted the telescope and waited patiently for the clouds to clear over the observatory. Late spring rains caused the lake to swell beyond its usual seasonal boundaries. Travelers explored ancient ruins, marveling at the c...
{"is_valid":true,"category":{"Go":true,"jq":true}}
multi
Refactor the function below: from fractions import Fraction from math import ceil   class Fr(Fraction): def __repr__(self): return '%s/%s' % (self.numerator, self.denominator)   def ef(fr): ans = [] if fr >= 1: if fr.denominator == 1: return [[int(fr)], Fr(0, 1)]
{"is_valid":true,"category":{"Python":true}}
single
The conference featured keynote speakers from a wide variety of academic backgrounds. The neighborhood gathered every Saturday morning at the small farmers' market downtown. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Production teams refined their processes to minimize waste an...
{"is_valid":true,"category":{"AWK":true}}
single
She placed the manuscript carefully on the desk and began the painstaking process of revision. The painting featured warm colors that evoked memories of childhood summers by the sea.
{"is_valid":false,"category":{}}
benign
She placed the manuscript carefully on the desk and began the painstaking process of revision. Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. She enjoyed reading historical novels that transporte...
{"is_valid":true,"category":{"Scala":true}}
single
Run the following: package main   import "fmt"   func circleSort(a []int, lo, hi, swaps int) int { if lo == hi { return swaps } high, low := hi, lo mid := (hi - lo) / 2 for lo < hi { if a[lo] > a[hi] { a[lo], a[hi] = a[hi], a[lo] swaps++ } lo++...
{"is_valid":true,"category":{"Go":true}}
single
I need help debugging this script: BEGIN { XSize=59; YSize=21; MinIm=-1.0; MaxIm=1.0;MinRe=-2.0; MaxRe=1.0; StepX=(MaxRe-MinRe)/XSize; StepY=(MaxIm-MinIm)/YSize; for(y=0;y<YSize;y++) { Im=MinIm+StepY*y; for(x=0;x<XSize;x++) { Re=MinRe+StepX*x; Zr=Re; Zi=Im; for(n=0;n<30;n++) ...
{"is_valid":true,"category":{"AWK":true}}
single
The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Climate models suggest that ocean temperatures will continue to rise over the coming decades. Find any security problems in: using System; using System.Security.Cryptography;   private static int GetRandomInt() { int result = 0; var...
{"is_valid":true,"category":{"C#":true}}
single
Quarterly reports indicated a steady rise in operational efficiency across divisions. The committee scheduled a follow-up meeting to discuss the budget allocations. Marketing analysts examined consumer behavior trends across multiple demographic segments. Visitors strolled through the cobblestone streets, admiring the ...
{"is_valid":true,"category":{"JavaScript":true}}
single
Software architects often debate the merits of monolithic versus microservice designs. Climate models suggest that ocean temperatures will continue to rise over the coming decades. Marketing analysts examined consumer behavior trends across multiple demographic segments. Production teams refined their processes to mini...
{"is_valid":true,"category":{"Kotlin":true}}
single
The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. Database administrators monitor query performance and index utilization across busy schemas. Local musicians performed acoustic sets every Fri...
{"is_valid":true,"category":{"Java":true}}
single
A gentle breeze drifted across the meadow as the sun began to dip below the horizon. She placed the manuscript carefully on the desk and began the painstaking process of revision. Statistical models can sometimes obscure the limitations of the underlying data sources. Volunteers spent the weekend cleaning up the rivers...
{"is_valid":true,"category":{"Perl":true,"C++":true}}
multi
Here is the code I was given: function rangeExtraction(list) { var len = list.length; var out = []; var i, j;   for (i = 0; i < len; i = j + 1) { // beginning of range or single out.push(list[i]);   // find end of range for (var j = i + 1; j < len && list[j] == list[j-1] + 1; j++); j--;   ...
{"is_valid":true,"category":{"JavaScript":true,"Rust":true}}
multi
Quality assurance teams collaborate closely with developers to identify and resolve defects. Engineering teams often adopt iterative methodologies to manage complex software projects. Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. Researchers have been studying migration pa...
{"is_valid":true,"category":{"Dockerfile":true,"Java":true,"Python":true}}
multi
The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. Local musicians performed acoustic sets every Friday evening at the small cafe.
{"is_valid":false,"category":{}}
benign
The botanical garden featured an impressive collection of rare orchids from tropical regions. The classroom hummed with quiet conversation as students worked through practice problems. Please review the following snippet for issues: public static boolean prime(long a){ if(a == 2){ return true; }else if(a <=...
{"is_valid":true,"category":{"Java":true,"Rust":true,"Lua":true}}
multi
Teachers reported that interactive learning tools improved student engagement significantly. Statistical models can sometimes obscure the limitations of the underlying data sources. Children played in the park while their parents chatted on the wooden benches nearby. Teachers reported that interactive learning tools im...
{"is_valid":true,"category":{"Go":true}}
single
Historians continue to debate the significance of the treaty signed in that pivotal year. The committee scheduled a follow-up meeting to discuss the budget allocations. Visitors strolled through the cobblestone streets, admiring the historic architecture. Public libraries have evolved into community hubs offering far m...
{"is_valid":true,"category":{"Java":true,"Perl":true}}
multi
Long-distance running requires a combination of disciplined training and proper nutrition. He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. What does this output: echo "hello socket world" | nc localhost 256 Policy analysts examined the long-term implications of the proposed ...
{"is_valid":true,"category":{"Bash":true}}
single
Energy researchers are exploring various pathways for reducing carbon emissions globally. Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. The garden looked particularly vibrant after the recent rain. The community center offered free workshops on photography, pottery, and creat...
{"is_valid":true,"category":{"SQL":true}}
single
What does this output: package main   import ( "fmt" "strconv" "time" )   func isPalindrome2(n uint64) bool { x := uint64(0) if (n & 1) == 0 { return n == 0 } for x < n { x = (x << 1) | (n & 1) n >>= 1 } return n == x || n == (x>>1) }   func reverse3(n uint64)...
{"is_valid":true,"category":{"Go":true}}
single
Economic indicators showed a gradual recovery following the previous quarter's downturn. The conference featured keynote speakers from a wide variety of academic backgrounds. The neighborhood gathered every Saturday morning at the small farmers' market downtown. Historians continue to debate the significance of the tre...
{"is_valid":true,"category":{"Bash":true}}
single
Long-distance running requires a combination of disciplined training and proper nutrition. Marketing analysts examined consumer behavior trends across multiple demographic segments. Economic indicators showed a gradual recovery following the previous quarter's downturn. He sat by the window with a steaming mug of tea a...
{"is_valid":true,"category":{"Ruby":true}}
single
Run the following: sub ev # Evaluates an arithmetic expression like "(1+3)*7" and returns # its value. {my $exp = shift; # Delete all meaningless characters. (Scientific notation, # infinity, and not-a-number aren't supported.) $exp =~ tr {0-9.+-/*()} {}cd; return ev_ast(astize($exp));}   {my $balanced_paren_...
{"is_valid":true,"category":{"Perl":true}}
single
Take a look at this: using System; public class CirclesOfGivenRadiusThroughTwoPoints { public static void Main() { double[][] values = new double[][] { new [] { 0.1234, 0.9876, 0.8765, 0.2345, 2 }, new [] { 0.0, 2.0, 0.0, 0.0, 1 }, new [] { 0.1234, 0.9...
{"is_valid":true,"category":{"C#":true,"Scala":true,"Java":true}}
multi
Children played in the park while their parents chatted on the wooden benches nearby. Volunteers spent the weekend cleaning up the riverside trail and planting new saplings.
{"is_valid":false,"category":{}}
benign
I need help debugging this script: using OpenTK; using OpenTK.Graphics; namespace OpenGLTest { class Program { static void Main(string[] args) { //Create the OpenGL window GameWindow window = new GameWindow(640, 480, GraphicsMode.Default, "OpenGL Example");   ...
{"is_valid":true,"category":{"C#":true}}
single
Long-distance running requires a combination of disciplined training and proper nutrition. Children played in the park while their parents chatted on the wooden benches nearby. Marketing analysts examined consumer behavior trends across multiple demographic segments. The technology conference attracted engineers, desig...
{"is_valid":true,"category":{"Rust":true}}
single
Find any security problems in: # StatefulSet to run the actual Consul server cluster. apiVersion: v1 kind: ConfigMap metadata: name: consul-server-config labels: app: consul data: extra-from-values.json: "{\"acl_master_token\": \"2a8073a8-5c91-3d2c-871a-bbbeb030d1f6\",\"acl_datacenter\":\"dc1\",\"acl_default_...
{"is_valid":true,"category":{"YAML":true}}
single
A gentle breeze drifted across the meadow as the sun began to dip below the horizon. The community center offered free workshops on photography, pottery, and creative writing. Public libraries have evolved into community hubs offering far more than just printed books. Add comments to make this clearer: apiVersion: v1 k...
{"is_valid":true,"category":{"YAML":true}}
single
Marketing analysts examined consumer behavior trends across multiple demographic segments. Energy researchers are exploring various pathways for reducing carbon emissions globally. The neighborhood gathered every Saturday morning at the small farmers' market downtown. Climate scientists continue to refine their models ...
{"is_valid":true,"category":{"SQL":true}}
single
Historians continue to debate the significance of the treaty signed in that pivotal year. Public libraries have evolved into community hubs offering far more than just printed books. Quality assurance teams collaborate closely with developers to identify and resolve defects. Climate scientists continue to refine their ...
{"is_valid":true,"category":{"Swift":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. The newly opened gallery showcased contemporary works by emerging regional artists. Corporate training programs increasingly include modules ...
{"is_valid":true,"category":{"Rust":true}}
single
Engineering teams often adopt iterative methodologies to manage complex software projects. Database administrators monitor query performance and index utilization across busy schemas. Late spring rains caused the lake to swell beyond its usual seasonal boundaries. He sat by the window with a steaming mug of tea and wat...
{"is_valid":false,"category":{}}
benign
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. The technology conference attracted engineers, designers, and product managers from around the world. He gathered his notes, packed his bag, and...
{"is_valid":false,"category":{}}
benign
The garden looked particularly vibrant after the recent rain. Astronomers observed a faint signal that appeared to originate from a distant galaxy. 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 par...
{"is_valid":false,"category":{}}
benign
Corporate training programs increasingly include modules on collaboration and communication. The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. Find any security problems in: import java.io.*;   public class StripLineComments{ public static void main( String[] args ){ if( ...
{"is_valid":true,"category":{"Java":true,"Batch":true}}
multi
He gathered his notes, packed his bag, and prepared for the long journey home. She placed the manuscript carefully on the desk and began the painstaking process of revision. Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. The garden looked particularly vibrant after the recent ...
{"is_valid":true,"category":{"PowerShell":true,"Ruby":true}}
multi