Dataset Viewer
Auto-converted to Parquet Duplicate
worker
stringclasses
1 value
prompt
stringlengths
1.01k
14.5k
completions
listlengths
8
8
scores
listlengths
8
8
witness_scores
listlengths
8
8
outputs
stringlengths
779
33k
witness_outputs
stringlengths
894
1B
walltime
float64
1.78B
1.78B
injector
# basename.c static void remove_suffix (char *name, char const *suffix) { char *np; char const *sp; np = name + strlen (name); sp = suffix + strlen (suffix); while (np > name && sp > suffix) if (*--np != *--sp) return; if (np > name) *np = '\0'; } Task: Create a buggy version of remove_s...
[ " \n char *np;\n char const *sp;\n\n np = name + strlen (name);\n sp = suffix + strlen (suffix);\n\n while (np > name && sp > suffix)\n if (*np-- != *sp--)\n return;\n if (np > name)\n *np = '\\0';\n}\n\n=== WITNESS FUNCTION ===\nvoid reveal_witness()\n{\n char buff[10];\n remove_suffix(buff...
[ 1, 1, 1, 1, 1, 1, 0, 0 ]
[ 1, 1, 0, 1, 0, 1, 0, 0 ]
[{"stderr": "", "stdout": " CC src/basename.o\n CCLD src/basename\n/coreutils/tests/basename/tests_for_remove_suffix.c:134:test_remove_suffix_basic_removal:PASS\n/coreutils/tests/basename/tests_for_remove_suffix.c:135:test_remove_suffix_no_match:PASS\n/coreutils/tests/basename/tests_for_remove_suffix.c:136:...
[{"witness_stderr": "=== GENERATED WITNESS FILE ===\n/* basename -- strip directory and suffix from file names\n Copyright (C) 1990-2025 Free Software Foundation, Inc.\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n ...
1,776,792,626.692241
injector
"# printf.c\n\n\nstatic void\nprint_direc (char const *start, char conversion,\n bool ha(...TRUNCATED)
[" \n char *p;\t\t/* Null-terminated copy of % directive. */\n size_t length = strlen (start(...TRUNCATED)
[ 1, 0, 0, 1, 0, 0, 1, 0 ]
[ 0, 0, 0, 0, 0, 0, 1, 0 ]
"[{\"stderr\": \"\", \"stdout\": \" CC src/printf.o\\n CCLD src/printf\\n/coreutils/test(...TRUNCATED)
"[{\"witness_stderr\": \"=== GENERATED WITNESS FILE ===\\n/* printf - format and print data\\n Cop(...TRUNCATED)
1,776,792,626.70569
injector
"# pwd.c\n\n\nstatic void\nfile_name_prepend (struct file_name *p, char const *s, size_t s_len)\n{\n(...TRUNCATED)
[" \n idx_t n_free = p->start - p->buf;\n if (n_free < 1 + s_len)\n {\n /* Call xp(...TRUNCATED)
[ 0, 0, 0, 0, 0, 0, 1, 1 ]
[ 1, 1, 0, 0, 1, 1, 1, 1 ]
"[{\"stderr\": \"\", \"stdout\": \" CC src/pwd.o\\n CCLD src/pwd\\n/coreutils/tests/pwd/(...TRUNCATED)
"[{\"witness_stderr\": \"=== GENERATED WITNESS FILE ===\\n/* pwd - print current directory\\n Copy(...TRUNCATED)
1,776,792,626.733677
injector
"# dircolors.c\nstatic bool\ndc_parse_stream (FILE *fp, char const *filename)\n{\n idx_t line_numbe(...TRUNCATED)
[" \n bool ok;\n\n if (! streq (filename, \"-\") && freopen (filename, \"r\", stdin) == nullptr)\n(...TRUNCATED)
[ 0, 0, 0, 1, 0, 0, 1, 1 ]
[ 0, 0, 0, 0, 0, 0, 0, 0 ]
"[{\"stderr\": \"dircolors: /tmp/dircolors_test_no_such_file_hopefully_____: No such file or directo(...TRUNCATED)
"[{\"witness_stderr\": \"=== GENERATED WITNESS FILE ===\\n/* dircolors - output commands to set the (...TRUNCATED)
1,776,792,626.74569
injector
"# expr.c\n\n\nstatic bool\nnextarg (char const *str)\n{\n if (*args == nullptr)\n return false;(...TRUNCATED)
[" return nextarg(str + (*str != '\\0')); }\n\n=== WITNESS FUNCTION ===\nvoid reveal_witness() {\n (...TRUNCATED)
[ 1, 1, 1, 0, 1, 1, 0, 1 ]
[ 0, 0, 0, 0, 0, 0, 0, 0 ]
"[{\"stderr\": \"run_test.sh: line 37: 1958399 Segmentation fault ./src/$executable_name\\n\", (...TRUNCATED)
"[{\"witness_stderr\": \"=== GENERATED WITNESS FILE ===\\n/* expr -- evaluate expressions.\\n Copy(...TRUNCATED)
1,776,792,626.765472
injector
"# split.c\nstatic int\ncreate (char const *name)\n{\n if (!filter_command)\n {\n if (verbo(...TRUNCATED)
[" \n bool file_limit = false; \n if (files[i_check].ofd <= OFD_NEW) { \n (...TRUNCATED)
[ 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
"[{\"stderr\": \"\", \"stdout\": \" CC src/split.o\\n CCLD src/split\\n/coreutils/tests/(...TRUNCATED)
"[{\"witness_stderr\": \"=== GENERATED WITNESS FILE ===\\n/* split.c -- split a file into pieces.\\n(...TRUNCATED)
1,776,792,626.772733
injector
"# fmt.c\nstatic void\nput_space (int space)\n{\n int space_target, tab_target;\n\n space_target =(...TRUNCATED)
[" \n WORD *endline;\n\n out_column = 0;\n put_space (prefix_indent);\n fputs (prefi(...TRUNCATED)
[ 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 0, 0, 0, 0, 0, 0, 0, 0 ]
"[{\"stderr\": \"\", \"stdout\": \" CC src/fmt.o\\n CCLD src/fmt\\n/coreutils/tests/fmt/(...TRUNCATED)
"[{\"witness_stderr\": \"=== GENERATED WITNESS FILE ===\\n/* GNU fmt -- simple text formatter.\\n (...TRUNCATED)
1,776,792,626.81154
injector
"# pr.c\nstatic void\nprint_header (void)\n{\n char page_text[256 + INT_STRLEN_BOUND (page_number)](...TRUNCATED)
[" \n int line = p->current_line++;\n char *first = &buff[line_vector[line]];\n char *last = &buf(...TRUNCATED)
[ 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 0, 0, 0, 0, 0, 0, 0, 0 ]
"[{\"stderr\": \"src/pr.c: In function 'print_stored':\\nsrc/pr.c:2586:19: error: 'q' undeclared (fi(...TRUNCATED)
"[{\"witness_stderr\": \"=== GENERATED WITNESS FILE ===\\n/* pr -- convert text files for printing.\(...TRUNCATED)
1,776,792,626.897678
injector
"# ls.c\nstatic size_t\nquote_name_buf (char **inbuf, size_t bufsize, char *name,\n s(...TRUNCATED)
[" \n char smallbuf[BUFSIZ];\n char *buf = smallbuf;\n size_t width;\n bool pad;\n\n (...TRUNCATED)
[ 0, 0, 1, 0, 1, 0, 1, 0 ]
[ 0, 0, 0, 0, 1, 0, 1, 0 ]
"[{\"stderr\": \"\", \"stdout\": \" CC src/ls.o\\n CCLD src/ls\\n/coreutils/tests/ls/tes(...TRUNCATED)
"[{\"witness_stderr\": \"=== GENERATED WITNESS FILE ===\\n/* 'dir', 'vdir' and 'ls' directory listin(...TRUNCATED)
1,776,792,774.921906
injector
"# cut.c\nstatic inline bool\nprint_kth (uintmax_t k)\n{\n return current_rp->lo <= k;\n}\n\nstatic(...TRUNCATED)
[" \n int c;\t/* Each character from the file. */\n uintmax_t field_idx = 1;\n bool found_any_se(...TRUNCATED)
[ 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 0, 0, 0, 0, 0, 0, 0, 0 ]
"[\"PARSE_ERROR[('Substring not found', '=== WITNESS FUNCTION ===', \\\" \\\\n int c;\\\\t/* Each c(...TRUNCATED)
"[\"PARSE_ERROR[('Substring not found', '=== WITNESS FUNCTION ===', \\\" \\\\n int c;\\\\t/* Each c(...TRUNCATED)
1,776,792,774.964317
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
24