Datasets:

Modalities:
Tabular
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
pandas
License:

Improve dataset card: Add description, links, sample usage, and update metadata for PLSemanticsBench

#2
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +1238 -1067
README.md CHANGED
@@ -1,1067 +1,1238 @@
1
- ---
2
- license: cc-by-2.0
3
- dataset_info:
4
- - config_name: predrule-IMP-SOS-mk-human-written
5
- features:
6
- - name: id
7
- dtype: string
8
- - name: program
9
- dtype: string
10
- - name: src-filename
11
- dtype: string
12
- - name: semantics-type
13
- dtype: string
14
- - name: syntax
15
- dtype: string
16
- - name: semantics
17
- dtype: string
18
- - name: language
19
- dtype: string
20
- - name: mutated-program
21
- dtype: string
22
- - name: mutated
23
- dtype: bool
24
- - name: mutation-pattern
25
- dtype: string
26
- - name: K-evaluatable
27
- dtype: bool
28
- - name: ground-truth
29
- dtype: string
30
- - name: sampled-statements
31
- list:
32
- - name: line_number
33
- dtype: int64
34
- - name: prior_state
35
- struct:
36
- - name: ble
37
- dtype: int64
38
- - name: ans
39
- dtype: int64
40
- - name: num
41
- dtype: int64
42
- - name: a
43
- dtype: int64
44
- - name: b
45
- dtype: int64
46
- - name: c
47
- dtype: int64
48
- - name: d
49
- dtype: int64
50
- - name: f
51
- dtype: int64
52
- - name: x
53
- dtype: int64
54
- - name: j
55
- dtype: int64
56
- - name: k
57
- dtype: int64
58
- - name: m
59
- dtype: int64
60
- - name: p
61
- dtype: int64
62
- - name: q
63
- dtype: int64
64
- - name: r
65
- dtype: int64
66
- - name: X
67
- dtype: int64
68
- - name: B
69
- dtype: int64
70
- - name: n
71
- dtype: int64
72
- - name: i
73
- dtype: int64
74
- - name: s
75
- dtype: int64
76
- - name: t
77
- dtype: int64
78
- - name: first
79
- dtype: int64
80
- - name: tk
81
- dtype: int64
82
- - name: y
83
- dtype: int64
84
- - name: T
85
- dtype: int64
86
- - name: aa
87
- dtype: int64
88
- - name: bb
89
- dtype: int64
90
- - name: tmp
91
- dtype: int64
92
- - name: xyz
93
- dtype: int64
94
- - name: cnt
95
- dtype: int64
96
- - name: vol
97
- dtype: int64
98
- - name: z
99
- dtype: int64
100
- - name: temp
101
- dtype: int64
102
- - name: n1
103
- dtype: int64
104
- - name: n2
105
- dtype: int64
106
- - name: n3
107
- dtype: int64
108
- - name: e
109
- dtype: int64
110
- - name: x1
111
- dtype: int64
112
- - name: x2
113
- dtype: int64
114
- - name: y1
115
- dtype: int64
116
- - name: count
117
- dtype: int64
118
- - name: y2
119
- dtype: int64
120
- - name: l
121
- dtype: int64
122
- - name: sum
123
- dtype: int64
124
- - name: k9m
125
- dtype: int64
126
- - name: x7f
127
- dtype: int64
128
- - name: p2d
129
- dtype: int64
130
- - name: h
131
- dtype: int64
132
- - name: l2
133
- dtype: int64
134
- - name: r2
135
- dtype: int64
136
- - name: number
137
- dtype: int64
138
- - name: ax1
139
- dtype: int64
140
- - name: ax2
141
- dtype: int64
142
- - name: ay1
143
- dtype: int64
144
- - name: ay2
145
- dtype: int64
146
- - name: bx1
147
- dtype: int64
148
- - name: bx2
149
- dtype: int64
150
- - name: by1
151
- dtype: int64
152
- - name: by2
153
- dtype: int64
154
- - name: left
155
- dtype: int64
156
- - name: oh
157
- dtype: int64
158
- - name: ow
159
- dtype: int64
160
- - name: right
161
- dtype: int64
162
- - name: r1x1
163
- dtype: int64
164
- - name: r1x2
165
- dtype: int64
166
- - name: r1y1
167
- dtype: int64
168
- - name: r1y2
169
- dtype: int64
170
- - name: r2x1
171
- dtype: int64
172
- - name: r2x2
173
- dtype: int64
174
- - name: r2y1
175
- dtype: int64
176
- - name: r2y2
177
- dtype: int64
178
- - name: rules
179
- list: string
180
- - name: cleaned_stmt
181
- dtype: string
182
- - name: control_stack
183
- dtype: string
184
- splits:
185
- - name: train
186
- num_bytes: 6777258
187
- num_examples: 324
188
- download_size: 208154
189
- dataset_size: 6777258
190
- - config_name: predrule-IMP-SOS-uk-human-written
191
- features:
192
- - name: id
193
- dtype: string
194
- - name: program
195
- dtype: string
196
- - name: src-filename
197
- dtype: string
198
- - name: semantics-type
199
- dtype: string
200
- - name: syntax
201
- dtype: string
202
- - name: semantics
203
- dtype: string
204
- - name: language
205
- dtype: string
206
- - name: mutated-program
207
- dtype: string
208
- - name: mutated
209
- dtype: bool
210
- - name: mutation-pattern
211
- dtype: string
212
- - name: K-evaluatable
213
- dtype: bool
214
- - name: ground-truth
215
- dtype: string
216
- - name: sampled-statements
217
- list:
218
- - name: line_number
219
- dtype: int64
220
- - name: prior_state
221
- struct:
222
- - name: ble
223
- dtype: int64
224
- - name: ans
225
- dtype: int64
226
- - name: i
227
- dtype: int64
228
- - name: n
229
- dtype: int64
230
- - name: x
231
- dtype: int64
232
- - name: y
233
- dtype: int64
234
- - name: a
235
- dtype: int64
236
- - name: b
237
- dtype: int64
238
- - name: c
239
- dtype: int64
240
- - name: p
241
- dtype: int64
242
- - name: q
243
- dtype: int64
244
- - name: m
245
- dtype: int64
246
- - name: temp
247
- dtype: int64
248
- - name: j
249
- dtype: int64
250
- - name: k
251
- dtype: int64
252
- - name: n1
253
- dtype: int64
254
- - name: n2
255
- dtype: int64
256
- - name: n3
257
- dtype: int64
258
- - name: num
259
- dtype: int64
260
- - name: d
261
- dtype: int64
262
- - name: f
263
- dtype: int64
264
- - name: r
265
- dtype: int64
266
- - name: X
267
- dtype: int64
268
- - name: B
269
- dtype: int64
270
- - name: s
271
- dtype: int64
272
- - name: t
273
- dtype: int64
274
- - name: first
275
- dtype: int64
276
- - name: tk
277
- dtype: int64
278
- - name: T
279
- dtype: int64
280
- - name: aa
281
- dtype: int64
282
- - name: bb
283
- dtype: int64
284
- - name: tmp
285
- dtype: int64
286
- - name: xyz
287
- dtype: int64
288
- - name: e
289
- dtype: int64
290
- - name: l
291
- dtype: int64
292
- - name: h
293
- dtype: int64
294
- - name: z
295
- dtype: int64
296
- - name: number
297
- dtype: int64
298
- - name: l2
299
- dtype: int64
300
- - name: r2
301
- dtype: int64
302
- - name: x1
303
- dtype: int64
304
- - name: x2
305
- dtype: int64
306
- - name: y1
307
- dtype: int64
308
- - name: count
309
- dtype: int64
310
- - name: y2
311
- dtype: int64
312
- - name: sum
313
- dtype: int64
314
- - name: k9m
315
- dtype: int64
316
- - name: x7f
317
- dtype: int64
318
- - name: p2d
319
- dtype: int64
320
- - name: cnt
321
- dtype: int64
322
- - name: vol
323
- dtype: int64
324
- - name: ax1
325
- dtype: int64
326
- - name: ax2
327
- dtype: int64
328
- - name: ay1
329
- dtype: int64
330
- - name: ay2
331
- dtype: int64
332
- - name: bx1
333
- dtype: int64
334
- - name: bx2
335
- dtype: int64
336
- - name: by1
337
- dtype: int64
338
- - name: by2
339
- dtype: int64
340
- - name: left
341
- dtype: int64
342
- - name: oh
343
- dtype: int64
344
- - name: ow
345
- dtype: int64
346
- - name: right
347
- dtype: int64
348
- - name: r1x1
349
- dtype: int64
350
- - name: r1x2
351
- dtype: int64
352
- - name: r1y1
353
- dtype: int64
354
- - name: r1y2
355
- dtype: int64
356
- - name: r2x1
357
- dtype: int64
358
- - name: r2x2
359
- dtype: int64
360
- - name: r2y1
361
- dtype: int64
362
- - name: r2y2
363
- dtype: int64
364
- - name: rules
365
- list: string
366
- - name: cleaned_stmt
367
- dtype: string
368
- - name: control_stack
369
- dtype: string
370
- splits:
371
- - name: train
372
- num_bytes: 3359261
373
- num_examples: 162
374
- download_size: 142836
375
- dataset_size: 3359261
376
- - config_name: predstate-IMP-K-mk-fuzzer-generated
377
- features:
378
- - name: id
379
- dtype: string
380
- - name: program
381
- dtype: string
382
- - name: src-filename
383
- dtype: string
384
- - name: semantics-type
385
- dtype: string
386
- - name: syntax
387
- dtype: string
388
- - name: semantics
389
- dtype: string
390
- - name: language
391
- dtype: string
392
- - name: mutated-program
393
- dtype: string
394
- - name: mutated
395
- dtype: bool
396
- - name: mutation-pattern
397
- dtype: string
398
- - name: K-evaluatable
399
- dtype: bool
400
- - name: ground-truth
401
- dtype: string
402
- splits:
403
- - name: train
404
- num_bytes: 26058090
405
- num_examples: 330
406
- download_size: 7001572
407
- dataset_size: 26058090
408
- - config_name: predstate-IMP-K-mk-human-written
409
- features:
410
- - name: id
411
- dtype: string
412
- - name: program
413
- dtype: string
414
- - name: src-filename
415
- dtype: string
416
- - name: semantics-type
417
- dtype: string
418
- - name: syntax
419
- dtype: string
420
- - name: semantics
421
- dtype: string
422
- - name: language
423
- dtype: string
424
- - name: mutated-program
425
- dtype: string
426
- - name: mutated
427
- dtype: bool
428
- - name: mutation-pattern
429
- dtype: string
430
- - name: K-evaluatable
431
- dtype: bool
432
- - name: ground-truth
433
- dtype: string
434
- splits:
435
- - name: train
436
- num_bytes: 3235751
437
- num_examples: 324
438
- download_size: 63156
439
- dataset_size: 3235751
440
- - config_name: predstate-IMP-K-mk-llm-translated
441
- features:
442
- - name: id
443
- dtype: string
444
- - name: program
445
- dtype: string
446
- - name: src-filename
447
- dtype: string
448
- - name: semantics-type
449
- dtype: string
450
- - name: syntax
451
- dtype: string
452
- - name: semantics
453
- dtype: string
454
- - name: language
455
- dtype: string
456
- - name: mutated-program
457
- dtype: string
458
- - name: mutated
459
- dtype: bool
460
- - name: mutation-pattern
461
- dtype: string
462
- - name: K-evaluatable
463
- dtype: bool
464
- - name: ground-truth
465
- dtype: string
466
- splits:
467
- - name: train
468
- num_bytes: 4354979
469
- num_examples: 330
470
- download_size: 268020
471
- dataset_size: 4354979
472
- - config_name: predstate-IMP-K-uk-fuzzer-generated
473
- features:
474
- - name: id
475
- dtype: string
476
- - name: program
477
- dtype: string
478
- - name: src-filename
479
- dtype: string
480
- - name: semantics-type
481
- dtype: string
482
- - name: syntax
483
- dtype: string
484
- - name: semantics
485
- dtype: string
486
- - name: language
487
- dtype: string
488
- - name: mutated-program
489
- dtype: string
490
- - name: mutated
491
- dtype: bool
492
- - name: mutation-pattern
493
- dtype: string
494
- - name: K-evaluatable
495
- dtype: bool
496
- - name: ground-truth
497
- dtype: string
498
- splits:
499
- - name: train
500
- num_bytes: 12440461
501
- num_examples: 165
502
- download_size: 3420099
503
- dataset_size: 12440461
504
- - config_name: predstate-IMP-K-uk-human-written
505
- features:
506
- - name: id
507
- dtype: string
508
- - name: program
509
- dtype: string
510
- - name: src-filename
511
- dtype: string
512
- - name: semantics-type
513
- dtype: string
514
- - name: syntax
515
- dtype: string
516
- - name: semantics
517
- dtype: string
518
- - name: language
519
- dtype: string
520
- - name: mutated-program
521
- dtype: string
522
- - name: mutated
523
- dtype: bool
524
- - name: mutation-pattern
525
- dtype: string
526
- - name: K-evaluatable
527
- dtype: bool
528
- - name: ground-truth
529
- dtype: string
530
- splits:
531
- - name: train
532
- num_bytes: 1591974
533
- num_examples: 162
534
- download_size: 45219
535
- dataset_size: 1591974
536
- - config_name: predstate-IMP-K-uk-llm-translated
537
- features:
538
- - name: id
539
- dtype: string
540
- - name: program
541
- dtype: string
542
- - name: src-filename
543
- dtype: string
544
- - name: semantics-type
545
- dtype: string
546
- - name: syntax
547
- dtype: string
548
- - name: semantics
549
- dtype: string
550
- - name: language
551
- dtype: string
552
- - name: mutated-program
553
- dtype: string
554
- - name: mutated
555
- dtype: bool
556
- - name: mutation-pattern
557
- dtype: string
558
- - name: K-evaluatable
559
- dtype: bool
560
- - name: ground-truth
561
- dtype: string
562
- splits:
563
- - name: train
564
- num_bytes: 2135878
565
- num_examples: 165
566
- download_size: 191974
567
- dataset_size: 2135878
568
- - config_name: predstate-IMP-SOS-mk-fuzzer-generated
569
- features:
570
- - name: id
571
- dtype: string
572
- - name: program
573
- dtype: string
574
- - name: src-filename
575
- dtype: string
576
- - name: semantics-type
577
- dtype: string
578
- - name: syntax
579
- dtype: string
580
- - name: semantics
581
- dtype: string
582
- - name: language
583
- dtype: string
584
- - name: mutated-program
585
- dtype: string
586
- - name: mutated
587
- dtype: bool
588
- - name: mutation-pattern
589
- dtype: string
590
- - name: K-evaluatable
591
- dtype: bool
592
- - name: ground-truth
593
- dtype: string
594
- splits:
595
- - name: train
596
- num_bytes: 27673607
597
- num_examples: 330
598
- download_size: 7008801
599
- dataset_size: 27673607
600
- - config_name: predstate-IMP-SOS-mk-human-written
601
- features:
602
- - name: id
603
- dtype: string
604
- - name: program
605
- dtype: string
606
- - name: src-filename
607
- dtype: string
608
- - name: semantics-type
609
- dtype: string
610
- - name: syntax
611
- dtype: string
612
- - name: semantics
613
- dtype: string
614
- - name: language
615
- dtype: string
616
- - name: mutated-program
617
- dtype: string
618
- - name: mutated
619
- dtype: bool
620
- - name: mutation-pattern
621
- dtype: string
622
- - name: K-evaluatable
623
- dtype: bool
624
- - name: ground-truth
625
- dtype: string
626
- splits:
627
- - name: train
628
- num_bytes: 4821893
629
- num_examples: 324
630
- download_size: 70344
631
- dataset_size: 4821893
632
- - config_name: predstate-IMP-SOS-mk-llm-translated
633
- features:
634
- - name: id
635
- dtype: string
636
- - name: program
637
- dtype: string
638
- - name: src-filename
639
- dtype: string
640
- - name: semantics-type
641
- dtype: string
642
- - name: syntax
643
- dtype: string
644
- - name: semantics
645
- dtype: string
646
- - name: language
647
- dtype: string
648
- - name: mutated-program
649
- dtype: string
650
- - name: mutated
651
- dtype: bool
652
- - name: mutation-pattern
653
- dtype: string
654
- - name: K-evaluatable
655
- dtype: bool
656
- - name: ground-truth
657
- dtype: string
658
- splits:
659
- - name: train
660
- num_bytes: 5970494
661
- num_examples: 330
662
- download_size: 275248
663
- dataset_size: 5970494
664
- - config_name: predstate-IMP-SOS-uk-fuzzer-generated
665
- features:
666
- - name: id
667
- dtype: string
668
- - name: program
669
- dtype: string
670
- - name: src-filename
671
- dtype: string
672
- - name: semantics-type
673
- dtype: string
674
- - name: syntax
675
- dtype: string
676
- - name: semantics
677
- dtype: string
678
- - name: language
679
- dtype: string
680
- - name: mutated-program
681
- dtype: string
682
- - name: mutated
683
- dtype: bool
684
- - name: mutation-pattern
685
- dtype: string
686
- - name: K-evaluatable
687
- dtype: bool
688
- - name: ground-truth
689
- dtype: string
690
- splits:
691
- - name: train
692
- num_bytes: 13245824
693
- num_examples: 165
694
- download_size: 3426458
695
- dataset_size: 13245824
696
- - config_name: predstate-IMP-SOS-uk-human-written
697
- features:
698
- - name: id
699
- dtype: string
700
- - name: program
701
- dtype: string
702
- - name: src-filename
703
- dtype: string
704
- - name: semantics-type
705
- dtype: string
706
- - name: syntax
707
- dtype: string
708
- - name: semantics
709
- dtype: string
710
- - name: language
711
- dtype: string
712
- - name: mutated-program
713
- dtype: string
714
- - name: mutated
715
- dtype: bool
716
- - name: mutation-pattern
717
- dtype: string
718
- - name: K-evaluatable
719
- dtype: bool
720
- - name: ground-truth
721
- dtype: string
722
- splits:
723
- - name: train
724
- num_bytes: 2382696
725
- num_examples: 162
726
- download_size: 51583
727
- dataset_size: 2382696
728
- - config_name: predstate-IMP-SOS-uk-llm-translated
729
- features:
730
- - name: id
731
- dtype: string
732
- - name: program
733
- dtype: string
734
- - name: src-filename
735
- dtype: string
736
- - name: semantics-type
737
- dtype: string
738
- - name: syntax
739
- dtype: string
740
- - name: semantics
741
- dtype: string
742
- - name: language
743
- dtype: string
744
- - name: mutated-program
745
- dtype: string
746
- - name: mutated
747
- dtype: bool
748
- - name: mutation-pattern
749
- dtype: string
750
- - name: K-evaluatable
751
- dtype: bool
752
- - name: ground-truth
753
- dtype: string
754
- splits:
755
- - name: train
756
- num_bytes: 2941243
757
- num_examples: 165
758
- download_size: 198331
759
- dataset_size: 2941243
760
- - config_name: predstate-IMP-nk-fuzzer-generated
761
- features:
762
- - name: id
763
- dtype: string
764
- - name: program
765
- dtype: string
766
- - name: src-filename
767
- dtype: string
768
- - name: language
769
- dtype: string
770
- - name: mutated-program
771
- dtype: string
772
- - name: mutated
773
- dtype: bool
774
- - name: mutation-pattern
775
- dtype: string
776
- - name: K-evaluatable
777
- dtype: bool
778
- - name: ground-truth
779
- dtype: string
780
- splits:
781
- - name: train
782
- num_bytes: 10917179
783
- num_examples: 165
784
- download_size: 3416057
785
- dataset_size: 10917179
786
- - config_name: predstate-IMP-nk-human-written
787
- features:
788
- - name: id
789
- dtype: string
790
- - name: program
791
- dtype: string
792
- - name: src-filename
793
- dtype: string
794
- - name: language
795
- dtype: string
796
- - name: mutated-program
797
- dtype: string
798
- - name: mutated
799
- dtype: bool
800
- - name: mutation-pattern
801
- dtype: string
802
- - name: K-evaluatable
803
- dtype: bool
804
- - name: ground-truth
805
- dtype: string
806
- splits:
807
- - name: train
808
- num_bytes: 96390
809
- num_examples: 162
810
- download_size: 41198
811
- dataset_size: 96390
812
- - config_name: predstate-IMP-nk-llm-translated
813
- features:
814
- - name: id
815
- dtype: string
816
- - name: program
817
- dtype: string
818
- - name: src-filename
819
- dtype: string
820
- - name: language
821
- dtype: string
822
- - name: mutated-program
823
- dtype: string
824
- - name: mutated
825
- dtype: bool
826
- - name: mutation-pattern
827
- dtype: string
828
- - name: K-evaluatable
829
- dtype: bool
830
- - name: ground-truth
831
- dtype: string
832
- splits:
833
- - name: train
834
- num_bytes: 612598
835
- num_examples: 165
836
- download_size: 187945
837
- dataset_size: 612598
838
- - config_name: predtrace-IMP-K-mk-human-written
839
- features:
840
- - name: id
841
- dtype: string
842
- - name: program
843
- dtype: string
844
- - name: src-filename
845
- dtype: string
846
- - name: semantics-type
847
- dtype: string
848
- - name: syntax
849
- dtype: string
850
- - name: semantics
851
- dtype: string
852
- - name: language
853
- dtype: string
854
- - name: mutated-program
855
- dtype: string
856
- - name: mutated
857
- dtype: bool
858
- - name: mutation-pattern
859
- dtype: string
860
- - name: K-evaluatable
861
- dtype: bool
862
- - name: ground-truth
863
- dtype: string
864
- - name: max-loop-depth
865
- dtype: int64
866
- - name: max-if-depth
867
- dtype: int64
868
- splits:
869
- - name: train
870
- num_bytes: 22715525
871
- num_examples: 324
872
- download_size: 1272634
873
- dataset_size: 22715525
874
- - config_name: predtrace-IMP-K-uk-human-written
875
- features:
876
- - name: id
877
- dtype: string
878
- - name: program
879
- dtype: string
880
- - name: src-filename
881
- dtype: string
882
- - name: semantics-type
883
- dtype: string
884
- - name: syntax
885
- dtype: string
886
- - name: semantics
887
- dtype: string
888
- - name: language
889
- dtype: string
890
- - name: mutated-program
891
- dtype: string
892
- - name: mutated
893
- dtype: bool
894
- - name: mutation-pattern
895
- dtype: string
896
- - name: K-evaluatable
897
- dtype: bool
898
- - name: ground-truth
899
- dtype: string
900
- - name: max-loop-depth
901
- dtype: int64
902
- - name: max-if-depth
903
- dtype: int64
904
- splits:
905
- - name: train
906
- num_bytes: 11331861
907
- num_examples: 162
908
- download_size: 648136
909
- dataset_size: 11331861
910
- - config_name: predtrace-IMP-SOS-mk-human-written
911
- features:
912
- - name: id
913
- dtype: string
914
- - name: program
915
- dtype: string
916
- - name: src-filename
917
- dtype: string
918
- - name: semantics-type
919
- dtype: string
920
- - name: syntax
921
- dtype: string
922
- - name: semantics
923
- dtype: string
924
- - name: language
925
- dtype: string
926
- - name: mutated-program
927
- dtype: string
928
- - name: mutated
929
- dtype: bool
930
- - name: mutation-pattern
931
- dtype: string
932
- - name: K-evaluatable
933
- dtype: bool
934
- - name: ground-truth
935
- dtype: string
936
- - name: max-loop-depth
937
- dtype: int64
938
- - name: max-if-depth
939
- dtype: int64
940
- splits:
941
- - name: train
942
- num_bytes: 36617209
943
- num_examples: 324
944
- download_size: 2093225
945
- dataset_size: 36617209
946
- - config_name: predtrace-IMP-SOS-uk-human-written
947
- features:
948
- - name: id
949
- dtype: string
950
- - name: program
951
- dtype: string
952
- - name: src-filename
953
- dtype: string
954
- - name: semantics-type
955
- dtype: string
956
- - name: syntax
957
- dtype: string
958
- - name: semantics
959
- dtype: string
960
- - name: language
961
- dtype: string
962
- - name: mutated-program
963
- dtype: string
964
- - name: mutated
965
- dtype: bool
966
- - name: mutation-pattern
967
- dtype: string
968
- - name: K-evaluatable
969
- dtype: bool
970
- - name: ground-truth
971
- dtype: string
972
- - name: max-loop-depth
973
- dtype: int64
974
- - name: max-if-depth
975
- dtype: int64
976
- splits:
977
- - name: train
978
- num_bytes: 18280353
979
- num_examples: 162
980
- download_size: 1061112
981
- dataset_size: 18280353
982
- configs:
983
- - config_name: predrule-IMP-SOS-mk-human-written
984
- data_files:
985
- - split: train
986
- path: predrule-IMP-SOS-mk-human-written/train-*
987
- - config_name: predrule-IMP-SOS-uk-human-written
988
- data_files:
989
- - split: train
990
- path: predrule-IMP-SOS-uk-human-written/train-*
991
- - config_name: predstate-IMP-K-mk-fuzzer-generated
992
- data_files:
993
- - split: train
994
- path: predstate-IMP-K-mk-fuzzer-generated/train-*
995
- - config_name: predstate-IMP-K-mk-human-written
996
- data_files:
997
- - split: train
998
- path: predstate-IMP-K-mk-human-written/train-*
999
- - config_name: predstate-IMP-K-mk-llm-translated
1000
- data_files:
1001
- - split: train
1002
- path: predstate-IMP-K-mk-llm-translated/train-*
1003
- - config_name: predstate-IMP-K-uk-fuzzer-generated
1004
- data_files:
1005
- - split: train
1006
- path: predstate-IMP-K-uk-fuzzer-generated/train-*
1007
- - config_name: predstate-IMP-K-uk-human-written
1008
- data_files:
1009
- - split: train
1010
- path: predstate-IMP-K-uk-human-written/train-*
1011
- - config_name: predstate-IMP-K-uk-llm-translated
1012
- data_files:
1013
- - split: train
1014
- path: predstate-IMP-K-uk-llm-translated/train-*
1015
- - config_name: predstate-IMP-SOS-mk-fuzzer-generated
1016
- data_files:
1017
- - split: train
1018
- path: predstate-IMP-SOS-mk-fuzzer-generated/train-*
1019
- - config_name: predstate-IMP-SOS-mk-human-written
1020
- data_files:
1021
- - split: train
1022
- path: predstate-IMP-SOS-mk-human-written/train-*
1023
- - config_name: predstate-IMP-SOS-mk-llm-translated
1024
- data_files:
1025
- - split: train
1026
- path: predstate-IMP-SOS-mk-llm-translated/train-*
1027
- - config_name: predstate-IMP-SOS-uk-fuzzer-generated
1028
- data_files:
1029
- - split: train
1030
- path: predstate-IMP-SOS-uk-fuzzer-generated/train-*
1031
- - config_name: predstate-IMP-SOS-uk-human-written
1032
- data_files:
1033
- - split: train
1034
- path: predstate-IMP-SOS-uk-human-written/train-*
1035
- - config_name: predstate-IMP-SOS-uk-llm-translated
1036
- data_files:
1037
- - split: train
1038
- path: predstate-IMP-SOS-uk-llm-translated/train-*
1039
- - config_name: predstate-IMP-nk-fuzzer-generated
1040
- data_files:
1041
- - split: train
1042
- path: predstate-IMP-nk-fuzzer-generated/train-*
1043
- - config_name: predstate-IMP-nk-human-written
1044
- data_files:
1045
- - split: train
1046
- path: predstate-IMP-nk-human-written/train-*
1047
- - config_name: predstate-IMP-nk-llm-translated
1048
- data_files:
1049
- - split: train
1050
- path: predstate-IMP-nk-llm-translated/train-*
1051
- - config_name: predtrace-IMP-K-mk-human-written
1052
- data_files:
1053
- - split: train
1054
- path: predtrace-IMP-K-mk-human-written/train-*
1055
- - config_name: predtrace-IMP-K-uk-human-written
1056
- data_files:
1057
- - split: train
1058
- path: predtrace-IMP-K-uk-human-written/train-*
1059
- - config_name: predtrace-IMP-SOS-mk-human-written
1060
- data_files:
1061
- - split: train
1062
- path: predtrace-IMP-SOS-mk-human-written/train-*
1063
- - config_name: predtrace-IMP-SOS-uk-human-written
1064
- data_files:
1065
- - split: train
1066
- path: predtrace-IMP-SOS-uk-human-written/train-*
1067
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc0-1.0
3
+ task_categories:
4
+ - text-generation
5
+ - code-generation
6
+ language:
7
+ - en
8
+ tags:
9
+ - programming-languages
10
+ - code-reasoning
11
+ - semantics
12
+ - interpreters
13
+ dataset_info:
14
+ - config_name: predrule-IMP-SOS-mk-human-written
15
+ features:
16
+ - name: id
17
+ dtype: string
18
+ - name: program
19
+ dtype: string
20
+ - name: src-filename
21
+ dtype: string
22
+ - name: semantics-type
23
+ dtype: string
24
+ - name: syntax
25
+ dtype: string
26
+ - name: semantics
27
+ dtype: string
28
+ - name: language
29
+ dtype: string
30
+ - name: mutated-program
31
+ dtype: string
32
+ - name: mutated
33
+ dtype: bool
34
+ - name: mutation-pattern
35
+ dtype: string
36
+ - name: K-evaluatable
37
+ dtype: bool
38
+ - name: ground-truth
39
+ dtype: string
40
+ - name: sampled-statements
41
+ list:
42
+ - name: line_number
43
+ dtype: int64
44
+ - name: prior_state
45
+ struct:
46
+ - name: ble
47
+ dtype: int64
48
+ - name: ans
49
+ dtype: int64
50
+ - name: num
51
+ dtype: int64
52
+ - name: a
53
+ dtype: int64
54
+ - name: b
55
+ dtype: int64
56
+ - name: c
57
+ dtype: int64
58
+ - name: d
59
+ dtype: int64
60
+ - name: f
61
+ dtype: int64
62
+ - name: x
63
+ dtype: int64
64
+ - name: j
65
+ dtype: int64
66
+ - name: k
67
+ dtype: int64
68
+ - name: m
69
+ dtype: int64
70
+ - name: p
71
+ dtype: int64
72
+ - name: q
73
+ dtype: int64
74
+ - name: r
75
+ dtype: int64
76
+ - name: X
77
+ dtype: int64
78
+ - name: B
79
+ dtype: int64
80
+ - name: n
81
+ dtype: int64
82
+ - name: i
83
+ dtype: int64
84
+ - name: s
85
+ dtype: int64
86
+ - name: t
87
+ dtype: int64
88
+ - name: first
89
+ dtype: int64
90
+ - name: tk
91
+ dtype: int64
92
+ - name: y
93
+ dtype: int64
94
+ - name: T
95
+ dtype: int64
96
+ - name: aa
97
+ dtype: int64
98
+ - name: bb
99
+ dtype: int64
100
+ - name: tmp
101
+ dtype: int64
102
+ - name: xyz
103
+ dtype: int64
104
+ - name: cnt
105
+ dtype: int64
106
+ - name: vol
107
+ dtype: int64
108
+ - name: z
109
+ dtype: int64
110
+ - name: temp
111
+ dtype: int64
112
+ - name: n1
113
+ dtype: int64
114
+ - name: n2
115
+ dtype: int64
116
+ - name: n3
117
+ dtype: int64
118
+ - name: e
119
+ dtype: int64
120
+ - name: x1
121
+ dtype: int64
122
+ - name: x2
123
+ dtype: int64
124
+ - name: y1
125
+ dtype: int64
126
+ - name: count
127
+ dtype: int64
128
+ - name: y2
129
+ dtype: int64
130
+ - name: l
131
+ dtype: int64
132
+ - name: sum
133
+ dtype: int64
134
+ - name: k9m
135
+ dtype: int64
136
+ - name: x7f
137
+ dtype: int64
138
+ - name: p2d
139
+ dtype: int64
140
+ - name: h
141
+ dtype: int64
142
+ - name: l2
143
+ dtype: int64
144
+ - name: r2
145
+ dtype: int64
146
+ - name: number
147
+ dtype: int64
148
+ - name: ax1
149
+ dtype: int64
150
+ - name: ax2
151
+ dtype: int64
152
+ - name: ay1
153
+ dtype: int64
154
+ - name: ay2
155
+ dtype: int64
156
+ - name: bx1
157
+ dtype: int64
158
+ - name: bx2
159
+ dtype: int64
160
+ - name: by1
161
+ dtype: int64
162
+ - name: by2
163
+ dtype: int64
164
+ - name: left
165
+ dtype: int64
166
+ - name: oh
167
+ dtype: int64
168
+ - name: ow
169
+ dtype: int64
170
+ - name: right
171
+ dtype: int64
172
+ - name: r1x1
173
+ dtype: int64
174
+ - name: r1x2
175
+ dtype: int64
176
+ - name: r1y1
177
+ dtype: int64
178
+ - name: r1y2
179
+ dtype: int64
180
+ - name: r2x1
181
+ dtype: int64
182
+ - name: r2x2
183
+ dtype: int64
184
+ - name: r2y1
185
+ dtype: int64
186
+ - name: r2y2
187
+ dtype: int64
188
+ - name: rules
189
+ list: string
190
+ - name: cleaned_stmt
191
+ dtype: string
192
+ - name: control_stack
193
+ dtype: string
194
+ splits:
195
+ - name: train
196
+ num_bytes: 6777258
197
+ num_examples: 324
198
+ download_size: 208154
199
+ dataset_size: 6777258
200
+ - config_name: predrule-IMP-SOS-uk-human-written
201
+ features:
202
+ - name: id
203
+ dtype: string
204
+ - name: program
205
+ dtype: string
206
+ - name: src-filename
207
+ dtype: string
208
+ - name: semantics-type
209
+ dtype: string
210
+ - name: syntax
211
+ dtype: string
212
+ - name: semantics
213
+ dtype: string
214
+ - name: language
215
+ dtype: string
216
+ - name: mutated-program
217
+ dtype: string
218
+ - name: mutated
219
+ dtype: bool
220
+ - name: mutation-pattern
221
+ dtype: string
222
+ - name: K-evaluatable
223
+ dtype: bool
224
+ - name: ground-truth
225
+ dtype: string
226
+ - name: sampled-statements
227
+ list:
228
+ - name: line_number
229
+ dtype: int64
230
+ - name: prior_state
231
+ struct:
232
+ - name: ble
233
+ dtype: int64
234
+ - name: ans
235
+ dtype: int64
236
+ - name: i
237
+ dtype: int64
238
+ - name: n
239
+ dtype: int64
240
+ - name: x
241
+ dtype: int64
242
+ - name: y
243
+ dtype: int64
244
+ - name: a
245
+ dtype: int64
246
+ - name: b
247
+ dtype: int64
248
+ - name: c
249
+ dtype: int64
250
+ - name: p
251
+ dtype: int64
252
+ - name: q
253
+ dtype: int64
254
+ - name: m
255
+ dtype: int64
256
+ - name: temp
257
+ dtype: int64
258
+ - name: j
259
+ dtype: int64
260
+ - name: k
261
+ dtype: int64
262
+ - name: n1
263
+ dtype: int64
264
+ - name: n2
265
+ dtype: int64
266
+ - name: n3
267
+ dtype: int64
268
+ - name: num
269
+ dtype: int64
270
+ - name: d
271
+ dtype: int64
272
+ - name: f
273
+ dtype: int64
274
+ - name: r
275
+ dtype: int64
276
+ - name: X
277
+ dtype: int64
278
+ - name: B
279
+ dtype: int64
280
+ - name: s
281
+ dtype: int64
282
+ - name: t
283
+ dtype: int64
284
+ - name: first
285
+ dtype: int64
286
+ - name: tk
287
+ dtype: int64
288
+ - name: T
289
+ dtype: int64
290
+ - name: aa
291
+ dtype: int64
292
+ - name: bb
293
+ dtype: int64
294
+ - name: tmp
295
+ dtype: int64
296
+ - name: xyz
297
+ dtype: int64
298
+ - name: e
299
+ dtype: int64
300
+ - name: l
301
+ dtype: int64
302
+ - name: h
303
+ dtype: int64
304
+ - name: z
305
+ dtype: int64
306
+ - name: number
307
+ dtype: int64
308
+ - name: l2
309
+ dtype: int64
310
+ - name: r2
311
+ dtype: int64
312
+ - name: x1
313
+ dtype: int64
314
+ - name: x2
315
+ dtype: int64
316
+ - name: y1
317
+ dtype: int64
318
+ - name: count
319
+ dtype: int64
320
+ - name: y2
321
+ dtype: int64
322
+ - name: sum
323
+ dtype: int64
324
+ - name: k9m
325
+ dtype: int64
326
+ - name: x7f
327
+ dtype: int64
328
+ - name: p2d
329
+ dtype: int64
330
+ - name: cnt
331
+ dtype: int64
332
+ - name: vol
333
+ dtype: int64
334
+ - name: ax1
335
+ dtype: int64
336
+ - name: ax2
337
+ dtype: int64
338
+ - name: ay1
339
+ dtype: int64
340
+ - name: ay2
341
+ dtype: int64
342
+ - name: bx1
343
+ dtype: int64
344
+ - name: bx2
345
+ dtype: int64
346
+ - name: by1
347
+ dtype: int64
348
+ - name: by2
349
+ dtype: int64
350
+ - name: left
351
+ dtype: int64
352
+ - name: oh
353
+ dtype: int64
354
+ - name: ow
355
+ dtype: int64
356
+ - name: right
357
+ dtype: int64
358
+ - name: r1x1
359
+ dtype: int64
360
+ - name: r1x2
361
+ dtype: int64
362
+ - name: r1y1
363
+ dtype: int64
364
+ - name: r1y2
365
+ dtype: int64
366
+ - name: r2x1
367
+ dtype: int64
368
+ - name: r2x2
369
+ dtype: int64
370
+ - name: r2y1
371
+ dtype: int64
372
+ - name: r2y2
373
+ dtype: int64
374
+ - name: rules
375
+ list: string
376
+ - name: cleaned_stmt
377
+ dtype: string
378
+ - name: control_stack
379
+ dtype: string
380
+ splits:
381
+ - name: train
382
+ num_bytes: 3359261
383
+ num_examples: 162
384
+ download_size: 142836
385
+ dataset_size: 3359261
386
+ - config_name: predstate-IMP-K-mk-fuzzer-generated
387
+ features:
388
+ - name: id
389
+ dtype: string
390
+ - name: program
391
+ dtype: string
392
+ - name: src-filename
393
+ dtype: string
394
+ - name: semantics-type
395
+ dtype: string
396
+ - name: syntax
397
+ dtype: string
398
+ - name: semantics
399
+ dtype: string
400
+ - name: language
401
+ dtype: string
402
+ - name: mutated-program
403
+ dtype: string
404
+ - name: mutated
405
+ dtype: bool
406
+ - name: mutation-pattern
407
+ dtype: string
408
+ - name: K-evaluatable
409
+ dtype: bool
410
+ - name: ground-truth
411
+ dtype: string
412
+ splits:
413
+ - name: train
414
+ num_bytes: 26058090
415
+ num_examples: 330
416
+ download_size: 7001572
417
+ dataset_size: 26058090
418
+ - config_name: predstate-IMP-K-mk-human-written
419
+ features:
420
+ - name: id
421
+ dtype: string
422
+ - name: program
423
+ dtype: string
424
+ - name: src-filename
425
+ dtype: string
426
+ - name: semantics-type
427
+ dtype: string
428
+ - name: syntax
429
+ dtype: string
430
+ - name: semantics
431
+ dtype: string
432
+ - name: language
433
+ dtype: string
434
+ - name: mutated-program
435
+ dtype: string
436
+ - name: mutated
437
+ dtype: bool
438
+ - name: mutation-pattern
439
+ dtype: string
440
+ - name: K-evaluatable
441
+ dtype: bool
442
+ - name: ground-truth
443
+ dtype: string
444
+ splits:
445
+ - name: train
446
+ num_bytes: 3235751
447
+ num_examples: 324
448
+ download_size: 63156
449
+ dataset_size: 3235751
450
+ - config_name: predstate-IMP-K-mk-llm-translated
451
+ features:
452
+ - name: id
453
+ dtype: string
454
+ - name: program
455
+ dtype: string
456
+ - name: src-filename
457
+ dtype: string
458
+ - name: semantics-type
459
+ dtype: string
460
+ - name: syntax
461
+ dtype: string
462
+ - name: semantics
463
+ dtype: string
464
+ - name: language
465
+ dtype: string
466
+ - name: mutated-program
467
+ dtype: string
468
+ - name: mutated
469
+ dtype: bool
470
+ - name: mutation-pattern
471
+ dtype: string
472
+ - name: K-evaluatable
473
+ dtype: bool
474
+ - name: ground-truth
475
+ dtype: string
476
+ splits:
477
+ - name: train
478
+ num_bytes: 4354979
479
+ num_examples: 330
480
+ download_size: 268020
481
+ dataset_size: 4354979
482
+ - config_name: predstate-IMP-K-uk-fuzzer-generated
483
+ features:
484
+ - name: id
485
+ dtype: string
486
+ - name: program
487
+ dtype: string
488
+ - name: src-filename
489
+ dtype: string
490
+ - name: semantics-type
491
+ dtype: string
492
+ - name: syntax
493
+ dtype: string
494
+ - name: semantics
495
+ dtype: string
496
+ - name: language
497
+ dtype: string
498
+ - name: mutated-program
499
+ dtype: string
500
+ - name: mutated
501
+ dtype: bool
502
+ - name: mutation-pattern
503
+ dtype: string
504
+ - name: K-evaluatable
505
+ dtype: bool
506
+ - name: ground-truth
507
+ dtype: string
508
+ splits:
509
+ - name: train
510
+ num_bytes: 12440461
511
+ num_examples: 165
512
+ download_size: 3420099
513
+ dataset_size: 12440461
514
+ - config_name: predstate-IMP-K-uk-human-written
515
+ features:
516
+ - name: id
517
+ dtype: string
518
+ - name: program
519
+ dtype: string
520
+ - name: src-filename
521
+ dtype: string
522
+ - name: semantics-type
523
+ dtype: string
524
+ - name: syntax
525
+ dtype: string
526
+ - name: semantics
527
+ dtype: string
528
+ - name: language
529
+ dtype: string
530
+ - name: mutated-program
531
+ dtype: string
532
+ - name: mutated
533
+ dtype: bool
534
+ - name: mutation-pattern
535
+ dtype: string
536
+ - name: K-evaluatable
537
+ dtype: bool
538
+ - name: ground-truth
539
+ dtype: string
540
+ splits:
541
+ - name: train
542
+ num_bytes: 1591974
543
+ num_examples: 162
544
+ download_size: 45219
545
+ dataset_size: 1591974
546
+ - config_name: predstate-IMP-K-uk-llm-translated
547
+ features:
548
+ - name: id
549
+ dtype: string
550
+ - name: program
551
+ dtype: string
552
+ - name: src-filename
553
+ dtype: string
554
+ - name: semantics-type
555
+ dtype: string
556
+ - name: syntax
557
+ dtype: string
558
+ - name: semantics
559
+ dtype: string
560
+ - name: language
561
+ dtype: string
562
+ - name: mutated-program
563
+ dtype: string
564
+ - name: mutated
565
+ dtype: bool
566
+ - name: mutation-pattern
567
+ dtype: string
568
+ - name: K-evaluatable
569
+ dtype: bool
570
+ - name: ground-truth
571
+ dtype: string
572
+ splits:
573
+ - name: train
574
+ num_bytes: 2135878
575
+ num_examples: 165
576
+ download_size: 191974
577
+ dataset_size: 2135878
578
+ - config_name: predstate-IMP-SOS-mk-fuzzer-generated
579
+ features:
580
+ - name: id
581
+ dtype: string
582
+ - name: program
583
+ dtype: string
584
+ - name: src-filename
585
+ dtype: string
586
+ - name: semantics-type
587
+ dtype: string
588
+ - name: syntax
589
+ dtype: string
590
+ - name: semantics
591
+ dtype: string
592
+ - name: language
593
+ dtype: string
594
+ - name: mutated-program
595
+ dtype: string
596
+ - name: mutated
597
+ dtype: bool
598
+ - name: mutation-pattern
599
+ dtype: string
600
+ - name: K-evaluatable
601
+ dtype: bool
602
+ - name: ground-truth
603
+ dtype: string
604
+ splits:
605
+ - name: train
606
+ num_bytes: 27673607
607
+ num_examples: 330
608
+ download_size: 7008801
609
+ dataset_size: 27673607
610
+ - config_name: predstate-IMP-SOS-mk-human-written
611
+ features:
612
+ - name: id
613
+ dtype: string
614
+ - name: program
615
+ dtype: string
616
+ - name: src-filename
617
+ dtype: string
618
+ - name: semantics-type
619
+ dtype: string
620
+ - name: syntax
621
+ dtype: string
622
+ - name: semantics
623
+ dtype: string
624
+ - name: language
625
+ dtype: string
626
+ - name: mutated-program
627
+ dtype: string
628
+ - name: mutated
629
+ dtype: bool
630
+ - name: mutation-pattern
631
+ dtype: string
632
+ - name: K-evaluatable
633
+ dtype: bool
634
+ - name: ground-truth
635
+ dtype: string
636
+ splits:
637
+ - name: train
638
+ num_bytes: 4821893
639
+ num_examples: 324
640
+ download_size: 70344
641
+ dataset_size: 4821893
642
+ - config_name: predstate-IMP-SOS-mk-llm-translated
643
+ features:
644
+ - name: id
645
+ dtype: string
646
+ - name: program
647
+ dtype: string
648
+ - name: src-filename
649
+ dtype: string
650
+ - name: semantics-type
651
+ dtype: string
652
+ - name: syntax
653
+ dtype: string
654
+ - name: semantics
655
+ dtype: string
656
+ - name: language
657
+ dtype: string
658
+ - name: mutated-program
659
+ dtype: string
660
+ - name: mutated
661
+ dtype: bool
662
+ - name: mutation-pattern
663
+ dtype: string
664
+ - name: K-evaluatable
665
+ dtype: bool
666
+ - name: ground-truth
667
+ dtype: string
668
+ splits:
669
+ - name: train
670
+ num_bytes: 5970494
671
+ num_examples: 330
672
+ download_size: 275248
673
+ dataset_size: 5970494
674
+ - config_name: predstate-IMP-SOS-uk-fuzzer-generated
675
+ features:
676
+ - name: id
677
+ dtype: string
678
+ - name: program
679
+ dtype: string
680
+ - name: src-filename
681
+ dtype: string
682
+ - name: semantics-type
683
+ dtype: string
684
+ - name: syntax
685
+ dtype: string
686
+ - name: semantics
687
+ dtype: string
688
+ - name: language
689
+ dtype: string
690
+ - name: mutated-program
691
+ dtype: string
692
+ - name: mutated
693
+ dtype: bool
694
+ - name: mutation-pattern
695
+ dtype: string
696
+ - name: K-evaluatable
697
+ dtype: bool
698
+ - name: ground-truth
699
+ dtype: string
700
+ splits:
701
+ - name: train
702
+ num_bytes: 13245824
703
+ num_examples: 165
704
+ download_size: 3426458
705
+ dataset_size: 13245824
706
+ - config_name: predstate-IMP-SOS-uk-human-written
707
+ features:
708
+ - name: id
709
+ dtype: string
710
+ - name: program
711
+ dtype: string
712
+ - name: src-filename
713
+ dtype: string
714
+ - name: semantics-type
715
+ dtype: string
716
+ - name: syntax
717
+ dtype: string
718
+ - name: semantics
719
+ dtype: string
720
+ - name: language
721
+ dtype: string
722
+ - name: mutated-program
723
+ dtype: string
724
+ - name: mutated
725
+ dtype: bool
726
+ - name: mutation-pattern
727
+ dtype: string
728
+ - name: K-evaluatable
729
+ dtype: bool
730
+ - name: ground-truth
731
+ dtype: string
732
+ splits:
733
+ - name: train
734
+ num_bytes: 2382696
735
+ num_examples: 162
736
+ download_size: 51583
737
+ dataset_size: 2382696
738
+ - config_name: predstate-IMP-SOS-uk-llm-translated
739
+ features:
740
+ - name: id
741
+ dtype: string
742
+ - name: program
743
+ dtype: string
744
+ - name: src-filename
745
+ dtype: string
746
+ - name: semantics-type
747
+ dtype: string
748
+ - name: syntax
749
+ dtype: string
750
+ - name: semantics
751
+ dtype: string
752
+ - name: language
753
+ dtype: string
754
+ - name: mutated-program
755
+ dtype: string
756
+ - name: mutated
757
+ dtype: bool
758
+ - name: mutation-pattern
759
+ dtype: string
760
+ - name: K-evaluatable
761
+ dtype: bool
762
+ - name: ground-truth
763
+ dtype: string
764
+ splits:
765
+ - name: train
766
+ num_bytes: 2941243
767
+ num_examples: 165
768
+ download_size: 198331
769
+ dataset_size: 2941243
770
+ - config_name: predstate-IMP-nk-fuzzer-generated
771
+ features:
772
+ - name: id
773
+ dtype: string
774
+ - name: program
775
+ dtype: string
776
+ - name: src-filename
777
+ dtype: string
778
+ - name: language
779
+ dtype: string
780
+ - name: mutated-program
781
+ dtype: string
782
+ - name: mutated
783
+ dtype: bool
784
+ - name: mutation-pattern
785
+ dtype: string
786
+ - name: K-evaluatable
787
+ dtype: bool
788
+ - name: ground-truth
789
+ dtype: string
790
+ splits:
791
+ - name: train
792
+ num_bytes: 10917179
793
+ num_examples: 165
794
+ download_size: 3416057
795
+ dataset_size: 10917179
796
+ - config_name: predstate-IMP-nk-human-written
797
+ features:
798
+ - name: id
799
+ dtype: string
800
+ - name: program
801
+ dtype: string
802
+ - name: src-filename
803
+ dtype: string
804
+ - name: language
805
+ dtype: string
806
+ - name: mutated-program
807
+ dtype: string
808
+ - name: mutated
809
+ dtype: bool
810
+ - name: mutation-pattern
811
+ dtype: string
812
+ - name: K-evaluatable
813
+ dtype: bool
814
+ - name: ground-truth
815
+ dtype: string
816
+ splits:
817
+ - name: train
818
+ num_bytes: 96390
819
+ num_examples: 162
820
+ download_size: 41198
821
+ dataset_size: 96390
822
+ - config_name: predstate-IMP-nk-llm-translated
823
+ features:
824
+ - name: id
825
+ dtype: string
826
+ - name: program
827
+ dtype: string
828
+ - name: src-filename
829
+ dtype: string
830
+ - name: language
831
+ dtype: string
832
+ - name: mutated-program
833
+ dtype: string
834
+ - name: mutated
835
+ dtype: bool
836
+ - name: mutation-pattern
837
+ dtype: string
838
+ - name: K-evaluatable
839
+ dtype: bool
840
+ - name: ground-truth
841
+ dtype: string
842
+ splits:
843
+ - name: train
844
+ num_bytes: 612598
845
+ num_examples: 165
846
+ download_size: 187945
847
+ dataset_size: 612598
848
+ - config_name: predtrace-IMP-K-mk-human-written
849
+ features:
850
+ - name: id
851
+ dtype: string
852
+ - name: program
853
+ dtype: string
854
+ - name: src-filename
855
+ dtype: string
856
+ - name: semantics-type
857
+ dtype: string
858
+ - name: syntax
859
+ dtype: string
860
+ - name: semantics
861
+ dtype: string
862
+ - name: language
863
+ dtype: string
864
+ - name: mutated-program
865
+ dtype: string
866
+ - name: mutated
867
+ dtype: bool
868
+ - name: mutation-pattern
869
+ dtype: string
870
+ - name: K-evaluatable
871
+ dtype: bool
872
+ - name: ground-truth
873
+ dtype: string
874
+ - name: max-loop-depth
875
+ dtype: int64
876
+ - name: max-if-depth
877
+ dtype: int64
878
+ splits:
879
+ - name: train
880
+ num_bytes: 22715525
881
+ num_examples: 324
882
+ download_size: 1272634
883
+ dataset_size: 22715525
884
+ - config_name: predtrace-IMP-K-uk-human-written
885
+ features:
886
+ - name: id
887
+ dtype: string
888
+ - name: program
889
+ dtype: string
890
+ - name: src-filename
891
+ dtype: string
892
+ - name: semantics-type
893
+ dtype: string
894
+ - name: syntax
895
+ dtype: string
896
+ - name: semantics
897
+ dtype: string
898
+ - name: language
899
+ dtype: string
900
+ - name: mutated-program
901
+ dtype: string
902
+ - name: mutated
903
+ dtype: bool
904
+ - name: mutation-pattern
905
+ dtype: string
906
+ - name: K-evaluatable
907
+ dtype: bool
908
+ - name: ground-truth
909
+ dtype: string
910
+ - name: max-loop-depth
911
+ dtype: int64
912
+ - name: max-if-depth
913
+ dtype: int64
914
+ splits:
915
+ - name: train
916
+ num_bytes: 11331861
917
+ num_examples: 162
918
+ download_size: 648136
919
+ dataset_size: 11331861
920
+ - config_name: predtrace-IMP-SOS-mk-human-written
921
+ features:
922
+ - name: id
923
+ dtype: string
924
+ - name: program
925
+ dtype: string
926
+ - name: src-filename
927
+ dtype: string
928
+ - name: semantics-type
929
+ dtype: string
930
+ - name: syntax
931
+ dtype: string
932
+ - name: semantics
933
+ dtype: string
934
+ - name: language
935
+ dtype: string
936
+ - name: mutated-program
937
+ dtype: string
938
+ - name: mutated
939
+ dtype: bool
940
+ - name: mutation-pattern
941
+ dtype: string
942
+ - name: K-evaluatable
943
+ dtype: bool
944
+ - name: ground-truth
945
+ dtype: string
946
+ - name: max-loop-depth
947
+ dtype: int64
948
+ - name: max-if-depth
949
+ dtype: int64
950
+ splits:
951
+ - name: train
952
+ num_bytes: 36617209
953
+ num_examples: 324
954
+ download_size: 2093225
955
+ dataset_size: 36617209
956
+ - config_name: predtrace-IMP-SOS-uk-human-written
957
+ features:
958
+ - name: id
959
+ dtype: string
960
+ - name: program
961
+ dtype: string
962
+ - name: src-filename
963
+ dtype: string
964
+ - name: semantics-type
965
+ dtype: string
966
+ - name: syntax
967
+ dtype: string
968
+ - name: semantics
969
+ dtype: string
970
+ - name: language
971
+ dtype: string
972
+ - name: mutated-program
973
+ dtype: string
974
+ - name: mutated
975
+ dtype: bool
976
+ - name: mutation-pattern
977
+ dtype: string
978
+ - name: K-evaluatable
979
+ dtype: bool
980
+ - name: ground-truth
981
+ dtype: string
982
+ - name: max-loop-depth
983
+ dtype: int64
984
+ - name: max-if-depth
985
+ dtype: int64
986
+ splits:
987
+ - name: train
988
+ num_bytes: 18280353
989
+ num_examples: 162
990
+ download_size: 1061112
991
+ dataset_size: 18280353
992
+ configs:
993
+ - config_name: predrule-IMP-SOS-mk-human-written
994
+ data_files:
995
+ - split: train
996
+ path: predrule-IMP-SOS-mk-human-written/train-*
997
+ - config_name: predrule-IMP-SOS-uk-human-written
998
+ data_files:
999
+ - split: train
1000
+ path: predrule-IMP-SOS-uk-human-written/train-*
1001
+ - config_name: predstate-IMP-K-mk-fuzzer-generated
1002
+ data_files:
1003
+ - split: train
1004
+ path: predstate-IMP-K-mk-fuzzer-generated/train-*
1005
+ - config_name: predstate-IMP-K-mk-human-written
1006
+ data_files:
1007
+ - split: train
1008
+ path: predstate-IMP-K-mk-human-written/train-*
1009
+ - config_name: predstate-IMP-K-mk-llm-translated
1010
+ data_files:
1011
+ - split: train
1012
+ path: predstate-IMP-K-mk-llm-translated/train-*
1013
+ - config_name: predstate-IMP-K-uk-fuzzer-generated
1014
+ data_files:
1015
+ - split: train
1016
+ path: predstate-IMP-K-uk-fuzzer-generated/train-*
1017
+ - config_name: predstate-IMP-K-uk-human-written
1018
+ data_files:
1019
+ - split: train
1020
+ path: predstate-IMP-K-uk-human-written/train-*
1021
+ - config_name: predstate-IMP-K-uk-llm-translated
1022
+ data_files:
1023
+ - split: train
1024
+ path: predstate-IMP-K-uk-llm-translated/train-*
1025
+ - config_name: predstate-IMP-SOS-mk-fuzzer-generated
1026
+ data_files:
1027
+ - split: train
1028
+ path: predstate-IMP-SOS-mk-fuzzer-generated/train-*
1029
+ - config_name: predstate-IMP-SOS-mk-human-written
1030
+ data_files:
1031
+ - split: train
1032
+ path: predstate-IMP-SOS-mk-human-written/train-*
1033
+ - config_name: predstate-IMP-SOS-mk-llm-translated
1034
+ data_files:
1035
+ - split: train
1036
+ path: predstate-IMP-SOS-mk-llm-translated/train-*
1037
+ - config_name: predstate-IMP-SOS-uk-fuzzer-generated
1038
+ data_files:
1039
+ - split: train
1040
+ path: predstate-IMP-SOS-uk-fuzzer-generated/train-*
1041
+ - config_name: predstate-IMP-SOS-uk-human-written
1042
+ data_files:
1043
+ - split: train
1044
+ path: predstate-IMP-SOS-uk-human-written/train-*
1045
+ - config_name: predstate-IMP-SOS-uk-llm-translated
1046
+ data_files:
1047
+ - split: train
1048
+ path: predstate-IMP-SOS-uk-llm-translated/train-*
1049
+ - config_name: predstate-IMP-nk-fuzzer-generated
1050
+ data_files:
1051
+ - split: train
1052
+ path: predstate-IMP-nk-fuzzer-generated/train-*
1053
+ - config_name: predstate-IMP-nk-human-written
1054
+ data_files:
1055
+ - split: train
1056
+ path: predstate-IMP-nk-human-written/train-*
1057
+ - config_name: predstate-IMP-nk-llm-translated
1058
+ data_files:
1059
+ - split: train
1060
+ path: predstate-IMP-nk-llm-translated/train-*
1061
+ - config_name: predtrace-IMP-K-mk-human-written
1062
+ data_files:
1063
+ - split: train
1064
+ path: predtrace-IMP-K-mk-human-written/train-*
1065
+ - config_name: predtrace-IMP-K-uk-human-written
1066
+ data_files:
1067
+ - split: train
1068
+ path: predtrace-IMP-K-uk-human-written/train-*
1069
+ - config_name: predtrace-IMP-SOS-mk-human-written
1070
+ data_files:
1071
+ - split: train
1072
+ path: predtrace-IMP-SOS-mk-human-written/train-*
1073
+ - config_name: predtrace-IMP-SOS-uk-human-written
1074
+ data_files:
1075
+ - split: train
1076
+ path: predtrace-IMP-SOS-uk-human-written/train-*
1077
+ ---
1078
+
1079
+ # PLSemanticsBench: Large Language Models As Programming Language Interpreters
1080
+
1081
+ This repository hosts **PLSemanticsBench**, a benchmark introduced in the paper [PLSEMANTICSBENCH: Large Language Models As Programming Language Interpreters](https://huggingface.co/papers/2510.03415).
1082
+
1083
+ PLSemanticsBench is the first benchmark for evaluating Large Language Models (LLMs) as programming language interpreters. It aims to study whether an LLM can execute programs purely based on a programming language's formal semantics. If successful, this capability would enable rapid prototyping of new programming languages and language features.
1084
+
1085
+ **Paper:** [https://huggingface.co/papers/2510.03415](https://huggingface.co/papers/2510.03415)
1086
+ **Code Repository:** [https://github.com/EngineeringSoftware/PLSemanticsBench](https://github.com/EngineeringSoftware/PLSemanticsBench)
1087
+
1088
+ ## About PLSemanticsBench
1089
+
1090
+ The benchmark uses the imperative language IMP (a subset of C), formalized via small-step operational semantics (SOS) and rewriting-based operational semantics (K-semantics). Models are evaluated on three tasks ranging from coarse to fine:
1091
+
1092
+ | Task | Description |
1093
+ |------|-------------|\
1094
+ | ✨ **PredState**| Predicts the final program state |\
1095
+ | ✨ **PredRule** | Predicts the ordered sequence of semantic rules needed to evaluate a program|\
1096
+ | ✨ **PredTrace**| Predicts the step-by-step execution of a program |
1097
+
1098
+ To distinguish pretraining memorization from semantic competence, the benchmark includes two nonstandard semantics obtained through systematic mutations of the standard rules. The evaluation sets—Human-Written, LLM-Translated, and Fuzzer-Generated—control difficulty by code-complexity metrics spanning size, control-flow, and data-flow axes.
1099
+
1100
+ ## Sample Usage
1101
+
1102
+ This section demonstrates how to get started with the `plsemanticsbench` library and how to load the dataset using the `datasets` library.
1103
+
1104
+ ### Installation and Basic Example
1105
+
1106
+ First, ensure you have the necessary Python environment set up and the `plsemanticsbench` library installed (refer to the [GitHub repository](https://github.com/EngineeringSoftware/PLSemanticsBench) for detailed instructions):
1107
+
1108
+ ```bash
1109
+ conda env create -f env.yaml
1110
+ conda activate plsemanticsbench
1111
+ export OPENAI_API_KEY='your-api-key-here'
1112
+ ```
1113
+
1114
+ Here's a minimal example to run an experiment:
1115
+
1116
+ ```python
1117
+ from plsemanticsbench import GPTRunner, GPT_MODEL_ENUM
1118
+ from plsemanticsbench import ExperimentArgs, LLMEvaluator
1119
+ from plsemanticsbench import (
1120
+ PROMPT_STRATEGY,
1121
+ Task,
1122
+ Formalization,
1123
+ Semantics_Type,
1124
+ Language,
1125
+ PLDataset
1126
+ )
1127
+
1128
+ # Model name
1129
+ model_name = "o3-mini"
1130
+
1131
+ # Experiment args: Run the PredState task on the IMP language with
1132
+ # standard semantics formalized using SOS and with direct prompting
1133
+ exp_args = ExperimentArgs(
1134
+ dataset=PLDataset.Human_Written,
1135
+ task=Task.PredState,
1136
+ language=Language.IMP,
1137
+ formalization=Formalization.SOS,
1138
+ semantics_type=Semantics_Type.Standard,
1139
+ model_name=model_name,
1140
+ prompt_strategy=PROMPT_STRATEGY.DA,
1141
+ num_datapoints_to_run=2, # Run just 2 datapoints (omit to run entire dataset)
1142
+ )
1143
+
1144
+ # Run inference using the OpenAI API
1145
+ gpt_runner = GPTRunner(
1146
+ gpt_model=GPT_MODEL_ENUM.O3_MINI,
1147
+ args=exp_args,
1148
+ )
1149
+
1150
+ # If prediction file is provided, the predictions will be saved to the file
1151
+ predictions = gpt_runner.do_experiment()
1152
+ llm_eval = LLMEvaluator(exp_args)
1153
+ evaluation_result = llm_eval.evaluate_from_list(results=predictions, model_name=model_name)
1154
+ print(evaluation_result)
1155
+ ```
1156
+
1157
+ **Expected Output**
1158
+
1159
+ The evaluation results will look like:
1160
+ ```python
1161
+ {
1162
+ 'accuracy': 1,
1163
+ 'malformed-count': 0,
1164
+ }
1165
+ ```
1166
+
1167
+ ### Benchmark Access (Loading the Dataset)
1168
+
1169
+ You can load the dataset using the `datasets` library. Here are some examples for different configurations:
1170
+
1171
+ ```python
1172
+ from datasets import load_dataset
1173
+
1174
+ # Load PredState task with standard semantics (uk) and K-semantics formalization (K) and with the Human Written (human-written) dataset
1175
+ predstate_IMP_K_uk_human_written = load_dataset("EngineeringSoftware/PLSemanticsBench", name="predstate-IMP-K-uk-human-written")
1176
+
1177
+ # Load PredRule task with nonstandard semantics (mk) ans SOS formalization (SOS) and with the LLM Translated (llm-translated) dataset
1178
+ predrule_IMP_SOS_mk_llm_translated = load_dataset("EngineeringSoftware/PLSemanticsBench", name="predrule-IMP-SOS-mk-llm-translated")
1179
+
1180
+ # Load PredState task with no-semantics (nk) and with the Fuzzer Generated (fuzzer-generated) dataset
1181
+ predstate_IMP_nk_fuzzer_generated = load_dataset("EngineeringSoftware/PLSemanticsBench", name="predstate-IMP-nk-fuzzer-generated")
1182
+ ```
1183
+
1184
+ ## Dataset Splits
1185
+
1186
+ The benchmark dataset is organized into various configurations based on the task, formalization, semantics type (standard `uk`, nonstandard `mk`, or no semantics `nk`), and generation method (human-written, LLM-translated, or fuzzer-generated).
1187
+
1188
+ | Task | Split | Description |
1189
+ |------|-------------|-------------|
1190
+ | ✨ **PredState**<br>(Final State Prediction) | `predstate-IMP-nk-{dataset-name}` | No semantics |
1191
+ | | `predstate-IMP-K-uk-{dataset-name}` | Standard semantics with K-semantics formalization |
1192
+ | | `predstate-IMP-K-mk-{dataset-name}` | Nonstandard semantics with K-semantics formalization |
1193
+ | | `predstate-IMP-SOS-uk-{dataset-name}` | Standard semantics with SOS formalization |
1194
+ | | `predstate-IMP-SOS-mk-{dataset-name}` | Nonstandard semantics with SOS formalization |
1195
+ | ✨ **PredRule**<br>(Semantic Rule Prediction) | `predrule-IMP-K-uk-human-written` | Standard semantics with K-semantics formalization |
1196
+ | | `predrule-IMP-K-mk-human-written` | Nonstandard semantics with K-semantics formalization |
1197
+ | | `predrule-IMP-SOS-uk-human-written` | Standard semantics with SOS formalization |
1198
+ | | `predrule-IMP-SOS-mk-human-written` | Nonstandard semantics with SOS formalization |
1199
+ | ✨ **PredTrace**<br>(Execution Trace Prediction) | `predtrace-IMP-K-uk-human-written` | Standard semantics with K-semantics formalization |
1200
+ | | `predtrace-IMP-K-mk-human-written` | Nonstandard semantics with K-semantics formalization |
1201
+ | | `predtrace-IMP-SOS-uk-human-written` | Standard semantics with SOS formalization |
1202
+ | | `predtrace-IMP-SOS-mk-human-written` | Nonstandard semantics with SOS formalization |
1203
+
1204
+ *Note: `{dataset-name}` can be `human-written`, `llm-translated`, or `fuzzer-generated`.*
1205
+
1206
+ ## Data Example
1207
+
1208
+ One example of a dataset entry is as follows:
1209
+ ```json
1210
+ {
1211
+ "program": "int ans; ans = 1; ...",
1212
+ "syntax": "<program> :: ...",
1213
+ "semantics": "ℤ := Set of integers ...",
1214
+ "mutated-program": "int ans; ans = 1; ...",
1215
+ "mutation-pattern": "KeyWordSwap",
1216
+ "exec-trace": [
1217
+ {
1218
+ "linenumber": 1,
1219
+ "rule": ["Rule 38", "Rule 39"],
1220
+ "state": {"ans": 1}
1221
+ }
1222
+ ],
1223
+ "ground-truth": "<answer>...</answer>"
1224
+ }
1225
+ ```
1226
+
1227
+ ## Citation
1228
+ If you find this benchmark useful for your research, please cite the paper:
1229
+
1230
+ ```bibtex
1231
+ @article{ThimmaiahETAL25PLSemanticsBench,
1232
+ title={PLSemanticsBench: Large Language Models As Programming Language Interpreters},
1233
+ author={Aditya Thimmaiah, Jiyang Zhang, Jayanth Srinivasa, Junyi Jessy Li, Milos Gligoric},
1234
+ year={2025},
1235
+ archivePrefix={arXiv},
1236
+ url={https://arxiv.org/abs/2510.03415},
1237
+ }
1238
+ ```