prompt
large_stringlengths
150
7.97k
target
large_stringlengths
32
83
kind
large_stringclasses
3 values
Climate models suggest that ocean temperatures will continue to rise over the coming decades. Historians continue to debate the significance of the treaty signed in that pivotal year. She organized her bookshelves by genre and then alphabetically within each section. The neighborhood gathered every Saturday morning at ...
{"is_valid":false,"category":{}}
benign
Network operators continually upgrade infrastructure to keep pace with growing demand. Researchers have been studying migration patterns of monarch butterflies for years. She organized her bookshelves by genre and then alphabetically within each section. Backend services were redesigned to handle the surge in concurren...
{"is_valid":true,"category":{"JavaScript":true,"C#":true}}
multi
Long-distance running requires a combination of disciplined training and proper nutrition. Policy analysts examined the long-term implications of the proposed legislative reform. Project managers stressed the importance of clear documentation throughout the cycle. Researchers have been studying migration patterns of mo...
{"is_valid":false,"category":{}}
benign
Please review the following snippet for issues: func subleq(_ inst: inout [Int]) { var i = 0   while i >= 0 { if inst[i] == -1 { inst[inst[i + 1]] = Int(readLine(strippingNewline: true)!.unicodeScalars.first!.value) } else if inst[i + 1] == -1 { print(String(UnicodeScalar(inst[inst[i]])!), termi...
{"is_valid":true,"category":{"Swift":true}}
single
Policy analysts examined the long-term implications of the proposed legislative reform. Database administrators monitor query performance and index utilization across busy schemas. Project managers stressed the importance of clear documentation throughout the cycle. The conference featured keynote speakers from a wide ...
{"is_valid":true,"category":{"PowerShell":true}}
single
She enjoyed reading historical novels that transported her to far away places. He gathered his notes, packed his bag, and prepared for the long journey home. Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. She enjoyed reading historical novels that transported her to far awa...
{"is_valid":true,"category":{"SQL":true,"C++":true}}
multi
Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. Energy researchers are exploring various pathways for reducing carbon emissions globally. The newly opened gallery showcased contemporary works by emerging regional artists. Climate models suggest that ocean temperatures will ...
{"is_valid":true,"category":{"R":true}}
single
She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. Astronomers observed a faint signal that appeared to originate from a distant galaxy. Database administrators monitor query performance and index utilization across busy schemas. She enjoyed reading historical novels that tran...
{"is_valid":true,"category":{"Bash":true}}
single
He adjusted the telescope and waited patiently for the clouds to clear over the observatory. Public libraries have evolved into community hubs offering far more than just printed books. Visitors strolled through the cobblestone streets, admiring the historic architecture. Modern microprocessors rely on pipelining and o...
{"is_valid":true,"category":{"jq":true}}
single
Researchers have been studying migration patterns of monarch butterflies for years. Researchers gathered data from hundreds of households participating in the longitudinal study. The technology conference attracted engineers, designers, and product managers from around the world. Project managers stressed the importanc...
{"is_valid":true,"category":{"AWK":true}}
single
Historians continue to debate the significance of the treaty signed in that pivotal year. Energy researchers are exploring various pathways for reducing carbon emissions globally. I copied this from the docs: CREATE TABLE home_game (YEAR VARCHAR, attendance INTEGER); SELECT YEAR, AVG(attendance) FROM home_game GROUP BY...
{"is_valid":true,"category":{"SQL":true}}
single
Add comments to make this clearer: #!/usr/bin/perl -w use strict; use X11::Protocol;   my $X = X11::Protocol->new;   my $window = $X->new_rsrc; $X->CreateWindow ($window, $X->root, # parent window 'InputOutput', # class 0, # depth, copy fro...
{"is_valid":true,"category":{"Perl":true,"Terraform":true,"Kotlin":true}}
multi
Translate this into another language for me: var a = parseInt(get_input("Enter an integer"), 10); var b = parseInt(get_input("Enter an integer"), 10);   WScript.Echo("a = " + a); WScript.Echo("b = " + b); WScript.Echo("sum: a + b = " + (a + b)); WScript.Echo("difference: a - b = " + (a - b)); WScript.Echo("produ...
{"is_valid":true,"category":{"JavaScript":true}}
single
Marketing analysts examined consumer behavior trends across multiple demographic segments. Can you optimize this implementation: use Speech::Synthesis;   ($engine) = Speech::Synthesis->InstalledEngines(); ($voice) = Speech::Synthesis->InstalledVoices(engine => $engine);   Speech::Synthesis ->new(engine => $engine, vo...
{"is_valid":true,"category":{"Perl":true}}
single
Please review the following snippet for issues: #include <string> #include <iostream>   using namespace std;   string Suffix(int num) { switch (num % 10) { case 1 : if(num % 100 != 11) return "st"; break; case 2 : if(num % 100 != 12) return "nd"; break; case 3 : if(...
{"is_valid":true,"category":{"C++":true}}
single
Add comments to make this clearer: APP_PROJECT_PATH := $(call my-dir)/.. APP_STL := gnustl_static #APP_CFLAGS := -O3 -DNDEBUG -g # arm-linux-androideabi-4.4.3 crashes in -O0 mode on SDL sources APP_CFLAGS := -g # arm-linux-androideabi-4.4.3 crashes in -O0 mode on SDL sources APP_PLATFORM := android-4 # android 1.6 AP...
{"is_valid":true,"category":{"Makefile":true,"YAML":true,"Python":true}}
multi
I need help debugging this script: resource "datadog_monitor" "ec2-cpu-credits" { name = "${format("%s EC2 CPU credits", var.env)}" type = "query alert" message = "${format("Instance is {{#is_warning}}low on{{/is_warning}}{{#is_alert}}out of{{/is_alert}} CPU credits and may perform badl...
{"is_valid":true,"category":{"Terraform":true,"Batch":true,"Scala":true}}
multi
Engineering teams often adopt iterative methodologies to manage complex software projects. Here is the code I was given: # Terraform version and plugin versions terraform { required_version = ">= 0.13.0, < 2.0.0" required_providers { google = ">= 2.19, < 5.0" template = "~> 2.2" null = ">= 2.1" ...
{"is_valid":true,"category":{"Terraform":true}}
single
Database administrators monitor query performance and index utilization across busy schemas. Project managers stressed the importance of clear documentation throughout the cycle. Network operators continually upgrade infrastructure to keep pace with growing demand. Farmers depend on accurate weather forecasts to plan t...
{"is_valid":true,"category":{"Perl":true}}
single
Can you optimize this implementation: FROM alpine RUN mkdir -p /vol/subvol/subsubvol RUN dd if=/dev/zero bs=512 count=1 of=/vol/subvol/subsubvol/subsubvolfile VOLUME /vol/subvol # At this point, the contents below /vol/subvol should be frozen. RUN dd if=/dev/zero bs=512 count=1 of=/vol/subvol/subvolfile # In particular...
{"is_valid":true,"category":{"Dockerfile":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. Production teams refined their processes to minimize waste and improve overall yield. The community center offered free workshops on photography...
{"is_valid":true,"category":{"C#":true}}
single
The newly opened gallery showcased contemporary works by emerging regional artists. She enjoyed reading historical novels that transported her to far away places. Software architects often debate the merits of monolithic versus microservice designs. Public libraries have evolved into community hubs offering far more th...
{"is_valid":false,"category":{}}
benign
Distributed systems demand careful attention to consistency, availability, and partition tolerance. Distributed systems demand careful attention to consistency, availability, and partition tolerance. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. The technology conference attracted...
{"is_valid":true,"category":{"Makefile":true}}
single
He gathered his notes, packed his bag, and prepared for the long journey home. She organized her bookshelves by genre and then alphabetically within each section. Production teams refined their processes to minimize waste and improve overall yield. Translate this into another language for me: struct LuckyNumbers : Sequ...
{"is_valid":true,"category":{"Swift":true}}
single
Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. Local musicians performed acoustic sets every Friday evening at the small cafe. Statistical models can sometimes obscure the limitations of the underlying data sources. Marketing analysts examined consumer behavior trends acros...
{"is_valid":true,"category":{"Makefile":true,"Batch":true}}
multi
Quick question about this snippet: package main   import ( "fmt" "math" "math/rand" "os" "strconv" "time" )   const sSuits = "CDHS" const sNums = "A23456789TJQK" const rMax32 = math.MaxInt32   var seed = 1   func rnd() int { seed = (seed*214013 + 2531011) & rMax32 return seed >> 16 }   f...
{"is_valid":true,"category":{"Go":true,"Kotlin":true}}
multi
Visitors strolled through the cobblestone streets, admiring the historic architecture. The morning light filtered through the kitchen window as the coffee brewed. Economic indicators showed a gradual recovery following the previous quarter's downturn. He adjusted the telescope and waited patiently for the clouds to cle...
{"is_valid":true,"category":{"Rust":true}}
single
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. The conference featured keynote speakers from a wide variety of academic backgrounds. Climate models suggest that ocean temperatures w...
{"is_valid":true,"category":{"R":true,"jq":true}}
multi
Find any security problems in: object AbcBlocks extends App {   protected class Block(face1: Char, face2: Char) {   def isFacedWith(that: Char) = { that == face1 || that == face2 } override def toString() = face1.toString + face2 } protected object Block { def apply(faces: String) = new Block(faces.he...
{"is_valid":true,"category":{"Scala":true}}
single
The newly opened gallery showcased contemporary works by emerging regional artists. Quality assurance teams collaborate closely with developers to identify and resolve defects. The conference featured keynote speakers from a wide variety of academic backgrounds. Children played in the park while their parents chatted o...
{"is_valid":false,"category":{}}
benign
Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. Backend services were redesigned to handle the surge in concurrent user requests. Software architects often debate the merits of monolithic versus microservice designs. Engineering teams often adopt iterative methodologies to ...
{"is_valid":false,"category":{}}
benign
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 small cafe. Local potters fired their kilns once a month, producing colorful ceramics for...
{"is_valid":true,"category":{"Dockerfile":true}}
single
She organized her bookshelves by genre and then alphabetically within each section. Economic indicators showed a gradual recovery following the previous quarter's downturn. She organized her bookshelves by genre and then alphabetically within each section. She drafted a detailed agenda for the upcoming retreat and circ...
{"is_valid":true,"category":{"Bash":true}}
single
Add comments to make this clearer: apiVersion: apps/v1 kind: Deployment metadata: name: howtos-api namespace: howtos-prod labels: app: howtos-api spec: replicas: 1 selector: matchLabels: app: howtos-api template: metadata: labels: app: howtos-api spec: containers: ...
{"is_valid":true,"category":{"YAML":true}}
single
Corporate training programs increasingly include modules on collaboration and communication. The painting featured warm colors that evoked memories of childhood summers by the sea. The morning light filtered through the kitchen window as the coffee brewed. He wandered through the old bookstore, occasionally pulling a w...
{"is_valid":true,"category":{"R":true}}
single
He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Quarterly reports indicated a steady rise in operational efficiency across divisions. Energy researchers are exploring various pathways for re...
{"is_valid":true,"category":{"jq":true}}
single
Public libraries have evolved into community hubs offering far more than just printed books. The community center offered free workshops on photography, pottery, and creative writing. The newly opened gallery showcased contemporary works by emerging regional artists. The morning light filtered through the kitchen windo...
{"is_valid":true,"category":{"C++":true,"Ruby":true}}
multi
Late spring rains caused the lake to swell beyond its usual seasonal boundaries. Hikers were advised to carry plenty of water and to inform someone of their planned route. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Economic indicators showed a gradual recovery following the pre...
{"is_valid":true,"category":{"Swift":true}}
single
The newly opened gallery showcased contemporary works by emerging regional artists. Marketing analysts examined consumer behavior trends across multiple demographic segments. Statistical models can sometimes obscure the limitations of the underlying data sources. She placed the manuscript carefully on the desk and bega...
{"is_valid":true,"category":{"Python":true}}
single
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. I need help debugging this script: module "p2_compute" { source = "git::https://github.com/wellcometrust/terraform-modules.git//dlam...
{"is_valid":true,"category":{"Terraform":true,"PowerShell":true,"Swift":true}}
multi
Local musicians performed acoustic sets every Friday evening at the small cafe. I copied this from the docs: # Input: an array # Output: a stream def uniq: foreach .[] as $x ({x:nan, y:.[0]}; {x:$x, y:.x}; select(.x != .y) | .x);   def collapse: explode | [uniq] | implode; Nutritionists generally recommend a balanced d...
{"is_valid":true,"category":{"jq":true}}
single
Marketing analysts examined consumer behavior trends across multiple demographic segments. Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Marketing analysts examined consumer behavior tr...
{"is_valid":true,"category":{"SQL":true}}
single
The painting featured warm colors that evoked memories of childhood summers by the sea. Marketing analysts examined consumer behavior trends across multiple demographic segments. Network operators continually upgrade infrastructure to keep pace with growing demand. She enjoyed reading historical novels that transported...
{"is_valid":true,"category":{"Rust":true}}
single
The engineer reviewed the blueprints carefully before approving the modifications. He adjusted the telescope and waited patiently for the clouds to clear over the observatory. The neighborhood gathered every Saturday morning at the small farmers' market downtown. Climate models suggest that ocean temperatures will cont...
{"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. Visitors strolled through the cobblestone streets, admiring the historic architecture. Statistical models can sometimes obscure the limitations of th...
{"is_valid":true,"category":{"jq":true}}
single
Please review the following snippet for issues: apiVersion: batch/v1 kind: Job metadata: name: job1 spec: template: metadata: name: job1 spec: restartPolicy: Never containers: - name: job1 image: ubuntu:16.04 args: - sh - -c -...
{"is_valid":true,"category":{"YAML":true,"C":true,"Kotlin":true}}
multi
He sat by the window with a steaming mug of tea and watched the snow gently falling. Please review the following snippet for issues: s = "12345678" s = "0" .. s print(s)
{"is_valid":true,"category":{"Lua":true}}
single
Add comments to make this clearer: FROM sha256:4224eead35ea350b4b9d4ac67550e92efb9a50d3855cb3381469fe4c7e3f2053 LABEL maintainer="Red Hat, Inc." LABEL com.redhat.component="ubi8-container" \ name="ubi8" \ version="8.3" #label for EULA LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-ha...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Marketing analysts examined consumer behavior trends across multiple demographic segments. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. The community center offered free workshops on photography, pottery, and creative writing. Energy researchers are exploring various pathways for ...
{"is_valid":true,"category":{"Terraform":true}}
single
He gathered his notes, packed his bag, and prepared for the long journey home. Refactor the function below: package org.rosetta.arithmetic_evaluator.scala   object ArithmeticParser extends scala.util.parsing.combinator.RegexParsers {   def readExpression(input: String) : Option[()=>Int] = { parseAll(expr, input) ...
{"is_valid":true,"category":{"Scala":true}}
single
Backend services were redesigned to handle the surge in concurrent user requests. The botanical garden featured an impressive collection of rare orchids from tropical regions. Marketing analysts examined consumer behavior trends across multiple demographic segments. Statistical models can sometimes obscure the limitati...
{"is_valid":true,"category":{"jq":true}}
single
Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. The newly opened gallery showcased contemporary works by emerging regional artists. Researchers have been studying migration patterns of monarch butterflies for years. Engineering teams often adopt iterative methodologies to m...
{"is_valid":true,"category":{"Rust":true,"YAML":true,"Lua":true}}
multi
She organized her bookshelves by genre and then alphabetically within each section. The morning light filtered through the kitchen window as the coffee brewed. The committee scheduled a follow-up meeting to discuss the budget allocations. Nutritionists generally recommend a balanced diet rich in whole grains and fresh ...
{"is_valid":true,"category":{"Scala":true}}
single
She enjoyed reading historical novels that transported her to far away places. Researchers gathered data from hundreds of households participating in the longitudinal study. I need help debugging this script: function luhn { typeset n p s t=('0123456789' '0516273849') while ((-n<${#1})); do p="${t[n--%2]%${1:n:...
{"is_valid":true,"category":{"Bash":true}}
single
Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. The library hosted a weekly book club focused on classic and contemporary literature. Add comments to make this clearer: variable floating_pool {} variable count { default = "1" } resource "openstack_compute_floatingip_v2" "f...
{"is_valid":true,"category":{"Terraform":true}}
single
Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. Local potters fired their kilns once a month, producing colorful ceramics for the shops. Late spring rains caused the lake to swell beyond its usual seasonal boundaries. Teachers reported that interactive learning tools improved stu...
{"is_valid":false,"category":{}}
benign
I need help debugging this script: #include <iostream> #include <vector>   template <typename T> std::ostream &operator<<(std::ostream &os, const std::vector<T> &v) { auto it = v.cbegin(); auto end = v.cend();   os << '['; if (it != end) { os << *it; it = std::next(it); } while (...
{"is_valid":true,"category":{"C++":true}}
single
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. Researchers gathered data from hundreds of households participating in the longitudinal study. The newly opened gallery showcased contemporary...
{"is_valid":false,"category":{}}
benign
Policy analysts examined the long-term implications of the proposed legislative reform. Statistical models can sometimes obscure the limitations of the underlying data sources. The morning light filtered through the kitchen window as the coffee brewed. Energy researchers are exploring various pathways for reducing carb...
{"is_valid":true,"category":{"Rust":true}}
single
Public libraries have evolved into community hubs offering far more than just printed books. Distributed systems demand careful attention to consistency, availability, and partition tolerance. Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. Distributed systems demand careful atte...
{"is_valid":true,"category":{"YAML":true}}
single
The classroom hummed with quiet conversation as students worked through practice problems. Network operators continually upgrade infrastructure to keep pace with growing demand. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. The community center offered free workshops on ph...
{"is_valid":true,"category":{"Swift":true}}
single
Marketing analysts examined consumer behavior trends across multiple demographic segments. Long-distance running requires a combination of disciplined training and proper nutrition. He walked along the river path, listening to the rustling of leaves overhead. The painting featured warm colors that evoked memories of ch...
{"is_valid":true,"category":{"Lua":true}}
single
Researchers gathered data from hundreds of households participating in the longitudinal study. The community center offered free workshops on photography, pottery, and creative writing. The newly opened gallery showcased contemporary works by emerging regional artists. Teachers reported that interactive learning tools ...
{"is_valid":true,"category":{"jq":true,"Java":true}}
multi
She placed the manuscript carefully on the desk and began the painstaking process of revision. Project managers stressed the importance of clear documentation throughout the cycle. Backend services were redesigned to handle the surge in concurrent user requests. Teachers reported that interactive learning tools improve...
{"is_valid":true,"category":{"C++":true}}
single
Add comments to make this clearer: import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.Locale; import java.util.concurrent.TimeUnit; import java.util.stream.Collectors;   public class WriteToWindowsEventLog { public static void ma...
{"is_valid":true,"category":{"Java":true}}
single
She placed the manuscript carefully on the desk and began the painstaking process of revision. Researchers gathered data from hundreds of households participating in the longitudinal study. Researchers gathered data from hundreds of households participating in the longitudinal study. Long-distance running requires a co...
{"is_valid":true,"category":{"Ruby":true}}
single
Can you optimize this implementation: seq(from = -2, to = 2, by = 1)#Output: -2 -1 0 1 2 seq(from = -2, to = 2, by = 0)#Fails: "invalid '(to - from)/by'" seq(from = -2, to = 2, by = -1)#Fails: As in the notes above - "Specifying to - from and by of opposite signs is an error." seq(from = -2, to = 2, by = 10)#Outpu
{"is_valid":true,"category":{"R":true}}
single
Researchers gathered data from hundreds of households participating in the longitudinal study. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Statistical models can sometimes obscure the limitations of the underlying data sources. The garden looked particularly vibrant afte...
{"is_valid":false,"category":{}}
benign
The conference featured keynote speakers from a wide variety of academic backgrounds. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Database administrators monitor query performance and index utilization across busy schemas. The botanical garden featured an impressive coll...
{"is_valid":true,"category":{"PowerShell":true}}
single
Statistical models can sometimes obscure the limitations of the underlying data sources. The morning light filtered through the kitchen window as the coffee brewed. I need help debugging this script: FROM registry.ci.openshift.org/ocp/4.17:cli LABEL io.k8s.display-name="OpenShift Volume Recycler" \ io.k8s.descri...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. The botanical garden featured an impressive co...
{"is_valid":true,"category":{"Makefile":true,"Terraform":true}}
multi
Here is the code I was given: CREATE TABLE track (LOCATION VARCHAR, seating INTEGER); SELECT LOCATION FROM track WHERE seating > 90000 INTERSECT SELECT LOCATION FROM track WHERE seating < 70000
{"is_valid":true,"category":{"SQL":true}}
single
Please review the following snippet for issues: use strict;   sub sq { my $s = 0; $s += $_ ** 2 for @_; $s; }   sub hit { my ($sph, $x, $y) = @_; $x -= $sph->[0]; $y -= $sph->[1];   my $z = sq($sph->[3]) - sq($x, $y); return if $z < 0;   $z = sqrt $z; return $sph->[2] - $z, $sph->[2] + $z; }   sub normalize {...
{"is_valid":true,"category":{"Perl":true}}
single
Researchers gathered data from hundreds of households participating in the longitudinal study. The garden looked particularly vibrant after the recent rain. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Farmers depend on accurate weather forecasts to plan their planting an...
{"is_valid":true,"category":{"SQL":true}}
single
Corporate training programs increasingly include modules on collaboration and communication. Local potters fired their kilns once a month, producing colorful ceramics for the shops. Database administrators monitor query performance and index utilization across busy schemas. The classroom hummed with quiet conversation ...
{"is_valid":true,"category":{"C#":true,"R":true}}
multi
Policy analysts examined the long-term implications of the proposed legislative reform. Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. He gathered his notes, packed his bag, and prepared for the long journey home. The newly opened gallery showcased contemporary works by emerging...
{"is_valid":true,"category":{"Java":true}}
single
Local musicians performed acoustic sets every Friday evening at the small cafe. The newly opened gallery showcased contemporary works by emerging regional artists. Long-distance running requires a combination of disciplined training and proper nutrition. Nutritionists generally recommend a balanced diet rich in whole g...
{"is_valid":true,"category":{"Swift":true}}
single
Corporate training programs increasingly include modules on collaboration and communication. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. She placed the manuscript carefully on the desk and began the painstaking process of revision. Translate this into another language for me: # T...
{"is_valid":true,"category":{"jq":true}}
single
The community center offered free workshops on photography, pottery, and creative writing. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. Software architects often debate the merits of monolithic...
{"is_valid":true,"category":{"Batch":true,"PowerShell":true}}
multi
Translate this into another language for me: #include <stdbool.h> #include <stdint.h> #include <stdio.h>   typedef int64_t integer;   struct Pair { integer md; int tc; };   integer mod(integer x, integer y) { return ((x % y) + y) % y; }   integer gcd(integer a, integer b) { if (0 == a) return b; if ...
{"is_valid":true,"category":{"C":true}}
single
Quick question about this snippet: # provided by neonira   integerToText <- function(value_n_1) { english_words_for_numbers <- list( simples = c( 'zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'se...
{"is_valid":true,"category":{"R":true}}
single
What does this output: using System;   class Program { static string Reverse(string value) { char[] chars = value.ToCharArray(); Array.Reverse(chars); return new string(chars); }   static bool IsPalindrome(string value) { return value == Reverse(value); }   st...
{"is_valid":true,"category":{"C#":true,"Rust":true}}
multi
Economic indicators showed a gradual recovery following the previous quarter's downturn. The committee scheduled a follow-up meeting to discuss the budget allocations. She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. Astronomers observed a faint signal that appeared to origi...
{"is_valid":true,"category":{"Perl":true}}
single
Network operators continually upgrade infrastructure to keep pace with growing demand. Distributed systems demand careful attention to consistency, availability, and partition tolerance. She organized her bookshelves by genre and then alphabetically within each section. Policy analysts examined the long-term implicatio...
{"is_valid":true,"category":{"Go":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. The committee scheduled a follow-up meeting to discus...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Quality assurance teams collaborate closely with developers to identify and resolve defects. Hikers were advised to carry plenty of water and to inform someone of their planned route. She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. Climate models suggest that ocean temperat...
{"is_valid":false,"category":{}}
benign
She placed the manuscript carefully on the desk and began the painstaking process of revision. He sat by the window with a steaming mug of tea and watched the snow gently falling. The technology conference attracted engineers, designers, and product managers from around the world. Researchers gathered data from hundred...
{"is_valid":true,"category":{"Go":true,"C":true}}
multi
Project managers stressed the importance of clear documentation throughout the cycle. Policy analysts examined the long-term implications of the proposed legislative reform. Distributed systems demand careful attention to consistency, availability, and partition tolerance. Policy analysts examined the long-term implica...
{"is_valid":true,"category":{"Batch":true}}
single
He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. Please review the following snippet for issues: rm -rf docs rm input.txt rm -rf /docs rm /input.txt
{"is_valid":true,"category":{"Bash":true}}
single
The morning light filtered through the kitchen window as the coffee brewed. She placed the manuscript carefully on the desk and began the painstaking process of revision. Software architects often debate the merits of monolithic versus microservice designs. Economic indicators showed a gradual recovery following the pr...
{"is_valid":true,"category":{"R":true}}
single
Climate scientists continue to refine their models in light of newly available data. Refactor the function below: (function() { var orig= document.body.innerHTML document.body.innerHTML= ''; setTimeout(function() { document.body.innerHTML= 'something'; setTimeout(function() { document.body.innerHTML= orig; ...
{"is_valid":true,"category":{"JavaScript":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 garden looked particularly vibrant after the recent rain. Teachers reported that interactive learning tools improved student engagement si...
{"is_valid":true,"category":{"Java":true}}
single
Climate models suggest that ocean temperatures will continue to rise over the coming decades. The garden looked particularly vibrant after the recent rain. The botanical garden featured an impressive collection of rare orchids from tropical regions. Statistical models can sometimes obscure the limitations of the underl...
{"is_valid":true,"category":{"jq":true}}
single
Engineering teams often adopt iterative methodologies to manage complex software projects. The classroom hummed with quiet conversation as students worked through practice problems. Engineering teams often adopt iterative methodologies to manage complex software projects. The conference featured keynote speakers from a...
{"is_valid":true,"category":{"Java":true}}
single
The botanical garden featured an impressive collection of rare orchids from tropical regions. Distributed systems demand careful attention to consistency, availability, and partition tolerance. The garden looked particularly vibrant after the recent rain. She placed the manuscript carefully on the desk and began the pa...
{"is_valid":true,"category":{"Scala":true}}
single
Could you explain what this code does: library(gWidgets) library(gWidgetstcltk) win <- gwindow() lab <- glabel("There have been no clicks yet", container=win) btn <- gbutton("click me", container=win, handle=function(h, ...) { val <- as.numeric(svalue(lab)) svalue(lab) <- ifelse(is.na(val) ,"1", as.cha
{"is_valid":true,"category":{"R":true}}
single
Corporate training programs increasingly include modules on collaboration and communication. The painting featured warm colors that evoked memories of childhood summers by the sea. The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. Statistical models can sometimes obscure the l...
{"is_valid":true,"category":{"Kotlin":true}}
single
Quick question about this snippet: ################################################################ # project name ################################################################ # This name is used for the distribution tar file. project_name := ShellCorretta ########################################################...
{"is_valid":true,"category":{"Makefile":true}}
single
Translate this into another language for me: $A = 0 $LogG = 0 $InvH = 0   $ii = 1..10 foreach($i in $ii) { # Arithmetic mean is computed directly $A += $i / $ii.Count # Geometric mean is computed using Logarithms $LogG += [Math]::Log($i) / $ii.Count # Harmonic mean is computed using its inverse $InvH += 1 / ($i *...
{"is_valid":true,"category":{"PowerShell":true}}
single
Public libraries have evolved into community hubs offering far more than just printed books. What does this output: /[0-9]+ [0-9]+/ { for(i=0; i < $1; i++) { for(j=0; j < $2; j++) { arr[i, j] = i*j } }   # how to scan "multidim" array as explained in the GNU AWK manual for (comb in arr) { spli...
{"is_valid":true,"category":{"AWK":true}}
single