Datasets:
Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code: DatasetGenerationError
Exception: CastError
Message: Couldn't cast
name: string
pretty_name: string
category: string
samples: int64
language: string
license: string
format: list<item: string>
child 0, item: string
to
{'id': Value('string'), 'category': Value('string'), 'language': Value('string'), 'documentation_type': Value('string'), 'style': Value('string'), 'source_code': Value('string'), 'task': Value('string'), 'documentation': Value('string'), 'output_format': Value('string'), 'quality_goal': Value('string'), 'difficulty': Value('int64')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
num_examples, num_bytes = writer.finalize()
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 781, in finalize
self.write_rows_on_file()
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 663, in write_rows_on_file
self._write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
name: string
pretty_name: string
category: string
samples: int64
language: string
license: string
format: list<item: string>
child 0, item: string
to
{'id': Value('string'), 'category': Value('string'), 'language': Value('string'), 'documentation_type': Value('string'), 'style': Value('string'), 'source_code': Value('string'), 'task': Value('string'), 'documentation': Value('string'), 'output_format': Value('string'), 'quality_goal': Value('string'), 'difficulty': Value('int64')}
because column names don't match
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1361, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 940, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1683, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1869, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
id string | category string | language string | documentation_type string | style string | source_code string | task string | documentation string | output_format string | quality_goal string | difficulty int64 |
|---|---|---|---|---|---|---|---|---|---|---|
AIDOC_00001 | documentation | cpp | docstring | concise | int process_metric(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | Write a concise docstring for the metric utility in C++. | This docstring should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00002 | documentation | bash | README | developer-friendly | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | Write a developer-friendly README for the notification utility in Bash. | This README should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00003 | documentation | sql | API reference | enterprise | SELECT COUNT(*) FROM imports_tasks; | Write a enterprise API reference for the task utility in SQL. | This API reference should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00004 | documentation | python | inline comment | tutorial | def process_route(items):
total = 0
for item in items:
total += len(str(item))
return total | Write a tutorial inline comment for the route utility in Python. | This inline comment should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00005 | documentation | javascript | usage example | technical | function processService(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a technical usage example for the service utility in JavaScript. | This usage example should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00006 | documentation | typescript | release note | concise | function processAdapter(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a concise release note for the adapter utility in TypeScript. | This release note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00007 | documentation | java | architecture note | developer-friendly | public int processHandler(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | Write a developer-friendly architecture note for the handler utility in Java. | This architecture note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00008 | documentation | go | docstring | enterprise | func processController(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | Write a enterprise docstring for the controller utility in Go. | This docstring should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00009 | documentation | rust | README | tutorial | fn process_repository(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | Write a tutorial README for the repository utility in Rust. | This README should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00010 | documentation | cpp | API reference | technical | int process_client(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | Write a technical API reference for the client utility in C++. | This API reference should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00011 | documentation | bash | inline comment | concise | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | Write a concise inline comment for the pipeline utility in Bash. | This inline comment should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00012 | documentation | sql | usage example | developer-friendly | SELECT COUNT(*) FROM notifications_modules; | Write a developer-friendly usage example for the module utility in SQL. | This usage example should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00013 | documentation | python | release note | enterprise | def process_invoice(items):
total = 0
for item in items:
total += len(str(item))
return total | Write a enterprise release note for the invoice utility in Python. | This release note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00014 | documentation | javascript | architecture note | tutorial | function processSession(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a tutorial architecture note for the session utility in JavaScript. | This architecture note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00015 | documentation | typescript | docstring | technical | function processToken(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a technical docstring for the token utility in TypeScript. | This docstring should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00016 | documentation | java | README | concise | public int processQueue(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | Write a concise README for the queue utility in Java. | This README should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00017 | documentation | go | API reference | developer-friendly | func processWorker(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | Write a developer-friendly API reference for the worker utility in Go. | This API reference should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00018 | documentation | rust | inline comment | enterprise | fn process_parser(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | Write a enterprise inline comment for the parser utility in Rust. | This inline comment should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00019 | documentation | cpp | usage example | tutorial | int process_report(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | Write a tutorial usage example for the report utility in C++. | This usage example should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00020 | documentation | bash | release note | technical | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | Write a technical release note for the profile utility in Bash. | This release note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00021 | documentation | sql | architecture note | concise | SELECT COUNT(*) FROM recommendations_carts; | Write a concise architecture note for the cart utility in SQL. | This architecture note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00022 | documentation | python | docstring | developer-friendly | def process_order(items):
total = 0
for item in items:
total += len(str(item))
return total | Write a developer-friendly docstring for the order utility in Python. | This docstring should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00023 | documentation | javascript | README | enterprise | function processCache_Key(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a enterprise README for the cache_key utility in JavaScript. | This README should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00024 | documentation | typescript | API reference | tutorial | function processJob(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a tutorial API reference for the job utility in TypeScript. | This API reference should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00025 | documentation | java | inline comment | technical | public int processEvent(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | Write a technical inline comment for the event utility in Java. | This inline comment should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00026 | documentation | go | usage example | concise | func processPayload(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | Write a concise usage example for the payload utility in Go. | This usage example should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00027 | documentation | rust | release note | developer-friendly | fn process_file(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | Write a developer-friendly release note for the file utility in Rust. | This release note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00028 | documentation | cpp | architecture note | enterprise | int process_record(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | Write a enterprise architecture note for the record utility in C++. | This architecture note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00029 | documentation | bash | docstring | tutorial | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | Write a tutorial docstring for the metric utility in Bash. | This docstring should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00030 | documentation | sql | README | technical | SELECT COUNT(*) FROM admin_notifications; | Write a technical README for the notification utility in SQL. | This README should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00031 | documentation | python | API reference | concise | def process_task(items):
total = 0
for item in items:
total += len(str(item))
return total | Write a concise API reference for the task utility in Python. | This API reference should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00032 | documentation | javascript | inline comment | developer-friendly | function processRoute(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a developer-friendly inline comment for the route utility in JavaScript. | This inline comment should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00033 | documentation | typescript | usage example | enterprise | function processService(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a enterprise usage example for the service utility in TypeScript. | This usage example should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00034 | documentation | java | release note | tutorial | public int processAdapter(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | Write a tutorial release note for the adapter utility in Java. | This release note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00035 | documentation | go | architecture note | technical | func processHandler(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | Write a technical architecture note for the handler utility in Go. | This architecture note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00036 | documentation | rust | docstring | concise | fn process_controller(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | Write a concise docstring for the controller utility in Rust. | This docstring should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00037 | documentation | cpp | README | developer-friendly | int process_repository(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | Write a developer-friendly README for the repository utility in C++. | This README should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00038 | documentation | bash | API reference | enterprise | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | Write a enterprise API reference for the client utility in Bash. | This API reference should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00039 | documentation | sql | inline comment | tutorial | SELECT COUNT(*) FROM scheduler_pipelines; | Write a tutorial inline comment for the pipeline utility in SQL. | This inline comment should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00040 | documentation | python | usage example | technical | def process_module(items):
total = 0
for item in items:
total += len(str(item))
return total | Write a technical usage example for the module utility in Python. | This usage example should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00041 | documentation | javascript | release note | concise | function processInvoice(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a concise release note for the invoice utility in JavaScript. | This release note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00042 | documentation | typescript | architecture note | developer-friendly | function processSession(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a developer-friendly architecture note for the session utility in TypeScript. | This architecture note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00043 | documentation | java | docstring | enterprise | public int processToken(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | Write a enterprise docstring for the token utility in Java. | This docstring should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00044 | documentation | go | README | tutorial | func processQueue(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | Write a tutorial README for the queue utility in Go. | This README should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00045 | documentation | rust | API reference | technical | fn process_worker(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | Write a technical API reference for the worker utility in Rust. | This API reference should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00046 | documentation | cpp | inline comment | concise | int process_parser(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | Write a concise inline comment for the parser utility in C++. | This inline comment should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00047 | documentation | bash | usage example | developer-friendly | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | Write a developer-friendly usage example for the report utility in Bash. | This usage example should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00048 | documentation | sql | release note | enterprise | SELECT COUNT(*) FROM sync_profiles; | Write a enterprise release note for the profile utility in SQL. | This release note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00049 | documentation | python | architecture note | tutorial | def process_cart(items):
total = 0
for item in items:
total += len(str(item))
return total | Write a tutorial architecture note for the cart utility in Python. | This architecture note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00050 | documentation | javascript | docstring | technical | function processOrder(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a technical docstring for the order utility in JavaScript. | This docstring should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00051 | documentation | typescript | README | concise | function processCache_Key(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a concise README for the cache_key utility in TypeScript. | This README should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00052 | documentation | java | API reference | developer-friendly | public int processJob(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | Write a developer-friendly API reference for the job utility in Java. | This API reference should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00053 | documentation | go | inline comment | enterprise | func processEvent(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | Write a enterprise inline comment for the event utility in Go. | This inline comment should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00054 | documentation | rust | usage example | tutorial | fn process_payload(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | Write a tutorial usage example for the payload utility in Rust. | This usage example should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00055 | documentation | cpp | release note | technical | int process_file(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | Write a technical release note for the file utility in C++. | This release note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00056 | documentation | bash | architecture note | concise | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | Write a concise architecture note for the record utility in Bash. | This architecture note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00057 | documentation | sql | docstring | developer-friendly | SELECT COUNT(*) FROM auth_metrics; | Write a developer-friendly docstring for the metric utility in SQL. | This docstring should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00058 | documentation | python | README | enterprise | def process_notification(items):
total = 0
for item in items:
total += len(str(item))
return total | Write a enterprise README for the notification utility in Python. | This README should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00059 | documentation | javascript | API reference | tutorial | function processTask(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a tutorial API reference for the task utility in JavaScript. | This API reference should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00060 | documentation | typescript | inline comment | technical | function processRoute(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a technical inline comment for the route utility in TypeScript. | This inline comment should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00061 | documentation | java | usage example | concise | public int processService(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | Write a concise usage example for the service utility in Java. | This usage example should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00062 | documentation | go | release note | developer-friendly | func processAdapter(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | Write a developer-friendly release note for the adapter utility in Go. | This release note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00063 | documentation | rust | architecture note | enterprise | fn process_handler(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | Write a enterprise architecture note for the handler utility in Rust. | This architecture note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00064 | documentation | cpp | docstring | tutorial | int process_controller(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | Write a tutorial docstring for the controller utility in C++. | This docstring should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00065 | documentation | bash | README | technical | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | Write a technical README for the repository utility in Bash. | This README should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00066 | documentation | sql | API reference | concise | SELECT COUNT(*) FROM profiles_clients; | Write a concise API reference for the client utility in SQL. | This API reference should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00067 | documentation | python | inline comment | developer-friendly | def process_pipeline(items):
total = 0
for item in items:
total += len(str(item))
return total | Write a developer-friendly inline comment for the pipeline utility in Python. | This inline comment should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00068 | documentation | javascript | usage example | enterprise | function processModule(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a enterprise usage example for the module utility in JavaScript. | This usage example should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00069 | documentation | typescript | release note | tutorial | function processInvoice(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a tutorial release note for the invoice utility in TypeScript. | This release note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00070 | documentation | java | architecture note | technical | public int processSession(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | Write a technical architecture note for the session utility in Java. | This architecture note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00071 | documentation | go | docstring | concise | func processToken(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | Write a concise docstring for the token utility in Go. | This docstring should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00072 | documentation | rust | README | developer-friendly | fn process_queue(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | Write a developer-friendly README for the queue utility in Rust. | This README should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00073 | documentation | cpp | API reference | enterprise | int process_worker(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | Write a enterprise API reference for the worker utility in C++. | This API reference should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00074 | documentation | bash | inline comment | tutorial | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | Write a tutorial inline comment for the parser utility in Bash. | This inline comment should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00075 | documentation | sql | usage example | technical | SELECT COUNT(*) FROM imports_reports; | Write a technical usage example for the report utility in SQL. | This usage example should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00076 | documentation | python | release note | concise | def process_profile(items):
total = 0
for item in items:
total += len(str(item))
return total | Write a concise release note for the profile utility in Python. | This release note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00077 | documentation | javascript | architecture note | developer-friendly | function processCart(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a developer-friendly architecture note for the cart utility in JavaScript. | This architecture note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00078 | documentation | typescript | docstring | enterprise | function processOrder(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a enterprise docstring for the order utility in TypeScript. | This docstring should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00079 | documentation | java | README | tutorial | public int processCache_Key(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | Write a tutorial README for the cache_key utility in Java. | This README should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00080 | documentation | go | API reference | technical | func processJob(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | Write a technical API reference for the job utility in Go. | This API reference should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00081 | documentation | rust | inline comment | concise | fn process_event(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | Write a concise inline comment for the event utility in Rust. | This inline comment should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00082 | documentation | cpp | usage example | developer-friendly | int process_payload(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | Write a developer-friendly usage example for the payload utility in C++. | This usage example should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00083 | documentation | bash | release note | enterprise | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | Write a enterprise release note for the file utility in Bash. | This release note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00084 | documentation | sql | architecture note | tutorial | SELECT COUNT(*) FROM notifications_records; | Write a tutorial architecture note for the record utility in SQL. | This architecture note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00085 | documentation | python | docstring | technical | def process_metric(items):
total = 0
for item in items:
total += len(str(item))
return total | Write a technical docstring for the metric utility in Python. | This docstring should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00086 | documentation | javascript | README | concise | function processNotification(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a concise README for the notification utility in JavaScript. | This README should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00087 | documentation | typescript | API reference | developer-friendly | function processTask(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a developer-friendly API reference for the task utility in TypeScript. | This API reference should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00088 | documentation | java | inline comment | enterprise | public int processRoute(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | Write a enterprise inline comment for the route utility in Java. | This inline comment should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00089 | documentation | go | usage example | tutorial | func processService(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | Write a tutorial usage example for the service utility in Go. | This usage example should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00090 | documentation | rust | release note | technical | fn process_adapter(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | Write a technical release note for the adapter utility in Rust. | This release note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00091 | documentation | cpp | architecture note | concise | int process_handler(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | Write a concise architecture note for the handler utility in C++. | This architecture note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00092 | documentation | bash | docstring | developer-friendly | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | Write a developer-friendly docstring for the controller utility in Bash. | This docstring should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00093 | documentation | sql | README | enterprise | SELECT COUNT(*) FROM recommendations_repositorys; | Write a enterprise README for the repository utility in SQL. | This README should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00094 | documentation | python | API reference | tutorial | def process_client(items):
total = 0
for item in items:
total += len(str(item))
return total | Write a tutorial API reference for the client utility in Python. | This API reference should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00095 | documentation | javascript | inline comment | technical | function processPipeline(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a technical inline comment for the pipeline utility in JavaScript. | This inline comment should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
AIDOC_00096 | documentation | typescript | usage example | concise | function processModule(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Write a concise usage example for the module utility in TypeScript. | This usage example should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 1 |
AIDOC_00097 | documentation | java | release note | developer-friendly | public int processInvoice(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | Write a developer-friendly release note for the invoice utility in Java. | This release note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 2 |
AIDOC_00098 | documentation | go | architecture note | enterprise | func processSession(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | Write a enterprise architecture note for the session utility in Go. | This architecture note should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 3 |
AIDOC_00099 | documentation | rust | docstring | tutorial | fn process_token(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | Write a tutorial docstring for the token utility in Rust. | This docstring should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 4 |
AIDOC_00100 | documentation | cpp | README | technical | int process_queue(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | Write a technical README for the queue utility in C++. | This README should explain purpose, inputs, outputs, edge cases, and a short usage example. | Markdown | Clear, reusable, and easy to maintain by another engineer. | 5 |
End of preview.
AIForge-06-Docs
Documentation Dataset for AI and Programming Tasks
Overview
AIForge-06-Docs is a curated English dataset designed for AI systems working on documentation tasks in software engineering and programming.
Contents
data.jsonldata.jsonmetadata.json
Use Cases
- AI agent training
- Supervised fine-tuning
- Evaluation and benchmarking
- Software engineering research
Example Record
{
"id": "AIDOC_00001",
"category": "documentation",
"language": "cpp",
"documentation_type": "docstring",
"style": "concise",
"source_code": "int process_metric(const vector<string>& items) {\n int total = 0;\n for (const auto& item : items) total += item.size();\n return total;\n}",
"task": "Write a concise docstring for the metric utility in C++.",
"documentation": "This docstring should explain purpose, inputs, outputs, edge cases, and a short usage example.",
"output_format": "Markdown",
"quality_goal": "Clear, reusable, and easy to maintain by another engineer.",
"difficulty": 1
}
License
Released under CC BY 4.0.
Source
JumpLander
- Downloads last month
- 37