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
project: string
bug_id: int64
snapshot_commit: string
fix_commit: string
version: string
file_path: string
code: string
functions: list<item: struct<function_name: string, code: string, ast_nodes: list<item: string>, ast_edges: lis (... 47 chars omitted)
child 0, item: struct<function_name: string, code: string, ast_nodes: list<item: string>, ast_edges: list<item: lis (... 35 chars omitted)
child 0, function_name: string
child 1, code: string
child 2, ast_nodes: list<item: string>
child 0, item: string
child 3, ast_edges: list<item: list<item: int64>>
child 0, item: list<item: int64>
child 0, item: int64
child 4, func_label: int64
label: int64
sample_id: string
language: string
to
{'project': Value('string'), 'file_path': Value('string'), 'bug_id': Value('string'), 'snapshot_commit': Value('string'), 'fix_commit': Value('string'), 'code': Value('string'), 'functions': List({'function_name': Value('string'), 'code': Value('string'), 'ast_nodes': List(Value('string')), 'ast_edges': List(List(Value('int64'))), 'func_label': Value('int64')}), 'label': Value('int64'), 'language': Value('string'), 'sample_id': Value('string')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1816, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
project: string
bug_id: int64
snapshot_commit: string
fix_commit: string
version: string
file_path: string
code: string
functions: list<item: struct<function_name: string, code: string, ast_nodes: list<item: string>, ast_edges: lis (... 47 chars omitted)
child 0, item: struct<function_name: string, code: string, ast_nodes: list<item: string>, ast_edges: list<item: lis (... 35 chars omitted)
child 0, function_name: string
child 1, code: string
child 2, ast_nodes: list<item: string>
child 0, item: string
child 3, ast_edges: list<item: list<item: int64>>
child 0, item: list<item: int64>
child 0, item: int64
child 4, func_label: int64
label: int64
sample_id: string
language: string
to
{'project': Value('string'), 'file_path': Value('string'), 'bug_id': Value('string'), 'snapshot_commit': Value('string'), 'fix_commit': Value('string'), 'code': Value('string'), 'functions': List({'function_name': Value('string'), 'code': Value('string'), 'ast_nodes': List(Value('string')), 'ast_edges': List(List(Value('int64'))), 'func_label': Value('int64')}), 'label': Value('int64'), 'language': Value('string'), 'sample_id': Value('string')}
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 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/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.
project string | file_path string | bug_id string | snapshot_commit string | fix_commit string | code string | functions list | label int64 | language string | sample_id string |
|---|---|---|---|---|---|---|---|---|---|
FFmpeg | libavformat/ape.c | CVE-2011-2161 | 8312e3fc9041027a33c8bc667bb99740fdf41dd5 | 8312e3fc9041027a33c8bc667bb99740fdf41dd5 | /*
* Monkey's Audio APE demuxer
* Copyright (c) 2007 Benjamin Zores <ben@geexbox.org>
* based upon libdemac from Dave Chapman.
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the... | [
{
"function_name": "ape_probe",
"code": "static int ape_probe(AVProbeData * p)\n{\n if (p->buf[0] == 'M' && p->buf[1] == 'A' && p->buf[2] == 'C' && p->buf[3] == ' ')\n return AVPROBE_SCORE_MAX;\n\n return 0;\n}",
"ast_nodes": [
"FUNC_DECL",
"IF",
"RETURN",
"PARAM",
... | 0 | c | FFmpeg-0 |
FFmpeg | libavcodec/dxva2_h264.c | CVE-2011-2161 | 8312e3fc9041027a33c8bc667bb99740fdf41dd5 | 8312e3fc9041027a33c8bc667bb99740fdf41dd5 | /*
* DXVA2 H264 HW acceleration.
*
* copyright (c) 2009 Laurent Aimar
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the Li... | [
{
"function_name": "fill_picture_entry",
"code": "static void fill_picture_entry(DXVA_PicEntry_H264 *pic,\n unsigned index, unsigned flag)\n{\n assert((index&0x7f) == index && (flag&0x01) == flag);\n pic->bPicEntry = index | (flag << 7);\n}",
"ast_nodes": [
"FUN... | 0 | c | FFmpeg-1 |
linux | tools/hv/hv_kvp_daemon.c | CVE-2012-5532 | 95a69adab9acfc3981c504737a2b6578e4d846ef | 95a69adab9acfc3981c504737a2b6578e4d846ef | "/*\n * An implementation of key value pair (KVP) functionality for Linux.\n *\n *\n * Copyright (C)(...TRUNCATED) | [{"function_name":"kvp_acquire_lock","code":"static void kvp_acquire_lock(int pool)\n{\n\tstruct flo(...TRUNCATED) | 1 | c | linux-2 |
linux | mm/memory_hotplug.c | CVE-2012-5517 | 08dff7b7d629807dbb1f398c68dd9cd58dd657a1 | 08dff7b7d629807dbb1f398c68dd9cd58dd657a1 | "/*\n * linux/mm/memory_hotplug.c\n *\n * Copyright (C)\n */\n\n#include <linux/stddef.h>\n#includ(...TRUNCATED) | [{"function_name":"lock_memory_hotplug","code":"void lock_memory_hotplug(void)\n{\n\tmutex_lock(&mem(...TRUNCATED) | 1 | c | linux-3 |
linux | fs/exofs/sys.c | CVE-2012-5517 | 08dff7b7d629807dbb1f398c68dd9cd58dd657a1 | 08dff7b7d629807dbb1f398c68dd9cd58dd657a1 | "/*\n * Copyright (C) 2012\n * Sachin Bhamare <sbhamare@panasas.com>\n * Boaz Harrosh <bharrosh@pana(...TRUNCATED) | [{"function_name":"odev_attr_show","code":"static ssize_t odev_attr_show(struct kobject *kobj, struc(...TRUNCATED) | 0 | c | linux-4 |
linux | net/ipv4/tcp_illinois.c | CVE-2012-4565 | 8f363b77ee4fbf7c3bbcf5ec2c5ca482d396d664 | 8f363b77ee4fbf7c3bbcf5ec2c5ca482d396d664 | "/*\n * TCP Illinois congestion control.\n * Home page:\n *\thttp://www.ews.uiuc.edu/~shaoliu/tcpill(...TRUNCATED) | [{"function_name":"rtt_reset","code":"static void rtt_reset(struct sock *sk)\n{\n\tstruct tcp_sock *(...TRUNCATED) | 1 | c | linux-5 |
linux | fs/ext4/extents.c | CVE-2012-4508 | dee1f973ca341c266229faa5a1a5bb268bed3531 | dee1f973ca341c266229faa5a1a5bb268bed3531 | "/*\n * Copyright (c) 2003-2006, Cluster File Systems, Inc, info@clusterfs.com\n * Written by Alex T(...TRUNCATED) | [{"function_name":"ext4_extent_block_csum","code":"static __le32 ext4_extent_block_csum(struct inode(...TRUNCATED) | 1 | c | linux-6 |
linux | net/socket.c | CVE-2012-4467 | ed6fe9d614fc1bca95eb8c0ccd0e92db00ef9d5d | ed6fe9d614fc1bca95eb8c0ccd0e92db00ef9d5d | "/*\n * NET\t\tAn implementation of the SOCKET network access protocol.\n *\n * Version:\t@(#)socket(...TRUNCATED) | [{"function_name":"move_addr_to_kernel","code":"int move_addr_to_kernel(void __user *uaddr, int ulen(...TRUNCATED) | 1 | c | linux-7 |
linux | net/ipv6/reassembly.c | CVE-2012-4444 | 70789d7052239992824628db8133de08dc78e593 | 70789d7052239992824628db8133de08dc78e593 | "/*\n *\tIPv6 fragment reassembly\n *\tLinux INET6 implementation\n *\n *\tAuthors:\n *\tPedro Roque(...TRUNCATED) | [{"function_name":"ip6_frag_nqueues","code":"int ip6_frag_nqueues(struct net *net)\n{\n\treturn net-(...TRUNCATED) | 1 | c | linux-8 |
linux | include/net/inet_sock.h | CVE-2012-3552 | f6d8bd051c391c1c0458a30b2a7abcd939329259 | f6d8bd051c391c1c0458a30b2a7abcd939329259 | "/*\n * INET\t\tAn implementation of the TCP/IP protocol suite for the LINUX\n *\t\toperating system(...TRUNCATED) | [{"function_name":"inet_rsk","code":"static inline struct inet_request_sock *inet_rsk(const struct r(...TRUNCATED) | 0 | c | linux-9 |
End of preview.