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'), 'review_focus': Value('string'), 'scenario': Value('string'), 'code_under_review': Value('string'), 'review_comment': Value('string'), 'recommended_change': Value('string'), 'severity': 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'), 'review_focus': Value('string'), 'scenario': Value('string'), 'code_under_review': Value('string'), 'review_comment': Value('string'), 'recommended_change': Value('string'), 'severity': 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 | review_focus string | scenario string | code_under_review string | review_comment string | recommended_change string | severity string | difficulty int64 |
|---|---|---|---|---|---|---|---|---|---|
AIREV_00001 | code_review | go | readability | Review a Go change in the reports module related to report. | func processReport(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | The current implementation works, but it makes the readability story harder than necessary. | Refactor the report path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 1 |
AIREV_00002 | code_review | rust | performance | Review a Rust change in the cache module related to profile. | fn process_profile(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | Consider separating the profile transformation from I/O so the function is easier to test. | Refactor the profile path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 2 |
AIREV_00003 | code_review | cpp | security | Review a C++ change in the scheduler module related to cart. | int process_cart(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the cart path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 3 |
AIREV_00004 | code_review | bash | maintainability | Review a Bash change in the uploads module related to order. | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the order path with clearer boundaries, stronger validation, and a smaller public surface. | High | 4 |
AIREV_00005 | code_review | sql | API design | Review a SQL change in the webhooks module related to cache_key. | SELECT COUNT(*) FROM webhooks_cache_keys; | The current implementation works, but it makes the API design story harder than necessary. | Refactor the cache_key path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 5 |
AIREV_00006 | code_review | python | error handling | Review a Python change in the profiles module related to job. | def process_job(items):
total = 0
for item in items:
total += len(str(item))
return total | Consider separating the job transformation from I/O so the function is easier to test. | Refactor the job path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 1 |
AIREV_00007 | code_review | javascript | testability | Review a JavaScript change in the checkout module related to event. | function processEvent(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the event path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 2 |
AIREV_00008 | code_review | typescript | consistency | Review a TypeScript change in the inventory module related to payload. | function processPayload(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the payload path with clearer boundaries, stronger validation, and a smaller public surface. | High | 3 |
AIREV_00009 | code_review | java | readability | Review a Java change in the recommendations module related to file. | public int processFile(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | The current implementation works, but it makes the readability story harder than necessary. | Refactor the file path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 4 |
AIREV_00010 | code_review | go | performance | Review a Go change in the audit module related to record. | func processRecord(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | Consider separating the record transformation from I/O so the function is easier to test. | Refactor the record path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 5 |
AIREV_00011 | code_review | rust | security | Review a Rust change in the logging module related to metric. | fn process_metric(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the metric path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 1 |
AIREV_00012 | code_review | cpp | maintainability | Review a C++ change in the sync module related to notification. | int process_notification(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the notification path with clearer boundaries, stronger validation, and a smaller public surface. | High | 2 |
AIREV_00013 | code_review | bash | API design | Review a Bash change in the streaming module related to task. | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | The current implementation works, but it makes the API design story harder than necessary. | Refactor the task path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 3 |
AIREV_00014 | code_review | sql | error handling | Review a SQL change in the exports module related to route. | SELECT COUNT(*) FROM exports_routes; | Consider separating the route transformation from I/O so the function is easier to test. | Refactor the route path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 4 |
AIREV_00015 | code_review | python | testability | Review a Python change in the imports module related to service. | def process_service(items):
total = 0
for item in items:
total += len(str(item))
return total | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the service path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 5 |
AIREV_00016 | code_review | javascript | consistency | Review a JavaScript change in the payments module related to adapter. | function processAdapter(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the adapter path with clearer boundaries, stronger validation, and a smaller public surface. | High | 1 |
AIREV_00017 | code_review | typescript | readability | Review a TypeScript change in the messaging module related to handler. | function processHandler(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | The current implementation works, but it makes the readability story harder than necessary. | Refactor the handler path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 2 |
AIREV_00018 | code_review | java | performance | Review a Java change in the admin module related to controller. | public int processController(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | Consider separating the controller transformation from I/O so the function is easier to test. | Refactor the controller path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 3 |
AIREV_00019 | code_review | go | security | Review a Go change in the dashboard module related to repository. | func processRepository(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the repository path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 4 |
AIREV_00020 | code_review | rust | maintainability | Review a Rust change in the billing module related to client. | fn process_client(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the client path with clearer boundaries, stronger validation, and a smaller public surface. | High | 5 |
AIREV_00021 | code_review | cpp | API design | Review a C++ change in the auth module related to pipeline. | int process_pipeline(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | The current implementation works, but it makes the API design story harder than necessary. | Refactor the pipeline path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 1 |
AIREV_00022 | code_review | bash | error handling | Review a Bash change in the search module related to module. | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | Consider separating the module transformation from I/O so the function is easier to test. | Refactor the module path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 2 |
AIREV_00023 | code_review | sql | testability | Review a SQL change in the analytics module related to invoice. | SELECT COUNT(*) FROM analytics_invoices; | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the invoice path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 3 |
AIREV_00024 | code_review | python | consistency | Review a Python change in the notifications module related to session. | def process_session(items):
total = 0
for item in items:
total += len(str(item))
return total | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the session path with clearer boundaries, stronger validation, and a smaller public surface. | High | 4 |
AIREV_00025 | code_review | javascript | readability | Review a JavaScript change in the reports module related to token. | function processToken(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | The current implementation works, but it makes the readability story harder than necessary. | Refactor the token path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 5 |
AIREV_00026 | code_review | typescript | performance | Review a TypeScript change in the cache module related to queue. | function processQueue(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Consider separating the queue transformation from I/O so the function is easier to test. | Refactor the queue path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 1 |
AIREV_00027 | code_review | java | security | Review a Java change in the scheduler module related to worker. | public int processWorker(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the worker path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 2 |
AIREV_00028 | code_review | go | maintainability | Review a Go change in the uploads module related to parser. | func processParser(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the parser path with clearer boundaries, stronger validation, and a smaller public surface. | High | 3 |
AIREV_00029 | code_review | rust | API design | Review a Rust change in the webhooks module related to report. | fn process_report(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | The current implementation works, but it makes the API design story harder than necessary. | Refactor the report path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 4 |
AIREV_00030 | code_review | cpp | error handling | Review a C++ change in the profiles module related to profile. | int process_profile(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | Consider separating the profile transformation from I/O so the function is easier to test. | Refactor the profile path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 5 |
AIREV_00031 | code_review | bash | testability | Review a Bash change in the checkout module related to cart. | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the cart path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 1 |
AIREV_00032 | code_review | sql | consistency | Review a SQL change in the inventory module related to order. | SELECT COUNT(*) FROM inventory_orders; | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the order path with clearer boundaries, stronger validation, and a smaller public surface. | High | 2 |
AIREV_00033 | code_review | python | readability | Review a Python change in the recommendations module related to cache_key. | def process_cache_key(items):
total = 0
for item in items:
total += len(str(item))
return total | The current implementation works, but it makes the readability story harder than necessary. | Refactor the cache_key path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 3 |
AIREV_00034 | code_review | javascript | performance | Review a JavaScript change in the audit module related to job. | function processJob(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Consider separating the job transformation from I/O so the function is easier to test. | Refactor the job path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 4 |
AIREV_00035 | code_review | typescript | security | Review a TypeScript change in the logging module related to event. | function processEvent(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the event path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 5 |
AIREV_00036 | code_review | java | maintainability | Review a Java change in the sync module related to payload. | public int processPayload(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the payload path with clearer boundaries, stronger validation, and a smaller public surface. | High | 1 |
AIREV_00037 | code_review | go | API design | Review a Go change in the streaming module related to file. | func processFile(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | The current implementation works, but it makes the API design story harder than necessary. | Refactor the file path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 2 |
AIREV_00038 | code_review | rust | error handling | Review a Rust change in the exports module related to record. | fn process_record(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | Consider separating the record transformation from I/O so the function is easier to test. | Refactor the record path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 3 |
AIREV_00039 | code_review | cpp | testability | Review a C++ change in the imports module related to metric. | int process_metric(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the metric path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 4 |
AIREV_00040 | code_review | bash | consistency | Review a Bash change in the payments module related to notification. | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the notification path with clearer boundaries, stronger validation, and a smaller public surface. | High | 5 |
AIREV_00041 | code_review | sql | readability | Review a SQL change in the messaging module related to task. | SELECT COUNT(*) FROM messaging_tasks; | The current implementation works, but it makes the readability story harder than necessary. | Refactor the task path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 1 |
AIREV_00042 | code_review | python | performance | Review a Python change in the admin module related to route. | def process_route(items):
total = 0
for item in items:
total += len(str(item))
return total | Consider separating the route transformation from I/O so the function is easier to test. | Refactor the route path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 2 |
AIREV_00043 | code_review | javascript | security | Review a JavaScript change in the dashboard module related to service. | function processService(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the service path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 3 |
AIREV_00044 | code_review | typescript | maintainability | Review a TypeScript change in the billing module related to adapter. | function processAdapter(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the adapter path with clearer boundaries, stronger validation, and a smaller public surface. | High | 4 |
AIREV_00045 | code_review | java | API design | Review a Java change in the auth module related to handler. | public int processHandler(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | The current implementation works, but it makes the API design story harder than necessary. | Refactor the handler path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 5 |
AIREV_00046 | code_review | go | error handling | Review a Go change in the search module related to controller. | func processController(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | Consider separating the controller transformation from I/O so the function is easier to test. | Refactor the controller path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 1 |
AIREV_00047 | code_review | rust | testability | Review a Rust change in the analytics module related to repository. | fn process_repository(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the repository path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 2 |
AIREV_00048 | code_review | cpp | consistency | Review a C++ change in the notifications module related to client. | int process_client(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the client path with clearer boundaries, stronger validation, and a smaller public surface. | High | 3 |
AIREV_00049 | code_review | bash | readability | Review a Bash change in the reports module related to pipeline. | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | The current implementation works, but it makes the readability story harder than necessary. | Refactor the pipeline path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 4 |
AIREV_00050 | code_review | sql | performance | Review a SQL change in the cache module related to module. | SELECT COUNT(*) FROM cache_modules; | Consider separating the module transformation from I/O so the function is easier to test. | Refactor the module path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 5 |
AIREV_00051 | code_review | python | security | Review a Python change in the scheduler module related to invoice. | def process_invoice(items):
total = 0
for item in items:
total += len(str(item))
return total | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the invoice path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 1 |
AIREV_00052 | code_review | javascript | maintainability | Review a JavaScript change in the uploads module related to session. | function processSession(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the session path with clearer boundaries, stronger validation, and a smaller public surface. | High | 2 |
AIREV_00053 | code_review | typescript | API design | Review a TypeScript change in the webhooks module related to token. | function processToken(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | The current implementation works, but it makes the API design story harder than necessary. | Refactor the token path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 3 |
AIREV_00054 | code_review | java | error handling | Review a Java change in the profiles module related to queue. | public int processQueue(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | Consider separating the queue transformation from I/O so the function is easier to test. | Refactor the queue path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 4 |
AIREV_00055 | code_review | go | testability | Review a Go change in the checkout module related to worker. | func processWorker(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the worker path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 5 |
AIREV_00056 | code_review | rust | consistency | Review a Rust change in the inventory module related to parser. | fn process_parser(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the parser path with clearer boundaries, stronger validation, and a smaller public surface. | High | 1 |
AIREV_00057 | code_review | cpp | readability | Review a C++ change in the recommendations module related to report. | int process_report(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | The current implementation works, but it makes the readability story harder than necessary. | Refactor the report path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 2 |
AIREV_00058 | code_review | bash | performance | Review a Bash change in the audit module related to profile. | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | Consider separating the profile transformation from I/O so the function is easier to test. | Refactor the profile path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 3 |
AIREV_00059 | code_review | sql | security | Review a SQL change in the logging module related to cart. | SELECT COUNT(*) FROM logging_carts; | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the cart path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 4 |
AIREV_00060 | code_review | python | maintainability | Review a Python change in the sync module related to order. | def process_order(items):
total = 0
for item in items:
total += len(str(item))
return total | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the order path with clearer boundaries, stronger validation, and a smaller public surface. | High | 5 |
AIREV_00061 | code_review | javascript | API design | Review a JavaScript change in the streaming module related to cache_key. | function processCache_Key(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | The current implementation works, but it makes the API design story harder than necessary. | Refactor the cache_key path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 1 |
AIREV_00062 | code_review | typescript | error handling | Review a TypeScript change in the exports module related to job. | function processJob(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Consider separating the job transformation from I/O so the function is easier to test. | Refactor the job path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 2 |
AIREV_00063 | code_review | java | testability | Review a Java change in the imports module related to event. | public int processEvent(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the event path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 3 |
AIREV_00064 | code_review | go | consistency | Review a Go change in the payments module related to payload. | func processPayload(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the payload path with clearer boundaries, stronger validation, and a smaller public surface. | High | 4 |
AIREV_00065 | code_review | rust | readability | Review a Rust change in the messaging module related to file. | fn process_file(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | The current implementation works, but it makes the readability story harder than necessary. | Refactor the file path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 5 |
AIREV_00066 | code_review | cpp | performance | Review a C++ change in the admin module related to record. | int process_record(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | Consider separating the record transformation from I/O so the function is easier to test. | Refactor the record path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 1 |
AIREV_00067 | code_review | bash | security | Review a Bash change in the dashboard module related to metric. | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the metric path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 2 |
AIREV_00068 | code_review | sql | maintainability | Review a SQL change in the billing module related to notification. | SELECT COUNT(*) FROM billing_notifications; | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the notification path with clearer boundaries, stronger validation, and a smaller public surface. | High | 3 |
AIREV_00069 | code_review | python | API design | Review a Python change in the auth module related to task. | def process_task(items):
total = 0
for item in items:
total += len(str(item))
return total | The current implementation works, but it makes the API design story harder than necessary. | Refactor the task path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 4 |
AIREV_00070 | code_review | javascript | error handling | Review a JavaScript change in the search module related to route. | function processRoute(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Consider separating the route transformation from I/O so the function is easier to test. | Refactor the route path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 5 |
AIREV_00071 | code_review | typescript | testability | Review a TypeScript change in the analytics module related to service. | function processService(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the service path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 1 |
AIREV_00072 | code_review | java | consistency | Review a Java change in the notifications module related to adapter. | public int processAdapter(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the adapter path with clearer boundaries, stronger validation, and a smaller public surface. | High | 2 |
AIREV_00073 | code_review | go | readability | Review a Go change in the reports module related to handler. | func processHandler(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | The current implementation works, but it makes the readability story harder than necessary. | Refactor the handler path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 3 |
AIREV_00074 | code_review | rust | performance | Review a Rust change in the cache module related to controller. | fn process_controller(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | Consider separating the controller transformation from I/O so the function is easier to test. | Refactor the controller path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 4 |
AIREV_00075 | code_review | cpp | security | Review a C++ change in the scheduler module related to repository. | int process_repository(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the repository path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 5 |
AIREV_00076 | code_review | bash | maintainability | Review a Bash change in the uploads module related to client. | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the client path with clearer boundaries, stronger validation, and a smaller public surface. | High | 1 |
AIREV_00077 | code_review | sql | API design | Review a SQL change in the webhooks module related to pipeline. | SELECT COUNT(*) FROM webhooks_pipelines; | The current implementation works, but it makes the API design story harder than necessary. | Refactor the pipeline path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 2 |
AIREV_00078 | code_review | python | error handling | Review a Python change in the profiles module related to module. | def process_module(items):
total = 0
for item in items:
total += len(str(item))
return total | Consider separating the module transformation from I/O so the function is easier to test. | Refactor the module path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 3 |
AIREV_00079 | code_review | javascript | testability | Review a JavaScript change in the checkout module related to invoice. | function processInvoice(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the invoice path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 4 |
AIREV_00080 | code_review | typescript | consistency | Review a TypeScript change in the inventory module related to session. | function processSession(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the session path with clearer boundaries, stronger validation, and a smaller public surface. | High | 5 |
AIREV_00081 | code_review | java | readability | Review a Java change in the recommendations module related to token. | public int processToken(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | The current implementation works, but it makes the readability story harder than necessary. | Refactor the token path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 1 |
AIREV_00082 | code_review | go | performance | Review a Go change in the audit module related to queue. | func processQueue(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | Consider separating the queue transformation from I/O so the function is easier to test. | Refactor the queue path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 2 |
AIREV_00083 | code_review | rust | security | Review a Rust change in the logging module related to worker. | fn process_worker(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the worker path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 3 |
AIREV_00084 | code_review | cpp | maintainability | Review a C++ change in the sync module related to parser. | int process_parser(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the parser path with clearer boundaries, stronger validation, and a smaller public surface. | High | 4 |
AIREV_00085 | code_review | bash | API design | Review a Bash change in the streaming module related to report. | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | The current implementation works, but it makes the API design story harder than necessary. | Refactor the report path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 5 |
AIREV_00086 | code_review | sql | error handling | Review a SQL change in the exports module related to profile. | SELECT COUNT(*) FROM exports_profiles; | Consider separating the profile transformation from I/O so the function is easier to test. | Refactor the profile path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 1 |
AIREV_00087 | code_review | python | testability | Review a Python change in the imports module related to cart. | def process_cart(items):
total = 0
for item in items:
total += len(str(item))
return total | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the cart path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 2 |
AIREV_00088 | code_review | javascript | consistency | Review a JavaScript change in the payments module related to order. | function processOrder(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the order path with clearer boundaries, stronger validation, and a smaller public surface. | High | 3 |
AIREV_00089 | code_review | typescript | readability | Review a TypeScript change in the messaging module related to cache_key. | function processCache_Key(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | The current implementation works, but it makes the readability story harder than necessary. | Refactor the cache_key path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 4 |
AIREV_00090 | code_review | java | performance | Review a Java change in the admin module related to job. | public int processJob(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | Consider separating the job transformation from I/O so the function is easier to test. | Refactor the job path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 5 |
AIREV_00091 | code_review | go | security | Review a Go change in the dashboard module related to event. | func processEvent(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the event path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 1 |
AIREV_00092 | code_review | rust | maintainability | Review a Rust change in the billing module related to payload. | fn process_payload(items: &[String]) -> usize {
items.iter().map(|item| item.len()).sum()
} | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the payload path with clearer boundaries, stronger validation, and a smaller public surface. | High | 2 |
AIREV_00093 | code_review | cpp | API design | Review a C++ change in the auth module related to file. | int process_file(const vector<string>& items) {
int total = 0;
for (const auto& item : items) total += item.size();
return total;
} | The current implementation works, but it makes the API design story harder than necessary. | Refactor the file path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 3 |
AIREV_00094 | code_review | bash | error handling | Review a Bash change in the search module related to record. | #!/usr/bin/env bash
printf '%s\n' "$1" | tr -d ' ' | wc -c | Consider separating the record transformation from I/O so the function is easier to test. | Refactor the record path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 4 |
AIREV_00095 | code_review | sql | testability | Review a SQL change in the analytics module related to metric. | SELECT COUNT(*) FROM analytics_metrics; | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the metric path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 5 |
AIREV_00096 | code_review | python | consistency | Review a Python change in the notifications module related to notification. | def process_notification(items):
total = 0
for item in items:
total += len(str(item))
return total | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the notification path with clearer boundaries, stronger validation, and a smaller public surface. | High | 1 |
AIREV_00097 | code_review | javascript | readability | Review a JavaScript change in the reports module related to task. | function processTask(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | The current implementation works, but it makes the readability story harder than necessary. | Refactor the task path with clearer boundaries, stronger validation, and a smaller public surface. | Info | 2 |
AIREV_00098 | code_review | typescript | performance | Review a TypeScript change in the cache module related to route. | function processRoute(items) {
return items.map(item => String(item).trim()).filter(Boolean);
} | Consider separating the route transformation from I/O so the function is easier to test. | Refactor the route path with clearer boundaries, stronger validation, and a smaller public surface. | Low | 3 |
AIREV_00099 | code_review | java | security | Review a Java change in the scheduler module related to service. | public int processService(List<String> items) {
int total = 0;
for (String item : items) total += item.length();
return total;
} | Avoid implicit assumptions about input shape; the review should prefer explicit validation. | Refactor the service path with clearer boundaries, stronger validation, and a smaller public surface. | Medium | 4 |
AIREV_00100 | code_review | go | maintainability | Review a Go change in the uploads module related to adapter. | func processAdapter(items []string) int {
total := 0
for _, item := range items { total += len(item) }
return total
} | If this path is hot, cache the normalized result instead of recomputing it on every call. | Refactor the adapter path with clearer boundaries, stronger validation, and a smaller public surface. | High | 5 |
End of preview.
AIForge-1K-Review
Code Review Dataset for AI and Programming Tasks
Overview
AIForge-02-Review is a curated English dataset designed for AI systems working on code review 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": "AIREV_00001",
"category": "code_review",
"language": "go",
"review_focus": "readability",
"scenario": "Review a Go change in the reports module related to report.",
"code_under_review": "func processReport(items []string) int {\n total := 0\n for _, item := range items { total += len(item) }\n return total\n}",
"review_comment": "The current implementation works, but it makes the readability story harder than necessary.",
"recommended_change": "Refactor the report path with clearer boundaries, stronger validation, and a smaller public surface.",
"severity": "Info",
"difficulty": 1
}
License
Released under CC BY 4.0.
Source
JumpLander
- Downloads last month
- 69