prompt
large_stringlengths
150
7.97k
target
large_stringlengths
32
83
kind
large_stringclasses
3 values
Statistical models can sometimes obscure the limitations of the underlying data sources. The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. Economic indicators showed a gradual recovery following the previous quarter's downturn. Climate scientists continue to refine their model...
{"is_valid":true,"category":{"AWK":true}}
single
Distributed systems demand careful attention to consistency, availability, and partition tolerance. The morning light filtered through the kitchen window as the coffee brewed. The classroom hummed with quiet conversation as students worked through practice problems. Energy researchers are exploring various pathways for...
{"is_valid":false,"category":{}}
benign
He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. Could you explain what this code does: # Copyright 2016 The Kubernetes Authors All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the L...
{"is_valid":true,"category":{"YAML":true}}
single
Statistical models can sometimes obscure the limitations of the underlying data sources. Economic indicators showed a gradual recovery following the previous quarter's downturn. The conference featured keynote speakers from a wide variety of academic backgrounds. Nutritionists generally recommend a balanced diet rich i...
{"is_valid":true,"category":{"Swift":true,"Terraform":true}}
multi
The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. Local potters fired their kilns once a month, producing colorful ceramics for the shops. 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 w...
{"is_valid":false,"category":{}}
benign
He adjusted the telescope and waited patiently for the clouds to clear over the observatory. Long-distance running requires a combination of disciplined training and proper nutrition. Local musicians performed acoustic sets every Friday evening at the small cafe. He sat by the window with a steaming mug of tea and watc...
{"is_valid":false,"category":{}}
benign
Quality assurance teams collaborate closely with developers to identify and resolve defects. She enjoyed reading historical novels that transported her to far away places. Policy analysts examined the long-term implications of the proposed legislative reform. Translate this into another language for me: ::Number Names ...
{"is_valid":true,"category":{"Batch":true}}
single
She placed the manuscript carefully on the desk and began the painstaking process of revision. Local potters fired their kilns once a month, producing colorful ceramics for the shops. He walked along the river path, listening to the rustling of leaves overhead. The library hosted a weekly book club focused on classic a...
{"is_valid":true,"category":{"Rust":true,"C++":true}}
multi
The painting featured warm colors that evoked memories of childhood summers by the sea. Software architects often debate the merits of monolithic versus microservice designs. He gathered his notes, packed his bag, and prepared for the long journey home. The committee scheduled a follow-up meeting to discuss the budget ...
{"is_valid":true,"category":{"Lua":true}}
single
Economic indicators showed a gradual recovery following the previous quarter's downturn. Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. Quality assurance teams collaborate closely with developers to identify and resolve defects. Teachers reported that interactive learning tool...
{"is_valid":true,"category":{"C#":true}}
single
Take a look at this: @echo off & setlocal enabledelayedexpansion   :: ROT13 obfuscator Michael Sanders - 2017 :: :: example: rot13.cmd Rire abgvpr cflpuvpf arire jva gur ybggrel?   :setup   set str=%* set buf=%str% set len=0   :getlength   if not defined buf goto :start set buf=%buf:~1% set /a len+=1 ...
{"is_valid":true,"category":{"Batch":true}}
single
The garden looked particularly vibrant after the recent rain. 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. She enjoyed reading historical novels that transported her to far away places. He wan...
{"is_valid":true,"category":{"Terraform":true}}
single
Could you explain what this code does: // Long multiplication per WP article referenced by task description. // That is, multiplicand is multiplied by single digits of multiplier // to form intermediate results. Intermediate results are accumulated // for the product. Used here is the abacus method mentioned by the /...
{"is_valid":true,"category":{"Go":true,"SQL":true}}
multi
Researchers have been studying migration patterns of monarch butterflies for years. Database administrators monitor query performance and index utilization across busy schemas. Quick question about this snippet: HOST=$(hostname) jq -n --arg hostname $(hostname) '[env.HOST, $hostname]' Quality assurance teams collaborat...
{"is_valid":true,"category":{"jq":true}}
single
I copied this from the docs: # # 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 # (t...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Project managers stressed the importance of clear documentation throughout the cycle. Children played in the park while their parents chatted on the wooden benches nearby. Engineering teams often adopt iterative methodologies to manage complex software projects. She placed the manuscript carefully on the desk and began...
{"is_valid":true,"category":{"jq":true}}
single
I need help debugging this script: // Title: Determine if a string is squeezable   public class StringSqueezable {   public static void main(String[] args) { String[] testStrings = new String[] { "", "\"If I were two-faced, would I be wearing this one?\" --- Abraham Lincol...
{"is_valid":true,"category":{"Java":true}}
single
The community center offered free workshops on photography, pottery, and creative writing. Project managers stressed the importance of clear documentation throughout the cycle. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. He gathered his notes, packed his bag, and prepared for th...
{"is_valid":true,"category":{"Java":true}}
single
Here is the code I was given: public class LawOfCosines {   public static void main(String[] args) { generateTriples(13); generateTriples60(10000); }   private static void generateTriples(int max) { for ( int coeff : new int[] {0, -1, 1} ) { int count = 0; Sys...
{"is_valid":true,"category":{"Java":true}}
single
Policy analysts examined the long-term implications of the proposed legislative reform. She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. He adjusted the telescope and waited patiently for the clouds to clear over the observatory. Climate models suggest that ocean temperature...
{"is_valid":true,"category":{"Swift":true}}
single
Production teams refined their processes to minimize waste and improve overall yield. Please review the following snippet for issues: items <- c(1,2,3,2,4,3,2) unique (items)
{"is_valid":true,"category":{"R":true}}
single
Hikers were advised to carry plenty of water and to inform someone of their planned route. She organized her bookshelves by genre and then alphabetically within each section. Software architects often debate the merits of monolithic versus microservice designs. Corporate training programs increasingly include modules o...
{"is_valid":true,"category":{"Java":true,"AWK":true}}
multi
The morning light filtered through the kitchen window as the coffee brewed. Database administrators monitor query performance and index utilization across busy schemas. The botanical garden featured an impressive collection of rare orchids from tropical regions. He adjusted the telescope and waited patiently for the cl...
{"is_valid":true,"category":{"Swift":true,"Dockerfile":true}}
multi
Software architects often debate the merits of monolithic versus microservice designs. Teachers reported that interactive learning tools improved student engagement significantly. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Project managers stressed the importance of clear docum...
{"is_valid":true,"category":{"Ruby":true}}
single
He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. I need help debugging this script: data "template_file" "aws_credentials" { template = <<EOF [default] aws_access_key_id=$${access_key_id} aws_secret_access_key=$${secret_access_key} EOF vars { access_key_id = "${a...
{"is_valid":true,"category":{"Terraform":true}}
single
She enjoyed reading historical novels that transported her to far away places. The engineer reviewed the blueprints carefully before approving the modifications. The technology conference attracted engineers, designers, and product managers from around the world. Database administrators monitor query performance and in...
{"is_valid":true,"category":{"Scala":true}}
single
Long-distance running requires a combination of disciplined training and proper nutrition. The morning light filtered through the kitchen window as the coffee brewed. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Nutritionists generally recommend a balanced diet rich in whole grain...
{"is_valid":false,"category":{}}
benign
Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. Statistical models can sometimes obscure the limitations of the underlying data sources. Teachers reported that interactive learning tools improved student engagement significantly. She placed the manuscript carefully on the d...
{"is_valid":false,"category":{}}
benign
Statistical models can sometimes obscure the limitations of the underlying data sources. The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. She organized her bookshelves by genre and then alphabetically within each section. He wandered through the old bookstore, occasionally pu...
{"is_valid":false,"category":{}}
benign
Teachers reported that interactive learning tools improved student engagement significantly. Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. Researchers gathered data from hundreds of h...
{"is_valid":true,"category":{"Scala":true}}
single
The newly opened gallery showcased contemporary works by emerging regional artists. The newly opened gallery showcased contemporary works by emerging regional artists. Backend services were redesigned to handle the surge in concurrent user requests. The classroom hummed with quiet conversation as students worked throug...
{"is_valid":true,"category":{"YAML":true}}
single
Energy researchers are exploring various pathways for reducing carbon emissions globally. Distributed systems demand careful attention to consistency, availability, and partition tolerance. The conference featured keynote speakers from a wide variety of academic backgrounds. What does this output: def countSubstring(su...
{"is_valid":true,"category":{"jq":true}}
single
Quick question about this snippet: using System; using System.Net; using System.Net.Sockets;   class Program { static void Main(string[] args) { try { TcpListener server = new TcpListener(IPAddress.Any, 12345); server.Start(); }   catch (SocketExcepti...
{"is_valid":true,"category":{"C#":true}}
single
Please review the following snippet for issues: package main   import ( "fmt" "image" "image/color" "image/draw" "image/png" "math" "math/rand" "os" "time" )   type r2 struct { x, y float64 }   type r2c struct { r2 c int // cluster number }   // kmpp implements K-means++,...
{"is_valid":true,"category":{"Go":true}}
single
Refactor the function below: #include <stdio.h>   int next_perm(int size, int * nums) { int *l, *k, tmp;   for (k = nums + size - 2; k >= nums && k[0] >= k[1]; k--) {}; if (k < nums) return 0;   for (l = nums + size - 1; *l <= *k; l--) {}; tmp = *k; *k = *l; *l = tmp;
{"is_valid":true,"category":{"C":true}}
single
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. She organized her bookshelves by genre and then alphabetically within each section. Volunteers spent the weekend cleaning up the riverside trail an...
{"is_valid":true,"category":{"Batch":true}}
single
The botanical garden featured an impressive collection of rare orchids from tropical regions. She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. Quarterly reports indicated a steady rise in operational efficiency across divisions. He gathered his notes, packed his bag, and pre...
{"is_valid":false,"category":{}}
benign
What does this output: apiVersion: apps/v1 kind: Deployment metadata: labels: app: score-app env: qa name: sotr-app namespace: mlops spec: replicas: 2 # Creating two PODs for our app selector: matchLabels: app: sotr-app template: metadata: labels: app: so
{"is_valid":true,"category":{"YAML":true}}
single
He walked along the river path, listening to the rustling of leaves overhead. Researchers gathered data from hundreds of households participating in the longitudinal study. Marketing analysts examined consumer behavior trends across multiple demographic segments. Production teams refined their processes to minimize was...
{"is_valid":true,"category":{"Batch":true}}
single
Corporate training programs increasingly include modules on collaboration and communication. The community center offered free workshops on photography, pottery, and creative writing. He adjusted the telescope and waited patiently for the clouds to clear over the observatory. The newly opened gallery showcased contempo...
{"is_valid":true,"category":{"Swift":true,"PowerShell":true}}
multi
Find any security problems in: __FILE__ := $(abspath $(lastword $(MAKEFILE_LIST))) MAKEFILE_D_URL := https://github.com/rduplain/Makefile.d.git MAKEFILE_D_REV := v1.1 # Use --ref instead of --tag below if untagged. ifeq ($(QWERTY_SH),) QWERTY_SH := curl -sSL qwerty.sh | sh -s - endif .Makefile.d/%.mk: .Make
{"is_valid":true,"category":{"Makefile":true}}
single
Climate models suggest that ocean temperatures will continue to rise over the coming decades. He walked along the river path, listening to the rustling of leaves overhead. Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. Researchers have been studying migration patterns of mo...
{"is_valid":true,"category":{"Java":true}}
single
Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. Refactor the function below: sub is_selfdesc { local $_ = shift; my @b = (0) x length; $b[$_]++ for my @a = split //; return "@a" eq "@b"; }   # check all numbers from 0 to 100k plus two 'big' ones for (0 .. 100000, 3211000...
{"is_valid":true,"category":{"Perl":true}}
single
She organized her bookshelves by genre and then alphabetically within each section. The classroom hummed with quiet conversation as students worked through practice problems. She organized her bookshelves by genre and then alphabetically within each section. Here is the code I was given: // version 1.1.2   import java....
{"is_valid":true,"category":{"Kotlin":true}}
single
Climate models suggest that ocean temperatures will continue to rise over the coming decades. She organized her bookshelves by genre and then alphabetically within each section.
{"is_valid":false,"category":{}}
benign
Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. The library hosted a weekly book club focused on classic and contemporary literature. Could you explain what this code does: # To take advantage of gojq's arbitrary-precision integer arithmetic: def power($b): . as $in | reduce...
{"is_valid":true,"category":{"jq":true}}
single
The newly opened gallery showcased contemporary works by emerging regional artists. Add comments to make this clearer: package main   import "fmt"   func main() { for i := 1; ; i++ { fmt.Print(i) if i == 10 { fmt.Println() break } fmt.Print(", ") } } Backe...
{"is_valid":true,"category":{"Go":true}}
single
Quarterly reports indicated a steady rise in operational efficiency across divisions. Take a look at this: @echo off setlocal enabledelayedexpansion mode con cols=103   echo Given$a$text$file$of$many$lines,$where$fields$within$a$line$ >file.txt echo are$delineated$by$a$single$'dollar'$character,$write$a$program! >>file...
{"is_valid":true,"category":{"Batch":true,"Go":true,"YAML":true}}
multi
I need help debugging this script: CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_num VARCHAR); CREATE TABLE enroll (class_code VARCHAR, stu_num VARCHAR, enroll_grade VARCHAR); SELECT T3.stu_fname FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.clas
{"is_valid":true,"category":{"SQL":true}}
single
Statistical models can sometimes obscure the limitations of the underlying data sources. 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. The conference featured keynote speakers ...
{"is_valid":true,"category":{"Batch":true,"jq":true}}
multi
The community center offered free workshops on photography, pottery, and creative writing. Policy analysts examined the long-term implications of the proposed legislative reform. Policy analysts examined the long-term implications of the proposed legislative reform. Software architects often debate the merits of monoli...
{"is_valid":true,"category":{"C":true}}
single
Take a look at this: ########################################### ## A thin wrapper around BUILD_EXECUTABLE ## Common flags for native tests are added. ########################################### LOCAL_CFLAGS += -DGTEST_OS_LINUX -DGTEST_HAS_STD_STRING LOCAL_C_INCLUDES += bionic \
{"is_valid":true,"category":{"Makefile":true}}
single
He adjusted the telescope and waited patiently for the clouds to clear over the observatory. Network operators continually upgrade infrastructure to keep pace with growing demand. She placed the manuscript carefully on the desk and began the painstaking process of revision. Network operators continually upgrade infrast...
{"is_valid":true,"category":{"C#":true}}
single
Add comments to make this clearer: import java.util.Arrays;   public class SpecialVariables {   public static void main(String[] args) {   //String-Array args contains the command line parameters passed to the program //Note that the "Arrays.toString()"-call is just used for pretty-printing ...
{"is_valid":true,"category":{"Java":true}}
single
Climate scientists continue to refine their models in light of newly available data. Network operators continually upgrade infrastructure to keep pace with growing demand. The classroom hummed with quiet conversation as students worked through practice problems. Production teams refined their processes to minimize wast...
{"is_valid":true,"category":{"PowerShell":true,"C#":true,"Lua":true}}
multi
He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. Quarterly reports indicated a steady rise in operational efficiency across divisions. Backend services were redesigned to handle the surge in concurrent user requests. She enjoyed reading historical novels that transported her ...
{"is_valid":true,"category":{"Kotlin":true}}
single
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. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Database administrators monitor query performance and index utilization...
{"is_valid":true,"category":{"Ruby":true,"Batch":true}}
multi
She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. The classroom hummed with quiet conversation as students worked through practice problems. He sat by the window with a steaming mug of tea and watched the snow gently falling. Local potters fired their kilns once a month, prod...
{"is_valid":true,"category":{"Rust":true,"Terraform":true}}
multi
I need help debugging this script: package kronecker;   /** * Uses the Kronecker product powers of two rectangular matrices * to generate fractals and tests it with three examples. */ public class ProductFractals { /** * Find the Kronecker product of the arguments. * @param a The first matrix to multiply. ...
{"is_valid":true,"category":{"Java":true}}
single
Can you optimize this implementation: if (Get-Process -Name "notepad" -ErrorAction SilentlyContinue) { Write-Warning -Message "notepad is already running." } else { Start-Process -FilePath C:\Windows\notepad.exe }
{"is_valid":true,"category":{"PowerShell":true}}
single
She placed the manuscript carefully on the desk and began the painstaking process of revision. Refactor the function below: func insertionSort<T:Comparable>(inout list:[T]) { for i in 1..<list.count { var j = i   while j > 0 && list[j - 1] > list[j] { swap(&list[j], &list[j - 1]) ...
{"is_valid":true,"category":{"Swift":true}}
single
Can you optimize this implementation: (() => { "use strict";   // ---------- PADOVAN N-STEP NUMBER SERIES -----------   // padovans :: Int -> [Int] const padovans = n => { // Padovan number series of step N const recurrence = ns => [ ns[0], ns.slice(1).concat( ...
{"is_valid":true,"category":{"JavaScript":true}}
single
Hikers were advised to carry plenty of water and to inform someone of their planned route. Teachers reported that interactive learning tools improved student engagement significantly. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Energy researchers are exploring various pathways fo...
{"is_valid":true,"category":{"Terraform":true,"Kotlin":true,"Batch":true}}
multi
The morning light filtered through the kitchen window as the coffee brewed. Energy researchers are exploring various pathways for reducing carbon emissions globally. He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. The library hosted a weekly book club focused on classic and ...
{"is_valid":true,"category":{"Bash":true,"JavaScript":true,"Ruby":true}}
multi
Public libraries have evolved into community hubs offering far more than just printed books. The garden looked particularly vibrant after the recent rain. Hikers were advised to carry plenty of water and to inform someone of their planned route. Researchers have been studying migration patterns of monarch butterflies f...
{"is_valid":true,"category":{"Makefile":true}}
single
Statistical models can sometimes obscure the limitations of the underlying data sources. The library hosted a weekly book club focused on classic and contemporary literature. Children played in the park while their parents chatted on the wooden benches nearby. Economic indicators showed a gradual recovery following the...
{"is_valid":false,"category":{}}
benign
Find any security problems in: #include <cassert> #include <cmath> #include <iomanip> #include <iostream> #include <limits> #include <numeric> #include <sstream> #include <vector>   template <typename scalar_type> class matrix { public: matrix(size_t rows, size_t columns) : rows_(rows), columns_(columns), e...
{"is_valid":true,"category":{"C++":true}}
single
Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. She enjoyed reading historical novels that transported her to far away places. Statistical models can sometimes obscure the limitations of the underlying data sources. Teachers reported that interactive learning tools improved stu...
{"is_valid":false,"category":{}}
benign
Quarterly reports indicated a steady rise in operational efficiency across divisions. Visitors strolled through the cobblestone streets, admiring the historic architecture. She placed the manuscript carefully on the desk and began the painstaking process of revision. He walked along the river path, listening to the rus...
{"is_valid":true,"category":{"Rust":true,"Kotlin":true}}
multi
Astronomers observed a faint signal that appeared to originate from a distant galaxy. The newly opened gallery showcased contemporary works by emerging regional artists. Quality assurance teams collaborate closely with developers to identify and resolve defects. The garden looked particularly vibrant after the recent r...
{"is_valid":false,"category":{}}
benign
The conference featured keynote speakers from a wide variety of academic backgrounds. The garden looked particularly vibrant after the recent rain. Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. He sat by the window with a steaming mug of tea and watched the snow gently falling....
{"is_valid":true,"category":{"YAML":true}}
single
The classroom hummed with quiet conversation as students worked through practice problems. Take a look at this: def preorder: if length == 0 then empty else .[0], (.[1]|preorder), (.[2]|preorder) end;   def inorder: if length == 0 then empty else (.[1]|inorder), .[0] , (.[2]|inorder) end;   def postorder: ...
{"is_valid":true,"category":{"jq":true}}
single
Find any security problems in: package main   import ( "fmt" "math" "math/cmplx" )   // a type to represent matrices type matrix struct { ele []complex128 cols int }   // conjugate transpose, implemented here as a method on the matrix type. func (m *matrix) conjTranspose() *matrix { r := &matri...
{"is_valid":true,"category":{"Go":true,"Rust":true,"Lua":true}}
multi
Late spring rains caused the lake to swell beyond its usual seasonal boundaries. Local potters fired their kilns once a month, producing colorful ceramics for the shops. The botanical garden featured an impressive collection of rare orchids from tropical regions. Energy researchers are exploring various pathways for re...
{"is_valid":true,"category":{"Swift":true}}
single
Children played in the park while their parents chatted on the wooden benches nearby. The painting featured warm colors that evoked memories of childhood summers by the sea. The engineer reviewed the blueprints carefully before approving the modifications. The neighborhood gathered every Saturday morning at the small f...
{"is_valid":true,"category":{"Go":true}}
single
She organized her bookshelves by genre and then alphabetically within each section. Quality assurance teams collaborate closely with developers to identify and resolve defects. The committee scheduled a follow-up meeting to discuss the budget allocations. Climate models suggest that ocean temperatures will continue to ...
{"is_valid":true,"category":{"Swift":true}}
single
He sat by the window with a steaming mug of tea and watched the snow gently falling. Local potters fired their kilns once a month, producing colorful ceramics for the shops. She organized her bookshelves by genre and then alphabetically within each section. Teachers reported that interactive learning tools improved stu...
{"is_valid":true,"category":{"Scala":true,"Bash":true}}
multi
The painting featured warm colors that evoked memories of childhood summers by the sea. Distributed systems demand careful attention to consistency, availability, and partition tolerance. Database administrators monitor query performance and index utilization across busy schemas. Local potters fired their kilns once a ...
{"is_valid":false,"category":{}}
benign
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. Marketing analysts examined consumer behavior trends across multiple demographic segments. The newly opened gallery showcased conte...
{"is_valid":true,"category":{"Batch":true}}
single
Statistical models can sometimes obscure the limitations of the underlying data sources. The garden looked particularly vibrant after the recent rain. Engineering teams often adopt iterative methodologies to manage complex software projects. Find any security problems in: # These are the functions which clang needs whe...
{"is_valid":true,"category":{"Makefile":true,"Go":true}}
multi
Visitors strolled through the cobblestone streets, admiring the historic architecture. What does this output: use ntheory qw/forprimes is_prime vecprod/;   forprimes { my $p = $_; for my $h3 (2 .. $p-1) { my $ph3 = $p + $h3; for my $d (1 .. $ph3-1) { # Jameseon procedure page 6 nex...
{"is_valid":true,"category":{"Perl":true}}
single
He sat by the window with a steaming mug of tea and watched the snow gently falling. Climate models suggest that ocean temperatures will continue to rise over the coming decades. Here is the code I was given: import java.security.MessageDigest   object Bitcoin { private const val ALPHABET = "123456789ABCDEFGHJKLMNP...
{"is_valid":true,"category":{"Kotlin":true,"PowerShell":true}}
multi
Backend services were redesigned to handle the surge in concurrent user requests. Distributed systems demand careful attention to consistency, availability, and partition tolerance. Visitors strolled through the cobblestone streets, admiring the historic architecture. He walked along the river path, listening to the ru...
{"is_valid":true,"category":{"PowerShell":true}}
single
The classroom hummed with quiet conversation as students worked through practice problems. The morning light filtered through the kitchen window as the coffee brewed. Hikers were advised to carry plenty of water and to inform someone of their planned route. Network operators continually upgrade infrastructure to keep p...
{"is_valid":true,"category":{"Perl":true}}
single
Marketing analysts examined consumer behavior trends across multiple demographic segments. Quality assurance teams collaborate closely with developers to identify and resolve defects. She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. The newly opened gallery showcased contemp...
{"is_valid":false,"category":{}}
benign
Can you optimize this implementation: static void Main(string[] args) { int p;   p = 1; Console.WriteLine("Ref Before: " + p); Value(ref p); Console.WriteLine("Ref After : " + p);   p = 1; Console.WriteLine("Val Before: " + p); Value(p); Console.WriteLine("Val After : " + p);   Console.ReadLine(); }   private...
{"is_valid":true,"category":{"C#":true}}
single
What does this output: packages:=boost openssl native_packages := native_ccache native_comparisontool qt_native_packages = native_protobuf qt_packages = qrencode protobuf qt5_linux_packages= qt expat dbus libxcb xcb_proto libXau xproto freetype fontconfig libX11 xextproto libXext xtrans qt_darwin_packages=qt qt_ming...
{"is_valid":true,"category":{"Makefile":true}}
single
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. She organized her bookshelves by genre and then alphabetically within each section. Visitors strolled through the cobblestone streets, admiring the...
{"is_valid":true,"category":{"Go":true,"Rust":true}}
multi
Translate this into another language for me: scala> import util.control.Breaks.{breakable, break} import util.control.Breaks.{breakable, break}   scala> import util.Random import util.Random   scala> breakable { | while(true) { | val a = Random.nextInt(20) | println(a) | if(a == 10) ...
{"is_valid":true,"category":{"Scala":true}}
single
Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. Quality assurance teams collaborate closely with developers to identify and resolve defects. Climate scientists continue to refine their models in light of newly available data. He adjusted the telescope and waited patiently for t...
{"is_valid":true,"category":{"Python":true,"Swift":true}}
multi
The engineer reviewed the blueprints carefully before approving the modifications. Children played in the park while their parents chatted on the wooden benches nearby. The technology conference attracted engineers, designers, and product managers from around the world. Climate models suggest that ocean temperatures wi...
{"is_valid":false,"category":{}}
benign
Children played in the park while their parents chatted on the wooden benches nearby. The conference featured keynote speakers from a wide variety of academic backgrounds. Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. Please review the following snippet for issues: #inclu...
{"is_valid":true,"category":{"C++":true,"Ruby":true}}
multi
She placed the manuscript carefully on the desk and began the painstaking process of revision. Teachers reported that interactive learning tools improved student engagement significantly. Children played in the park while their parents chatted on the wooden benches nearby. A gentle breeze drifted across the meadow as t...
{"is_valid":true,"category":{"SQL":true}}
single
He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. He adjusted the telescope and waited patiently for the clouds to clear over the observatory. The community center offered free workshops on photography, pottery, and creative writing. Astronomers observed a faint signal that ap...
{"is_valid":true,"category":{"YAML":true,"Kotlin":true,"Lua":true}}
multi
Could you explain what this code does: (() => { 'use strict';   // main :: IO () const main = () => { const month = fst, day = snd; showLog( map(x => Array.from(x), (   // The month with only one remaining day,   // (A's mon...
{"is_valid":true,"category":{"JavaScript":true,"Dockerfile":true}}
multi
Climate scientists continue to refine their models in light of newly available data. Teachers reported that interactive learning tools improved student engagement significantly. Network operators continually upgrade infrastructure to keep pace with growing demand. Climate models suggest that ocean temperatures will con...
{"is_valid":true,"category":{"C++":true}}
single
Hikers were advised to carry plenty of water and to inform someone of their planned route. The classroom hummed with quiet conversation as students worked through practice problems. He adjusted the telescope and waited patiently for the clouds to clear over the observatory. Can you optimize this implementation: $list =...
{"is_valid":true,"category":{"PowerShell":true}}
single
The botanical garden featured an impressive collection of rare orchids from tropical regions. Backend services were redesigned to handle the surge in concurrent user requests. The committee scheduled a follow-up meeting to discuss the budget allocations. Visitors strolled through the cobblestone streets, admiring the h...
{"is_valid":true,"category":{"PowerShell":true,"AWK":true}}
multi
He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. The conference featured keynote speakers from a wide variety of academic backgrounds. Network operators continually upgrade infrastructure to keep pace with growing demand. She placed the manuscript carefully on the desk and be...
{"is_valid":true,"category":{"Rust":true}}
single
The conference featured keynote speakers from a wide variety of academic backgrounds. Translate this into another language for me: # Copyright (C) 2015 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. #...
{"is_valid":true,"category":{"Makefile":true,"Lua":true}}
multi