lolbench26's picture
Publish LoLBench Harbor tasks from artifact branch (part 2)
a4edccc verified
Raw History Blame Contribute Delete
58.3 kB
{
"instance_id": "CPython_PEP-791_math-integer-submodule-for-integer-specific-mathematics-functions_PR-133909",
"project": "cpython",
"language": "python",
"requirement_doc": "https://peps.python.org/pep-0791/",
"requirement_doc_title": "PEP 791 \u2014 math.integer submodule",
"pr_link": "https://github.com/python/cpython/pull/133909",
"pr_number": 133909,
"merge_commit": "dcf3cc5796693ba3c3d1ddb8659849635e4fa373",
"base_commit": "680a5d070f59798bb88a1bb6eb027482b8d85c34",
"base_commit_note": "PR-133909 merged 2025-10-31; base_commit is the squash-merge parent.",
"test_level": "system",
"fail_to_pass": [
"test.test_math_integer.IntMathTests.test_factorial",
"test.test_math_integer.IntMathTests.test_factorial_non_integers",
"test.test_math_integer.IntMathTests.test_factorial_huge_inputs",
"test.test_math_integer.IntMathTests.test_gcd",
"test.test_math_integer.IntMathTests.test_lcm",
"test.test_math_integer.IntMathTests.test_isqrt",
"test.test_math_integer.IntMathTests.test_isqrt_huge",
"test.test_math_integer.IntMathTests.test_perm",
"test.test_math_integer.IntMathTests.test_comb",
"test.test_math_integer.MiscTests.test_module_name",
"test.test_math_integer.MathTests.test_factorial",
"test.test_math_integer.MathTests.test_factorial_non_integers",
"test.test_math_integer.MathTests.test_factorial_huge_inputs",
"test.test_math_integer.MathTests.test_gcd",
"test.test_math_integer.MathTests.test_lcm",
"test.test_math_integer.MathTests.test_isqrt",
"test.test_math_integer.MathTests.test_isqrt_huge",
"test.test_math_integer.MathTests.test_perm",
"test.test_math_integer.MathTests.test_comb"
],
"pass_to_pass": [
"test.test_fractions.FractionTest.test_limit_int",
"test.test_fractions.FractionTest.test_is_integer",
"test.test_fractions.FractionTest.test_as_integer_ratio",
"test.test_fractions.FractionTest.test_copy_deepcopy_pickle",
"test.test_fractions.FractionTest.test_slots",
"test.test_fractions.FractionTest.test_int_subclass",
"test.test_fractions.FractionTest.test_format_no_presentation_type",
"test.test_fractions.FractionTest.test_format_e_presentation_type",
"test.test_fractions.FractionTest.test_format_f_presentation_type",
"test.test_fractions.FractionTest.test_format_g_presentation_type",
"test.test_fractions.FractionTest.test_invalid_formats",
"test.test_fractions.FractionTest.test_float_format_testfile",
"test.test_fractions.FractionTest.test_complex_handling",
"test.test_fractions.FractionTest.test_three_argument_pow",
"test.test_statistics.TestModules.test_py_functions",
"test.test_statistics.TestModules.test_c_functions",
"test.test_statistics.ApproxEqualSymmetryTest.test_relative_symmetry",
"test.test_statistics.ApproxEqualSymmetryTest.test_symmetry",
"test.test_statistics.ApproxEqualExactTest.test_exactly_equal_ints",
"test.test_statistics.ApproxEqualExactTest.test_exactly_equal_floats",
"test.test_statistics.ApproxEqualExactTest.test_exactly_equal_fractions",
"test.test_statistics.ApproxEqualExactTest.test_exactly_equal_decimals",
"test.test_statistics.ApproxEqualExactTest.test_exactly_equal_absolute",
"test.test_statistics.ApproxEqualExactTest.test_exactly_equal_absolute_decimals",
"test.test_complex.ComplexTest.test_truediv",
"test.test_complex.ComplexTest.test_truediv_zero_division",
"test.test_complex.ComplexTest.test_floordiv",
"test.test_complex.ComplexTest.test_floordiv_zero_division",
"test.test_complex.ComplexTest.test_richcompare",
"test.test_complex.ComplexTest.test_richcompare_boundaries",
"test.test_complex.ComplexTest.test_add",
"test.test_complex.ComplexTest.test_sub",
"test.test_complex.ComplexTest.test_mul",
"test.test_complex.ComplexTest.test_mod",
"test.test_statistics.ApproxEqualExactTest.test_exactly_equal_relative",
"test.test_statistics.ApproxEqualExactTest.test_exactly_equal_both",
"test.test_statistics.ApproxEqualUnequalTest.test_exactly_unequal_ints",
"test.test_statistics.ApproxEqualUnequalTest.test_exactly_unequal_floats",
"test.test_statistics.ApproxEqualUnequalTest.test_exactly_unequal_fractions",
"test.test_statistics.ApproxEqualUnequalTest.test_exactly_unequal_decimals",
"test.test_statistics.ApproxEqualInexactTest.test_approx_equal_absolute_ints",
"test.test_statistics.ApproxEqualInexactTest.test_approx_equal_absolute_floats",
"test.test_statistics.ApproxEqualInexactTest.test_approx_equal_absolute_fractions",
"test.test_statistics.ApproxEqualInexactTest.test_approx_equal_absolute_decimals",
"test.test_statistics.ApproxEqualInexactTest.test_cross_zero",
"test.test_statistics.ApproxEqualInexactTest.test_approx_equal_relative_ints",
"test.test_statistics.ApproxEqualInexactTest.test_approx_equal_relative_floats",
"test.test_statistics.ApproxEqualInexactTest.test_approx_equal_relative_fractions",
"test.test_statistics.ApproxEqualInexactTest.test_approx_equal_relative_decimals",
"test.test_complex.ComplexTest.test_mod_zero_division",
"test.test_complex.ComplexTest.test_divmod",
"test.test_complex.ComplexTest.test_divmod_zero_division",
"test.test_complex.ComplexTest.test_pow",
"test.test_complex.ComplexTest.test_pow_with_small_integer_exponents",
"test.test_complex.ComplexTest.test_boolcontext",
"test.test_complex.ComplexTest.test_conjugate",
"test.test_complex.ComplexTest.test_constructor",
"test.test_complex.ComplexTest.test___complex__",
"test.test_complex.ComplexTest.test_constructor_special_numbers"
],
"solution_patch_sha256": "491d2efb0b00a8ff9ebbcdcb8a86408546d3b94262148cadbd424d316c782119",
"eval_tests_patch_sha256": "3a1683c03dce80085e60451484fd8a6491fec1e1722267a1a0448a11dd3094df",
"omitted_patch_sha256": "c06e8a411c0c7fd5e744ca31c01541c65aac70331de74e05a9693cf60339890c",
"eval_tests_patch_notes": "NEW Lib/test/test_math_integer.py (10 IntMathTests/MiscTests methods); minor edits to test_math.py and test_capi/test_misc.py.",
"omitted_patch_notes": "Doc/library/math.integer.rst (NEW), Doc/library/math.rst, Doc/library/numeric.rst, Doc/whatsnew/3.15.rst, Misc/NEWS.d/next entry, PCbuild/pythoncore.vcxproj + filters. configure / configure.ac / PC/config.c / Modules/Setup / Modules/Setup.stdlib.in / Tools/clinic/libclinic/app.py / Include/internal/pycore_import.h / Python/stdlib_module_names.h are in solution.patch (build glue required for the new module to link).",
"fixture_taint_summary": "19 F2P: 10 IntMathTests.* + 9 MathTests.* (inherited from IntMathTests with module=math, both classes in NEW Lib/test/test_math_integer.py) + MiscTests.test_module_name. Pre-state: ModuleNotFoundError on test_math_integer import (file doesn't exist at base).",
"triage": {
"fail_to_pass": {
"test.test_math_integer.IntMathTests.test_factorial": {
"system_reason": "New test in NEW test_math_integer.py exercising math.integer public API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.IntMathTests.test_factorial",
"fixture_taint_checked": true,
"fixture_taint_note": "Whole-file ModuleNotFoundError at pre-state."
},
"test.test_math_integer.IntMathTests.test_factorial_non_integers": {
"system_reason": "New test in NEW test_math_integer.py exercising math.integer public API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.IntMathTests.test_factorial_non_integers",
"fixture_taint_checked": true,
"fixture_taint_note": "Whole-file ModuleNotFoundError at pre-state."
},
"test.test_math_integer.IntMathTests.test_factorial_huge_inputs": {
"system_reason": "New test in NEW test_math_integer.py exercising math.integer public API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.IntMathTests.test_factorial_huge_inputs",
"fixture_taint_checked": true,
"fixture_taint_note": "Whole-file ModuleNotFoundError at pre-state."
},
"test.test_math_integer.IntMathTests.test_gcd": {
"system_reason": "New test in NEW test_math_integer.py exercising math.integer public API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.IntMathTests.test_gcd",
"fixture_taint_checked": true,
"fixture_taint_note": "Whole-file ModuleNotFoundError at pre-state."
},
"test.test_math_integer.IntMathTests.test_lcm": {
"system_reason": "New test in NEW test_math_integer.py exercising math.integer public API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.IntMathTests.test_lcm",
"fixture_taint_checked": true,
"fixture_taint_note": "Whole-file ModuleNotFoundError at pre-state."
},
"test.test_math_integer.IntMathTests.test_isqrt": {
"system_reason": "New test in NEW test_math_integer.py exercising math.integer public API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.IntMathTests.test_isqrt",
"fixture_taint_checked": true,
"fixture_taint_note": "Whole-file ModuleNotFoundError at pre-state."
},
"test.test_math_integer.IntMathTests.test_isqrt_huge": {
"system_reason": "New test in NEW test_math_integer.py exercising math.integer public API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.IntMathTests.test_isqrt_huge",
"fixture_taint_checked": true,
"fixture_taint_note": "Whole-file ModuleNotFoundError at pre-state."
},
"test.test_math_integer.IntMathTests.test_perm": {
"system_reason": "New test in NEW test_math_integer.py exercising math.integer public API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.IntMathTests.test_perm",
"fixture_taint_checked": true,
"fixture_taint_note": "Whole-file ModuleNotFoundError at pre-state."
},
"test.test_math_integer.IntMathTests.test_comb": {
"system_reason": "New test in NEW test_math_integer.py exercising math.integer public API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.IntMathTests.test_comb",
"fixture_taint_checked": true,
"fixture_taint_note": "Whole-file ModuleNotFoundError at pre-state."
},
"test.test_math_integer.MiscTests.test_module_name": {
"system_reason": "New test in NEW test_math_integer.py exercising math.integer public API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.MiscTests.test_module_name",
"fixture_taint_checked": true,
"fixture_taint_note": "Whole-file ModuleNotFoundError at pre-state."
},
"test.test_math_integer.MathTests.test_factorial": {
"system_reason": "New test method from NEW test_math_integer.py exercising public math.integer / math API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb} and math.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.MathTests.test_factorial",
"fixture_taint_checked": true,
"fixture_taint_note": "MathTests inherits from IntMathTests with module=math; both are new at merge. Pre-state: file ModuleNotFoundError on import."
},
"test.test_math_integer.MathTests.test_factorial_non_integers": {
"system_reason": "New test method from NEW test_math_integer.py exercising public math.integer / math API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb} and math.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.MathTests.test_factorial_non_integers",
"fixture_taint_checked": true,
"fixture_taint_note": "MathTests inherits from IntMathTests with module=math; both are new at merge. Pre-state: file ModuleNotFoundError on import."
},
"test.test_math_integer.MathTests.test_factorial_huge_inputs": {
"system_reason": "New test method from NEW test_math_integer.py exercising public math.integer / math API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb} and math.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.MathTests.test_factorial_huge_inputs",
"fixture_taint_checked": true,
"fixture_taint_note": "MathTests inherits from IntMathTests with module=math; both are new at merge. Pre-state: file ModuleNotFoundError on import."
},
"test.test_math_integer.MathTests.test_gcd": {
"system_reason": "New test method from NEW test_math_integer.py exercising public math.integer / math API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb} and math.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.MathTests.test_gcd",
"fixture_taint_checked": true,
"fixture_taint_note": "MathTests inherits from IntMathTests with module=math; both are new at merge. Pre-state: file ModuleNotFoundError on import."
},
"test.test_math_integer.MathTests.test_lcm": {
"system_reason": "New test method from NEW test_math_integer.py exercising public math.integer / math API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb} and math.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.MathTests.test_lcm",
"fixture_taint_checked": true,
"fixture_taint_note": "MathTests inherits from IntMathTests with module=math; both are new at merge. Pre-state: file ModuleNotFoundError on import."
},
"test.test_math_integer.MathTests.test_isqrt": {
"system_reason": "New test method from NEW test_math_integer.py exercising public math.integer / math API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb} and math.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.MathTests.test_isqrt",
"fixture_taint_checked": true,
"fixture_taint_note": "MathTests inherits from IntMathTests with module=math; both are new at merge. Pre-state: file ModuleNotFoundError on import."
},
"test.test_math_integer.MathTests.test_isqrt_huge": {
"system_reason": "New test method from NEW test_math_integer.py exercising public math.integer / math API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb} and math.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.MathTests.test_isqrt_huge",
"fixture_taint_checked": true,
"fixture_taint_note": "MathTests inherits from IntMathTests with module=math; both are new at merge. Pre-state: file ModuleNotFoundError on import."
},
"test.test_math_integer.MathTests.test_perm": {
"system_reason": "New test method from NEW test_math_integer.py exercising public math.integer / math API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb} and math.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.MathTests.test_perm",
"fixture_taint_checked": true,
"fixture_taint_note": "MathTests inherits from IntMathTests with module=math; both are new at merge. Pre-state: file ModuleNotFoundError on import."
},
"test.test_math_integer.MathTests.test_comb": {
"system_reason": "New test method from NEW test_math_integer.py exercising public math.integer / math API.",
"public_surface": "math.integer.{factorial,gcd,lcm,isqrt,perm,comb} and math.{factorial,gcd,lcm,isqrt,perm,comb}",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_math_integer.MathTests.test_comb",
"fixture_taint_checked": true,
"fixture_taint_note": "MathTests inherits from IntMathTests with module=math; both are new at merge. Pre-state: file ModuleNotFoundError on import."
}
},
"pass_to_pass": {
"test.test_fractions.FractionTest.test_limit_int": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_fractions.FractionTest.test_limit_int",
"fixture_taint_checked": true
},
"test.test_fractions.FractionTest.test_is_integer": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_fractions.FractionTest.test_is_integer",
"fixture_taint_checked": true
},
"test.test_fractions.FractionTest.test_as_integer_ratio": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_fractions.FractionTest.test_as_integer_ratio",
"fixture_taint_checked": true
},
"test.test_fractions.FractionTest.test_copy_deepcopy_pickle": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_fractions.FractionTest.test_copy_deepcopy_pickle",
"fixture_taint_checked": true
},
"test.test_fractions.FractionTest.test_slots": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_fractions.FractionTest.test_slots",
"fixture_taint_checked": true
},
"test.test_fractions.FractionTest.test_int_subclass": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_fractions.FractionTest.test_int_subclass",
"fixture_taint_checked": true
},
"test.test_fractions.FractionTest.test_format_no_presentation_type": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_fractions.FractionTest.test_format_no_presentation_type",
"fixture_taint_checked": true
},
"test.test_fractions.FractionTest.test_format_e_presentation_type": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_fractions.FractionTest.test_format_e_presentation_type",
"fixture_taint_checked": true
},
"test.test_fractions.FractionTest.test_format_f_presentation_type": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_fractions.FractionTest.test_format_f_presentation_type",
"fixture_taint_checked": true
},
"test.test_fractions.FractionTest.test_format_g_presentation_type": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_fractions.FractionTest.test_format_g_presentation_type",
"fixture_taint_checked": true
},
"test.test_fractions.FractionTest.test_invalid_formats": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_fractions.FractionTest.test_invalid_formats",
"fixture_taint_checked": true
},
"test.test_fractions.FractionTest.test_float_format_testfile": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_fractions.FractionTest.test_float_format_testfile",
"fixture_taint_checked": true
},
"test.test_fractions.FractionTest.test_complex_handling": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_fractions.FractionTest.test_complex_handling",
"fixture_taint_checked": true
},
"test.test_fractions.FractionTest.test_three_argument_pow": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_fractions.FractionTest.test_three_argument_pow",
"fixture_taint_checked": true
},
"test.test_statistics.TestModules.test_py_functions": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.TestModules.test_py_functions",
"fixture_taint_checked": true
},
"test.test_statistics.TestModules.test_c_functions": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.TestModules.test_c_functions",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualSymmetryTest.test_relative_symmetry": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualSymmetryTest.test_relative_symmetry",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualSymmetryTest.test_symmetry": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualSymmetryTest.test_symmetry",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualExactTest.test_exactly_equal_ints": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualExactTest.test_exactly_equal_ints",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualExactTest.test_exactly_equal_floats": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualExactTest.test_exactly_equal_floats",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualExactTest.test_exactly_equal_fractions": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualExactTest.test_exactly_equal_fractions",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualExactTest.test_exactly_equal_decimals": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualExactTest.test_exactly_equal_decimals",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualExactTest.test_exactly_equal_absolute": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualExactTest.test_exactly_equal_absolute",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualExactTest.test_exactly_equal_absolute_decimals": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualExactTest.test_exactly_equal_absolute_decimals",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_truediv": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_truediv",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_truediv_zero_division": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_truediv_zero_division",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_floordiv": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_floordiv",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_floordiv_zero_division": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_floordiv_zero_division",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_richcompare": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_richcompare",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_richcompare_boundaries": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_richcompare_boundaries",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_add": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_add",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_sub": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_sub",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_mul": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_mul",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_mod": {
"system_reason": "Pre-existing test in math-related neighbor (decimal, fractions, statistics, complex, cmath, numeric_tower) \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API (decimal, fractions, statistics, complex, cmath)",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_mod",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualExactTest.test_exactly_equal_relative": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualExactTest.test_exactly_equal_relative",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualExactTest.test_exactly_equal_both": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualExactTest.test_exactly_equal_both",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualUnequalTest.test_exactly_unequal_ints": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualUnequalTest.test_exactly_unequal_ints",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualUnequalTest.test_exactly_unequal_floats": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualUnequalTest.test_exactly_unequal_floats",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualUnequalTest.test_exactly_unequal_fractions": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualUnequalTest.test_exactly_unequal_fractions",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualUnequalTest.test_exactly_unequal_decimals": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualUnequalTest.test_exactly_unequal_decimals",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualInexactTest.test_approx_equal_absolute_ints": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualInexactTest.test_approx_equal_absolute_ints",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualInexactTest.test_approx_equal_absolute_floats": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualInexactTest.test_approx_equal_absolute_floats",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualInexactTest.test_approx_equal_absolute_fractions": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualInexactTest.test_approx_equal_absolute_fractions",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualInexactTest.test_approx_equal_absolute_decimals": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualInexactTest.test_approx_equal_absolute_decimals",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualInexactTest.test_cross_zero": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualInexactTest.test_cross_zero",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualInexactTest.test_approx_equal_relative_ints": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualInexactTest.test_approx_equal_relative_ints",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualInexactTest.test_approx_equal_relative_floats": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualInexactTest.test_approx_equal_relative_floats",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualInexactTest.test_approx_equal_relative_fractions": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualInexactTest.test_approx_equal_relative_fractions",
"fixture_taint_checked": true
},
"test.test_statistics.ApproxEqualInexactTest.test_approx_equal_relative_decimals": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_statistics.ApproxEqualInexactTest.test_approx_equal_relative_decimals",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_mod_zero_division": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_mod_zero_division",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_divmod": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_divmod",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_divmod_zero_division": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_divmod_zero_division",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_pow": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_pow",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_pow_with_small_integer_exponents": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_pow_with_small_integer_exponents",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_boolcontext": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_boolcontext",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_conjugate": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_conjugate",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_constructor": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_constructor",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test___complex__": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test___complex__",
"fixture_taint_checked": true
},
"test.test_complex.ComplexTest.test_constructor_special_numbers": {
"system_reason": "Pre-existing test in numeric-neighbor file \u2014 NOT modified by this PR.",
"public_surface": "Public stdlib numeric API",
"internal_symbol_check": [],
"uses_allowlisted_private": [],
"runner_surface": "./python -m unittest -v test.test_complex.ComplexTest.test_constructor_special_numbers",
"fixture_taint_checked": true
}
}
},
"augmented": {
"eval_tests_aug_patch_sha256": "bcc6c3dc6c90d46debda415d38db2e891d06eae5e6e88d7a38c28da7a7e5d27d",
"f2p_aug_sha256": "a95a7a7231b96b2ee3037ed054971e13e9a2069237079d23ff49bc5d013dc2a3",
"p2p_aug_sha256": "1958d7c6596330499df63c984732c7b2838ddb898926ab834e99f31424d1a37e",
"fail_to_pass": [
"test.test_math_integer_aug.IntegerSubmoduleAugmentedTests.test_module_identity_and_alias_metadata",
"test.test_math_integer_aug.IntegerSubmoduleAugmentedTests.test_gcd_lcm_variadic_and_index_edges",
"test.test_math_integer_aug.IntegerSubmoduleAugmentedTests.test_isqrt_factorial_boundary_paths",
"test.test_math_integer_aug.IntegerSubmoduleAugmentedTests.test_perm_comb_small_large_and_error_paths"
],
"pass_to_pass": [
"test.test_math_integer_p2p_aug.NumericBackwardsCompatibilityAugmentedTests.test_fraction_and_statistics_unmodified",
"test.test_math_integer_p2p_aug.NumericBackwardsCompatibilityAugmentedTests.test_complex_arithmetic_unmodified"
],
"triage": {
"test_level_policy": "Augmented F2P tests exercise only the public math.integer submodule, the public math aliases it documents, and sys.stdlib_module_names as the public standard-library module registry. Augmented P2P tests use untouched public fractions, statistics, and complex-number behavior. They do not call CPython private C APIs, Argument Clinic helpers, or generated internals.",
"fail_to_pass": {
"test.test_math_integer_aug.IntegerSubmoduleAugmentedTests.test_module_identity_and_alias_metadata": {
"requirement_sections": [
"Specification"
],
"public_surface": "math.integer import identity, math.integer.__name__, sys.modules['math.integer'], sys.stdlib_module_names, and math/math.integer aliases for comb, factorial, gcd, isqrt, lcm, and perm.",
"mutants_targeted": [
"mutant_001_module_name_left_private",
"mutant_002_function_module_not_rewritten",
"mutant_003_submodule_registered_wrong",
"mutant_004_math_integer_attribute_misspelled",
"mutant_005_math_aliases_omitted",
"mutant_006_math_aliases_omitted",
"mutant_025_stdlib_module_names_missing_private_extension"
],
"rationale": "PEP 791 specifies a math.integer submodule for the integer-specific math functions while preserving math-level availability; this pins the public import surface, module metadata, and alias wiring rather than CPython internals."
},
"test.test_math_integer_aug.IntegerSubmoduleAugmentedTests.test_gcd_lcm_variadic_and_index_edges": {
"requirement_sections": [
"Specification"
],
"public_surface": "math.integer.gcd and math.integer.lcm public call semantics for zero arguments, sign normalization, variadic arguments, __index__ conversion, and conversion errors.",
"mutants_targeted": [
"mutant_007_gcd_no_args_returns_one",
"mutant_008_gcd_single_negative_keeps_sign",
"mutant_009_gcd_variadic_skips_middle_argument",
"mutant_010_lcm_no_args_returns_zero",
"mutant_011_lcm_zero_argument_returns_one",
"mutant_012_lcm_single_negative_keeps_sign"
],
"rationale": "The specified integer functions must behave like their math predecessors through the new submodule, including variadic identity values, absolute-value normalization, and normal integer conversion/error paths."
},
"test.test_math_integer_aug.IntegerSubmoduleAugmentedTests.test_isqrt_factorial_boundary_paths": {
"requirement_sections": [
"Specification"
],
"public_surface": "math.integer.isqrt and math.integer.factorial public call semantics for small, boundary, huge, negative, and __index__-converted inputs.",
"mutants_targeted": [
"mutant_013_isqrt_zero_returns_one",
"mutant_014_isqrt_non_square_rounds_up",
"mutant_015_factorial_small_loop_off_by_one",
"mutant_016_factorial_large_shift_wrong"
],
"rationale": "These checks expand the public boundary and large-integer paths for two specified math.integer functions without relying on generated helper symbols."
},
"test.test_math_integer_aug.IntegerSubmoduleAugmentedTests.test_perm_comb_small_large_and_error_paths": {
"requirement_sections": [
"Specification"
],
"public_surface": "math.integer.perm and math.integer.comb public call semantics for k omitted, k > n, small cases, huge integer cases, negative arguments, overflow checks, and __index__ conversion.",
"mutants_targeted": [
"mutant_017_perm_n_none_identity_wrong",
"mutant_018_perm_k_greater_than_n_nonzero",
"mutant_019_perm_small_result_wrong",
"mutant_020_perm_large_path_uses_comb",
"mutant_021_comb_k_greater_than_n_nonzero",
"mutant_022_comb_small_result_wrong",
"mutant_023_comb_large_path_uses_perm",
"mutant_024_comb_middle_result_not_divided"
],
"rationale": "PEP 791 exposes perm and comb in math.integer; this test covers the documented public results and error boundaries that are easy to regress in specialized large-integer implementations."
}
},
"pass_to_pass": {
"test.test_math_integer_p2p_aug.NumericBackwardsCompatibilityAugmentedTests.test_fraction_and_statistics_unmodified": {
"requirement_sections": [
"Backwards Compatibility"
],
"public_surface": "fractions.Fraction and statistics.mean/median public numeric APIs.",
"rationale": "PEP 791 says no backward-incompatible changes are expected; this guards unaffected rational-number and statistics workflows while the new integer math module is introduced."
},
"test.test_math_integer_p2p_aug.NumericBackwardsCompatibilityAugmentedTests.test_complex_arithmetic_unmodified": {
"requirement_sections": [
"Backwards Compatibility"
],
"public_surface": "complex arithmetic, conjugate(), multiplication, and division error behavior.",
"rationale": "The math.integer patch should not perturb unrelated numeric runtime behavior, so this remains a collateral-regression check instead of another math.integer oracle."
}
}
}
},
"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": null,
"pr_url": "https://github.com/python/cpython/pull/133909",
"pep": "PEP 791",
"pep_title": "math.integer submodule for integer-specific mathematics functions",
"pep_url": "https://peps.python.org/pep-0791/",
"coverage_gap_note": "Augmented union coverage is 86.1% with coverage_complete=true. The augmented F2P sidecar adds public math.integer metadata, alias, variadic, boundary, large-integer, and error-path checks. The coverage parser also ignores gcovr entries marked gcovr/noncode so executable_lines_in_patch reflects executable C statements rather than blank/comment/brace-only source lines.",
"pr_head_sha": "0f385a5da3edb031def243999e32ae1399c9486a",
"merge_commit_sha": "dcf3cc5796693ba3c3d1ddb8659849635e4fa373",
"integration_commit_sha": "dcf3cc5796693ba3c3d1ddb8659849635e4fa373",
"diff_source": "git diff --no-renames base..merge (squash-merge parent equals CSV base_commit)",
"repo": "python/cpython",
"image": "lolbench/cpython-pr-133909:1",
"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-133909:1"
},
"test_framework": "cpython_regrtest",
"test_cmd_template": "python -m test <test_selector>",
"log_parser": "python_unittest",
"validation_summary": {
"status": "not_recorded",
"note": "No detailed validation metadata was present before the 2026-06-10 completeness normalization."
},
"coverage": {
"orig": 85.0,
"aug": 81.84,
"union": 86.05,
"denominator": "union_executable_lines"
}
}