prompt
large_stringlengths
150
7.97k
target
large_stringlengths
32
83
kind
large_stringclasses
3 values
The botanical garden featured an impressive collection of rare orchids from tropical regions. Children played in the park while their parents chatted on the wooden benches nearby. The garden looked particularly vibrant after the recent rain. Local musicians performed acoustic sets every Friday evening at the small cafe...
{"is_valid":true,"category":{"Swift":true}}
single
The bakery on the corner was famous for its sourdough loaves and seasonal pastries. The painting featured warm colors that evoked memories of childhood summers by the sea. Production teams refined their processes to minimize waste and improve overall yield. The committee scheduled a follow-up meeting to discuss the bud...
{"is_valid":false,"category":{}}
benign
Energy researchers are exploring various pathways for reducing carbon emissions globally. Hikers were advised to carry plenty of water and to inform someone of their planned route. Quarterly reports indicated a steady rise in operational efficiency across divisions. Long-distance running requires a combination of disci...
{"is_valid":true,"category":{"C":true,"Terraform":true,"AWK":true}}
multi
Add comments to make this clearer: import java.lang.reflect.Field;   public class ListFields { public int examplePublicField = 42; private boolean examplePrivateField = true;   public static void main(String[] args) throws IllegalAccessException { ListFields obj = new ListFields(); Class cla...
{"is_valid":true,"category":{"Java":true,"YAML":true}}
multi
Statistical models can sometimes obscure the limitations of the underlying data sources. Climate scientists continue to refine their models in light of newly available data. Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. Climate models suggest that ocean temperatures will ...
{"is_valid":true,"category":{"Java":true}}
single
Marketing analysts examined consumer behavior trends across multiple demographic segments. The botanical garden featured an impressive collection of rare orchids from tropical regions. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Project managers stressed the importance of clear d...
{"is_valid":true,"category":{"AWK":true,"Batch":true}}
multi
Production teams refined their processes to minimize waste and improve overall yield. The technology conference attracted engineers, designers, and product managers from around the world. Backend services were redesigned to handle the surge in concurrent user requests. Nutritionists generally recommend a balanced diet ...
{"is_valid":true,"category":{"Batch":true}}
single
Local musicians performed acoustic sets every Friday evening at the small cafe. Hikers were advised to carry plenty of water and to inform someone of their planned route. The committee scheduled a follow-up meeting to discuss the budget allocations. The bakery on the corner was famous for its sourdough loaves and seaso...
{"is_valid":false,"category":{}}
benign
Corporate training programs increasingly include modules on collaboration and communication. Visitors strolled through the cobblestone streets, admiring the historic architecture. Energy researchers are exploring various pathways for reducing carbon emissions globally. The classroom hummed with quiet conversation as st...
{"is_valid":false,"category":{}}
benign
Quality assurance teams collaborate closely with developers to identify and resolve defects. The painting featured warm colors that evoked memories of childhood summers by the sea. The garden looked particularly vibrant after the recent rain. Quality assurance teams collaborate closely with developers to identify and r...
{"is_valid":true,"category":{"Batch":true}}
single
Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. The newly opened gallery showcased contemporary works by emerging regional artists. 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...
{"is_valid":true,"category":{"Dockerfile":true,"Perl":true,"Python":true}}
multi
Can you optimize this implementation: let libs = [ ("des_system_lib", ["std", "synopsys", "std_cell_lib", "des_system_lib", "dw02", "dw01", "ramlib", "ieee"]), ("dw01", ["ieee", "dw01", "dware", "gtech"]), ("dw02", ["ieee", "dw02", "dware"]), ("dw03", ["std", "synopsys", "dware", "dw03", "dw02", "dw01", "ieee",...
{"is_valid":true,"category":{"Swift":true}}
single
Quality assurance teams collaborate closely with developers to identify and resolve defects. Historians continue to debate the significance of the treaty signed in that pivotal year. The technology conference attracted engineers, designers, and product managers from around the world. Find any security problems in: cons...
{"is_valid":true,"category":{"JavaScript":true,"Batch":true,"AWK":true}}
multi
The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Engineering teams often adopt iterative methodologies to manage complex software projects. Climate scientists continue to refine their models in light of newly available data. Volunteers spent the weekend cleaning up the riverside trail...
{"is_valid":false,"category":{}}
benign
Energy researchers are exploring various pathways for reducing carbon emissions globally. Quick question about this snippet: class Animal { /* ... */ // ... }   class Dog : Animal { /* ... */ // ... }   class Lab : Dog { /* ... */ // ... }   class Collie : Dog { /* ... */ // ... }   class Cat : ...
{"is_valid":true,"category":{"C#":true}}
single
Quarterly reports indicated a steady rise in operational efficiency across divisions. Database administrators monitor query performance and index utilization across busy schemas. Researchers gathered data from hundreds of households participating in the longitudinal study. Marketing analysts examined consumer behavior ...
{"is_valid":true,"category":{"Rust":true}}
single
She enjoyed reading historical novels that transported her to far away places. Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. He adjusted the telescope and waited patiently for the clouds to clear over the observatory. Children played in the park while their parents chatted...
{"is_valid":true,"category":{"R":true}}
single
The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. 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 garden looked particularly vibrant afte...
{"is_valid":true,"category":{"Makefile":true}}
single
I copied this from the docs: #include <stdio.h> #include <stdlib.h> #include <locale.h>   /* wchar_t is the standard type for wide chars; what it is internally * depends on the compiler. */ wchar_t poker[] = L"♥♦♣♠"; wchar_t four_two[] = L"\x56db\x5341\x4e8c";   int main() { /* Set the locale to alert C's multiby...
{"is_valid":true,"category":{"C":true}}
single
The community center offered free workshops on photography, pottery, and creative writing. Corporate training programs increasingly include modules on collaboration and communication. She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. Corporate training programs increasingly i...
{"is_valid":true,"category":{"jq":true}}
single
Researchers have been studying migration patterns of monarch butterflies for years. Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. Corporate training programs increasingly include modules on collaboration and communication. Network operators continually upgrade infrastruct...
{"is_valid":true,"category":{"SQL":true}}
single
Refactor the function below: package main   import ( "fmt" "strings" )   func main() { p, tests, swaps := Solution() fmt.Println(p) fmt.Println("Tested", tests, "positions and did", swaps, "swaps.") }   // Holes A=0, B=1, …, H=7 // With connections: const conn = ` A B /|\ /|\ / | X |
{"is_valid":true,"category":{"Go":true}}
single
Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Add comments to make this clearer: @echo off   for /f "tokens=1,2 delims= " %%A in ('mode con') do ( if "%%A"=="Lines:" set line=%%B if "%%A"=="Columns:" set cols=%%B )   echo Lines: %line% echo Columns: %cols% exit /b 0 The ...
{"is_valid":true,"category":{"Batch":true}}
single
Visitors strolled through the cobblestone streets, admiring the historic architecture. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Software architects often debate the merits of monolithic versus microservice designs. The classroom hummed with quiet conversation as stude...
{"is_valid":true,"category":{"YAML":true}}
single
Astronomers observed a faint signal that appeared to originate from a distant galaxy. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Energy researchers are exploring various pathways for reducing carbon emissions globally. The painting featured warm colors that evoked memories of ch...
{"is_valid":true,"category":{"C#":true,"Perl":true}}
multi
Climate models suggest that ocean temperatures will continue to rise over the coming decades. Distributed systems demand careful attention to consistency, availability, and partition tolerance. Researchers have been studying migration patterns of monarch butterflies for years. He sat by the window with a steaming mug o...
{"is_valid":true,"category":{"C++":true}}
single
The botanical garden featured an impressive collection of rare orchids from tropical regions. Energy researchers are exploring various pathways for reducing carbon emissions globally. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. The morning light filtered through the kitchen wind...
{"is_valid":true,"category":{"Python":true}}
single
She placed the manuscript carefully on the desk and began the painstaking process of revision. Here is the code I was given: CREATE TABLE book (Writer VARCHAR); SELECT Writer FROM book GROUP BY Writer HAVING COUNT(*) > 1
{"is_valid":true,"category":{"SQL":true}}
single
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 garden looked particularly vibrant after the recent rain. Take a look at this: module "es_ingest_queue" { source = "./sqs" ...
{"is_valid":true,"category":{"Terraform":true,"SQL":true,"Kotlin":true}}
multi
The library hosted a weekly book club focused on classic and contemporary literature. Project managers stressed the importance of clear documentation throughout the cycle. Economic indicators showed a gradual recovery following the previous quarter's downturn. Public libraries have evolved into community hubs offering ...
{"is_valid":true,"category":{"jq":true}}
single
Local musicians performed acoustic sets every Friday evening at the small cafe. Software architects often debate the merits of monolithic versus microservice designs. Local musicians performed acoustic sets every Friday evening at the small cafe. He adjusted the telescope and waited patiently for the clouds to clear ov...
{"is_valid":false,"category":{}}
benign
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 Lic...
{"is_valid":true,"category":{"YAML":true,"C":true}}
multi
Add comments to make this clearer: :: Stable Marriage Problem in Rosetta Code :: Batch File Implementation   @echo off setlocal enabledelayedexpansion :: Initialization (Index Starts in 0) set "male=abe bob col dan ed fred gav hal ian jon" set "femm=abi bea cath dee eve fay gay hope ivy jan"   set "abe[]=abi, eve, cat...
{"is_valid":true,"category":{"Batch":true,"C":true}}
multi
Historians continue to debate the significance of the treaty signed in that pivotal year. Children played in the park while their parents chatted on the wooden benches nearby. Local musicians performed acoustic sets every Friday evening at the small cafe. The morning light filtered through the kitchen window as the cof...
{"is_valid":true,"category":{"PowerShell":true}}
single
Translate this into another language for me: extern crate autopilot; extern crate rand; use rand::Rng;   // Moves the mouse in a sine wave across the screen. const TWO_PI: f64 = std::f64::consts::PI * 2.0; fn sine_mouse_wave() -> Result<(), autopilot::mouse::MouseError> { let screen_size = autopilot::screen::size()...
{"is_valid":true,"category":{"Rust":true}}
single
Climate scientists continue to refine their models in light of newly available data. Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. He adjusted the telescope and waited patiently for the clouds to clear over the observatory. The conference featured keynote speakers from a wide...
{"is_valid":true,"category":{"Makefile":true}}
single
Local musicians performed acoustic sets every Friday evening at the small cafe. He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. Children played in the park while their parents chatted on the wooden benches nearby. The newly opened gallery showcased contemporary works by emer...
{"is_valid":true,"category":{"PowerShell":true}}
single
Backend services were redesigned to handle the surge in concurrent user requests. Network operators continually upgrade infrastructure to keep pace with growing demand. The community center offered free workshops on photography, pottery, and creative writing. Backend services were redesigned to handle the surge in conc...
{"is_valid":true,"category":{"Batch":true}}
single
Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. Quick question about this snippet: import Foundation   func isMünchhausen(_ n: Int) -> Bool { let nums = String(n).map(String.init).compactMap(Int.init)   return Int(nums.map({ pow(Double($0), Double($0)) }).reduce(0, +)) == n...
{"is_valid":true,"category":{"Swift":true}}
single
The morning light filtered through the kitchen window as the coffee brewed. Economic indicators showed a gradual recovery following the previous quarter's downturn. Climate scientists continue to refine their models in light of newly available data. She drafted a detailed agenda for the upcoming retreat and circulated ...
{"is_valid":true,"category":{"Makefile":true}}
single
Hikers were advised to carry plenty of water and to inform someone of their planned route. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Researchers gathered data from hundreds of households participating in the longitudinal study. Here is the code I was given: #include<ma...
{"is_valid":true,"category":{"C":true}}
single
The community center offered free workshops on photography, pottery, and creative writing. Network operators continually upgrade infrastructure to keep pace with growing demand. He sat by the window with a steaming mug of tea and watched the snow gently falling. Farmers depend on accurate weather forecasts to plan thei...
{"is_valid":true,"category":{"Scala":true,"Go":true}}
multi
Energy researchers are exploring various pathways for reducing carbon emissions globally. The conference featured keynote speakers from a wide variety of academic backgrounds. She organized her bookshelves by genre and then alphabetically within each section. The morning light filtered through the kitchen window as the...
{"is_valid":true,"category":{"R":true}}
single
The newly opened gallery showcased contemporary works by emerging regional artists. Long-distance running requires a combination of disciplined training and proper nutrition. Can you optimize this implementation: package main   import ( "fmt" "log" )   var ( primes = sieve(100000) foundCombo = false...
{"is_valid":true,"category":{"Go":true,"Swift":true}}
multi
Translate this into another language for me: def bellTriangle(n) tri = Array.new(n) for i in 0 .. n - 1 do tri[i] = Array.new(i) for j in 0 .. i - 1 do tri[i][j] = 0 end end tri[1][0] = 1 for i in 2 .. n - 1 do tri[i][0] = tri[i - 1][i - 2] for j i...
{"is_valid":true,"category":{"Ruby":true}}
single
Quick question about this snippet: #!/usr/bin/env python3   import curses from random import randrange, choice # generate and place new tile from collections import defaultdict   letter_codes = [ord(ch) for ch in 'WASDRQwasdrq'] actions = ['Up', 'Left', 'Down', 'Right', 'Restart', 'Exit'] actions_dict = dict(zip(letter...
{"is_valid":true,"category":{"Python":true}}
single
She placed the manuscript carefully on the desk and began the painstaking process of revision. Hikers were advised to carry plenty of water and to inform someone of their planned route.
{"is_valid":false,"category":{}}
benign
Hikers were advised to carry plenty of water and to inform someone of their planned route. Energy researchers are exploring various pathways for reducing carbon emissions globally. Network operators continually upgrade infrastructure to keep pace with growing demand. The technology conference attracted engineers, desig...
{"is_valid":false,"category":{}}
benign
She placed the manuscript carefully on the desk and began the painstaking process of revision. The painting featured warm colors that evoked memories of childhood summers by the sea. He walked along the river path, listening to the rustling of leaves overhead. He walked along the river path, listening to the rustling o...
{"is_valid":true,"category":{"C++":true}}
single
Refactor the function below: object CocktailSort extends App { def sort(arr: Array[Int]) = { var swapped = false do { def swap(i: Int) { val temp = arr(i) arr(i) = arr(i + 1) arr(i + 1) = temp swapped = true }   swapped = false for (i <- 0 to (arr.length...
{"is_valid":true,"category":{"Scala":true,"R":true}}
multi
Teachers reported that interactive learning tools improved student engagement significantly. Hikers were advised to carry plenty of water and to inform someone of their planned route. Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. Corporate training programs increasingly inclu...
{"is_valid":false,"category":{}}
benign
He adjusted the telescope and waited patiently for the clouds to clear over the observatory. Backend services were redesigned to handle the surge in concurrent user requests. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Travelers explored ancient ruins, marveling at the craftsman...
{"is_valid":true,"category":{"Ruby":true}}
single
Climate models suggest that ocean temperatures will continue to rise over the coming decades. Late spring rains caused the lake to swell beyond its usual seasonal boundaries. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. She enjoyed reading historical novels that transported her t...
{"is_valid":true,"category":{"Terraform":true}}
single
He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. Astronomers observed a faint signal that appeared to originate from a distant galaxy. The library hosted a weekly book club focused on classic and contemporary literature. The bakery on the corner was famous for its sourdough l...
{"is_valid":true,"category":{"Kotlin":true,"Scala":true}}
multi
Visitors strolled through the cobblestone streets, admiring the historic architecture. The committee scheduled a follow-up meeting to discuss the budget allocations. 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 ho...
{"is_valid":true,"category":{"Makefile":true}}
single
Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. Researchers gathered data from hundreds of households participating in the longitudinal study. Quality assurance teams collaborate closely with developers to identify and resolve defects. Farmers depend on accurate weather forecasts...
{"is_valid":true,"category":{"Rust":true,"C":true,"C++":true}}
multi
The committee scheduled a follow-up meeting to discuss the budget allocations. Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. Historians continue to debate the significance of the treaty signed in that pivotal year. Visitors strolled through the cobblestone streets, admiring t...
{"is_valid":true,"category":{"C":true}}
single
Visitors strolled through the cobblestone streets, admiring the historic architecture. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. The morning light filtered through the kitchen window as the coffee brewed. Marketing analysts examined consumer behavior trends across multiple demo...
{"is_valid":true,"category":{"AWK":true}}
single
Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. Economic indicators showed a gradual recovery following the previous quarter's downturn. Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. The morning light filtered through the kitchen w...
{"is_valid":true,"category":{"SQL":true}}
single
Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. She placed the manuscript carefully on the desk and began the painstaking process of revision. She enjoyed reading historical novels that transported her to far away places. Policy analysts examined the long-term implications of the...
{"is_valid":true,"category":{"PowerShell":true}}
single
Quarterly reports indicated a steady rise in operational efficiency across divisions. Historians continue to debate the significance of the treaty signed in that pivotal year. Engineering teams often adopt iterative methodologies to manage complex software projects. The garden looked particularly vibrant after the rece...
{"is_valid":true,"category":{"Kotlin":true}}
single
Network operators continually upgrade infrastructure to keep pace with growing demand. Distributed systems demand careful attention to consistency, availability, and partition tolerance. Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. Economic indicators showed a gradual re...
{"is_valid":true,"category":{"Scala":true}}
single
The painting featured warm colors that evoked memories of childhood summers by the sea. Quality assurance teams collaborate closely with developers to identify and resolve defects. Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. He gathered his notes, packed his bag, and prepar...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Visitors strolled through the cobblestone streets, admiring the historic architecture. Researchers gathered data from hundreds of households participating in the longitudinal study. Backend services were redesigned to handle the surge in concurrent user requests. Distributed systems demand careful attention to consiste...
{"is_valid":true,"category":{"R":true}}
single
Can you optimize this implementation: // version 1.1   fun sumDigits(n: Int): Int = when { n <= 0 -> 0 else -> { var sum = 0 var nn = n while (nn > 0) { sum += nn % 10 nn /= 10 } sum } }   fun isH
{"is_valid":true,"category":{"Kotlin":true}}
single
She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. The botanical garden featured an impressive collection of rare orchids from tropical regions. Engineering teams often adopt iterative...
{"is_valid":true,"category":{"Perl":true}}
single
Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. Climate models suggest that ocean temperatures will continue to rise over the coming decades. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. The engineer reviewed the blueprints carefully before ...
{"is_valid":false,"category":{}}
benign
Here is the code I was given: // version 1.1.2   fun gcd(a: Long, b: Long): Long = if (b == 0L) a else gcd(b, a % b)   infix fun Long.ldiv(denom: Long) = Frac(this, denom)   infix fun Int.idiv(denom: Int) = Frac(this.toLong(), denom.toLong())   fun Long.toFrac() = Frac(this, 1)   fun Int.toFrac() = Frac(this.toLong(), ...
{"is_valid":true,"category":{"Kotlin":true}}
single
Researchers gathered data from hundreds of households participating in the longitudinal study. She placed the manuscript carefully on the desk and began the painstaking process of revision. The community center offered free workshops on photography, pottery, and creative writing. Modern microprocessors rely on pipelini...
{"is_valid":true,"category":{"jq":true}}
single
Climate scientists continue to refine their models in light of newly available data. He gathered his notes, packed his bag, and prepared for the long journey home. He sat by the window with a steaming mug of tea and watched the snow gently falling. Quality assurance teams collaborate closely with developers to identify...
{"is_valid":true,"category":{"YAML":true}}
single
The botanical garden featured an impressive collection of rare orchids from tropical regions. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. He adjusted the telescope and waited patiently for the clouds to clear over the observatory. The technology conference attracted engineers, de...
{"is_valid":true,"category":{"AWK":true}}
single
The engineer reviewed the blueprints carefully before approving the modifications. The committee scheduled a follow-up meeting to discuss the budget allocations. Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. The painting featured warm colors that evoked memories of childhood su...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Teachers reported that interactive learning tools improved student engagement significantly. Climate scientists continue to refine their models in light of newly available data. Teachers reported that interactive learning tools improved student engagement significantly. The committee scheduled a follow-up meeting to di...
{"is_valid":true,"category":{"C#":true}}
single
Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Take a look at this: my @heading = qw(X Y Z); my $rows = 5; print '<table><thead><td>', (map { "<th>$_</th>" } @heading), "</thead><tbody>";   for (1 .. $rows) { print "<tr><th>$_</th>", ...
{"is_valid":true,"category":{"Perl":true}}
single
What does this output: arch = x86_64 version = 0.0 mirror = http://dl.2f30.org/morpheus-pkgs/${arch}/${version} pkgdirs = $mkbuild/../ports nprocs = 2 TOOLCHAIN_TRIPLET = ${arch}-musl-linux CC = ${TOOLCHAIN_TRIPLET}-gcc CXX = ${TOOLCHAIN_TRIPLET}-g++ LD = $CC AR = ${TOOLCHAIN_TRIPLET}-ar RANLIB = ${TOOLCHAIN_TRIPLET}-...
{"is_valid":true,"category":{"Makefile":true}}
single
Energy researchers are exploring various pathways for reducing carbon emissions globally. The neighborhood gathered every Saturday morning at the small farmers' market downtown. Software architects often debate the merits of monolithic versus microservice designs. Public libraries have evolved into community hubs offer...
{"is_valid":true,"category":{"Perl":true,"C":true}}
multi
Can you optimize this implementation: # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # $Source: src/import/chips/p9/procedures/hwp/nest/p9_tod_setup.mk $ # # OpenPOWER HostBoot Project # # Contributors Listed Below - COPYRIGHT 2015,2019 # [+] International Business Machines Corp. # # # Licensed u...
{"is_valid":true,"category":{"Makefile":true}}
single
Policy analysts examined the long-term implications of the proposed legislative reform. He adjusted the telescope and waited patiently for the clouds to clear over the observatory. Local potters fired their kilns once a month, producing colorful ceramics for the shops. The library hosted a weekly book club focused on c...
{"is_valid":true,"category":{"Terraform":true}}
single
The morning light filtered through the kitchen window as the coffee brewed. He walked along the river path, listening to the rustling of leaves overhead. The morning light filtered through the kitchen window as the coffee brewed. Climate models suggest that ocean temperatures will continue to rise over the coming decad...
{"is_valid":true,"category":{"C#":true,"JavaScript":true}}
multi
The garden looked particularly vibrant after the recent rain. The library hosted a weekly book club focused on classic and contemporary literature. Project managers stressed the importance of clear documentation throughout the cycle. Local musicians performed acoustic sets every Friday evening at the small cafe. A gent...
{"is_valid":true,"category":{"jq":true,"Java":true}}
multi
Researchers have been studying migration patterns of monarch butterflies for years. Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. Visitors strolled through the cobblestone street...
{"is_valid":true,"category":{"R":true,"Dockerfile":true}}
multi
Energy researchers are exploring various pathways for reducing carbon emissions globally. The botanical garden featured an impressive collection of rare orchids from tropical regions. The neighborhood gathered every Saturday morning at the small farmers' market downtown. She placed the manuscript carefully on the desk ...
{"is_valid":true,"category":{"Java":true}}
single
Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. Researchers gathered data from hundreds of households participating in the longitudinal study. Researchers gathered data from hundreds of households participating in the longitudinal study. Policy analysts examined the long-te...
{"is_valid":true,"category":{"Kotlin":true}}
single
I need help debugging this script: function New-ThueMorse ( $Digits ) { # Start with seed 0 $ThueMorse = "0"   # Decrement digits remaining $Digits--   # While we still have digits to calculate... While ( $Digits -gt 0 ) { # Number of digits we'll get this loop (what we s...
{"is_valid":true,"category":{"PowerShell":true}}
single
I need help debugging this script: local stack = {} function push( a ) table.insert( stack, 1, a ) end function pop() if #stack == 0 then return nil end return table.remove( stack, 1 ) end function writeStack() for i = #stack, 1, -1 do io.write( stack[i], " " ) end print() end function opera...
{"is_valid":true,"category":{"Lua":true}}
single
Take a look at this: // version 1.1.2   fun isPrime(n: Int) : Boolean { if (n < 2) return false if (n % 2 == 0) return n == 2 if (n % 3 == 0) return n == 3 var d = 5 while (d * d <= n) { if (n % d == 0) return false d += 2 if (n % d == 0) return false d += 4 } ...
{"is_valid":true,"category":{"Kotlin":true}}
single
Here is the code I was given: ifeq ($(strip $(BUILD_WITH_GST)),true) LOCAL_PATH := $(call my-dir) GST_OPENMAX_TOP := $(LOCAL_PATH) include $(CLEAR_VARS) include $(GST_OPENMAX_TOP)/util/Android.mk include $(GST_OPENMAX_TOP)/omx/Android.mk endif
{"is_valid":true,"category":{"Makefile":true}}
single
What does this output: use Time::Piece; my $d = Time::Piece->strptime("2020-02-02", "%Y-%m-%d");   for (my $k = 1 ; $k <= 15 ; $d += Time::Piece::ONE_DAY) { my $s = $d->strftime("%Y%m%d"); if ($s eq reverse($s) and ++$k) { print $d->strftime("%Y-%m-%d\n"); } } We also have this other snippet: exter...
{"is_valid":true,"category":{"Perl":true,"Rust":true}}
multi
The committee scheduled a follow-up meeting to discuss the budget allocations. Climate scientists continue to refine their models in light of newly available data. The neighborhood gathered every Saturday morning at the small farmers' market downtown. Energy researchers are exploring various pathways for reducing carbo...
{"is_valid":true,"category":{"Batch":true}}
single
Software architects often debate the merits of monolithic versus microservice designs. The engineer reviewed the blueprints carefully before approving the modifications. 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 th...
{"is_valid":true,"category":{"Scala":true,"Java":true,"Ruby":true}}
multi
The garden looked particularly vibrant after the recent rain. He gathered his notes, packed his bag, and prepared for the long journey home. Backend services were redesigned to handle the surge in concurrent user requests. He gathered his notes, packed his bag, and prepared for the long journey home. Economic indicator...
{"is_valid":true,"category":{"Go":true}}
single
He sat by the window with a steaming mug of tea and watched the snow gently falling. Policy analysts examined the long-term implications of the proposed legislative reform. Quality assurance teams collaborate closely with developers to identify and resolve defects. The technology conference attracted engineers, designe...
{"is_valid":true,"category":{"SQL":true,"PowerShell":true,"Scala":true}}
multi
Here is the code I was given: #! /usr/bin/perl use strict; my $trials = 10000;   my $stay = 0; my $switch = 0;   foreach (1 .. $trials) { my $prize = int(rand 3); # let monty randomly choose a door where he puts the prize my $chosen = int(rand 3); # let us randomly choose a door... my $show; do { $s...
{"is_valid":true,"category":{"Perl":true}}
single
A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Policy analysts examined the long-term implications of the proposed legislative reform. Please review the following snippet for issues: --- apiVersion: v1 kind: ConfigMap metadata: namespace: default name: job-config data: job-co...
{"is_valid":true,"category":{"YAML":true}}
single
Can you optimize this implementation: apiVersion: storage.k8s.io/v1 kind: CSIDriver metadata: name: hostpath.csi.k8s.io namespace: kube-system spec: # Supports persistent and ephemeral inline volumes. volumeLifecycleModes: - Persistent - Ephemeral # To determine at runtime which mode a volume uses, pod in...
{"is_valid":true,"category":{"YAML":true}}
single
He adjusted the telescope and waited patiently for the clouds to clear over the observatory. Run the following: base = {"name" => "Rocket Skates", "price" => 12.75, "color" => "yellow"} update = {"price" => 15.25, "color" => "red", "year" => 1974}   result = base.merge(update) p result Then there's this one in another...
{"is_valid":true,"category":{"Ruby":true,"Go":true}}
multi
Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. Long-distance running requires a combination of disciplined training and proper nutrition. Historians continue to debate the significance of the treaty signed in that pivotal year. Children played in the park while their parent...
{"is_valid":true,"category":{"Lua":true}}
single
Marketing analysts examined consumer behavior trends across multiple demographic segments. She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Local potters fired their kilns once a mon...
{"is_valid":true,"category":{"AWK":true}}
single
Late spring rains caused the lake to swell beyond its usual seasonal boundaries. Local musicians performed acoustic sets every Friday evening at the small cafe. The morning light filtered through the kitchen window as the coffee brewed. Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civil...
{"is_valid":true,"category":{"jq":true}}
single
The classroom hummed with quiet conversation as students worked through practice problems. Quick question about this snippet: chr <- function(n) { rawToChar(as.raw(n)) }   idx <- 32 while (idx < 128) { for (i in 0:5) { num <- idx + i if (num<100) cat(" ") cat(num,": ") if (num == 32) { cat("Spc "); nex...
{"is_valid":true,"category":{"R":true}}
single