File size: 71,361 Bytes
a4edccc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 | {
"instance_id": "CPython_PEP-750_Template-Strings_PR-132662",
"project": "cpython",
"language": "python",
"requirement_doc": "https://peps.python.org/pep-0750/",
"requirement_doc_title": "PEP 750 \u2014 Template Strings",
"pr_link": "https://github.com/python/cpython/pull/132662",
"pr_number": 132662,
"merge_commit": "60202609a2c2d0971aadfa4729ba30b50e89c6ea",
"base_commit": "5ea9010e8910cb97555c3aef4ed95cca93a74aab",
"base_commit_note": "PR-132662 squash-merged 2025-04-30; base_commit is the squash-merge parent.",
"test_level": "system",
"fail_to_pass": [
"test.test_tstring.TestTString.test_string_representation",
"test.test_tstring.TestTString.test_interpolation_basics",
"test.test_tstring.TestTString.test_format_specifiers",
"test.test_tstring.TestTString.test_conversions",
"test.test_tstring.TestTString.test_debug_specifier",
"test.test_tstring.TestTString.test_raw_tstrings",
"test.test_tstring.TestTString.test_template_concatenation",
"test.test_tstring.TestTString.test_nested_templates",
"test.test_tstring.TestTString.test_syntax_errors",
"test.test_tstring.TestTString.test_runtime_errors",
"test.test_tstring.TestTString.test_literal_concatenation",
"test.test_tstring.TestTString.test_triple_quoted",
"test.test_string.test_templatelib.TestTemplate.test_common",
"test.test_string.test_templatelib.TestTemplate.test_basic_creation",
"test.test_string.test_templatelib.TestTemplate.test_creation_interleaving",
"test.test_string.test_templatelib.TestTemplate.test_template_values",
"test.test_string.test_templatelib.TestTemplate.test_pickle_template",
"test.test_string.test_templatelib.TestTemplate.test_pickle_interpolation",
"test.test_ast.test_ast.AST_Tests.test_tstring",
"test.test_unparse.UnparseTestCase.test_tstrings"
],
"pass_to_pass": [
"test.test_int.IntTestCases.test_basic",
"test.test_int.IntTestCases.test_invalid_signs",
"test.test_int.IntTestCases.test_unicode",
"test.test_int.IntTestCases.test_underscores",
"test.test_int.IntTestCases.test_small_ints",
"test.test_int.IntTestCases.test_no_args",
"test.test_int.IntTestCases.test_keyword_args",
"test.test_int.IntTestCases.test_int_base_limits",
"test.test_float.GeneralFloatCases.test_float",
"test.test_float.GeneralFloatCases.test_noargs",
"test.test_float.GeneralFloatCases.test_underscores",
"test.test_float.GeneralFloatCases.test_non_numeric_input_types",
"test.test_float.GeneralFloatCases.test_float_memoryview",
"test.test_float.GeneralFloatCases.test_error_message",
"test.test_calendar.OutputTestCase.test_output",
"test.test_calendar.OutputTestCase.test_output_textcalendar",
"test.test_calendar.OutputTestCase.test_output_htmlcalendar_encoding_ascii",
"test.test_calendar.OutputTestCase.test_output_htmlcalendar_encoding_utf8",
"test.test_calendar.OutputTestCase.test_output_htmlcalendar_encoding_default",
"test.test_calendar.OutputTestCase.test_yeardatescalendar",
"test.test_calendar.OutputTestCase.test_yeardayscalendar",
"test.test_calendar.OutputTestCase.test_formatweekheader_short",
"test.test_set.TestSet.test_init",
"test.test_set.TestSet.test_constructor_identity",
"test.test_set.TestSet.test_set_literal",
"test.test_set.TestSet.test_set_literal_insertion_order",
"test.test_set.TestSet.test_set_literal_evaluation_order",
"test.test_set.TestSet.test_hash",
"test.test_list.ListTest.test_basic",
"test.test_list.ListTest.test_keyword_args",
"test.test_list.ListTest.test_keywords_in_subclass",
"test.test_list.ListTest.test_truth",
"test.test_list.ListTest.test_identity",
"test.test_list.ListTest.test_len",
"test.test_dict.DictTest.test_invalid_keyword_arguments",
"test.test_dict.DictTest.test_constructor",
"test.test_dict.DictTest.test_literal_constructor",
"test.test_dict.DictTest.test_merge_operator",
"test.test_dict.DictTest.test_bool",
"test.test_dict.DictTest.test_keys",
"test.test_tokenize.CTokenizeTest.test_string",
"test.test_tokenize.CTokenizeTest.test_function",
"test.test_tokenize.CTokenizeTest.test_unicode",
"test.test_tokenize.CTokenizeTest.test_invalid_syntax",
"test.test_tokenize.GenerateTokensTest.test_function",
"test.test_tokenize.GenerateTokensTest.test_int",
"test.test_tokenize.GenerateTokensTest.test_non_ascii_identifiers",
"test.test_tokenize.GenerateTokensTest.test_multiline_non_ascii_fstring",
"test.test_tokenize.GenerateTokensTest.test_underscore_literals",
"test.test_tokenize.TestTokenize.test_exact_type"
],
"solution_patch_sha256": "049b30c6560fe116f9a5263352e2483b95ded15093a61b3267549d6d82d60df7",
"eval_tests_patch_sha256": "e7673a389e6bc912ed64879d79c791274520a4fe756e6fa5cd3d9f34717264cc",
"omitted_patch_sha256": "ba3d7b4c6d551590b692908bcae8a61eea8b5677db252df5416b358e0e948d68",
"eval_tests_patch_notes": "NEW Lib/test/test_tstring.py + NEW Lib/test/test_string/test_templatelib.py + test_string package conversion (test_string.py -> test_string/__init__.py + _support.py + test_string.py); edits to test_ast/test_fstring/test_grammar/test_syntax/test_unparse/test_ast snippets to recognize t-string syntax.",
"omitted_patch_notes": "Doc/library/token.rst, Doc/whatsnew/3.14.rst, Misc/NEWS entry, .github/CODEOWNERS, Programs/test_frozenmain.h (regenerated frozen module), PCbuild project files (Windows build), Tools/c-analyzer/TODO.",
"fixture_taint_summary": "20 F2P: 12 from NEW Lib/test/test_tstring.py + 6 from NEW Lib/test/test_string/test_templatelib.py (both NEW files contain t'...' literals at parse time, plus templatelib import of the new string.templatelib module \u2192 uniform module-import SyntaxError/ModuleNotFoundError at pre-state, \u00a77 acceptable) + 2 new-method additions test_ast.AST_Tests.test_tstring and test_unparse.UnparseTestCase.test_tstrings (both their test files modified by eval_tests.patch to add t-string literals at module level \u2192 pre-state SyntaxError on file import, ERROR uniform across the new methods).",
"triage": {
"fail_to_pass": {
"test.test_tstring.TestTString.test_string_representation": {
"system_reason": "New test from NEW PEP-750 test file; exercises t-string syntax / templatelib via public API.",
"public_surface": "t'...' syntax / string.templatelib.Template + Interpolation public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tstring.TestTString.test_string_representation",
"fixture_taint_checked": true,
"fixture_taint_note": "test_tstring.py and test_string/test_templatelib.py both contain t'...' literals at parse time (and the latter imports string.templatelib which is new). Whole-module ERROR at pre-state is uniform across selectors (acceptable \u00a77)."
},
"test.test_tstring.TestTString.test_interpolation_basics": {
"system_reason": "New test from NEW PEP-750 test file; exercises t-string syntax / templatelib via public API.",
"public_surface": "t'...' syntax / string.templatelib.Template + Interpolation public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tstring.TestTString.test_interpolation_basics",
"fixture_taint_checked": true,
"fixture_taint_note": "test_tstring.py and test_string/test_templatelib.py both contain t'...' literals at parse time (and the latter imports string.templatelib which is new). Whole-module ERROR at pre-state is uniform across selectors (acceptable \u00a77)."
},
"test.test_tstring.TestTString.test_format_specifiers": {
"system_reason": "New test from NEW PEP-750 test file; exercises t-string syntax / templatelib via public API.",
"public_surface": "t'...' syntax / string.templatelib.Template + Interpolation public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tstring.TestTString.test_format_specifiers",
"fixture_taint_checked": true,
"fixture_taint_note": "test_tstring.py and test_string/test_templatelib.py both contain t'...' literals at parse time (and the latter imports string.templatelib which is new). Whole-module ERROR at pre-state is uniform across selectors (acceptable \u00a77)."
},
"test.test_tstring.TestTString.test_conversions": {
"system_reason": "New test from NEW PEP-750 test file; exercises t-string syntax / templatelib via public API.",
"public_surface": "t'...' syntax / string.templatelib.Template + Interpolation public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tstring.TestTString.test_conversions",
"fixture_taint_checked": true,
"fixture_taint_note": "test_tstring.py and test_string/test_templatelib.py both contain t'...' literals at parse time (and the latter imports string.templatelib which is new). Whole-module ERROR at pre-state is uniform across selectors (acceptable \u00a77)."
},
"test.test_tstring.TestTString.test_debug_specifier": {
"system_reason": "New test from NEW PEP-750 test file; exercises t-string syntax / templatelib via public API.",
"public_surface": "t'...' syntax / string.templatelib.Template + Interpolation public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tstring.TestTString.test_debug_specifier",
"fixture_taint_checked": true,
"fixture_taint_note": "test_tstring.py and test_string/test_templatelib.py both contain t'...' literals at parse time (and the latter imports string.templatelib which is new). Whole-module ERROR at pre-state is uniform across selectors (acceptable \u00a77)."
},
"test.test_tstring.TestTString.test_raw_tstrings": {
"system_reason": "New test from NEW PEP-750 test file; exercises t-string syntax / templatelib via public API.",
"public_surface": "t'...' syntax / string.templatelib.Template + Interpolation public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tstring.TestTString.test_raw_tstrings",
"fixture_taint_checked": true,
"fixture_taint_note": "test_tstring.py and test_string/test_templatelib.py both contain t'...' literals at parse time (and the latter imports string.templatelib which is new). Whole-module ERROR at pre-state is uniform across selectors (acceptable \u00a77)."
},
"test.test_tstring.TestTString.test_template_concatenation": {
"system_reason": "New test from NEW PEP-750 test file; exercises t-string syntax / templatelib via public API.",
"public_surface": "t'...' syntax / string.templatelib.Template + Interpolation public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tstring.TestTString.test_template_concatenation",
"fixture_taint_checked": true,
"fixture_taint_note": "test_tstring.py and test_string/test_templatelib.py both contain t'...' literals at parse time (and the latter imports string.templatelib which is new). Whole-module ERROR at pre-state is uniform across selectors (acceptable \u00a77)."
},
"test.test_tstring.TestTString.test_nested_templates": {
"system_reason": "New test from NEW PEP-750 test file; exercises t-string syntax / templatelib via public API.",
"public_surface": "t'...' syntax / string.templatelib.Template + Interpolation public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tstring.TestTString.test_nested_templates",
"fixture_taint_checked": true,
"fixture_taint_note": "test_tstring.py and test_string/test_templatelib.py both contain t'...' literals at parse time (and the latter imports string.templatelib which is new). Whole-module ERROR at pre-state is uniform across selectors (acceptable \u00a77)."
},
"test.test_tstring.TestTString.test_syntax_errors": {
"system_reason": "New test from NEW PEP-750 test file; exercises t-string syntax / templatelib via public API.",
"public_surface": "t'...' syntax / string.templatelib.Template + Interpolation public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tstring.TestTString.test_syntax_errors",
"fixture_taint_checked": true,
"fixture_taint_note": "test_tstring.py and test_string/test_templatelib.py both contain t'...' literals at parse time (and the latter imports string.templatelib which is new). Whole-module ERROR at pre-state is uniform across selectors (acceptable \u00a77)."
},
"test.test_tstring.TestTString.test_runtime_errors": {
"system_reason": "New test from NEW PEP-750 test file; exercises t-string syntax / templatelib via public API.",
"public_surface": "t'...' syntax / string.templatelib.Template + Interpolation public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tstring.TestTString.test_runtime_errors",
"fixture_taint_checked": true,
"fixture_taint_note": "test_tstring.py and test_string/test_templatelib.py both contain t'...' literals at parse time (and the latter imports string.templatelib which is new). Whole-module ERROR at pre-state is uniform across selectors (acceptable \u00a77)."
},
"test.test_tstring.TestTString.test_literal_concatenation": {
"system_reason": "New test from NEW PEP-750 test file; exercises t-string syntax / templatelib via public API.",
"public_surface": "t'...' syntax / string.templatelib.Template + Interpolation public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tstring.TestTString.test_literal_concatenation",
"fixture_taint_checked": true,
"fixture_taint_note": "test_tstring.py and test_string/test_templatelib.py both contain t'...' literals at parse time (and the latter imports string.templatelib which is new). Whole-module ERROR at pre-state is uniform across selectors (acceptable \u00a77)."
},
"test.test_tstring.TestTString.test_triple_quoted": {
"system_reason": "New test from NEW PEP-750 test file; exercises t-string syntax / templatelib via public API.",
"public_surface": "t'...' syntax / string.templatelib.Template + Interpolation public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tstring.TestTString.test_triple_quoted",
"fixture_taint_checked": true,
"fixture_taint_note": "test_tstring.py and test_string/test_templatelib.py both contain t'...' literals at parse time (and the latter imports string.templatelib which is new). Whole-module ERROR at pre-state is uniform across selectors (acceptable \u00a77)."
},
"test.test_string.test_templatelib.TestTemplate.test_common": {
"system_reason": "New test from NEW PEP-750 test file; exercises t-string syntax / templatelib via public API.",
"public_surface": "t'...' syntax / string.templatelib.Template + Interpolation public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_string.test_templatelib.TestTemplate.test_common",
"fixture_taint_checked": true,
"fixture_taint_note": "test_tstring.py and test_string/test_templatelib.py both contain t'...' literals at parse time (and the latter imports string.templatelib which is new). Whole-module ERROR at pre-state is uniform across selectors (acceptable \u00a77)."
},
"test.test_string.test_templatelib.TestTemplate.test_basic_creation": {
"system_reason": "New test from NEW PEP-750 test file; exercises t-string syntax / templatelib via public API.",
"public_surface": "t'...' syntax / string.templatelib.Template + Interpolation public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_string.test_templatelib.TestTemplate.test_basic_creation",
"fixture_taint_checked": true,
"fixture_taint_note": "test_tstring.py and test_string/test_templatelib.py both contain t'...' literals at parse time (and the latter imports string.templatelib which is new). Whole-module ERROR at pre-state is uniform across selectors (acceptable \u00a77)."
},
"test.test_string.test_templatelib.TestTemplate.test_creation_interleaving": {
"system_reason": "New test from NEW PEP-750 test file; exercises t-string syntax / templatelib via public API.",
"public_surface": "t'...' syntax / string.templatelib.Template + Interpolation public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_string.test_templatelib.TestTemplate.test_creation_interleaving",
"fixture_taint_checked": true,
"fixture_taint_note": "test_tstring.py and test_string/test_templatelib.py both contain t'...' literals at parse time (and the latter imports string.templatelib which is new). Whole-module ERROR at pre-state is uniform across selectors (acceptable \u00a77)."
},
"test.test_string.test_templatelib.TestTemplate.test_template_values": {
"system_reason": "New test from NEW PEP-750 test file; exercises t-string syntax / templatelib via public API.",
"public_surface": "t'...' syntax / string.templatelib.Template + Interpolation public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_string.test_templatelib.TestTemplate.test_template_values",
"fixture_taint_checked": true,
"fixture_taint_note": "test_tstring.py and test_string/test_templatelib.py both contain t'...' literals at parse time (and the latter imports string.templatelib which is new). Whole-module ERROR at pre-state is uniform across selectors (acceptable \u00a77)."
},
"test.test_string.test_templatelib.TestTemplate.test_pickle_template": {
"system_reason": "New test from NEW PEP-750 test file; exercises t-string syntax / templatelib via public API.",
"public_surface": "t'...' syntax / string.templatelib.Template + Interpolation public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_string.test_templatelib.TestTemplate.test_pickle_template",
"fixture_taint_checked": true,
"fixture_taint_note": "test_tstring.py and test_string/test_templatelib.py both contain t'...' literals at parse time (and the latter imports string.templatelib which is new). Whole-module ERROR at pre-state is uniform across selectors (acceptable \u00a77)."
},
"test.test_string.test_templatelib.TestTemplate.test_pickle_interpolation": {
"system_reason": "New test from NEW PEP-750 test file; exercises t-string syntax / templatelib via public API.",
"public_surface": "t'...' syntax / string.templatelib.Template + Interpolation public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_string.test_templatelib.TestTemplate.test_pickle_interpolation",
"fixture_taint_checked": true,
"fixture_taint_note": "test_tstring.py and test_string/test_templatelib.py both contain t'...' literals at parse time (and the latter imports string.templatelib which is new). Whole-module ERROR at pre-state is uniform across selectors (acceptable \u00a77)."
},
"test.test_ast.test_ast.AST_Tests.test_tstring": {
"system_reason": "New test method added by PR; exercises t-string AST construction / unparsing via public API.",
"public_surface": "ast.parse/ast.unparse \u2014 public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_ast.test_ast.AST_Tests.test_tstring",
"fixture_taint_checked": true,
"fixture_taint_note": "Method itself is new at merge. Modified test file has t-string literals at module body added by eval_tests.patch, so pre-state import yields SyntaxError before unittest can load any method \u2014 uniform ERROR across the file's selectors (\u00a77 acceptable)."
},
"test.test_unparse.UnparseTestCase.test_tstrings": {
"system_reason": "New test method added by PR; exercises t-string AST construction / unparsing via public API.",
"public_surface": "ast.parse/ast.unparse \u2014 public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_unparse.UnparseTestCase.test_tstrings",
"fixture_taint_checked": true,
"fixture_taint_note": "Method itself is new at merge. Modified test file has t-string literals at module body added by eval_tests.patch, so pre-state import yields SyntaxError before unittest can load any method \u2014 uniform ERROR across the file's selectors (\u00a77 acceptable)."
}
},
"pass_to_pass": {
"test.test_int.IntTestCases.test_basic": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_int.IntTestCases.test_basic",
"fixture_taint_checked": true
},
"test.test_int.IntTestCases.test_invalid_signs": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_int.IntTestCases.test_invalid_signs",
"fixture_taint_checked": true
},
"test.test_int.IntTestCases.test_unicode": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_int.IntTestCases.test_unicode",
"fixture_taint_checked": true
},
"test.test_int.IntTestCases.test_underscores": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_int.IntTestCases.test_underscores",
"fixture_taint_checked": true
},
"test.test_int.IntTestCases.test_small_ints": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_int.IntTestCases.test_small_ints",
"fixture_taint_checked": true
},
"test.test_int.IntTestCases.test_no_args": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_int.IntTestCases.test_no_args",
"fixture_taint_checked": true
},
"test.test_int.IntTestCases.test_keyword_args": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_int.IntTestCases.test_keyword_args",
"fixture_taint_checked": true
},
"test.test_int.IntTestCases.test_int_base_limits": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_int.IntTestCases.test_int_base_limits",
"fixture_taint_checked": true
},
"test.test_float.GeneralFloatCases.test_float": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_float.GeneralFloatCases.test_float",
"fixture_taint_checked": true
},
"test.test_float.GeneralFloatCases.test_noargs": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_float.GeneralFloatCases.test_noargs",
"fixture_taint_checked": true
},
"test.test_float.GeneralFloatCases.test_underscores": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_float.GeneralFloatCases.test_underscores",
"fixture_taint_checked": true
},
"test.test_float.GeneralFloatCases.test_non_numeric_input_types": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_float.GeneralFloatCases.test_non_numeric_input_types",
"fixture_taint_checked": true
},
"test.test_float.GeneralFloatCases.test_float_memoryview": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_float.GeneralFloatCases.test_float_memoryview",
"fixture_taint_checked": true
},
"test.test_float.GeneralFloatCases.test_error_message": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_float.GeneralFloatCases.test_error_message",
"fixture_taint_checked": true
},
"test.test_calendar.OutputTestCase.test_output": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_calendar.OutputTestCase.test_output",
"fixture_taint_checked": true
},
"test.test_calendar.OutputTestCase.test_output_textcalendar": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_calendar.OutputTestCase.test_output_textcalendar",
"fixture_taint_checked": true
},
"test.test_calendar.OutputTestCase.test_output_htmlcalendar_encoding_ascii": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_calendar.OutputTestCase.test_output_htmlcalendar_encoding_ascii",
"fixture_taint_checked": true
},
"test.test_calendar.OutputTestCase.test_output_htmlcalendar_encoding_utf8": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_calendar.OutputTestCase.test_output_htmlcalendar_encoding_utf8",
"fixture_taint_checked": true
},
"test.test_calendar.OutputTestCase.test_output_htmlcalendar_encoding_default": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_calendar.OutputTestCase.test_output_htmlcalendar_encoding_default",
"fixture_taint_checked": true
},
"test.test_calendar.OutputTestCase.test_yeardatescalendar": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_calendar.OutputTestCase.test_yeardatescalendar",
"fixture_taint_checked": true
},
"test.test_calendar.OutputTestCase.test_yeardayscalendar": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_calendar.OutputTestCase.test_yeardayscalendar",
"fixture_taint_checked": true
},
"test.test_calendar.OutputTestCase.test_formatweekheader_short": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_calendar.OutputTestCase.test_formatweekheader_short",
"fixture_taint_checked": true
},
"test.test_set.TestSet.test_init": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_set.TestSet.test_init",
"fixture_taint_checked": true
},
"test.test_set.TestSet.test_constructor_identity": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_set.TestSet.test_constructor_identity",
"fixture_taint_checked": true
},
"test.test_set.TestSet.test_set_literal": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_set.TestSet.test_set_literal",
"fixture_taint_checked": true
},
"test.test_set.TestSet.test_set_literal_insertion_order": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_set.TestSet.test_set_literal_insertion_order",
"fixture_taint_checked": true
},
"test.test_set.TestSet.test_set_literal_evaluation_order": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_set.TestSet.test_set_literal_evaluation_order",
"fixture_taint_checked": true
},
"test.test_set.TestSet.test_hash": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_set.TestSet.test_hash",
"fixture_taint_checked": true
},
"test.test_list.ListTest.test_basic": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_list.ListTest.test_basic",
"fixture_taint_checked": true
},
"test.test_list.ListTest.test_keyword_args": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_list.ListTest.test_keyword_args",
"fixture_taint_checked": true
},
"test.test_list.ListTest.test_keywords_in_subclass": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_list.ListTest.test_keywords_in_subclass",
"fixture_taint_checked": true
},
"test.test_list.ListTest.test_truth": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_list.ListTest.test_truth",
"fixture_taint_checked": true
},
"test.test_list.ListTest.test_identity": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_list.ListTest.test_identity",
"fixture_taint_checked": true
},
"test.test_list.ListTest.test_len": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_list.ListTest.test_len",
"fixture_taint_checked": true
},
"test.test_dict.DictTest.test_invalid_keyword_arguments": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_dict.DictTest.test_invalid_keyword_arguments",
"fixture_taint_checked": true
},
"test.test_dict.DictTest.test_constructor": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_dict.DictTest.test_constructor",
"fixture_taint_checked": true
},
"test.test_dict.DictTest.test_literal_constructor": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_dict.DictTest.test_literal_constructor",
"fixture_taint_checked": true
},
"test.test_dict.DictTest.test_merge_operator": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_dict.DictTest.test_merge_operator",
"fixture_taint_checked": true
},
"test.test_dict.DictTest.test_bool": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_dict.DictTest.test_bool",
"fixture_taint_checked": true
},
"test.test_dict.DictTest.test_keys": {
"system_reason": "Pre-existing test. NOT modified by this PR.",
"public_surface": "public stdlib API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_dict.DictTest.test_keys",
"fixture_taint_checked": true
},
"test.test_tokenize.CTokenizeTest.test_string": {
"system_reason": "Pre-existing tokenizer regression test. NOT modified by this PR.",
"public_surface": "public tokenize / C tokenizer behavior for existing string tokens",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tokenize.CTokenizeTest.test_string",
"fixture_taint_checked": true,
"no_modification_clause": "PEP 750 adds template-string support but does not require changing existing tokenizer behavior for non-template string literals."
},
"test.test_tokenize.CTokenizeTest.test_function": {
"system_reason": "Pre-existing tokenizer regression test. NOT modified by this PR.",
"public_surface": "public tokenize / C tokenizer behavior for function source",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tokenize.CTokenizeTest.test_function",
"fixture_taint_checked": true,
"no_modification_clause": "PEP 750 adds template-string support but does not require changing existing tokenizer behavior for ordinary function source."
},
"test.test_tokenize.CTokenizeTest.test_unicode": {
"system_reason": "Pre-existing tokenizer regression test. NOT modified by this PR.",
"public_surface": "public tokenize / C tokenizer behavior for Unicode source",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tokenize.CTokenizeTest.test_unicode",
"fixture_taint_checked": true,
"no_modification_clause": "PEP 750 adds template-string support but does not require changing existing Unicode tokenization behavior."
},
"test.test_tokenize.CTokenizeTest.test_invalid_syntax": {
"system_reason": "Pre-existing tokenizer regression test. NOT modified by this PR.",
"public_surface": "public tokenize / C tokenizer diagnostics for existing invalid syntax",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tokenize.CTokenizeTest.test_invalid_syntax",
"fixture_taint_checked": true,
"no_modification_clause": "PEP 750 adds new template-string syntax but does not require changing existing invalid-syntax tokenization diagnostics."
},
"test.test_tokenize.GenerateTokensTest.test_function": {
"system_reason": "Pre-existing tokenizer regression test. NOT modified by this PR.",
"public_surface": "public tokenize.generate_tokens behavior for ordinary function source",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tokenize.GenerateTokensTest.test_function",
"fixture_taint_checked": true,
"no_modification_clause": "PEP 750 adds template-string tokens but does not require changing tokenize.generate_tokens output for ordinary function source."
},
"test.test_tokenize.GenerateTokensTest.test_int": {
"system_reason": "Pre-existing tokenizer regression test. NOT modified by this PR.",
"public_surface": "public tokenize.generate_tokens behavior for integer literals",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tokenize.GenerateTokensTest.test_int",
"fixture_taint_checked": true,
"no_modification_clause": "PEP 750 adds template-string tokens but does not require changing tokenization of existing integer literals."
},
"test.test_tokenize.GenerateTokensTest.test_non_ascii_identifiers": {
"system_reason": "Pre-existing tokenizer regression test. NOT modified by this PR.",
"public_surface": "public tokenize.generate_tokens behavior for non-ASCII identifiers",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tokenize.GenerateTokensTest.test_non_ascii_identifiers",
"fixture_taint_checked": true,
"no_modification_clause": "PEP 750 adds template-string tokens but does not require changing non-ASCII identifier tokenization."
},
"test.test_tokenize.GenerateTokensTest.test_multiline_non_ascii_fstring": {
"system_reason": "Pre-existing tokenizer regression test. NOT modified by this PR.",
"public_surface": "public tokenize.generate_tokens behavior for existing multiline f-strings",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tokenize.GenerateTokensTest.test_multiline_non_ascii_fstring",
"fixture_taint_checked": true,
"no_modification_clause": "PEP 750 adds template strings adjacent to f-strings but does not require changing existing f-string tokenization."
},
"test.test_tokenize.GenerateTokensTest.test_underscore_literals": {
"system_reason": "Pre-existing tokenizer regression test. NOT modified by this PR.",
"public_surface": "public tokenize.generate_tokens behavior for underscore numeric literals",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tokenize.GenerateTokensTest.test_underscore_literals",
"fixture_taint_checked": true,
"no_modification_clause": "PEP 750 adds template-string tokens but does not require changing underscore numeric literal tokenization."
},
"test.test_tokenize.TestTokenize.test_exact_type": {
"system_reason": "Pre-existing tokenizer regression test. NOT modified by this PR.",
"public_surface": "public tokenize token exact_type behavior",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_tokenize.TestTokenize.test_exact_type",
"fixture_taint_checked": true,
"no_modification_clause": "PEP 750 adds template-string token kinds but does not require changing exact_type behavior for existing tokens."
}
}
},
"out_of_scope_surfaces": [],
"public_surface_allowlist": [],
"build_environment": {
"base_image": "lolbench/cpython-base:1",
"configure_flags": "--prefix=/usr/local --enable-optimizations=no",
"make_target": "(default)",
"runtime_caps": "--network=none"
},
"validated_at": "2026-06-15",
"pr_url": "https://github.com/python/cpython/pull/132662",
"pep": "PEP 750",
"pep_title": "Template Strings",
"pep_url": "https://peps.python.org/pep-0750/",
"coverage_gap_note": "Final union coverage is 61.8% (1899/3075 executable solution.patch lines) with the augmented union suite: 34 F2P selectors and 54 P2P selectors. Refreshed after the 2026-06-15 original-P2P expansion; the added pre-existing tokenizer selectors cover adjacent token/tokenize behavior not required by PEP 750 and raise original P2P coverage from 399 to 416 covered lines. The remaining uncovered lines are concentrated in generated parser/opcode metadata and narrow runtime error paths. The shipped union report exceeds the 50% LoLBench coverage floor.",
"repo": "python/cpython",
"image": "lolbench/cpython-pr-132662:1",
"pr_head_sha": "44749c7c19122b01ae9614ca4c654eebd0ad9d77",
"diff_source": "github_pr_cache",
"agent_contract": {
"input": "/in/solution.patch",
"output": "/out/agent_report.json",
"invocation": "docker run --rm -v $(pwd)/solution.patch:/in/solution.patch:ro -v $(pwd)/out:/out lolbench/cpython-pr-132662:1"
},
"test_framework": "cpython_regrtest",
"test_cmd_template": "python -m test <test_selector>",
"log_parser": "python_unittest",
"validation_summary": {
"status": "passed",
"validated_at": "2026-06-15",
"command": "mounted docker validation for orig/aug/union pre and post on 2026-06-15",
"suites": {
"orig": {
"pre": {
"f2p": {
"passed": 0,
"failed": 0,
"errored": 20,
"skipped": 0,
"total": 20
},
"p2p": {
"passed": 50,
"failed": 0,
"errored": 0,
"skipped": 0,
"total": 50
},
"resolved": false,
"build": "ok"
},
"post": {
"f2p": {
"passed": 20,
"failed": 0,
"errored": 0,
"skipped": 0,
"total": 20
},
"p2p": {
"passed": 50,
"failed": 0,
"errored": 0,
"skipped": 0,
"total": 50
},
"resolved": true,
"build": "ok"
}
},
"aug": {
"pre": {
"f2p": {
"passed": 0,
"failed": 0,
"errored": 14,
"skipped": 0,
"total": 14
},
"p2p": {
"passed": 4,
"failed": 0,
"errored": 0,
"skipped": 0,
"total": 4
},
"resolved": false,
"build": "ok"
},
"post": {
"f2p": {
"passed": 14,
"failed": 0,
"errored": 0,
"skipped": 0,
"total": 14
},
"p2p": {
"passed": 4,
"failed": 0,
"errored": 0,
"skipped": 0,
"total": 4
},
"resolved": true,
"build": "ok"
}
},
"union": {
"pre": {
"f2p": {
"passed": 0,
"failed": 0,
"errored": 34,
"skipped": 0,
"total": 34
},
"p2p": {
"passed": 54,
"failed": 0,
"errored": 0,
"skipped": 0,
"total": 54
},
"resolved": false,
"build": "ok"
},
"post": {
"f2p": {
"passed": 34,
"failed": 0,
"errored": 0,
"skipped": 0,
"total": 34
},
"p2p": {
"passed": 54,
"failed": 0,
"errored": 0,
"skipped": 0,
"total": 54
},
"resolved": true,
"build": "ok"
}
}
}
},
"augmented": {
"fail_to_pass": [
"test.test_tstring_aug.TestTStringAug.test_literal_metadata_values_and_iteration",
"test.test_tstring_aug.TestTStringAug.test_constructor_pickle_pattern_and_validation",
"test.test_tstring_aug.TestTStringAug.test_concatenation_debug_raw_uppercase_and_unparse",
"test.test_tstring_aug.TestTStringAug.test_tr_raw_named_unicode_escape_keeps_braces_as_fields",
"test.test_tstring_aug.TestTStringAug.test_tokenize_untokenize_brace_roundtrip",
"test.test_grammar.GrammarTests.test_warn_missed_comma",
"test.test_tstring_aug.TestTStringAug.test_disassembly_annotation_ast_compile_and_metadata",
"test.test_tstring_aug.TestTStringAug.test_template_public_error_and_gc_paths",
"test.test_tstring_aug.TestTStringAug.test_parser_contexts_and_invalid_tstring_matrix",
"test.test_tstring_aug.TestTStringAug.test_annotation_unparse_and_ast_validation_paths",
"test.test_tstring_aug.TestTStringAug.test_public_parser_literal_and_invalid_grammar_matrix",
"test.test_tstring_aug.TestTStringAug.test_public_token_opcode_reload_surface",
"test.test_tstring_aug.TestTStringAug.test_public_parser_regression_modules",
"test.test_unparse.DirectoryTestCase.test_files"
],
"pass_to_pass": [
"test.test_string_compat_aug.TestStringCompatibilityAug.test_template_substitution_contracts",
"test.test_string_compat_aug.TestStringCompatibilityAug.test_formatter_and_capwords_contracts",
"test.test_string_compat_aug.TestStringCompatibilityAug.test_template_identifier_and_validation_contracts",
"test.test_string_compat_aug.TestStringCompatibilityAug.test_formatter_error_and_nested_contracts"
],
"eval_tests_patch": "eval_tests_aug.patch",
"eval_tests_aug_patch_sha256": "25f3785c6c42fa4711edc34c0823b884523bf57a1e9c68cc8c64684b1cc3b63e",
"f2p_aug_sha256": "61744912b84440189de8752b1e2271c5073a812f17b84572cfe894bfe330e17b",
"p2p_aug_sha256": "235c1a90c943d5c7e3f03b5929f790bc3afc9c35638e42bc82a0a702f884a09a",
"test_level": "system",
"suite_modes": [
"orig",
"aug",
"union"
],
"triage": {
"test_level_policy": "Augmented tests exercise PEP-750 through t-string syntax and documented public stdlib APIs only; they do not import parser, lexer, tokenizer, AST, or runtime-object implementation internals.",
"fail_to_pass": {
"test.test_tstring_aug.TestTStringAug.test_literal_metadata_values_and_iteration": {
"requirement_sections": [
"Specification > Template String Literals",
"Specification > The `Template` Type",
"Specification > The `Interpolation` Type",
"Specification > The `Template.values` Property",
"Specification > Iterating `Template` Contents",
"Specification > Interpolation Expression Evaluation"
],
"public_surface": "t-string literal syntax plus public string.templatelib.Template and Interpolation attributes documented by PEP 750.",
"internal_symbol_check": [],
"runner_surface": "./python -m unittest -v test.test_tstring_aug.TestTStringAug.test_literal_metadata_values_and_iteration",
"rationale": "F2P selector fails on base because t-string syntax and string.templatelib are absent, then passes through the documented public runtime API after solution.patch.",
"goals": [
"F2P-mut",
"F2P-cov"
],
"mutants_targeted": [
"mutant_008_interpolation_expression_member_returns_value",
"mutant_009_interpolation_format_spec_member_returns_expression",
"mutant_011_interpolation_build_repr_conversion_as_str",
"mutant_012_interpolation_build_none_conversion_as_s",
"mutant_013_template_values_returns_interpolation_objects",
"mutant_014_template_iter_yields_empty_strings",
"mutant_015_template_iter_starts_with_interpolation",
"mutant_026_codegen_interpolation_expression_string_empty",
"mutant_027_codegen_interpolation_format_spec_ignored",
"mutant_028_codegen_interpolation_conversion_ignored",
"mutant_031_template_strings_member_returns_interpolations",
"mutant_032_template_interpolations_member_returns_strings"
]
},
"test.test_tstring_aug.TestTStringAug.test_constructor_pickle_pattern_and_validation": {
"requirement_sections": [
"Specification > The `Template` Type",
"Specification > The `Interpolation` Type",
"Specification > The `string.templatelib` Module"
],
"public_surface": "Public string.templatelib.Template and Interpolation construction, pickling, conversion validation, and structural pattern matching.",
"internal_symbol_check": [],
"runner_surface": "./python -m unittest -v test.test_tstring_aug.TestTStringAug.test_constructor_pickle_pattern_and_validation",
"rationale": "F2P selector uses only requirement-documented Template and Interpolation public constructors and attributes.",
"goals": [
"F2P-mut",
"F2P-cov"
],
"mutants_targeted": [
"mutant_005_templatelib_interpolation_export_points_to_template",
"mutant_006_template_unpickle_drops_interpolations",
"mutant_007_interpolation_conversion_accepts_any_string",
"mutant_010_interpolation_match_args_omit_format_spec"
]
},
"test.test_tstring_aug.TestTStringAug.test_concatenation_debug_raw_uppercase_and_unparse": {
"requirement_sections": [
"Specification > Template String Literals",
"Specification > The `Template` Type",
"Specification > Template String Concatenation",
"Specification > Support for the debug specifier (`=`)",
"Specification > Raw Template Strings"
],
"public_surface": "t/T/rt/tr literal syntax, Template concatenation, debug specifier behavior, and public ast.parse/ast.unparse round-tripping.",
"internal_symbol_check": [],
"runner_surface": "./python -m unittest -v test.test_tstring_aug.TestTStringAug.test_concatenation_debug_raw_uppercase_and_unparse",
"rationale": "F2P selector observes documented t-string syntax behavior through Python source evaluation and public AST helpers, without importing parser internals.",
"goals": [
"F2P-mut",
"F2P-cov"
],
"mutants_targeted": [
"mutant_016_template_concat_ignores_right_interpolations",
"mutant_017_template_concat_drops_right_first_string",
"mutant_020_debug_default_conversion_not_repr",
"mutant_021_debug_expression_keeps_equals",
"mutant_022_lexer_t_prefix_disabled",
"mutant_023_lexer_uppercase_t_prefix_disabled",
"mutant_024_lexer_rt_prefix_emits_fstring",
"mutant_029_ast_unparse_template_str_as_fstring",
"mutant_030_ast_unparse_template_str_no_f_concat_split"
]
},
"test.test_tstring_aug.TestTStringAug.test_tr_raw_named_unicode_escape_keeps_braces_as_fields": {
"requirement_sections": [
"Specification > Template String Literals",
"Specification > Raw Template Strings"
],
"public_surface": "Raw tr template-string literal syntax plus public Template.strings, Template.values, and Interpolation.expression attributes documented by PEP 750.",
"internal_symbol_check": [],
"runner_surface": "./python -m unittest -v test.test_tstring_aug.TestTStringAug.test_tr_raw_named_unicode_escape_keeps_braces_as_fields",
"rationale": "Asserts that a raw tr template string treats \\N as literal text and then parses the following braces as template interpolation fields, matching the documented raw-template literal behavior without touching lexer internals.",
"goals": [
"F2P-mut",
"F2P-cov"
],
"mutants_targeted": [
"mutant_025_lexer_tr_prefix_not_raw"
]
},
"test.test_tstring_aug.TestTStringAug.test_tokenize_untokenize_brace_roundtrip": {
"requirement_sections": [
"Specification > Template String Literals"
],
"public_surface": "Public tokenize.generate_tokens and tokenize.untokenize round-trip of source text containing t-string literals.",
"internal_symbol_check": [],
"runner_surface": "./python -m unittest -v test.test_tstring_aug.TestTStringAug.test_tokenize_untokenize_brace_roundtrip",
"rationale": "F2P selector avoids direct TSTRING token constants and validates only executable public source round-tripping.",
"goals": [
"F2P-mut",
"F2P-cov"
],
"mutants_targeted": [
"mutant_003_tokenize_tstring_middle_not_escaped"
]
},
"test.test_grammar.GrammarTests.test_warn_missed_comma": {
"requirement_sections": [
"Specification > Template String Literals"
],
"public_surface": "Original PR-modified CPython grammar warning test exercising public compile-time diagnostics for t-string literals in expression contexts.",
"internal_symbol_check": [],
"runner_surface": "./python -m unittest -v test.test_grammar.GrammarTests.test_warn_missed_comma",
"rationale": "Original F2P selector from a modified PR test file; base rejects the added t-string snippets before the intended missed-comma warning path, while the patched interpreter reaches the public SyntaxWarning diagnostics.",
"goals": [
"F2P-cov"
],
"mutants_targeted": [],
"provenance": "original_pr_modified_test"
},
"test.test_tstring_aug.TestTStringAug.test_disassembly_annotation_ast_compile_and_metadata": {
"requirement_sections": [
"Specification > Template String Literals",
"Specification > The `Template` Type",
"Specification > Interpolation Expression Evaluation"
],
"public_surface": "Public dis/opcode imports, t-string source execution, ast.parse/compile, and future-annotations behavior reached through normal Python source code.",
"internal_symbol_check": [],
"runner_surface": "./python -m unittest -v test.test_tstring_aug.TestTStringAug.test_disassembly_annotation_ast_compile_and_metadata",
"rationale": "Exercises bytecode metadata import, AST-to-code compilation, and annotation stringification for t-string expressions through public stdlib entry points; base fails at t-string syntax/module availability.",
"goals": [
"F2P-cov"
],
"mutants_targeted": []
},
"test.test_tstring_aug.TestTStringAug.test_template_public_error_and_gc_paths": {
"requirement_sections": [
"Specification > The `Template` Type",
"Specification > The `Interpolation` Type"
],
"public_surface": "Requirement-documented public Template and Interpolation constructors, operators, attributes, plus public gc.get_referents traversal.",
"internal_symbol_check": [],
"runner_surface": "./python -m unittest -v test.test_tstring_aug.TestTStringAug.test_template_public_error_and_gc_paths",
"rationale": "Covers public constructor validation, unsupported concatenation behavior, read-only attributes, and GC traversal of documented runtime objects without naming implementation internals.",
"goals": [
"F2P-cov"
],
"mutants_targeted": []
},
"test.test_tstring_aug.TestTStringAug.test_parser_contexts_and_invalid_tstring_matrix": {
"requirement_sections": [
"Specification > Template String Literals",
"Specification > Raw Template Strings",
"Specification > Interpolation Expression Evaluation"
],
"public_surface": "Public Python source parsing and compilation of t-string literals across functions, lambdas, calls, comprehensions, control flow, context managers, exception groups, and syntax-error diagnostics.",
"internal_symbol_check": [],
"runner_surface": "./python -m unittest -v test.test_tstring_aug.TestTStringAug.test_parser_contexts_and_invalid_tstring_matrix",
"rationale": "Exercises generated parser paths for valid and invalid t-string grammar through normal compile() calls, without importing parser or lexer internals.",
"goals": [
"F2P-cov"
],
"mutants_targeted": []
},
"test.test_tstring_aug.TestTStringAug.test_annotation_unparse_and_ast_validation_paths": {
"requirement_sections": [
"Specification > Template String Literals",
"Specification > The `Template` Type",
"Specification > The `Interpolation` Type"
],
"public_surface": "Public future-annotations source preservation plus public ast.parse/compile flows using AST objects returned from parsing t-string source.",
"internal_symbol_check": [],
"runner_surface": "./python -m unittest -v test.test_tstring_aug.TestTStringAug.test_annotation_unparse_and_ast_validation_paths",
"rationale": "Covers t-string annotation unparsing and AST validation/error paths through public compile/eval behavior while avoiding direct construction of PR-added AST classes.",
"goals": [
"F2P-cov"
],
"mutants_targeted": []
},
"test.test_tstring_aug.TestTStringAug.test_public_parser_literal_and_invalid_grammar_matrix": {
"requirement_sections": [
"Specification > Template String Literals",
"Specification > Raw Template Strings",
"Specification > Support for the debug specifier (`=`)",
"Specification > Interpolation Expression Evaluation"
],
"public_surface": "Public compile() parsing of t-string and f-string source across literal concatenation, functions, classes, decorators, comprehensions, match guards, async constructs, yields, and syntax-error diagnostics.",
"internal_symbol_check": [],
"runner_surface": "./python -m unittest -v test.test_tstring_aug.TestTStringAug.test_public_parser_literal_and_invalid_grammar_matrix",
"rationale": "F2P selector fails on base because the sidecar t-string test module cannot import string.templatelib, then covers regenerated public parser paths through ordinary source compilation after solution.patch.",
"goals": [
"F2P-cov"
],
"mutants_targeted": []
},
"test.test_tstring_aug.TestTStringAug.test_public_token_opcode_reload_surface": {
"requirement_sections": [
"Specification > Template String Literals",
"Specification > Processing Template Strings"
],
"public_surface": "Public token, tokenize, and opcode modules plus t-string tokenization and untokenization of source text.",
"internal_symbol_check": [],
"runner_surface": "./python -m unittest -v test.test_tstring_aug.TestTStringAug.test_public_token_opcode_reload_surface",
"rationale": "F2P selector observes documented template-string token support and public opcode exposure without importing parser, lexer, tokenizer, or bytecode implementation internals.",
"goals": [
"F2P-mut",
"F2P-cov"
],
"mutants_targeted": [
"mutant_001_token_py_tstring_middle_collides_with_fstring_end"
]
},
"test.test_tstring_aug.TestTStringAug.test_public_parser_regression_modules": {
"requirement_sections": [
"Specification > Template String Literals",
"Specification > Raw Template Strings",
"Specification > Interpolation Expression Evaluation"
],
"public_surface": "Public CPython grammar, f-string, syntax, and compile regression modules executed through unittest from the sidecar F2P test.",
"internal_symbol_check": [],
"runner_surface": "./python -m unittest -v test.test_tstring_aug.TestTStringAug.test_public_parser_regression_modules",
"rationale": "F2P selector fails on base because the sidecar t-string test module cannot import string.templatelib, then exercises regenerated parser behavior via public language regression tests after solution.patch.",
"goals": [
"F2P-cov"
],
"mutants_targeted": []
},
"test.test_unparse.DirectoryTestCase.test_files": {
"requirement_sections": [
"Specification > Template String Literals"
],
"public_surface": "Original PR-modified CPython unparse directory test that parses public stdlib/test source files, including the new t-string test file registered by the PR.",
"internal_symbol_check": [],
"runner_surface": "./python -m unittest -v test.test_unparse.DirectoryTestCase.test_files",
"rationale": "Original F2P selector from a modified PR test file; base fails when the directory-level unparse test reaches the PR-added test_tstring.py source, while the patched interpreter can parse and unparse it.",
"goals": [
"F2P-cov"
],
"mutants_targeted": [],
"provenance": "original_pr_modified_test"
}
},
"pass_to_pass": {
"test.test_string_compat_aug.TestStringCompatibilityAug.test_template_substitution_contracts": {
"requirement_sections": [
"Specification > The `string.templatelib` Module"
],
"public_surface": "Pre-existing public string.Template substitution and safe_substitute behavior.",
"internal_symbol_check": [],
"runner_surface": "./python -m unittest -v test.test_string_compat_aug.TestStringCompatibilityAug.test_template_substitution_contracts",
"rationale": "The PR converts string into a package to add templatelib; existing string.Template behavior must remain unchanged.",
"goals": [
"P2P-regression"
],
"no_modification_clause": "The PR converts string into a package to add templatelib; existing string.Template behavior must remain unchanged."
},
"test.test_string_compat_aug.TestStringCompatibilityAug.test_formatter_and_capwords_contracts": {
"requirement_sections": [
"Specification > The `string.templatelib` Module"
],
"public_surface": "Pre-existing public string.Formatter and string.capwords behavior.",
"internal_symbol_check": [],
"runner_surface": "./python -m unittest -v test.test_string_compat_aug.TestStringCompatibilityAug.test_formatter_and_capwords_contracts",
"rationale": "Adjacent public string-module APIs should survive the module-to-package conversion required by PEP 750.",
"goals": [
"P2P-regression"
],
"no_modification_clause": "Adjacent public string-module APIs should survive the module-to-package conversion required by PEP 750."
},
"test.test_string_compat_aug.TestStringCompatibilityAug.test_template_identifier_and_validation_contracts": {
"requirement_sections": [
"Specification > The `string.templatelib` Module"
],
"public_surface": "Pre-existing public string constants and string.Template validation, identifier, delimiter, substitute, and safe_substitute behavior.",
"internal_symbol_check": [],
"runner_surface": "./python -m unittest -v test.test_string_compat_aug.TestStringCompatibilityAug.test_template_identifier_and_validation_contracts",
"rationale": "The PR converts string into a package; this keeps legacy string constants and Template edge contracts pinned on base and post states.",
"goals": [
"P2P-regression"
],
"no_modification_clause": "The PR converts string into a package to add templatelib; existing public string module behavior must remain unchanged."
},
"test.test_string_compat_aug.TestStringCompatibilityAug.test_formatter_error_and_nested_contracts": {
"requirement_sections": [
"Specification > The `string.templatelib` Module"
],
"public_surface": "Pre-existing public string.Formatter nested formatting, conversion, numbering, and recursion-limit behavior.",
"internal_symbol_check": [],
"runner_surface": "./python -m unittest -v test.test_string_compat_aug.TestStringCompatibilityAug.test_formatter_error_and_nested_contracts",
"rationale": "Exercises adjacent unchanged Formatter behavior that should survive the string module-to-package conversion.",
"goals": [
"P2P-regression"
],
"no_modification_clause": "Adjacent public string-module APIs should survive the module-to-package conversion required by PEP 750."
}
}
},
"coverage_summary": {
"status": "passed",
"report": "coverage_out/coverage_report_union.json",
"minimum_line_coverage_percent": 50,
"union_pct": 61.8,
"f2p_pct": 58.1,
"p2p_pct": 16.8,
"executable_lines_in_patch": 3075,
"union_covered": 1899,
"coverage_complete": true
},
"mutation_summary": {
"status": "passed",
"suite": "union",
"command": "IMAGE=lolbench/cpython-pr-132662:1 dockers/CPython_PEP-750_Template-Strings_PR-132662/eval.sh <mutant>/solution.patch --suite union",
"evaluated_mutants": 30,
"killed_mutants": 30,
"survivors": [],
"p2p_regressions": [],
"excluded_system_level_mutants": [
null,
null
],
"reports_glob": "mutations/CPython_PEP-750_Template-Strings_PR-132662/mutant_*/eval_out_union/agent_report.json"
}
},
"coverage": {
"orig": 43.3,
"aug": 59.9,
"union": 61.8,
"denominator": "suite_instrumented_executable_lines"
}
}
|