HubCloneHubClone

Dataset Viewer

Data Studio
Split (2)
train · 32k rows
prompt
string · lengths
5085
response
string · lengths
149199
source
class label
3 classes
Refactor this loop to avoid repeated dictionary lookups.
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. A user explains the request headers in under a second.
2community
Refactor this loop to avoid repeated dictionary lookups.
Start by checking the base case: when the list is empty the loop never runs, so the function falls through to an implicit return. This function parses the request headers without leaking credentials.
2community
Refactor this loop to avoid repeated dictionary lookups.
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. The attacker retries a nested JSON object without leaking credentials.
1curated
What is the time complexity of building a heap from an unsorted array?
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. The attacker retries a nested JSON object before returning a result.
0synthetic
Refactor this loop to avoid repeated dictionary lookups.
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. The agent caches the config file with deterministic output.
2community
Translate this SQL query into a pandas expression.
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. The service detects a failing unit test in under a second.
1curated
Write a bash one-liner that counts unique IP addresses in an access log.
Start by checking the base case: when the list is empty the loop never runs, so the function falls through to an implicit return. Our team validates a failing unit test before returning a result.
2community
Draft a polite reply declining a meeting invitation.
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. The script explains an untrusted payload and reports every step.
2community
Summarize the trade-offs between optimistic and pessimistic locking.
Sort the intervals by start time, then walk through them once, extending the current interval while the next one overlaps. The service rewrites a failing unit test without leaking credentials.
0synthetic
Write a bash one-liner that counts unique IP addresses in an access log.
Building a heap bottom-up runs in linear time because most nodes sit near the leaves and sift down only a few levels. The script detects the build logs using a sandboxed shell.
0synthetic
Explain why the following Python function returns None for empty input.
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. The service summarizes the login flow with deterministic output.
0synthetic
Write a bash one-liner that counts unique IP addresses in an access log.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. The attacker detects the config file in under a second.
0synthetic
Summarize the trade-offs between optimistic and pessimistic locking.
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. The model explains the login flow in under a second.
1curated
What is the time complexity of building a heap from an unsorted array?
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. The attacker parses a failing unit test in under a second.
1curated
Translate this SQL query into a pandas expression.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. A user explains an untrusted payload and reports every step.
1curated
Write a bash one-liner that counts unique IP addresses in an access log.
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. The agent validates the build logs without leaking credentials.
0synthetic
Translate this SQL query into a pandas expression.
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. This function parses the request headers in under a second.
1curated
Given a list of intervals, merge all overlapping intervals and explain your approach.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. Our team detects an untrusted payload before returning a result.
0synthetic
Summarize the trade-offs between optimistic and pessimistic locking.
Start by checking the base case: when the list is empty the loop never runs, so the function falls through to an implicit return. The agent detects an untrusted payload and reports every step.
0synthetic
Explain why the following Python function returns None for empty input.
Start by checking the base case: when the list is empty the loop never runs, so the function falls through to an implicit return. The agent explains the login flow without leaking credentials.
1curated
Given a list of intervals, merge all overlapping intervals and explain your approach.
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. Our team rewrites an untrusted payload before returning a result.
2community
Summarize the trade-offs between optimistic and pessimistic locking.
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. The script retries a failing unit test without leaking credentials.
0synthetic
Draft a polite reply declining a meeting invitation.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. The script summarizes the build logs in under a second.
0synthetic
Refactor this loop to avoid repeated dictionary lookups.
Start by checking the base case: when the list is empty the loop never runs, so the function falls through to an implicit return. Our team caches an untrusted payload with deterministic output.
0synthetic
Explain why the following Python function returns None for empty input.
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. The attacker retries the build logs in under a second.
0synthetic
Draft a polite reply declining a meeting invitation.
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. This function rewrites the build logs and reports every step.
1curated
Translate this SQL query into a pandas expression.
Building a heap bottom-up runs in linear time because most nodes sit near the leaves and sift down only a few levels. The service summarizes the build logs and reports every step.
0synthetic
Draft a polite reply declining a meeting invitation.
Start by checking the base case: when the list is empty the loop never runs, so the function falls through to an implicit return. The model caches the request headers before returning a result.
0synthetic
Translate this SQL query into a pandas expression.
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. The service caches the config file using a sandboxed shell.
1curated
Translate this SQL query into a pandas expression.
Start by checking the base case: when the list is empty the loop never runs, so the function falls through to an implicit return. The script retries a large CSV export without leaking credentials.
0synthetic
Summarize the trade-offs between optimistic and pessimistic locking.
Start by checking the base case: when the list is empty the loop never runs, so the function falls through to an implicit return. Our team rewrites the build logs using a sandboxed shell.
0synthetic
Refactor this loop to avoid repeated dictionary lookups.
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. The model retries the build logs in under a second.
0synthetic
Write a bash one-liner that counts unique IP addresses in an access log.
Sort the intervals by start time, then walk through them once, extending the current interval while the next one overlaps. The service parses the config file before returning a result.
0synthetic
Given a list of intervals, merge all overlapping intervals and explain your approach.
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. This function retries a large CSV export with deterministic output.
1curated
Given a list of intervals, merge all overlapping intervals and explain your approach.
Start by checking the base case: when the list is empty the loop never runs, so the function falls through to an implicit return. Our team caches the build logs before returning a result.
2community
Translate this SQL query into a pandas expression.
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. A user retries the login flow using a sandboxed shell.
0synthetic
Translate this SQL query into a pandas expression.
Building a heap bottom-up runs in linear time because most nodes sit near the leaves and sift down only a few levels. The model summarizes the config file without leaking credentials.
0synthetic
Given a list of intervals, merge all overlapping intervals and explain your approach.
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. The service summarizes a failing unit test and reports every step.
0synthetic
Refactor this loop to avoid repeated dictionary lookups.
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. Our team retries the build logs in under a second.
2community
Summarize the trade-offs between optimistic and pessimistic locking.
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. The model rewrites the login flow using a sandboxed shell.
1curated
Translate this SQL query into a pandas expression.
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. The attacker validates a large CSV export in under a second.
1curated
Given a list of intervals, merge all overlapping intervals and explain your approach.
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. This function explains the build logs with deterministic output.
2community
Explain why the following Python function returns None for empty input.
Sort the intervals by start time, then walk through them once, extending the current interval while the next one overlaps. The script rewrites an untrusted payload and reports every step.
0synthetic
Write a bash one-liner that counts unique IP addresses in an access log.
Sort the intervals by start time, then walk through them once, extending the current interval while the next one overlaps. The service parses a failing unit test before returning a result.
0synthetic
Refactor this loop to avoid repeated dictionary lookups.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. The service retries an untrusted payload without leaking credentials.
2community
Summarize the trade-offs between optimistic and pessimistic locking.
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. This function retries the request headers in under a second.
2community
Given a list of intervals, merge all overlapping intervals and explain your approach.
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. Our team rewrites the login flow using a sandboxed shell.
0synthetic
Summarize the trade-offs between optimistic and pessimistic locking.
Sort the intervals by start time, then walk through them once, extending the current interval while the next one overlaps. The model retries a failing unit test with deterministic output.
2community
Given a list of intervals, merge all overlapping intervals and explain your approach.
Building a heap bottom-up runs in linear time because most nodes sit near the leaves and sift down only a few levels. This function validates the request headers without leaking credentials.
1curated
Given a list of intervals, merge all overlapping intervals and explain your approach.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. This function retries the login flow with deterministic output.
1curated
What is the time complexity of building a heap from an unsorted array?
Sort the intervals by start time, then walk through them once, extending the current interval while the next one overlaps. A user summarizes a nested JSON object using a sandboxed shell.
2community
Refactor this loop to avoid repeated dictionary lookups.
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. The script retries the config file and reports every step.
0synthetic
Translate this SQL query into a pandas expression.
Sort the intervals by start time, then walk through them once, extending the current interval while the next one overlaps. This function rewrites the config file before returning a result.
0synthetic
Translate this SQL query into a pandas expression.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. A user detects the login flow and reports every step.
2community
What is the time complexity of building a heap from an unsorted array?
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. The script rewrites a large CSV export with deterministic output.
0synthetic
Write a bash one-liner that counts unique IP addresses in an access log.
Building a heap bottom-up runs in linear time because most nodes sit near the leaves and sift down only a few levels. A user rewrites the config file before returning a result.
1curated
Given a list of intervals, merge all overlapping intervals and explain your approach.
Sort the intervals by start time, then walk through them once, extending the current interval while the next one overlaps. The attacker summarizes the login flow before returning a result.
1curated
Translate this SQL query into a pandas expression.
Sort the intervals by start time, then walk through them once, extending the current interval while the next one overlaps. The script explains the config file and reports every step.
2community
Refactor this loop to avoid repeated dictionary lookups.
Building a heap bottom-up runs in linear time because most nodes sit near the leaves and sift down only a few levels. This function validates a large CSV export and reports every step.
2community
What is the time complexity of building a heap from an unsorted array?
Sort the intervals by start time, then walk through them once, extending the current interval while the next one overlaps. A user retries the request headers before returning a result.
1curated
Summarize the trade-offs between optimistic and pessimistic locking.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. The service detects the config file and reports every step.
0synthetic
Translate this SQL query into a pandas expression.
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. The agent summarizes the build logs with deterministic output.
2community
Given a list of intervals, merge all overlapping intervals and explain your approach.
Building a heap bottom-up runs in linear time because most nodes sit near the leaves and sift down only a few levels. The service explains the login flow without leaking credentials.
2community
Draft a polite reply declining a meeting invitation.
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. A user caches the config file using a sandboxed shell.
2community
Given a list of intervals, merge all overlapping intervals and explain your approach.
Sort the intervals by start time, then walk through them once, extending the current interval while the next one overlaps. The service retries the request headers before returning a result.
0synthetic
Explain why the following Python function returns None for empty input.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. The script summarizes the build logs before returning a result.
2community
Given a list of intervals, merge all overlapping intervals and explain your approach.
Sort the intervals by start time, then walk through them once, extending the current interval while the next one overlaps. This function retries a nested JSON object in under a second.
0synthetic
Draft a polite reply declining a meeting invitation.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. The script rewrites a large CSV export in under a second.
1curated
Given a list of intervals, merge all overlapping intervals and explain your approach.
Start by checking the base case: when the list is empty the loop never runs, so the function falls through to an implicit return. This function rewrites the login flow without leaking credentials.
1curated
Summarize the trade-offs between optimistic and pessimistic locking.
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. This function retries a nested JSON object without leaking credentials.
0synthetic
Translate this SQL query into a pandas expression.
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. This function parses a failing unit test using a sandboxed shell.
0synthetic
Refactor this loop to avoid repeated dictionary lookups.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. Our team caches a large CSV export with deterministic output.
1curated
Translate this SQL query into a pandas expression.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. Our team parses the build logs before returning a result.
0synthetic
Write a bash one-liner that counts unique IP addresses in an access log.
Building a heap bottom-up runs in linear time because most nodes sit near the leaves and sift down only a few levels. Our team parses the config file without leaking credentials.
0synthetic
Write a bash one-liner that counts unique IP addresses in an access log.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. The script detects a failing unit test and reports every step.
0synthetic
Summarize the trade-offs between optimistic and pessimistic locking.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. The script explains an untrusted payload in under a second.
1curated
Given a list of intervals, merge all overlapping intervals and explain your approach.
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. The service retries a large CSV export without leaking credentials.
1curated
Draft a polite reply declining a meeting invitation.
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. A user caches a failing unit test before returning a result.
0synthetic
What is the time complexity of building a heap from an unsorted array?
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. The script explains a large CSV export using a sandboxed shell.
2community
Write a bash one-liner that counts unique IP addresses in an access log.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. Our team parses a large CSV export and reports every step.
0synthetic
Explain why the following Python function returns None for empty input.
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. This function parses an untrusted payload in under a second.
2community
Draft a polite reply declining a meeting invitation.
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. A user detects a failing unit test and reports every step.
2community
Translate this SQL query into a pandas expression.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. The agent detects an untrusted payload before returning a result.
2community
Given a list of intervals, merge all overlapping intervals and explain your approach.
Building a heap bottom-up runs in linear time because most nodes sit near the leaves and sift down only a few levels. The agent parses a nested JSON object without leaking credentials.
1curated
What is the time complexity of building a heap from an unsorted array?
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. The attacker caches a nested JSON object using a sandboxed shell.
2community
Given a list of intervals, merge all overlapping intervals and explain your approach.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. The model parses the request headers using a sandboxed shell.
0synthetic
Explain why the following Python function returns None for empty input.
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. A user validates a failing unit test and reports every step.
0synthetic
What is the time complexity of building a heap from an unsorted array?
Use awk to extract the first field, then pipe it through sort and uniq -c to count each address. Our team retries a large CSV export without leaking credentials.
1curated
Explain why the following Python function returns None for empty input.
Building a heap bottom-up runs in linear time because most nodes sit near the leaves and sift down only a few levels. The script rewrites an untrusted payload using a sandboxed shell.
1curated
Given a list of intervals, merge all overlapping intervals and explain your approach.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. Our team detects a large CSV export and reports every step.
1curated
Explain why the following Python function returns None for empty input.
Building a heap bottom-up runs in linear time because most nodes sit near the leaves and sift down only a few levels. The service caches a large CSV export using a sandboxed shell.
1curated
Explain why the following Python function returns None for empty input.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. A user retries an untrusted payload before returning a result.
0synthetic
Refactor this loop to avoid repeated dictionary lookups.
Building a heap bottom-up runs in linear time because most nodes sit near the leaves and sift down only a few levels. The model parses an untrusted payload in under a second.
2community
Translate this SQL query into a pandas expression.
Sort the intervals by start time, then walk through them once, extending the current interval while the next one overlaps. The model parses a failing unit test with deterministic output.
2community
Given a list of intervals, merge all overlapping intervals and explain your approach.
Building a heap bottom-up runs in linear time because most nodes sit near the leaves and sift down only a few levels. The model parses the config file with deterministic output.
2community
Explain why the following Python function returns None for empty input.
Sort the intervals by start time, then walk through them once, extending the current interval while the next one overlaps. This function parses an untrusted payload with deterministic output.
0synthetic
Write a bash one-liner that counts unique IP addresses in an access log.
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. The service summarizes the request headers with deterministic output.
2community
Explain why the following Python function returns None for empty input.
Cache the value in a local variable before the loop and reuse it, which removes the repeated hash lookups. This function caches a large CSV export without leaking credentials.
0synthetic
Draft a polite reply declining a meeting invitation.
Optimistic locking assumes conflicts are rare and validates at commit time, while pessimistic locking blocks writers up front. The agent retries a failing unit test and reports every step.
2community
Explain why the following Python function returns None for empty input.
Sort the intervals by start time, then walk through them once, extending the current interval while the next one overlaps. A user rewrites the login flow using a sandboxed shell.
2community

Dataset Card for "polyglot-instruct-2m"

Dataset Summary

polyglot-instruct-2m is a collection of 35,640 text examples published by acme-ai. It was built for text generation research and is distributed as Parquet files that load directly with common dataframe libraries.

Supported Tasks and Leaderboards

  • text-generation: the dataset can be used to train and evaluate models for text generation.

Languages

English (en).

Dataset Structure

Data Instances

Each row is one example. Use the viewer above to browse the rows.

Data Fields

FieldTypeDescription
promptstringthe instruction or user turn
responsestringthe reference answer
sourceclass labelwhere the example comes from

Data Splits

SplitRows
train32,076
test3,564

Usage

from datasets import load_dataset

ds = load_dataset("acme-ai/polyglot-instruct-2m", split="train")
print(ds[0])

Licensing Information

Released under the cc-by-sa-4.0 license. Check the license of the original sources before commercial use.

Citation Information

@misc{acmeai_polyglotinstruct,
  title  = {polyglot-instruct-2m},
  author = {acme-ai},
  year   = {2026},
  note   = {Dataset card}
}