prompt
large_stringlengths
150
7.97k
target
large_stringlengths
32
83
kind
large_stringclasses
3 values
The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. Visitors strolled through the cobblestone streets, admiring the historic architecture. Refactor the function below: S <- scan(n=11)   ...
{"is_valid":true,"category":{"R":true}}
single
Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. What does this output: function heapSort(arr) { heapify(arr) end = arr.length - 1 while (end > 0) { [arr[end], arr[0]] = [arr[0], arr[end]] end-- siftDown(arr, 0, end) } }   function hea...
{"is_valid":true,"category":{"JavaScript":true,"Batch":true}}
multi
Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Astronomers observed a faint signal that appeared to originate from a distant galaxy. Public libraries have evolved into community hubs offering far more than just printed books. The neighborhood gathered every Saturday morning...
{"is_valid":true,"category":{"Batch":true}}
single
Find any security problems in: # $PostgreSQL: pgsql/src/pl/plperl/nls.mk,v 1.3 2009/02/19 10:07:58 petere Exp $ CATALOG_NAME := plperl AVAIL_LANGUAGES := GETTEXT_FILES := plperl.c SPI.c GETTEXT_TRIGGERS:= errmsg errdetail errdetail_log errhint errcontext
{"is_valid":true,"category":{"Makefile":true}}
single
Find any security problems in: var data = [ {name: "Tyler Bennett", id: "E10297", salary: 32000, dept: "D101"}, {name: "John Rappl", id: "E21437", salary: 47000, dept: "D050"}, {name: "George Woltman", id: "E00127", salary: 53500, dept: "D101"}, {name: "Adam Smith", id: "E63535", salary: 18...
{"is_valid":true,"category":{"JavaScript":true}}
single
The engineer reviewed the blueprints carefully before approving the modifications. 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. Late spring rains caused the lake to swell beyond its usu...
{"is_valid":true,"category":{"Bash":true}}
single
Climate scientists continue to refine their models in light of newly available data. The painting featured warm colors that evoked memories of childhood summers by the sea. Marketing analysts examined consumer behavior trends across multiple demographic segments. Backend services were redesigned to handle the surge in ...
{"is_valid":false,"category":{}}
benign
Researchers have been studying migration patterns of monarch butterflies for years. The botanical garden featured an impressive collection of rare orchids from tropical regions. Project managers stressed the importance of clear documentation throughout the cycle. Teachers reported that interactive learning tools improv...
{"is_valid":true,"category":{"C++":true,"Bash":true,"Scala":true}}
multi
Quick question about this snippet: apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: rbac.authorization.k8s.io/aggregate-to-admin: "true" rbac.authorization.k8s.io/aggregate-to-edit: "true" name: aggregate-secretdefinitions-admin-edit rules: - apiGroups: - secrets-manager.tuen...
{"is_valid":true,"category":{"YAML":true,"Swift":true}}
multi
Policy analysts examined the long-term implications of the proposed legislative reform. Production teams refined their processes to minimize waste and improve overall yield. Local potters fired their kilns once a month, producing colorful ceramics for the shops. Nutritionists generally recommend a balanced diet rich in...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Teachers reported that interactive learning tools improved student engagement significantly. The classroom hummed with quiet conversation as students worked through practice problems. I copied this from the docs: #include <iostream>   class Acc { public: Acc(int init) : _type(intType) , _intVal(init...
{"is_valid":true,"category":{"C++":true}}
single
A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. Historians continue to debate the significance o...
{"is_valid":false,"category":{}}
benign
Translate this into another language for me: import operator import functools   @functools.total_ordering class Mod: __slots__ = ['val','mod']   def __init__(self, val, mod): if not isinstance(val, int): raise ValueError('Value must be integer') if not isinstance(mod, int) or mod<=0:
{"is_valid":true,"category":{"Python":true}}
single
The garden looked particularly vibrant after the recent rain. Please review the following snippet for issues: using SpeechLib;   namespace Speaking_Computer { public class Program { private static void Main() { var voice = new SpVoice(); voice.Speak("This is an example of speech synthesis."); ...
{"is_valid":true,"category":{"C#":true}}
single
Economic indicators showed a gradual recovery following the previous quarter's downturn. Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. Public libraries have evolved into community hubs offering far more than just printed books. What does this output: def range_extract(lst)...
{"is_valid":true,"category":{"Python":true,"Java":true}}
multi
Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. Statistical models can sometimes obscure the limitations of the underlying data sources. 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 val li...
{"is_valid":true,"category":{"Kotlin":true}}
single
Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. 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. The engineer reviewed the blueprints carefully before approving the m...
{"is_valid":true,"category":{"SQL":true}}
single
Backend services were redesigned to handle the surge in concurrent user requests. Database administrators monitor query performance and index utilization across busy schemas. Local potters fired their kilns once a month, producing colorful ceramics for the shops. Economic indicators showed a gradual recovery following ...
{"is_valid":true,"category":{"Makefile":true}}
single
Could you explain what this code does: function bubblesort ($a) { $l = $a.Length $hasChanged = $true while ($hasChanged) { $hasChanged = $false $l-- for ($i = 0; $i -lt $l; $i++) { if ($a[$i] -gt $a[$i+1]) { $a[$i], $a[$i+1] = $a[$i+1], $a[$i]
{"is_valid":true,"category":{"PowerShell":true}}
single
A gentle breeze drifted across the meadow as the sun began to dip below the horizon. The morning light filtered through the kitchen window as the coffee brewed. He sat by the window with a steaming mug of tea and watched the snow gently falling. Historians continue to debate the significance of the treaty signed in tha...
{"is_valid":true,"category":{"YAML":true}}
single
Distributed systems demand careful attention to consistency, availability, and partition tolerance. Run the following: --- apiVersion: apps/v1 kind: Deployment metadata: name: podinfo spec: replicas: 3 selector: matchLabels: app: podinfo template: metadata: labels: app: podinfo s...
{"is_valid":true,"category":{"YAML":true}}
single
The painting featured warm colors that evoked memories of childhood summers by the sea. Researchers gathered data from hundreds of households participating in the longitudinal study. He walked along the river path, listening to the rustling of leaves overhead. The garden looked particularly vibrant after the recent rai...
{"is_valid":false,"category":{}}
benign
Run the following: generate() { local b=() local i j tmp for ((i=1; i<=$1; i++)); do b+=( '[' ']') done for ((i=${#b[@]}-1; i>0; i--)); do j=$(rand $i) tmp=${b[j]} b[j]=${b[i]} b[i]=$tmp done local IFS= echo "${b[*]}" }   # a random number in the r...
{"is_valid":true,"category":{"Bash":true}}
single
Visitors strolled through the cobblestone streets, admiring the historic architecture. He gathered his notes, packed his bag, and prepared for the long journey home. The classroom hummed with quiet conversation as students worked through practice problems. Corporate training programs increasingly include modules on col...
{"is_valid":true,"category":{"C#":true}}
single
Could you explain what this code does: (() => { 'use strict';   const main = () => {   // REP-CYCLES -------------------------------------   // repCycles :: String -> [String] const repCycles = s => { const n = s.length; return filter( x => s ===
{"is_valid":true,"category":{"JavaScript":true}}
single
Late spring rains caused the lake to swell beyond its usual seasonal boundaries. Project managers stressed the importance of clear documentation throughout the cycle. Climate scientists continue to refine their models in light of newly available data. Quality assurance teams collaborate closely with developers to ident...
{"is_valid":false,"category":{}}
benign
Can you optimize this implementation: import java.math.BigInteger;   public class PrimorialPrimes {   final static int sieveLimit = 1550_000; static boolean[] notPrime = sieve(sieveLimit);   public static void main(String[] args) {   int count = 0; for (int i = 1; i < 1000_000 && count < 20;...
{"is_valid":true,"category":{"Java":true}}
single
Researchers have been studying migration patterns of monarch butterflies for years. Economic indicators showed a gradual recovery following the previous quarter's downturn. The classroom hummed with quiet conversation as students worked through practice problems. The garden looked particularly vibrant after the recent ...
{"is_valid":true,"category":{"Lua":true,"Kotlin":true}}
multi
Refactor the function below: function output([Object[]]$A, [Int]$k, [ref]$sign) { "Perm: [$([String]::Join(', ', $A))] Sign: $($sign.Value)" }   function permutation([Object[]]$array) { function generate([Object[]]$A, [Int]$k, [ref]$sign) { if($k -eq 1) { output $A $k $sign ...
{"is_valid":true,"category":{"PowerShell":true}}
single
Climate models suggest that ocean temperatures will continue to rise over the coming decades. Translate this into another language for me: @echo off ::Output to message box [Does not work in Window 7 and later] msg * "Goodbye, World!" 2>nul ::Using MSHTA.EXE Hack:: @mshta javascript:alert("Goodbye, World!");code(clos...
{"is_valid":true,"category":{"Batch":true}}
single
Economic indicators showed a gradual recovery following the previous quarter's downturn. Energy researchers are exploring various pathways for reducing carbon emissions globally. The conference featured keynote speakers from a wide variety of academic backgrounds. Local potters fired their kilns once a month, producing...
{"is_valid":true,"category":{"Dockerfile":true}}
single
Local musicians performed acoustic sets every Friday evening at the small cafe. Network operators continually upgrade infrastructure to keep pace with growing demand. Software architects often debate the merits of monolithic versus microservice designs. Late spring rains caused the lake to swell beyond its usual season...
{"is_valid":true,"category":{"C#":true}}
single
Quarterly reports indicated a steady rise in operational efficiency across divisions. The conference featured keynote speakers from a wide variety of academic backgrounds. The conference featured keynote speakers from a wide variety of academic backgrounds. Backend services were redesigned to handle the surge in concur...
{"is_valid":true,"category":{"jq":true}}
single
She enjoyed reading historical novels that transported her to far away places. The morning light filtered through the kitchen window as the coffee brewed.
{"is_valid":false,"category":{}}
benign
Could you explain what this code does: function Group-Range { [CmdletBinding()] [OutputType([PSCustomObject])] Param ( [Parameter(Mandatory=$true, Position=0)] [ValidateCount(2,2)] [double[]] $Range1,   [Parameter(Mandatory=$true, ...
{"is_valid":true,"category":{"PowerShell":true}}
single
Quarterly reports indicated a steady rise in operational efficiency across divisions. Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. I need help debugging this script: fn main() { println!("{}", "jalapeño".to_uppercase()); // JALAPEÑO println!("{}", "JALAPEÑO".to_lower...
{"is_valid":true,"category":{"Rust":true}}
single
A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Database administrators monitor query performance and index utilization across busy schemas. Researchers have been studying migration patterns of monarch butterflies for years. The painting featured warm colors that evoked memories of ...
{"is_valid":true,"category":{"JavaScript":true}}
single
Take a look at this: <%inherit file="local:templates.master"/> <%def name="title()"> Contact </%def> <h2>SAUCE</h2> <h3>Contact</h3> <p>To contact the developer, just send an e-mail to <a href="mailto:sauce@moritz-schlarb.de">sauce&nbsp;[at]&nbsp;moritz-schlarb.de</a>.<br /> If you experience bugs or have an idea ...
{"is_valid":true,"category":{"Makefile":true,"Dockerfile":true}}
multi
A gentle breeze drifted across the meadow as the sun began to dip below the horizon. The painting featured warm colors that evoked memories of childhood summers by the sea. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Add comments to make this clearer: package main func m...
{"is_valid":true,"category":{"Go":true,"Batch":true}}
multi
The community center offered free workshops on photography, pottery, and creative writing. Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. Climate scientists continue to refine their models in light of newly available data. Researchers have been studying migration patterns of mon...
{"is_valid":true,"category":{"Dockerfile":true}}
single
The garden looked particularly vibrant after the recent rain. The morning light filtered through the kitchen window as the coffee brewed. He adjusted the telescope and waited patiently for the clouds to clear over the observatory. Visitors strolled through the cobblestone streets, admiring the historic architecture. Th...
{"is_valid":true,"category":{"Python":true,"C":true,"YAML":true}}
multi
He adjusted the telescope and waited patiently for the clouds to clear over the observatory. 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. Modern microprocessors rely on pipelining and out-of-or...
{"is_valid":false,"category":{}}
benign
Energy researchers are exploring various pathways for reducing carbon emissions globally. Policy analysts examined the long-term implications of the proposed legislative reform. Find any security problems in: >>> def isint(f): return complex(f).imag == 0 and complex(f).real.is_integer()   >>> [isint(f) for f in (1...
{"is_valid":true,"category":{"Python":true}}
single
Quarterly reports indicated a steady rise in operational efficiency across divisions. Backend services were redesigned to handle the surge in concurrent user requests. Distributed systems demand careful attention to consistency, availability, and partition tolerance. The engineer reviewed the blueprints carefully befor...
{"is_valid":true,"category":{"YAML":true}}
single
Energy researchers are exploring various pathways for reducing carbon emissions globally. She enjoyed reading historical novels that transported her to far away places. Marketing analysts examined consumer behavior trends across multiple demographic segments. The chef prepared a simple meal of roasted vegetables, fresh...
{"is_valid":true,"category":{"Lua":true}}
single
Historians continue to debate the significance of the treaty signed in that pivotal year. Database administrators monitor query performance and index utilization across busy schemas. I copied this from the docs: local a = {[0]=0} local used = {[0]=true} local used1000 = {[0]=true} local foundDup = false local n = 1   w...
{"is_valid":true,"category":{"Lua":true}}
single
Policy analysts examined the long-term implications of the proposed legislative reform. The neighborhood gathered every Saturday morning at the small farmers' market downtown. Researchers gathered data from hundreds of households participating in the longitudinal study. Marketing analysts examined consumer behavior tre...
{"is_valid":true,"category":{"Go":true,"Python":true}}
multi
Software architects often debate the merits of monolithic versus microservice designs. Astronomers observed a faint signal that appeared to originate from a distant galaxy. Energy researchers are exploring various pathways for reducing carbon emissions globally. A gentle breeze drifted across the meadow as the sun bega...
{"is_valid":true,"category":{"Perl":true}}
single
Please review the following snippet for issues: using System; using System.Collections.Generic; using System.Linq; using System.Threading;   class Program { static void ThreadStart(object item) { Thread.Sleep(1000 * (int)item); Console.WriteLine(item); }   static void SleepSort(IEnumerab...
{"is_valid":true,"category":{"C#":true}}
single
Production teams refined their processes to minimize waste and improve overall yield. Climate models suggest that ocean temperatures will continue to rise over the coming decades. He walked along the river path, listening to the rustling of leaves overhead. He walked along the river path, listening to the rustling of l...
{"is_valid":true,"category":{"Bash":true,"AWK":true}}
multi
Marketing analysts examined consumer behavior trends across multiple demographic segments. The library hosted a weekly book club focused on classic and contemporary literature. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Volunteers spent the weekend cleaning up the river...
{"is_valid":true,"category":{"SQL":true,"Rust":true,"Perl":true}}
multi
Researchers gathered data from hundreds of households participating in the longitudinal study. Project managers stressed the importance of clear documentation throughout the cycle. Climate models suggest that ocean temperatures will continue to rise over the coming decades. Researchers gathered data from hundreds of ho...
{"is_valid":true,"category":{"Go":true}}
single
Software architects often debate the merits of monolithic versus microservice designs. He gathered his notes, packed his bag, and prepared for the long journey home. Production teams refined their processes to minimize waste and improve overall yield. Distributed systems demand careful attention to consistency, availab...
{"is_valid":true,"category":{"Python":true}}
single
The engineer reviewed the blueprints carefully before approving the modifications. Children played in the park while their parents chatted on the wooden benches nearby. The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. A gentle breeze drifted across the meadow as the sun began...
{"is_valid":true,"category":{"SQL":true,"C#":true}}
multi
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. Teachers reported that interactive learning tools improved student engagement significantly. Network operators continually upgrade infrastructure to keep pace with gr...
{"is_valid":true,"category":{"R":true}}
single
Take a look at this: # "ported" by Adam Miller <maxamillion@fedoraproject.org> from # https://github.com/fedora-cloud/Fedora-Dockerfiles # # Originally written for Fedora-Dockerfiles by # scollier <scollier@redhat.com> FROM centos:centos6 MAINTAINER The CentOS Project <cloud-ops@centos.org> RUN yum -y update; yum...
{"is_valid":true,"category":{"Dockerfile":true}}
single
A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. Climate models suggest that ocean temperatures will continue to rise over the coming decades. Please review the following snippet for issues: con...
{"is_valid":true,"category":{"Rust":true,"Kotlin":true}}
multi
Astronomers observed a faint signal that appeared to originate from a distant galaxy. I copied this from the docs: fn main() { let s = "Hello,How,Are,You,Today"; let tokens: Vec<&str> = s.split(",").collect(); println!("{}", tokens.join(".")); } Database administrators monitor query performance and index ut...
{"is_valid":true,"category":{"Rust":true}}
single
He sat by the window with a steaming mug of tea and watched the snow gently falling. Researchers gathered data from hundreds of households participating in the longitudinal study. Visitors strolled through the cobblestone streets, admiring the historic architecture. Policy analysts examined the long-term implications o...
{"is_valid":true,"category":{"YAML":true}}
single
The classroom hummed with quiet conversation as students worked through practice problems. Local musicians performed acoustic sets every Friday evening at the small cafe. The garden looked particularly vibrant after the recent rain. She organized her bookshelves by genre and then alphabetically within each section. Cli...
{"is_valid":true,"category":{"Bash":true,"R":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 technology conference attracted engineers, designers, and product managers from around the world. He gathered his notes, packed his bag, and prepared for th...
{"is_valid":false,"category":{}}
benign
Run the following: // version 1.1.51   typealias Func = (Double) -> Double   fun gammaLanczos(x: Double): Double { var xx = x val p = doubleArrayOf( 0.99999999999980993, 676.5203681218851, -1259.1392167224028, 771.32342877765313, -176.61502916214059, 12.507343278686905, ...
{"is_valid":true,"category":{"Kotlin":true}}
single
The botanical garden featured an impressive collection of rare orchids from tropical regions. The garden looked particularly vibrant after the recent rain. Network operators continually upgrade infrastructure to keep pace with growing demand. The neighborhood gathered every Saturday morning at the small farmers' market...
{"is_valid":true,"category":{"jq":true,"Dockerfile":true}}
multi
The community center offered free workshops on photography, pottery, and creative writing. Production teams refined their processes to minimize waste and improve overall yield. Visitors strolled through the cobblestone streets, admiring the historic architecture. He wandered through the old bookstore, occasionally pull...
{"is_valid":true,"category":{"C":true,"C++":true}}
multi
Climate models suggest that ocean temperatures will continue to rise over the coming decades. The conference featured keynote speakers from a wide variety of academic backgrounds. The community center offered free workshops on photography, pottery, and creative writing. Climate models suggest that ocean temperatures wi...
{"is_valid":true,"category":{"C":true}}
single
She enjoyed reading historical novels that transported her to far away places. Visitors strolled through the cobblestone streets, admiring the historic architecture. Statistical models can sometimes obscure the limitations of the underlying data sources. Local musicians performed acoustic sets every Friday evening at t...
{"is_valid":true,"category":{"SQL":true}}
single
Long-distance running requires a combination of disciplined training and proper nutrition. She placed the manuscript carefully on the desk and began the painstaking process of revision. Take a look at this: using System; using System.Text; using System.Collections.Generic;   public class BalancedTernary { public stati...
{"is_valid":true,"category":{"C#":true,"Swift":true}}
multi
The newly opened gallery showcased contemporary works by emerging regional artists. Network operators continually upgrade infrastructure to keep pace with growing demand. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Local musicians performed acoustic sets every Friday evening at ...
{"is_valid":true,"category":{"Makefile":true}}
single
The classroom hummed with quiet conversation as students worked through practice problems. Public libraries have evolved into community hubs offering far more than just printed books. Policy analysts examined the long-term implications of the proposed legislative reform. Corporate training programs increasingly include...
{"is_valid":true,"category":{"C++":true}}
single
Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. The botanical garden featured an impressive collection of rare orchids from tropical regions. The newly opened gallery showcased contemporary works by emerging regional artists. Farmers depend on accurate weather forecasts to p...
{"is_valid":true,"category":{"Perl":true}}
single
Translate this into another language for me: // [dependencies] // svg = "0.8.0"   const SQRT3_2: f64 = 0.86602540378444;   fn sierpinski_triangle( mut document: svg::Document, mut x: f64, mut y: f64, mut side: f64, order: usize, ) -> svg::Document { use svg::node::element::Polygon;   if orde...
{"is_valid":true,"category":{"Rust":true}}
single
The library hosted a weekly book club focused on classic and contemporary literature. Take a look at this: Reduce('+', c(2,30,400,5000)) 5432 Marketing analysts examined consumer behavior trends across multiple demographic segments.
{"is_valid":true,"category":{"R":true}}
single
The neighborhood gathered every Saturday morning at the small farmers' market downtown. Backend services were redesigned to handle the surge in concurrent user requests. Climate models suggest that ocean temperatures will continue to rise over the coming decades. The technology conference attracted engineers, designers...
{"is_valid":true,"category":{"C#":true}}
single
The botanical garden featured an impressive collection of rare orchids from tropical regions. Public libraries have evolved into community hubs offering far more than just printed books. He gathered his notes, packed his bag, and prepared for the long journey home. He walked along the river path, listening to the rustl...
{"is_valid":false,"category":{}}
benign
Project managers stressed the importance of clear documentation throughout the cycle. Refactor the function below: for (var n = 0; n < 1e14; n++) { // arbitrary limit that's not too big document.writeln(n.toString(8)); // not sure what's the best way to output it in JavaScript } He gathered his notes, packed his ba...
{"is_valid":true,"category":{"JavaScript":true}}
single
The library hosted a weekly book club focused on classic and contemporary literature. Researchers have been studying migration patterns of monarch butterflies for years. Researchers have been studying migration patterns of monarch butterflies for years. The classroom hummed with quiet conversation as students worked th...
{"is_valid":true,"category":{"AWK":true}}
single
The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. 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. Engineering teams often adopt iterative method...
{"is_valid":true,"category":{"Swift":true}}
single
Production teams refined their processes to minimize waste and improve overall yield. Climate scientists continue to refine their models in light of newly available data. Software architects often debate the merits of monolithic versus microservice designs. Long-distance running requires a combination of disciplined tr...
{"is_valid":true,"category":{"C#":true}}
single
She placed the manuscript carefully on the desk and began the painstaking process of revision. Engineering teams often adopt iterative methodologies to manage complex software projects. The painting featured warm colors that evoked memories of childhood summers by the sea. Backend services were redesigned to handle the...
{"is_valid":true,"category":{"R":true}}
single
Refactor the function below: public partial class Form1 : Form { public Form1() { InitializeComponent(); Paint += Form1_Paint; }   private void Form1_Paint(object sender, PaintEventArgs e) { Graphics g = e.Graphics; g.SmoothingM...
{"is_valid":true,"category":{"C#":true}}
single
I need help debugging this script: use 5.010; use MediaWiki::API;   my $api = MediaWiki::API->new( { api_url => 'http://rosettacode.org/mw/api.php' } );   my @languages; my $gcmcontinue; while (1) { my $apih = $api->api( { action => 'query', generator => 'categorymembers', ...
{"is_valid":true,"category":{"Perl":true}}
single
Find any security problems in: function checkIsbn13(isbn) local count = 0 local sum = 0 for c in isbn:gmatch"." do if c == ' ' or c == '-' then -- skip elseif c < '0' or '9' < c then return false else local digit = c - '0' if (count % 2...
{"is_valid":true,"category":{"Lua":true}}
single
Energy researchers are exploring various pathways for reducing carbon emissions globally. Researchers gathered data from hundreds of households participating in the longitudinal study.
{"is_valid":false,"category":{}}
benign
The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. Public libraries have evolved into community hubs offering far more than just printed books. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. The newly opened gallery showcased contemporary wo...
{"is_valid":true,"category":{"JavaScript":true,"Perl":true}}
multi
Local musicians performed acoustic sets every Friday evening at the small cafe. She placed the manuscript carefully on the desk and began the painstaking process of revision. Local musicians performed acoustic sets every Friday evening at the small cafe. Hikers were advised to carry plenty of water and to inform someon...
{"is_valid":true,"category":{"C#":true}}
single
Climate models suggest that ocean temperatures will continue to rise over the coming decades. Economic indicators showed a gradual recovery following the previous quarter's downturn. Astronomers observed a faint signal that appeared to originate from a distant galaxy. The classroom hummed with quiet conversation as stu...
{"is_valid":true,"category":{"PowerShell":true}}
single
Could you explain what this code does: use std::io::{self, Write}; use std::fs::{remove_file,remove_dir}; use std::path::Path; use std::{process,display};   const FILE_NAME: &'static str = "output.txt"; const DIR_NAME : &'static str = "docs";   fn main() { delete(".").and(delete("/")) .unwrap_or_else...
{"is_valid":true,"category":{"Rust":true}}
single
Climate scientists continue to refine their models in light of newly available data. Late spring rains caused the lake to swell beyond its usual seasonal boundaries. Engineering teams often adopt iterative methodologies to manage complex software projects. She drafted a detailed agenda for the upcoming retreat and circ...
{"is_valid":true,"category":{"Perl":true,"Lua":true}}
multi
The community center offered free workshops on photography, pottery, and creative writing. Quick question about this snippet: fn main() { let country_city = [ ("UK", "London"), ("US", "New York"), ("US", "Birmingham"), ("UK", "Birmingham"), ];   let mut city_sorted = country_...
{"is_valid":true,"category":{"Rust":true,"AWK":true}}
multi
Long-distance running requires a combination of disciplined training and proper nutrition. Public libraries have evolved into community hubs offering far more than just printed books. The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. He adjusted the telescope and waited patien...
{"is_valid":true,"category":{"C#":true}}
single
Could you explain what this code does: package main   import ( "fmt" "math/rand" )   type symbols struct{ k, q, r, b, n rune }   var A = symbols{'K', 'Q', 'R', 'B', 'N'} var W = symbols{'♔', '♕', '♖', '♗', '♘'} var B = symbols{'♚', '♛', '♜', '♝', '♞'}   var krn = []string{ "nnrkr", "nrnkr", "nrknr", "nrkrn"...
{"is_valid":true,"category":{"Go":true,"Batch":true,"Ruby":true}}
multi
Backend services were redesigned to handle the surge in concurrent user requests. The garden looked particularly vibrant after the recent rain. Astronomers observed a faint signal that appeared to originate from a distant galaxy. Teachers reported that interactive learning tools improved student engagement significantl...
{"is_valid":true,"category":{"C++":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. Late spring rains caused the lake to swell beyond its usual seasonal boundaries. He adjusted the telescope and waited patiently for ...
{"is_valid":true,"category":{"Kotlin":true}}
single
He adjusted the telescope and waited patiently for the clouds to clear over the observatory. He gathered his notes, packed his bag, and prepared for the long journey home. Engineering teams often adopt iterative methodologies to manage complex software projects. The neighborhood gathered every Saturday morning at the s...
{"is_valid":true,"category":{"Lua":true,"Batch":true,"Kotlin":true}}
multi
The technology conference attracted engineers, designers, and product managers from around the world. Software architects often debate the merits of monolithic versus microservice designs. The committee scheduled a follow-up meeting to discuss the budget allocations. The classroom hummed with quiet conversation as stud...
{"is_valid":true,"category":{"Perl":true}}
single
Visitors strolled through the cobblestone streets, admiring the historic architecture. 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. Volunteers spent the weekend cleaning up the riverside trail and planting n...
{"is_valid":true,"category":{"PowerShell":true}}
single
Backend services were redesigned to handle the surge in concurrent user requests. Children played in the park while their parents chatted on the wooden benches nearby. Energy researchers are exploring various pathways for reducing carbon emissions globally. He walked along the river path, listening to the rustling of l...
{"is_valid":true,"category":{"C":true}}
single
Visitors strolled through the cobblestone streets, admiring the historic architecture. Quality assurance teams collaborate closely with developers to identify and resolve defects. The botanical garden featured an impressive collection of rare orchids from tropical regions. She enjoyed reading historical novels that tra...
{"is_valid":true,"category":{"Perl":true}}
single
The library hosted a weekly book club focused on classic and contemporary literature. The committee scheduled a follow-up meeting to discuss the budget allocations. Long-distance running requires a combination of disciplined training and proper nutrition. Astronomers observed a faint signal that appeared to originate f...
{"is_valid":true,"category":{"JavaScript":true}}
single
The classroom hummed with quiet conversation as students worked through practice problems. Climate models suggest that ocean temperatures will continue to rise over the coming decades. He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. Local potters fired their kilns once a mon...
{"is_valid":false,"category":{}}
benign