Dataset Viewer
Auto-converted to Parquet Duplicate
worker
stringclasses
1 value
prompt
stringlengths
1.09k
14.6k
completions
listlengths
8
8
scores
listlengths
8
8
witness_scores
listlengths
8
8
outputs
stringlengths
88
65.4M
witness_outputs
stringlengths
88
2B
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 if (name == NULL || suffix == NULL) {\n return;\n }\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==...
[ 0, 1, 1, 0, 1, 1, 0, 1 ]
[ 0, 1, 1, 0, 0, 0, 1, 1 ]
[{"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,777,328,696.910788
injector
"# printf.c\n\n\nstatic void\nprint_direc (char const *start, char conversion,\n bool ha(...TRUNCATED)
[" \n // Create a null-terminated copy of the % directive, with an\n // intmax_t-wide length mod(...TRUNCATED)
[ 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 0, 1, 0, 0, 0, 0, 0, 0 ]
"[{\"stderr\": \"src/printf.c: In function 'print_direc':\\nsrc/printf.c:351:24: error: 'p' undeclar(...TRUNCATED)
"[{\"witness_stderr\": \"=== GENERATED WITNESS FILE ===\\n/* printf - format and print data\\n Cop(...TRUNCATED)
1,777,328,696.928674
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 idx_t n_use(...TRUNCATED)
[ 0, 0, 0, 1, 1, 0, 0, 0 ]
[ 1, 1, 0, 1, 1, 1, 0, 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,777,328,696.962241
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, 0, 0 ]
[ 0, 0, 0, 1, 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,777,328,696.97509
injector
"# expr.c\n\n\nstatic bool\nnextarg (char const *str)\n{\n if (*args == nullptr)\n return false;(...TRUNCATED)
[" \n if (*args == nullptr)\n {\n return false;\n }\n else\n {\n bool(...TRUNCATED)
[ 0, 0, 1, 0, 0, 1, 1, 1 ]
[ 0, 0, 0, 0, 0, 0, 0, 0 ]
"[{\"stderr\": \"\", \"stdout\": \" CC src/expr.o\\n CCLD src/expr\\n/coreutils/tests/ex(...TRUNCATED)
"[{\"witness_stderr\": \"=== GENERATED WITNESS FILE ===\\n/* expr -- evaluate expressions.\\n Copy(...TRUNCATED)
1,777,328,696.996361
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\n if (files[i_check].ofd <= OFD_NEW)\n {\n int fd;\n (...TRUNCATED)
[ 0, 0, 1, 0, 0, 0, 0, 0 ]
[ 1, 1, 0, 0, 0, 1, 0, 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,777,328,697.004617
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 (prefix, s(...TRUNCATED)
[ 0, 0, 1, 0, 0, 0, 0, 1 ]
[ 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,777,328,697.044865
injector
"# pr.c\nstatic void\nprint_header (void)\n{\n char page_text[256 + INT_STRLEN_BOUND (page_number)](...TRUNCATED)
[" \n COLUMN *q;\n int line = p->current_line++;\n char *first = &buff[line_vector[line]];\n cha(...TRUNCATED)
[ 0, 1, 0, 0, 0, 1, 0, 0 ]
[ 0, 0, 0, 0, 0, 0, 0, 0 ]
"[{\"stderr\": \"\", \"stdout\": \" CC src/pr.o\\n CCLD src/pr\\n/coreutils/tests/pr/tes(...TRUNCATED)
"[{\"witness_stderr\": \"=== GENERATED WITNESS FILE ===\\n/* pr -- convert text files for printing.\(...TRUNCATED)
1,777,328,697.062609
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 quote_name(...TRUNCATED)
[ 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 0, 0, 0, 0, 0, 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,777,328,697.08942
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 foun(...TRUNCATED)
[ 0, 0, 0, 0, 1, 0, 0, 0 ]
[ 0, 0, 0, 0, 0, 0, 0, 0 ]
"[\"PARSE_ERROR[('Substring not found', '=== WITNESS FUNCTION ===', \\\" \\\\n int c;\\\\t/* Ea(...TRUNCATED)
"[\"PARSE_ERROR[('Substring not found', '=== WITNESS FUNCTION ===', \\\" \\\\n int c;\\\\t/* Ea(...TRUNCATED)
1,777,328,697.125407
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
757