prompt
large_stringlengths
150
7.97k
target
large_stringlengths
32
83
kind
large_stringclasses
3 values
The technology conference attracted engineers, designers, and product managers from around the world. Quick question about this snippet: #!/usr/bin/awk -f BEGIN { edge = 1 ruleNum = 104 # 01101000 maxGen = 9 mark = "@" space = "." initialState = ".@@@.@@.@.@.@.@..@.." width = length(initialS...
{"is_valid":true,"category":{"AWK":true,"Java":true}}
multi
Researchers gathered data from hundreds of households participating in the longitudinal study. Find any security problems in: CREATE TABLE club (clublocation VARCHAR, clubname VARCHAR); SELECT clublocation FROM club WHERE clubname = "Tennis Club" Policy analysts examined the long-term implications of the proposed legis...
{"is_valid":true,"category":{"SQL":true}}
single
He sat by the window with a steaming mug of tea and watched the snow gently falling. Production teams refined their processes to minimize waste and improve overall yield. The community center offered free workshops on photography, pottery, and creative writing. Policy analysts examined the long-term implications of the...
{"is_valid":false,"category":{}}
benign
He walked along the river path, listening to the rustling of leaves overhead. Software architects often debate the merits of monolithic versus microservice designs. Network operators continually upgrade infrastructure to keep pace with growing demand. He gathered his notes, packed his bag, and prepared for the long jou...
{"is_valid":true,"category":{"SQL":true}}
single
Engineering teams often adopt iterative methodologies to manage complex software projects. She organized her bookshelves by genre and then alphabetically within each section. Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Backend services were redesigned to handle the surge...
{"is_valid":true,"category":{"Kotlin":true}}
single
He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. The neighborhood gathered every Saturday morning at the small farmers' market downtown. Policy analysts examined the long-term implic...
{"is_valid":false,"category":{}}
benign
Find any security problems in: # syntax: GAWK -f MULTISPLIT.AWK BEGIN { str = "a!===b=!=c" sep = "(==|!=|=)" printf("str: %s\n",str) printf("sep: %s\n\n",sep) n = split(str,str_arr,sep,sep_arr) printf("parsed: ") for (i=1; i<=n; i++) { printf("'%s'",str_arr[i]) if (i<n) { printf(...
{"is_valid":true,"category":{"AWK":true}}
single
Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Translate this into another language for me: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Thr...
{"is_valid":true,"category":{"C#":true}}
single
Refactor the function below: /** * Copyright 2019 Google LLC * * 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 b...
{"is_valid":true,"category":{"Terraform":true}}
single
Translate this into another language for me: # syntax: GAWK -f MAGIC_SQUARES_OF_ODD_ORDER.AWK BEGIN { build(5) build(3,1) # verify sum build(7) exit(0) } function build(n,check, arr,i,width,x,y) { if (n !~ /^[0-9]*[13579]$/ || n < 3) { printf("error: %s is invalid\n",n) return } ...
{"is_valid":true,"category":{"AWK":true,"Perl":true}}
multi
Distributed systems demand careful attention to consistency, availability, and partition tolerance. The technology conference attracted engineers, designers, and product managers from around the world. Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. The library hosted a weekly ...
{"is_valid":false,"category":{}}
benign
The technology conference attracted engineers, designers, and product managers from around the world. I copied this from the docs: CREATE TABLE trip (bike_id VARCHAR, zip_code VARCHAR); SELECT bike_id FROM trip WHERE zip_code = 94002 GROUP BY bike_id ORDER BY COUNT(*) DESC LIMIT 1 Local musicians performed acoustic set...
{"is_valid":true,"category":{"SQL":true}}
single
I copied this from the docs: ## Clear Host from old Ouput Clear-Host   $Name = Read-Host "Please enter your name" $Char = ($name.ToUpper())[0] IF (($Char -eq "A") -or ($Char -eq "E") -or ($Char -eq "I") -or ($Char -eq "O") -or ($Char -eq "U")) { Write-Host "$Name, $Name, bo-b$($Name.ToLower())" } else { I...
{"is_valid":true,"category":{"PowerShell":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. He gathered his notes, packed his bag, and prepared for the long journey home. He wandered through the old bookstore, occasionally pullin...
{"is_valid":true,"category":{"Ruby":true}}
single
The library hosted a weekly book club focused on classic and contemporary literature. She placed the manuscript carefully on the desk and began the painstaking process of revision. He walked along the river path, listening to the rustling of leaves overhead. The engineer reviewed the blueprints carefully before approvi...
{"is_valid":true,"category":{"Terraform":true}}
single
Policy analysts examined the long-term implications of the proposed legislative reform. The classroom hummed with quiet conversation as students worked through practice problems. The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. Volunteers spent the weekend cleaning up the riv...
{"is_valid":true,"category":{"R":true}}
single
Could you explain what this code does: //makes outputting a table possible in environments //that don't support console.table() function console_table(xs) { function pad(n,s) { var res = s; for (var i = s.length; i < n; i++) res += " "; return res; }   if (xs.length ===...
{"is_valid":true,"category":{"JavaScript":true}}
single
He adjusted the telescope and waited patiently for the clouds to clear over the observatory. 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. Modern microprocessors rely on pipelining and o...
{"is_valid":false,"category":{}}
benign
Run the following: // version 1.1.2   fun linearCombo(c: IntArray): String { val sb = StringBuilder() for ((i, n) in c.withIndex()) { if (n == 0) continue val op = when { n < 0 && sb.isEmpty() -> "-" n < 0 -> " - " n > 0 && sb.isEmpty() -> "" ...
{"is_valid":true,"category":{"Kotlin":true}}
single
Run the following: #include <stdio.h>   #define GRID_SIZE 15 char canvas[GRID_SIZE][GRID_SIZE];   void initN() { int i, j; for (i = 0; i < GRID_SIZE; i++) { for (j = 0; j < GRID_SIZE; j++) { canvas[i][j] = ' '; } canvas[i][5] = 'x'; } }   void horizontal(size_t c1, size_t...
{"is_valid":true,"category":{"C":true}}
single
Economic indicators showed a gradual recovery following the previous quarter's downturn. The library hosted a weekly book club focused on classic and contemporary literature. Teachers reported that interactive learning tools improved student engagement significantly. Researchers gathered data from hundreds of household...
{"is_valid":true,"category":{"R":true}}
single
He sat by the window with a steaming mug of tea and watched the snow gently falling. Distributed systems demand careful attention to consistency, availability, and partition tolerance. Network operators continually upgrade infrastructure to keep pace with growing demand. The chef prepared a simple meal of roasted veget...
{"is_valid":true,"category":{"Rust":true}}
single
Refactor the function below: import java.util.*;   public class KdTree { private int dimensions_; private Node root_ = null; private Node best_ = null; private double bestDistance_ = 0; private int visited_ = 0;   public KdTree(int dimensions, List<Node> nodes) { dimensions_ = dimensions...
{"is_valid":true,"category":{"Java":true}}
single
He gathered his notes, packed his bag, and prepared for the long journey home. Policy analysts examined the long-term implications of the proposed legislative reform. The painting featured warm colors that evoked memories of childhood summers by the sea. He wandered through the old bookstore, occasionally pulling a wor...
{"is_valid":false,"category":{}}
benign
Find any security problems in: # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0...
{"is_valid":true,"category":{"Dockerfile":true}}
single
The garden looked particularly vibrant after the recent rain. 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. He adjusted the telescope and waited patiently for the clouds to clear over the obse...
{"is_valid":true,"category":{"Bash":true,"Swift":true}}
multi
Climate models suggest that ocean temperatures will continue to rise over the coming decades. Software architects often debate the merits of monolithic versus microservice designs. Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. She organized her bookshelves by genre and then alp...
{"is_valid":true,"category":{"Go":true}}
single
I need help debugging this script: # determinant of 2x2 matrix def det(a;b;c;d): a*d - b*c ;   # Input: an array representing a line (L1) # Output: the intersection of L1 and L2 unless the lines are judged to be parallel # This implementation uses "destructuring" to assign local variables def lineIntersection(L2): . ...
{"is_valid":true,"category":{"jq":true}}
single
Quarterly reports indicated a steady rise in operational efficiency across divisions. 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. The neighborhood gathered every Saturday morning at the small far...
{"is_valid":true,"category":{"AWK":true}}
single
The bakery on the corner was famous for its sourdough loaves and seasonal pastries. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. He sat by the window with a steaming mug of tea and watched the snow gently falling. Volunteers spent the weekend cleaning up the riverside trail and p...
{"is_valid":true,"category":{"Ruby":true}}
single
Astronomers observed a faint signal that appeared to originate from a distant galaxy. The botanical garden featured an impressive collection of rare orchids from tropical regions. Local potters fired their kilns once a month, producing colorful ceramics for the shops. Backend services were redesigned to handle the surg...
{"is_valid":true,"category":{"SQL":true}}
single
Quick question about this snippet: -- Import module local sql = require("ljsqlite3")   -- Open connection to database file local conn = sql.open("address.sqlite")   -- Create address table unless it already exists conn:exec[[ CREATE TABLE IF NOT EXISTS address( id INTEGER PRIMARY KEY AUTOINCREMENT, street TEXT NOT ...
{"is_valid":true,"category":{"Lua":true}}
single
The conference featured keynote speakers from a wide variety of academic backgrounds. Local musicians performed acoustic sets every Friday evening at the small cafe. She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. The painting featured warm colors that evoked memories of ch...
{"is_valid":true,"category":{"Rust":true}}
single
Take a look at this: # hashJoin(table1; key1; table2; key2) expects the two tables to be # arrays, either of JSON objects, or of arrays.   # In the first case, that is, if the table's rows are represented as # objects, then key1 should be the key of the join column of table1, # and similarly for key2; if the join colum...
{"is_valid":true,"category":{"jq":true,"C":true,"Kotlin":true}}
multi
Modern microprocessors rely on pipelining and out-of-order execution to maximize throughput. Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Researchers have been studying migration patterns...
{"is_valid":false,"category":{}}
benign
Children played in the park while their parents chatted on the wooden benches nearby. 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. The neighborhood gathered every Saturday morning...
{"is_valid":true,"category":{"Bash":true}}
single
Local musicians performed acoustic sets every Friday evening at the small cafe. Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. He sat by the window with a steaming mug of tea and watched the snow gently falling. Quality assurance teams collaborate closely with developers t...
{"is_valid":true,"category":{"Swift":true,"Kotlin":true}}
multi
Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. 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. Project managers stressed the importance o...
{"is_valid":true,"category":{"Batch":true}}
single
He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. Late spring rains caused the lake to swell beyond its usual seasonal boundaries. The morning light filtered through the kitchen window as the coffee brewed. Engineering teams often adopt iterative methodologies to manage comple...
{"is_valid":true,"category":{"Rust":true,"YAML":true}}
multi
What does this output: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <title>Sierpinski Carpet</title> <script type='text/javascript'>   var black_char = "#"; var white_char = " ";   var Sierpins...
{"is_valid":true,"category":{"JavaScript":true}}
single
The neighborhood gathered every Saturday morning at the small farmers' market downtown. She enjoyed reading historical novels that transported her to far away places. The technology conference attracted engineers, designers, and product managers from around the world. The newly opened gallery showcased contemporary wor...
{"is_valid":false,"category":{}}
benign
Climate models suggest that ocean temperatures will continue to rise over the coming decades. Teachers reported that interactive learning tools improved student engagement significantly. The garden looked particularly vibrant after the recent rain. Historians continue to debate the significance of the treaty signed in ...
{"is_valid":true,"category":{"Perl":true}}
single
Climate scientists continue to refine their models in light of newly available data. Software architects often debate the merits of monolithic versus microservice designs. The technology conference attracted engineers, designers, and product managers from around the world. Children played in the park while their parent...
{"is_valid":true,"category":{"PowerShell":true}}
single
Late spring rains caused the lake to swell beyond its usual seasonal boundaries. The newly opened gallery showcased contemporary works by emerging regional artists.
{"is_valid":false,"category":{}}
benign
Here is the code I was given: # We intentionally have an AWS provider block nested within this module so that we can have an integration test that # checks if the aws-provider-patch command helps to work around https://github.com/hashicorp/terraform/issues/13018. provider "aws" { region = var.secondary_aws_region a...
{"is_valid":true,"category":{"Terraform":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. Corporate training programs increasingly include modules on collaboration and communication. Climate models suggest that ocean tempe...
{"is_valid":true,"category":{"JavaScript":true}}
single
Translate this into another language for me: func cholesky(matrix: [Double], n: Int) -> [Double] { var res = [Double](repeating: 0, count: matrix.count)   for i in 0..<n { for j in 0..<i+1 { var s = 0.0   for k in 0..<j { s += res[i * n + k] * res[j * n + k] }   if i == j { ...
{"is_valid":true,"category":{"Swift":true}}
single
The classroom hummed with quiet conversation as students worked through practice problems. A gentle breeze drifted across the meadow as the sun began to dip below the horizon. Project managers stressed the importance of clear documentation throughout the cycle. He wandered through the old bookstore, occasionally pullin...
{"is_valid":true,"category":{"Makefile":true}}
single
What does this output: def permutationsSgn[T]: List[T] => List[(Int,List[T])] = { case Nil => List((1,Nil)) case xs => { for { (x, i) <- xs.zipWithIndex (sgn,ys) <- permutationsSgn(xs.take(i) ++ xs.drop(1 + i)) } yield { val sgni = sgn * (2 * (i%2) - 1) (sgni, (x ::
{"is_valid":true,"category":{"Scala":true}}
single
Local potters fired their kilns once a month, producing colorful ceramics for the shops. Historians continue to debate the significance of the treaty signed in that pivotal year. Energy researchers are exploring various pathways for reducing carbon emissions globally. She organized her bookshelves by genre and then alp...
{"is_valid":true,"category":{"Java":true}}
single
The engineer reviewed the blueprints carefully before approving the modifications. Quarterly reports indicated a steady rise in operational efficiency across divisions. Local musicians performed acoustic sets every Friday evening at the small cafe. He adjusted the telescope and waited patiently for the clouds to clear ...
{"is_valid":true,"category":{"Perl":true}}
single
Economic indicators showed a gradual recovery following the previous quarter's downturn. Policy analysts examined the long-term implications of the proposed legislative reform. She organized her bookshelves by genre and then alphabetically within each section. Visitors strolled through the cobblestone streets, admiring...
{"is_valid":true,"category":{"Rust":true}}
single
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. Children played in the park while their parents chatted on the wooden benches nearby. The library hosted a weekly book club focused ...
{"is_valid":true,"category":{"Python":true}}
single
Production teams refined their processes to minimize waste and improve overall yield. Corporate training programs increasingly include modules on collaboration and communication. The committee scheduled a follow-up meeting to discuss the budget allocations. Energy researchers are exploring various pathways for reducing...
{"is_valid":true,"category":{"Perl":true}}
single
Astronomers observed a faint signal that appeared to originate from a distant galaxy. Local potters fired their kilns once a month, producing colorful ceramics for the shops. Run the following: def roots_of_unity(n) (0...n).map {|k| Complex.polar(1, 2 * Math::PI * k / n)} end   p roots_of_unity(3) Software architects...
{"is_valid":true,"category":{"Ruby":true}}
single
Take a look at this: cat csv | while read S; do [ -z ${S##*C*} ] && echo $S,SUM || echo $S,`echo $S | tr ',' '+' | bc` done And separately, here's a related piece: import Foundation   extension FloatingPoint { @inlinable public func isAlmostEqual( to other: Self, tolerance: Self = Self.ulpOfOne.squareRoot...
{"is_valid":true,"category":{"Bash":true,"Swift":true,"Batch":true}}
multi
She organized her bookshelves by genre and then alphabetically within each section. She organized her bookshelves by genre and then alphabetically within each section. Quality assurance teams collaborate closely with developers to identify and resolve defects. He wandered through the old bookstore, occasionally pulling...
{"is_valid":true,"category":{"Scala":true}}
single
I copied this from the docs: # ------------------------------------------------------------------------------ # Terraform & Provider Config # ------------------------------------------------------------------------------ terraform { backend "gcs" {} } provider "google" { project = "${var.project_id}" creden...
{"is_valid":true,"category":{"Terraform":true}}
single
Quick question about this snippet: #include <iostream> #include <iterator> #include <sstream> #include <vector>   using namespace std;   class MTF { public: string encode( string str ) { fillSymbolTable(); vector<int> output; for( string::iterator it = str.begin(); it != str.end(); it++ ) { for( int i ...
{"is_valid":true,"category":{"C++":true}}
single
The library hosted a weekly book club focused on classic and contemporary literature. She enjoyed reading historical novels that transported her to far away places. Run the following: /** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
{"is_valid":true,"category":{"Terraform":true,"R":true}}
multi
Statistical models can sometimes obscure the limitations of the underlying data sources. The garden looked particularly vibrant after the recent rain. Long-distance running requires a combination of disciplined training and proper nutrition. Statistical models can sometimes obscure the limitations of the underlying dat...
{"is_valid":true,"category":{"Python":true,"Perl":true,"R":true}}
multi
She enjoyed reading historical novels that transported her to far away places. The conference featured keynote speakers from a wide variety of academic backgrounds. Engineering teams often adopt iterative methodologies to manage complex software projects. Modern microprocessors rely on pipelining and out-of-order execu...
{"is_valid":true,"category":{"C++":true}}
single
He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. Late spring rains caused the lake to swell beyond its usual seasonal boundaries. Astronomers observed a faint signal that appeared to originate from a distant galaxy. Public libraries have evolved into community hubs offering f...
{"is_valid":false,"category":{}}
benign
Local potters fired their kilns once a month, producing colorful ceramics for the shops. Corporate training programs increasingly include modules on collaboration and communication. Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. Backend services were redesigned to handle the s...
{"is_valid":true,"category":{"Java":true,"C++":true}}
multi
He adjusted the telescope and waited patiently for the clouds to clear over the observatory. Quick question about this snippet: CREATE TABLE airport (Airport_ID VARCHAR, Total_Passengers INTEGER); CREATE TABLE aircraft (Aircraft VARCHAR, Description VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft...
{"is_valid":true,"category":{"SQL":true}}
single
The engineer reviewed the blueprints carefully before approving the modifications. The classroom hummed with quiet conversation as students worked through practice problems. Climate scientists continue to refine their models in light of newly available data. Researchers have been studying migration patterns of monarch ...
{"is_valid":true,"category":{"Kotlin":true}}
single
Quarterly reports indicated a steady rise in operational efficiency across divisions. Production teams refined their processes to minimize waste and improve overall yield. She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. Here is the code I was given: class LZW { class fu...
{"is_valid":true,"category":{"Swift":true}}
single
Visitors strolled through the cobblestone streets, admiring the historic architecture. 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. Volunteers spent the weekend cleaning up the riverside...
{"is_valid":true,"category":{"jq":true}}
single
She enjoyed reading historical novels that transported her to far away places. Late spring rains caused the lake to swell beyond its usual seasonal boundaries. Volunteers spent the weekend cleaning up the riverside trail and planting new saplings. The conference featured keynote speakers from a wide variety of academic...
{"is_valid":true,"category":{"Python":true,"Scala":true}}
multi
The chef prepared a simple meal of roasted vegetables, fresh bread, and a light vinaigrette. Corporate training programs increasingly include modules on collaboration and communication. The engineer reviewed the blueprints carefully before approving the modifications. Software architects often debate the merits of mono...
{"is_valid":false,"category":{}}
benign
Run the following: # 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 in writing, software # dis...
{"is_valid":true,"category":{"Dockerfile":true,"YAML":true,"Rust":true}}
multi
Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. Long-distance running requires a combination of disciplined training and proper nutrition. Quick question about this snippet: import java.util.Locale;   public class Test {   public static void main(String[] args) { ...
{"is_valid":true,"category":{"Java":true}}
single
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 wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. Distributed systems demand careful attention to consi...
{"is_valid":true,"category":{"Go":true}}
single
Production teams refined their processes to minimize waste and improve overall yield. Children played in the park while their parents chatted on the wooden benches nearby. Add comments to make this clearer: function agm ([Double]$a, [Double]$g) { [Double]$eps = 1E-15 [Double]$a1 = [Double]$g1 = 0 while([Mat...
{"is_valid":true,"category":{"PowerShell":true,"JavaScript":true}}
multi
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. He wandered through the old bookstore, occasionally pulling a worn paperback from the shelf. He sat by the window with a steaming mug of tea and watc...
{"is_valid":true,"category":{"Batch":true}}
single
Quality assurance teams collaborate closely with developers to identify and resolve defects. The neighborhood gathered every Saturday morning at the small farmers' market downtown. Researchers have been studying migration patterns of monarch butterflies for years. Production teams refined their processes to minimize wa...
{"is_valid":true,"category":{"C#":true,"Python":true}}
multi
Late spring rains caused the lake to swell beyond its usual seasonal boundaries. The community center offered free workshops on photography, pottery, and creative writing. Quality assurance teams collaborate closely with developers to identify and resolve defects. He walked along the river path, listening to the rustli...
{"is_valid":true,"category":{"PowerShell":true,"Rust":true,"SQL":true}}
multi
Economic indicators showed a gradual recovery following the previous quarter's downturn. Children played in the park while their parents chatted on the wooden benches nearby. Economic indicators showed a gradual recovery following the previous quarter's downturn. Local potters fired their kilns once a month, producing ...
{"is_valid":false,"category":{}}
benign
I need help debugging this script: behavior "regexp_issue_labeler" "panic_label" { regexp = "panic:" labels = ["crash", "bug"] } behavior "remove_labels_on_reply" "remove_stale" { labels = ["waiting-response", "stale"] only_non_maintainers = true } behavior "pull_request_size_labeler" "size" {
{"is_valid":true,"category":{"Terraform":true}}
single
She drafted a detailed agenda for the upcoming retreat and circulated it to all participants. Production teams refined their processes to minimize waste and improve overall yield. Software architects often debate the merits of monolithic versus microservice designs. Local potters fired their kilns once a month, produci...
{"is_valid":true,"category":{"Batch":true}}
single
Local potters fired their kilns once a month, producing colorful ceramics for the shops. She enjoyed reading historical novels that transported her to far away places. Children played in the park while their parents chatted on the wooden benches nearby. Hikers were advised to carry plenty of water and to inform someone...
{"is_valid":true,"category":{"Python":true,"AWK":true}}
multi
Late spring rains caused the lake to swell beyond its usual seasonal boundaries. Translate this into another language for me: package main   import "fmt"   type is func() uint64   func newSum() is { var ms is ms = func() uint64 { ms = newSum() return ms() } var msd, d uint64 return f...
{"is_valid":true,"category":{"Go":true}}
single
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. Project managers stressed the importance of clear documentation throughout the cycle. Quarterly reports indicated a steady rise in operational ...
{"is_valid":true,"category":{"Batch":true}}
single
Economic indicators showed a gradual recovery following the previous quarter's downturn. 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 classroom hummed with quiet conversation as students work...
{"is_valid":true,"category":{"Perl":true,"Rust":true}}
multi
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 gathered his notes, packed his bag, and prepared for the long journey home. The library hosted a weekly book club focused on classic a...
{"is_valid":true,"category":{"Batch":true}}
single
Energy researchers are exploring various pathways for reducing carbon emissions globally. Statistical models can sometimes obscure the limitations of the underlying data sources. Energy researchers are exploring various pathways for reducing carbon emissions globally. Please review the following snippet for issues: # P...
{"is_valid":true,"category":{"jq":true}}
single
Can you optimize this implementation: # -*- coding: utf-8 -*- # Not Python 3.x (Can't compare str and int)     from itertools import groupby from unicodedata import decomposition, name from pprint import pprint as pp   commonleaders = ['the'] # lowercase leading words to ignore replacements = {u'ß': 'ss', # Map single...
{"is_valid":true,"category":{"Python":true,"Scala":true,"Batch":true}}
multi
Teachers reported that interactive learning tools improved student engagement significantly. Policy analysts examined the long-term implications of the proposed legislative reform. Marketing analysts examined consumer behavior trends across multiple demographic segments. She organized her bookshelves by genre and then ...
{"is_valid":false,"category":{}}
benign
He gathered his notes, packed his bag, and prepared for the long journey home. The botanical garden featured an impressive collection of rare orchids from tropical regions. Nutritionists generally recommend a balanced diet rich in whole grains and fresh produce. Modern microprocessors rely on pipelining and out-of-orde...
{"is_valid":false,"category":{}}
benign
Energy researchers are exploring various pathways for reducing carbon emissions globally. The committee scheduled a follow-up meeting to discuss the budget allocations. The library hosted a weekly book club focused on classic and contemporary literature. Late spring rains caused the lake to swell beyond its usual seaso...
{"is_valid":false,"category":{}}
benign
The conference featured keynote speakers from a wide variety of academic backgrounds. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Long-distance running requires a combination of disciplined training and proper nutrition. He walked along the river path, listening to the rustling o...
{"is_valid":true,"category":{"Ruby":true}}
single
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. Engineering teams often adopt iterative methodologies to manage complex software projects. Volunteers spent the weekend cleaning up th...
{"is_valid":true,"category":{"Python":true,"Terraform":true}}
multi
Refactor the function below: #include <stdio.h> #include <stdlib.h> #include <complex.h> #include <math.h>   typedef double complex cplx;   void quad_root (double a, double b, double c, cplx * ra, cplx *rb) { double d, e; if (!a) { *ra = b ? -c / b : 0; *rb = 0; return; } if (!c) { *ra = 0; *rb = -b / a; ...
{"is_valid":true,"category":{"C":true,"SQL":true,"AWK":true}}
multi
The garden looked particularly vibrant after the recent rain. Late spring rains caused the lake to swell beyond its usual seasonal boundaries. Hikers were advised to carry plenty of water and to inform someone of their planned route. Quality assurance teams collaborate closely with developers to identify and resolve de...
{"is_valid":false,"category":{}}
benign
Historians continue to debate the significance of the treaty signed in that pivotal year. Refactor the function below: # syntax: GAWK -f KAPREKAR_NUMBERS.AWK BEGIN { limit = 1000000 printf("%d\n",1) n = 1 for (i=2; i<limit; i++) { squared = sprintf("%.0f",i*i) for (j=1; j<=length(squared); j...
{"is_valid":true,"category":{"AWK":true,"Swift":true,"Lua":true}}
multi
Children played in the park while their parents chatted on the wooden benches nearby. Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. Travelers explored ancient ruins, marveling at the craftsmanship of long-lost civilizations. Here is the code I was given: package main   im...
{"is_valid":true,"category":{"Go":true}}
single
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. Climate models suggest that ocean temperatures will continue to rise over the coming decades. The classroom hummed with quiet conversation as students worked t...
{"is_valid":true,"category":{"R":true,"Java":true}}
multi
Long-distance running requires a combination of disciplined training and proper nutrition. Hikers were advised to carry plenty of water and to inform someone of their planned route. Translate this into another language for me: fn main() { let mut a = vec!(9, 8, 7, 6, 5, 4, 3, 2, 1, 0);   a.sort(); println!(...
{"is_valid":true,"category":{"Rust":true}}
single
Teachers reported that interactive learning tools improved student engagement significantly. Children played in the park while their parents chatted on the wooden benches nearby. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. Please review the following snippet for issues: @echo off...
{"is_valid":true,"category":{"Batch":true}}
single
Farmers depend on accurate weather forecasts to plan their planting and harvesting schedules. The bakery on the corner was famous for its sourdough loaves and seasonal pastries. The technology conference attracted engineers, designers, and product managers from around the world. Production teams refined their processes...
{"is_valid":true,"category":{"Terraform":true}}
single