prompt
large_stringlengths
150
7.97k
target
large_stringlengths
32
83
kind
large_stringclasses
3 values
Astronomers observed a faint signal that appeared to originate from a distant galaxy. Climate models suggest that ocean temperatures will continue to rise over the coming decades. Translate this into another language for me: # swc: config.mk PREFIX = /usr/local BINDIR = $(PREFIX)/bin LIBDIR ...
{"is_valid":true,"category":{"Makefile":true}}
single
Backend services were redesigned to handle the surge in concurrent user requests. 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 community center offered free workshops on photography, p...
{"is_valid":true,"category":{"Makefile":true}}
single
Policy analysts examined the long-term implications of the proposed legislative reform. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Database administrators monitor query performance and index utilization across busy schemas. The engineer reviewed the blueprints carefully before a...
{"is_valid":true,"category":{"Swift":true,"C++":true}}
multi
Here is the code I was given: apiVersion: apps/v1 kind: Deployment metadata: name: bookstore-addbook labels: app: add-book spec: replicas: 1 selector: matchLabels: app: add-book template: metadata: labels: app: add-book spec: containers: - name: addboo
{"is_valid":true,"category":{"YAML":true}}
single
Add comments to make this clearer: for ($i = 1; $i -le 10; $i++) { Write-Host -NoNewLine $i if ($i -eq 10) { Write-Host break } Write-Host -NoNewLine ", " } On a related note, this block: #!/usr/bin/perl   use strict; # https://rosettacode.org/wiki/Particle_fountain use warnings; use Tk...
{"is_valid":true,"category":{"PowerShell":true,"Perl":true,"Terraform":true}}
multi
Take a look at this: import javax.swing._ import java.awt._ import java.awt.event.ActionEvent   import scala.collection.mutable import scala.util.Random   object ChaosGame extends App { SwingUtilities.invokeLater(() => new JFrame("Chaos Game") {   class ChaosGame extends JPanel { private val (dim, m...
{"is_valid":true,"category":{"Scala":true}}
single
I need help debugging this script: using System; using System.Collections.Generic; using System.Linq;   namespace SMA { class Program { static void Main(string[] args) { var nums = Enumerable.Range(1, 5).Select(n => (double)n); nums = nums.Concat(nums.Reverse());   var sm...
{"is_valid":true,"category":{"C#":true}}
single
Statistical models can sometimes obscure the limitations of the underlying data sources. Project managers stressed the importance of clear documentation throughout the cycle. Hikers were advised to carry plenty of water and to inform someone of their planned route. He gathered his notes, packed his bag, and prepared fo...
{"is_valid":true,"category":{"Bash":true}}
single
Translate this into another language for me: # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Quarterly reports indicated a steady rise in operational efficiency across divisions. Take a look at this: @queue = (); # we will simulate a queue in a array   push @queue, (1..5); # enqueue numbers from 1 to 5   print shift @queue,"\n"; # dequeue   print "array is empty\n" unless @queue; # is empty ?   print $n while(...
{"is_valid":true,"category":{"Perl":true}}
single
Backend services were redesigned to handle the surge in concurrent user requests. Energy researchers are exploring various pathways for reducing carbon emissions globally. Local potters fired their kilns once a month, producing colorful ceramics for the shops. Corporate training programs increasingly include modules on...
{"is_valid":true,"category":{"R":true}}
single
The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Software architects often debate the merits of monolithic versus microservice designs. Please review the following snippet for issues: $data = @(1,1,1,2,3,4,5,5,6,7,7,7) $groups = $data | group-object | sort-object count -Descending $gr...
{"is_valid":true,"category":{"PowerShell":true,"Batch":true}}
multi
Late spring rains caused the lake to swell beyond its usual seasonal boundaries. Please review the following snippet for issues: class SingletonClass {   static let sharedInstance = SingletonClass()   ///Override the init method and make it private private override init(){ // User can do additional manipula...
{"is_valid":true,"category":{"Swift":true}}
single
What does this output: apiVersion: apps/v1 kind: Deployment metadata: annotations: description: Simple-Vault labels: app: simple-vault environment: Development tier: Service name: simple-vault namespace: sirius spec: revisionHistoryLimit: 1 minReadySeconds: 10 strategy: type: RollingUp...
{"is_valid":true,"category":{"YAML":true}}
single
Economic indicators showed a gradual recovery following the previous quarter's downturn. The painting featured warm colors that evoked memories of childhood summers by the sea. Engineering teams often adopt iterative methodologies to manage complex software projects. Climate models suggest that ocean temperatures will ...
{"is_valid":true,"category":{"PowerShell":true}}
single
Translate this into another language for me: # &keyword # type returned(indicators) - brief description # indicators: # * - generates multiple values # = - modifiable #  ? - may fail (e.g. status inquiry) # U - Unicon # G - Icon or Unicon with Graphics # &allocated # integer(*) - report memory allocated...
{"is_valid":true,"category":{"Go":true}}
single
Can you optimize this implementation: Shoes.app(title: "Honeycombs", height: 700, width: 700) do C = Math::cos(Math::PI/3) S = Math::sin(Math::PI/3) Radius = 60.0 letters = [  %w[L A R N D 1 2],  %w[G U I Y T 3 4],  %w[P C F E B 5 6],  %w[V S O M K 7 8],  %w[Q X J Z H 9 0], ]   def highlig...
{"is_valid":true,"category":{"Ruby":true}}
single
Local musicians performed acoustic sets every Friday evening at the small cafe. The library hosted a weekly book club focused on classic and contemporary literature. Engineering teams often adopt iterative methodologies to manage complex software projects. The garden looked particularly vibrant after the recent rain. H...
{"is_valid":true,"category":{"Java":true}}
single
He gathered his notes, packed his bag, and prepared for the long journey home. Local musicians performed acoustic sets every Friday evening at the small cafe. Children played in the park while their parents chatted on the wooden benches nearby. Local potters fired their kilns once a month, producing colorful ceramics f...
{"is_valid":true,"category":{"Python":true}}
single
Find any security problems in: function identical(t_str) _, fst = next(t_str) if fst then for _, i in pairs(t_str) do if i ~= fst then return false end end end return true end   function ascending(t_str) prev = false for _, i in ipairs(t_str) do if pr
{"is_valid":true,"category":{"Lua":true}}
single
Statistical models can sometimes obscure the limitations of the underlying data sources. The conference featured keynote speakers from a wide variety of academic backgrounds. Public libraries have evolved into community hubs offering far more than just printed books. The bakery on the corner was famous for its sourdoug...
{"is_valid":false,"category":{}}
benign
Run the following: require 'base64' require 'net/smtp' require 'tmail' require 'mime/types'   class Email def initialize(from, to, subject, body, options={}) @opts = {:attachments => [], :server => 'localhost'}.update(options) @msg = TMail::Mail.new @msg.from = from @msg.to
{"is_valid":true,"category":{"Ruby":true}}
single
Economic indicators showed a gradual recovery following the previous quarter's downturn. Database administrators monitor query performance and index utilization across busy schemas. Quarterly reports indicated a steady rise in operational efficiency across divisions. Marketing analysts examined consumer behavior trends...
{"is_valid":true,"category":{"C":true,"Batch":true}}
multi
Backend services were redesigned to handle the surge in concurrent user requests. Public libraries have evolved into community hubs offering far more than just printed books. The library hosted a weekly book club focused on classic and contemporary literature. Late spring rains caused the lake to swell beyond its usual...
{"is_valid":true,"category":{"R":true,"SQL":true}}
multi
Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. Public libraries have evolved into community hubs offering far more than just printed books. Marketing analysts examined consumer beh...
{"is_valid":true,"category":{"Makefile":true}}
single
He walked along the river path, listening to the rustling of leaves overhead. Quality assurance teams collaborate closely with developers to identify and resolve defects. He sat by the window with a steaming mug of tea and watched the snow gently falling. The botanical garden featured an impressive collection of rare o...
{"is_valid":true,"category":{"Bash":true}}
single
She placed the manuscript carefully on the desk and began the painstaking process of revision. Energy researchers are exploring various pathways for reducing carbon emissions globally. Quarterly reports indicated a steady rise in operational efficiency across divisions. The neighborhood gathered every Saturday morning ...
{"is_valid":true,"category":{"Batch":true}}
single
Please review the following snippet for issues: # # 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 Licens...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Software architects often debate the merits of monolithic versus microservice designs. Network operators continually upgrade infrastructure to keep pace with growing demand. Production teams refined their processes to minimize waste and improve overall yield. Late spring rains caused the lake to swell beyond its usual ...
{"is_valid":true,"category":{"AWK":true}}
single
Long-distance running requires a combination of disciplined training and proper nutrition. Add comments to make this clearer: GD <- function(vec) { c(vec[vec != 0], vec[vec == 0]) } DG <- function(vec) { c(vec[vec == 0], vec[vec != 0]) }   DG_ <- function(vec, v = TRUE) { if (v) print(vec) rev(...
{"is_valid":true,"category":{"R":true,"Bash":true,"C":true}}
multi
Visitors strolled through the cobblestone streets, admiring the historic architecture. Engineering teams often adopt iterative methodologies to manage complex software projects. Researchers have been studying migration patterns of monarch butterflies for years. Nutritionists generally recommend a balanced diet rich in ...
{"is_valid":false,"category":{}}
benign
Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. Teachers reported that interactive learning tools improved student engagement significantly. Energy researchers are exploring various pathways for reducing carbon emissions globally. The garden looked particularly vibrant afte...
{"is_valid":true,"category":{"Ruby":true}}
single
Find any security problems in: function MergeSort([object[]] $SortInput) { # The base case exits for minimal lists that are sorted by definition if ($SortInput.Length -le 1) {return $SortInput}   # Divide and conquer [int] $midPoint = $SortInput.Length/2 # The @() operators ensure a single result remains typed as ...
{"is_valid":true,"category":{"PowerShell":true,"R":true,"Go":true}}
multi
A gentle breeze drifted across the meadow as the sun began to dip below the horizon. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Quick question about this snippet: fun main(args: Array<String>) { val p = Double.POSITIVE_INFINITY // +∞ println(p.isInfinite()) // true p...
{"is_valid":true,"category":{"Kotlin":true}}
single
Researchers have been studying migration patterns of monarch butterflies for years. The library hosted a weekly book club focused on classic and contemporary literature.
{"is_valid":false,"category":{}}
benign
Can you optimize this implementation: object Abc extends App { val lowAlpha = 'a' to 'z' //That's all // Now several tests assert(lowAlpha.toSeq == Seq('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'), "No complete lowercase ...
{"is_valid":true,"category":{"Scala":true,"Java":true}}
multi
The library hosted a weekly book club focused on classic and contemporary literature. 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. Network operators continually upgrade infrastructure to ...
{"is_valid":true,"category":{"Python":true,"Batch":true}}
multi
Please review the following snippet for issues: # syntax=docker/dockerfile:1 ARG GO_VERSION=1.23 ARG XX_VERSION=1.5.0 FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine AS base RUN apk add --no-cache git COPY --from=xx / / WORKDIR /src FROM ba...
{"is_valid":true,"category":{"Dockerfile":true}}
single
He adjusted the telescope and waited patiently for the clouds to clear over the observatory. She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. Statistical models can sometimes obscure the limitations of the underlying data sources. A gentle breeze drifted across the meadow as...
{"is_valid":true,"category":{"Batch":true}}
single
Energy researchers are exploring various pathways for reducing carbon emissions globally. I need help debugging this script: #include <array> #include <iostream> #include <string>   int main() { std::array<std::string, 2> fruit { "apples", "oranges" }; std::cout << fruit.size(); return 0; } Network operato...
{"is_valid":true,"category":{"C++":true}}
single
Network operators continually upgrade infrastructure to keep pace with growing demand. 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. He walked along the river path, listening to the rustli...
{"is_valid":true,"category":{"Makefile":true,"Dockerfile":true}}
multi
Children played in the park while their parents chatted on the wooden benches nearby. She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. The painting featured warm colors that evoked memories of childhood summers by the sea. Astronomers observed a faint signal that appeared to...
{"is_valid":true,"category":{"Swift":true}}
single
The community center offered free workshops on photography, pottery, and creative writing. Run the following: CREATE TABLE match_season (POSITION VARCHAR); SELECT POSITION FROM match_season GROUP BY POSITION ORDER BY COUNT(*) DESC LIMIT 1
{"is_valid":true,"category":{"SQL":true}}
single
Quality assurance teams collaborate closely with developers to identify and resolve defects. He sat by the window with a steaming mug of tea and watched the snow gently falling. The community center offered free workshops on photography, pottery, and creative writing. Backend services were redesigned to handle the surg...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Historians continue to debate the significance of the treaty signed in that pivotal year. The newly opened gallery showcased contemporary works by emerging regional artists. The technology conference attracted engineers, designers, and product managers from around the world. Database administrators monitor query perfor...
{"is_valid":true,"category":{"Rust":true}}
single
Climate scientists continue to refine their models in light of newly available data. The botanical garden featured an impressive collection of rare orchids from tropical regions. Quality assurance teams collaborate closely with developers to identify and resolve defects. Backend services were redesigned to handle the s...
{"is_valid":true,"category":{"JavaScript":true}}
single
Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. Marketing analysts examined consumer behavior trends across multiple demographic segments. Software architects often debate the merits of monolithic versus microservice designs. He adjusted the telescope and waited patiently fo...
{"is_valid":true,"category":{"Terraform":true}}
single
Children played in the park while their parents chatted on the wooden benches nearby. Translate this into another language for me: BEGIN { print "Goodbye, World!"| "cat 1>&2" }
{"is_valid":true,"category":{"AWK":true}}
single
Local potters fired their kilns once a month, producing colorful ceramics for the shops. Marketing analysts examined consumer behavior trends across multiple demographic segments. Production teams refined their processes to minimize waste and improve overall yield. Travelers explored ancient ruins, marveling at the cra...
{"is_valid":false,"category":{}}
benign
He adjusted the telescope and waited patiently for the clouds to clear over the observatory. Project managers stressed the importance of clear documentation throughout the cycle. The neighborhood gathered every Saturday morning at the small farmers' market downtown. The conference featured keynote speakers from a wide ...
{"is_valid":true,"category":{"C++":true}}
single
Quarterly reports indicated a steady rise in operational efficiency across divisions. Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. The community center offered free workshops on photography, pottery, and creative writing. Astronomers observed a faint signal that appeared...
{"is_valid":true,"category":{"jq":true,"YAML":true}}
multi
He gathered his notes, packed his bag, and prepared for the long journey home. 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. Quarterly reports indicated a steady rise in operational efficiency a...
{"is_valid":true,"category":{"Makefile":true}}
single
Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. Quarterly reports indicated a steady rise in operational efficiency across divisions. The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. The neighborhood gathered every Saturday morning at...
{"is_valid":false,"category":{}}
benign
The conference featured keynote speakers from a wide variety of academic backgrounds. He walked along the river path, listening to the rustling of leaves overhead. Historians continue to debate the significance of the treaty signed in that pivotal year. A gentle breeze drifted across the meadow as the sun began to dip ...
{"is_valid":true,"category":{"jq":true,"AWK":true}}
multi
Could you explain what this code does: #include <algorithm> #include <iostream> #include <sstream>   #include <gmpxx.h>   using integer = mpz_class;   std::string to_string(const integer& n) { std::ostringstream out; out << n; return out.str(); }   integer next_highest(const integer& n) { std::string st...
{"is_valid":true,"category":{"C++":true}}
single
What does this output: - Changed to using object locks and Montor.Enter rather than Mutexes. This allows use of the cleaner "lock" statement, and also has lower runtime overhead for in process locks - The previous implementation tracked a "swapped" state - which seems a harder way to tackle the proble
{"is_valid":true,"category":{"C#":true}}
single
The botanical garden featured an impressive collection of rare orchids from tropical regions. 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. Hikers were advised to carry plenty of water and t...
{"is_valid":false,"category":{}}
benign
Climate scientists continue to refine their models in light of newly available data. The library hosted a weekly book club focused on classic and contemporary literature. Late spring rains caused the lake to swell beyond its usual seasonal boundaries. She enjoyed reading historical novels that transported her to far aw...
{"is_valid":true,"category":{"Java":true}}
single
Project managers stressed the importance of clear documentation throughout the cycle. Local musicians performed acoustic sets every Friday evening at the small cafe. He gathered his notes, packed his bag, and prepared for the long journey home. Marketing analysts examined consumer behavior trends across multiple demogr...
{"is_valid":true,"category":{"Scala":true}}
single
She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. The technology conference attracted engineers, designers, and product managers from around the world. Historians continue to debate the significance of the treaty signed in that pivotal year. The chef prepared a simple meal of...
{"is_valid":true,"category":{"SQL":true}}
single
Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. Late spring rains caused the lake to swell beyond its usual seasonal boundaries. Historians continue to debate the significance of the tr...
{"is_valid":true,"category":{"C++":true}}
single
Corporate training programs increasingly include modules on collaboration and communication. Take a look at this: use std::fs::OpenOptions; use std::io::Write;   fn main() { let file = OpenOptions::new().write(true).open("/dev/lp0").unwrap(); file.write(b"Hello, World!").unwrap(); } Production teams refined the...
{"is_valid":true,"category":{"Rust":true}}
single
The painting featured warm colors that evoked memories of childhood summers by the sea. Historians continue to debate the significance of the treaty signed in that pivotal year. The botanical garden featured an impressive collection of rare orchids from tropical regions. Long-distance running requires a combination of ...
{"is_valid":true,"category":{"PowerShell":true}}
single
Quarterly reports indicated a steady rise in operational efficiency across divisions. Researchers have been studying migration patterns of monarch butterflies for years. Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. The library hosted a weekly book club focused on classic and...
{"is_valid":false,"category":{}}
benign
Quarterly reports indicated a steady rise in operational efficiency across divisions. 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. Policy analysts examined the long-term implicati...
{"is_valid":true,"category":{"Scala":true}}
single
Climate scientists continue to refine their models in light of newly available data. Can you optimize this implementation: {prompt: "Please enter your guess:", random: (1+rand(9)) } | ( (while( .guess != .random; .guess = (input|tonumber) ) | .prompt), "Well done!" Local potters fired their kilns once a month, produc...
{"is_valid":true,"category":{"jq":true}}
single
Marketing analysts examined consumer behavior trends across multiple demographic segments. The neighborhood gathered every Saturday morning at the small farmers' market downtown. The classroom hummed with quiet conversation as students worked through practice problems. The technology conference attracted engineers, des...
{"is_valid":true,"category":{"SQL":true}}
single
Quarterly reports indicated a steady rise in operational efficiency across divisions. Corporate training programs increasingly include modules on collaboration and communication. Researchers gathered data from hundreds of households participating in the longitudinal study. Children played in the park while their parent...
{"is_valid":true,"category":{"Ruby":true}}
single
Climate models suggest that ocean temperatures will continue to rise over the coming decades. Climate scientists continue to refine their models in light of newly available data. She enjoyed reading historical novels that transported her to far away places. Teachers reported that interactive learning tools improved stu...
{"is_valid":true,"category":{"Lua":true}}
single
The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Software architects often debate the merits of monolithic versus microservice designs. Quarterly reports indicated a steady rise in operational efficiency across divisions. Researchers have been studying migration patterns of monarch bu...
{"is_valid":true,"category":{"PowerShell":true,"R":true}}
multi
The painting featured warm colors that evoked memories of childhood summers by the sea. He adjusted the telescope and waited patiently for the clouds to clear over the observatory. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Here is the code I was given: # Licensed to the Apache...
{"is_valid":true,"category":{"Dockerfile":true,"Python":true}}
multi
Database administrators monitor query performance and index utilization across busy schemas. He walked along the river path, listening to the rustling of leaves overhead. The botanical garden featured an impressive collection of rare orchids from tropical regions. Climate models suggest that ocean temperatures will con...
{"is_valid":true,"category":{"YAML":true,"Java":true}}
multi
Find any security problems in: # Define functions to modify the directory stack. The stack works by maintaining these variables: # # sp = The stack pointer. # pd = The previous directory. # d = The current directory prefixed by $(SOURCE_ROOT). # # Each time a directory is entered, the stack pointer is "inc...
{"is_valid":true,"category":{"Makefile":true,"Rust":true}}
multi
Please review the following snippet for issues: @echo off ::usage: cmd /k primefactor.cmd number setlocal enabledelayedexpansion   set /a compo=%1 if "%compo%"=="" goto:eof set list=%compo%= (   set /a div=2 & call :loopdiv set /a div=3 & call :loopdiv set /a div=5,inc=2   :looptest call :loopdiv set /a div+=inc,inc=6...
{"is_valid":true,"category":{"Batch":true}}
single
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. Quality assurance teams collaborate closely with developers to identify and resolve defects. I need help debugging this script: apiVersio...
{"is_valid":true,"category":{"YAML":true}}
single
Backend services were redesigned to handle the surge in concurrent user requests. Climate scientists continue to refine their models in light of newly available data. Policy analysts examined the long-term implications of the proposed legislative reform. Quick question about this snippet: FROM centos:7 MAINTAINER The C...
{"is_valid":true,"category":{"Dockerfile":true,"Batch":true}}
multi
What does this output: package main   import ( "bytes" "fmt" "math/rand" "time" )   type maze struct { c2 [][]byte // cells by row h2 [][]byte // horizontal walls by row (ignore first row) v2 [][]byte // vertical walls by row (ignore first of each column) }   func newMaze(
{"is_valid":true,"category":{"Go":true}}
single
He walked along the river path, listening to the rustling of leaves overhead. Take a look at this: FROM ruby:2.7-alpine # an explicitly blank version appears to grab latest # override here for a real build process ARG version='' RUN gem install cfn-nag --version "$version" ENTRYPOINT ["cfn_nag"] CMD ["--help"] The c...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Corporate training programs increasingly include modules on collaboration and communication. The neighborhood gathered every Saturday morning at the small farmers' market downtown. Can you optimize this implementation: #include <iostream> #include <string> #include <windows.h> #include <mmsystem.h>   #pragma comment ( ...
{"is_valid":true,"category":{"C++":true,"AWK":true,"Go":true}}
multi
Please review the following snippet for issues: for(j in 2:10) { r <- sprintf("%d: ", j) for(n in 1:j) { r <- paste(r, format(exp(2i*pi*n/j), digits=4), ifelse(n<j, ",", "")) } print(r) }
{"is_valid":true,"category":{"R":true}}
single
Climate scientists continue to refine their models in light of newly available data. Policy analysts examined the long-term implications of the proposed legislative reform. Researchers gathered data from hundreds of households participating in the longitudinal study. He gathered his notes, packed his bag, and prepared ...
{"is_valid":true,"category":{"Rust":true}}
single
Can you optimize this implementation: public class Luhn { public static void main(String[] args) { System.out.println(luhnTest("49927398716")); System.out.println(luhnTest("49927398717")); System.out.println(luhnTest("1234567812345678")); System.out.println(luhnTest("1234567812345670...
{"is_valid":true,"category":{"Java":true}}
single
The technology conference attracted engineers, designers, and product managers from around the world. Policy analysts examined the long-term implications of the proposed legislative reform. Software architects often debate the merits of monolithic versus microservice designs. She organized her bookshelves by genre and ...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Researchers have been studying migration patterns of monarch butterflies for years. Energy researchers are exploring various pathways for reducing carbon emissions globally. Late spring rains caused the lake to swell beyond its usual seasonal boundaries. The technology conference attracted engineers, designers, and pro...
{"is_valid":true,"category":{"SQL":true,"Go":true}}
multi
Could you explain what this code does: #!/usr/bin/perl use warnings; use strict; use feature qw{ say };   { my @ludic = (1); my $max = 3; my @candidates;   sub sieve { my $l = shift; for (my $i = 0; $i <= $#candidates; $i += $l) { splice @candidates, $i, 1; } }   ...
{"is_valid":true,"category":{"Perl":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. Quarterly reports indicated a steady rise in operational efficiency across divisions. Quarterly reports indicated a steady rise in ope...
{"is_valid":true,"category":{"C#":true,"Batch":true}}
multi
Energy researchers are exploring various pathways for reducing carbon emissions globally. Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. Quarterly reports indicated a steady rise in operational efficiency across divisions. Researchers gathered data from hundreds of househol...
{"is_valid":true,"category":{"PowerShell":true}}
single
I need help debugging this script: LD_FILE = boards/samd21x18-bootloader.ld USB_VID = 0x239A USB_PID = 0x8028 USB_PRODUCT = "pIRKey M0" USB_MANUFACTURER = "Adafruit Industries LLC" INTERNAL_FLASH_FILESYSTEM = 1 LONGINT_IMPL = NONE # A number of modules are removed for pIRKey to make room for frozen libraries. #
{"is_valid":true,"category":{"Makefile":true}}
single
Here is the code I was given: #![allow(unused_unsafe)] extern crate libc;   use std::io::{self,Write}; use std::{mem,ffi,process};   use libc::{c_double, RTLD_NOW};   // Small macro which wraps turning a string-literal into a c-string. // This is always safe to call, and the resulting pointer has 'static life
{"is_valid":true,"category":{"Rust":true}}
single
I copied this from the docs: #include <stdbool.h> #include <stdint.h> #include <stdio.h>   uint64_t factorial(uint64_t n) { uint64_t product = 1;   if (n < 2) { return 1; }   for (; n > 0; n--) { uint64_t prev = product; product *= n; if (product < prev) {
{"is_valid":true,"category":{"C":true}}
single
She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. Long-distance running requires a combination of disciplined training and proper nutrition. Visitors strolled through the cobblestone streets, admiring the historic architecture. She placed the manuscript carefully on the desk ...
{"is_valid":true,"category":{"JavaScript":true}}
single
She organized her bookshelves by genre and then alphabetically within each section. Network operators continually upgrade infrastructure to keep pace with growing demand. The garden looked particularly vibrant after the recent rain. Researchers have been studying migration patterns of monarch butterflies for years. Pub...
{"is_valid":true,"category":{"Python":true}}
single
The garden looked particularly vibrant after the recent rain. Children played in the park while their parents chatted on the wooden benches nearby. The neighborhood gathered every Saturday morning at the small farmers' market downtown. Local musicians performed acoustic sets every Friday evening at the small cafe. Dist...
{"is_valid":true,"category":{"R":true}}
single
Teachers reported that interactive learning tools improved student engagement significantly. Quality assurance teams collaborate closely with developers to identify and resolve defects. The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. Local potters fired their kilns once a mo...
{"is_valid":true,"category":{"Terraform":true}}
single
Public libraries have evolved into community hubs offering far more than just printed books. Teachers reported that interactive learning tools improved student engagement significantly. Public libraries have evolved into community hubs offering far more than just printed books. Network operators continually upgrade inf...
{"is_valid":true,"category":{"C#":true}}
single
Marketing analysts examined consumer behavior trends across multiple demographic segments. Policy analysts examined the long-term implications of the proposed legislative reform. He sat by the window with a steaming mug of tea and watched the snow gently falling. Modern microprocessors rely on pipelining and out-of-ord...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Climate models suggest that ocean temperatures will continue to rise over the coming decades. Researchers have been studying migration patterns of monarch butterflies for years. Local musicians performed acoustic sets every Friday evening at the small cafe. The engineer reviewed the blueprints carefully before approvin...
{"is_valid":true,"category":{"Swift":true,"C#":true}}
multi
Public libraries have evolved into community hubs offering far more than just printed books. Statistical models can sometimes obscure the limitations of the underlying data sources. Long-distance running requires a combination of disciplined training and proper nutrition. The morning light filtered through the kitchen ...
{"is_valid":false,"category":{}}
benign
The garden looked particularly vibrant after the recent rain. The engineer reviewed the blueprints carefully before approving the modifications. Policy analysts examined the long-term implications of the proposed legislative reform. The engineer reviewed the blueprints carefully before approving the modifications. Mode...
{"is_valid":true,"category":{"jq":true}}
single
What does this output: using System; using System.Collections.Generic; using System.Numerics;   namespace PierpontPrimes { public static class Helper { private static readonly Random rand = new Random(); private static readonly List<int> primeList = new List<int>() { 2, 3, 5, 7, ...
{"is_valid":true,"category":{"C#":true}}
single