Skip to content

Instantly share code, notes, and snippets.

@DRMacIver
Created April 3, 2019 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DRMacIver/1a611c155b4b0178d99689517824d438 to your computer and use it in GitHub Desktop.
Save DRMacIver/1a611c155b4b0178d99689517824d438 to your computer and use it in GitHub Desktop.
{"Type: ZeroDivisionError\nMessage: integer division or modulo by zero\nLocation: core/numbers.py:2094": {"sizes": [10, 13, 7, 10, 8, 7, 15, 7, 9, 7, 7, 8, 11, 8, 10, 8, 7, 8, 10, 7, 10, 10, 7, 8, 7, 11, 11, 7, 12, 8, 8, 9, 7, 9, 10, 9, 15, 9, 8, 8, 8, 7, 11, 18, 10, 11, 8, 8, 10, 9, 9, 8, 7, 9, 8, 8, 9, 7, 7, 8, 8, 7, 10, 8, 8, 7, 9, 8, 11, 7, 7, 10, 8, 12, 12, 7, 8, 9, 10, 9, 13, 7, 9, 7, 9, 8, 8, 9, 12, 10, 7, 8, 10, 7, 7, 9, 9, 10, 7, 10, 8, 8, 8, 9, 9, 8, 8, 8, 13, 7, 8, 7, 8, 7, 8, 11, 10, 8, 10, 10, 9, 7, 9, 10, 9, 8, 8, 9, 8, 7, 8, 11, 9, 7, 9, 10, 9, 10, 9, 9, 9, 8, 10, 8, 8, 8, 8, 8, 8, 8, 7, 8, 7, 12, 8, 8, 8, 9, 9, 9, 8, 10, 8, 8, 9, 11, 11, 7, 10, 8, 8, 7, 7, 9, 11, 8, 10, 10, 8, 14, 7, 8, 8, 8, 10, 7, 10, 8, 12, 9, 7, 8, 8, 11, 15, 8, 8, 11, 9, 7, 7, 8, 8, 9, 9, 9, 10, 11, 7, 8, 8, 10, 11, 9, 10, 8, 8, 17, 7, 7, 7, 11, 10, 10, 7, 9, 8, 8, 7, 7, 8, 10, 8, 11, 9, 8, 9, 8, 7, 8, 12, 8, 7, 11, 8, 8, 9, 8, 9, 10, 8, 9, 7, 9, 7, 8, 8, 10, 8, 8, 7, 7, 7, 8, 11, 7, 7, 7, 9, 9, 12, 8, 7, 10, 9, 9, 9, 9, 8, 10, 7, 12, 9, 9, 7, 7, 9, 7, 11, 9, 9, 8, 11, 7, 8, 10, 9, 11, 9, 9, 9, 9, 9, 10, 7, 7, 7, 7, 8, 9, 8, 8, 8, 10, 12, 9, 9, 8, 8, 7, 9, 9, 9, 7, 11, 9, 7, 9, 11, 8, 8, 9, 10, 7, 12, 7, 8, 8, 9, 9, 10, 8, 9, 8, 7, 10, 9, 13, 7, 8, 8, 9, 10, 9, 9, 7, 7, 8, 9, 7, 8, 9, 9, 8, 10, 7, 7, 9, 9, 9, 8, 10, 9, 9, 13, 10, 8, 8, 9, 8, 8, 8, 7, 7, 8, 7, 8, 11, 10, 9, 12, 10, 8, 8, 9, 7, 8, 9, 8, 10, 8, 8, 8, 9, 7, 10, 9, 8, 9, 11, 8, 10, 9, 8, 9, 8, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 7, 7, 9, 7, 11, 11, 7, 7, 9, 16, 10, 8, 10, 8, 7, 7, 8, 10, 10, 10, 8, 11, 8, 7, 8, 8, 7, 7, 7, 9, 8, 9, 9, 7, 8, 9, 9, 7, 9, 8, 11, 14, 9, 10, 8, 8, 10], "best": ["state = SympyRules()", "v1 = state.constants_are_expr(x=pi)", "v2 = state.constants_are_expr(x=I)", "v3 = state.mod_expr(x=v2, y=v1)", "v4 = state.mod_expr(x=v3, y=v3)", "v5 = state.subs_expr(x=v3, y=v1, z=v4)", "state.teardown()"]}, "Type: TypeError\nMessage: Invalid NaN comparison\nLocation: core/expr.py:323": {"sizes": [9, 11, 9, 9, 8, 9, 10, 9, 9, 9, 10, 10, 9, 9, 9, 9, 9, 8, 9, 10, 10, 7, 9, 9, 9, 11, 9, 9, 7, 8, 10, 9, 11, 10, 9, 9, 10, 9, 8, 9, 9, 10, 9, 9, 9, 11, 10, 8, 10, 9, 9, 11, 9, 9, 13, 9, 10, 8, 8, 10, 11, 10, 8, 9, 7, 10, 9, 10, 11, 9, 9, 9, 9, 9, 10, 10, 9, 10, 9, 9, 11, 9, 9, 8, 10, 9, 9, 8, 9, 9, 9, 8, 9, 9, 10, 9, 10, 10, 9, 9, 7, 9, 21, 9, 9, 9, 9, 9, 9, 10, 10, 9, 9, 9, 12, 9, 8, 10, 10, 9, 11, 9, 10, 9, 10, 10, 7, 9, 9, 9, 10, 10, 9, 8, 9, 9, 9, 9, 9, 11, 9, 9, 11, 11, 9, 9, 8, 9, 8, 11, 7, 10, 8, 9, 7, 9, 9, 9, 9, 9, 9, 9, 9, 9, 7, 9, 11, 8, 9, 9, 10, 9, 9, 8, 9, 10, 10, 9, 8, 9, 11, 9, 8, 9, 10, 8, 8, 10, 13, 7, 9, 16, 9, 9, 8, 9, 10, 11, 10, 8, 10, 10, 8, 9, 9, 7, 7, 12, 9, 10, 8, 9, 9, 10, 12, 10, 9, 9, 8, 8, 9, 7, 10, 9, 9, 7, 8, 9, 13, 7, 9, 7, 9, 8, 9, 9, 8, 8, 10, 9, 8, 9, 9, 8, 9, 9, 10, 9, 9, 8, 9, 11, 9, 11, 10, 9, 8, 9, 10, 9, 10, 12, 9, 9, 10, 9, 9, 9, 11, 11, 10, 9, 10, 7, 8, 10, 8, 9, 10, 10, 10, 11, 8, 9, 10, 10, 10, 10, 12, 9, 10, 11, 7, 9, 9, 9, 9, 9, 10, 7, 9, 10, 7, 9, 9, 9, 8, 9, 7, 9, 11, 8, 8, 7, 9, 8, 9, 7, 10, 8, 10, 10, 10, 10, 10, 10, 9, 8, 9, 8, 9, 10, 9, 11, 7, 9, 8, 9, 9, 9, 8, 9, 8, 10, 9, 9, 11, 9, 9, 9, 8, 10, 9, 10, 8, 8, 9, 12, 9, 9, 12, 10, 10, 10], "best": ["state = SympyRules()", "v1 = state.constants_are_expr(x=pi)", "v2 = state.constants_are_expr(x=I)", "v3 = state.fn_expr(fn=atan, x=v2)", "v4 = state.add_expr_ops(op=<function _operator.add>, x=v3, y=v1)", "v5 = state.mod_expr(x=v2, y=v4)", "state.teardown()"]}, "Type: TypeError\nMessage: 'mpf' object is not iterable\nLocation: core/numbers.py:90": {"sizes": [15, 8, 11, 12, 8, 9, 16, 8, 10, 8, 8, 8, 9, 10, 12, 8, 8, 9, 9, 8, 8, 10, 8, 8, 11, 9, 8, 9, 8, 10, 9, 8, 12, 8, 8, 8, 11, 10, 10, 8, 11, 9, 9, 9, 9, 9, 12, 8, 8, 8, 8, 10, 9, 11, 8, 11, 9, 11, 8, 19, 11, 9, 14, 8, 8, 8, 8, 8, 10, 8, 8, 8, 16, 8, 8, 9, 9, 8, 10, 8, 8, 8, 8, 8, 10, 8, 8, 8, 11, 8, 8, 8, 9, 8, 9, 9, 9, 24, 10, 10, 8, 8, 9, 10, 8, 9, 12, 11, 8, 11, 8, 9, 8, 8, 9, 10, 9, 8, 8, 8, 10, 8, 8, 11, 9, 8, 8, 8, 8, 8, 8, 9, 9, 9, 12, 11, 17, 9, 9, 11, 8, 9, 10, 9, 12, 8, 8, 8, 9, 8, 8, 9, 8, 21, 8, 9, 8, 10, 8, 9, 15, 9, 9, 8, 8, 9, 10, 13, 8, 8, 9, 16, 8, 10, 9, 9, 9, 8, 9, 10, 8, 8, 10, 8, 8, 8, 9, 9, 10, 12, 8, 10, 9, 9, 9, 8, 8, 9, 10, 8, 8, 8, 8, 9, 10, 9, 8, 11, 9, 8, 8, 8, 8, 17, 9, 8, 8, 10, 8, 8, 9, 9, 8, 8, 8, 9, 8, 10, 8, 9, 9, 8, 8, 8, 8, 9, 9, 8, 8, 9, 8, 8, 8, 16, 8, 11, 8, 10, 8, 9, 10, 8, 8, 9, 14, 16, 8, 9, 9, 9, 8, 10, 9, 12, 9, 9, 13, 8, 11, 11, 9, 9, 8, 16, 10, 8, 10, 8, 9, 9, 9, 8, 9, 9, 8, 9, 8, 8, 9, 8, 8, 8, 9, 9, 10, 8, 37, 9, 9, 8, 8, 11, 8, 9, 9, 9, 9, 9, 9, 11, 9, 9, 8, 8, 8, 9, 9, 17, 9, 9, 8, 8, 9, 8, 20, 15, 8, 9, 10, 10, 8, 8, 9, 10, 9, 8, 8, 9, 15, 12, 9, 23, 10, 20, 8, 9, 8, 10, 8, 11, 8, 10, 10, 10, 10, 8, 8, 12, 8, 8, 8, 8, 9, 8, 8, 10, 9, 8, 10, 14, 8, 12, 9, 12, 9, 8, 10, 8, 9, 8, 8, 8, 9, 8, 10, 9, 9, 15, 8, 9, 10, 8, 8, 9, 10, 10, 13, 10, 8, 8, 10, 8, 8, 8, 8, 8, 8, 21, 9, 10, 10, 8, 8, 8, 8, 8, 11, 8, 8, 9, 10, 11, 10, 8, 10, 9, 8, 8, 10, 8, 8, 8, 9, 8, 12, 10, 8, 8, 8, 8, 10, 10, 9, 8, 8, 10, 8, 8, 9, 8, 9, 9, 9, 8, 9, 8, 9, 16, 11, 9, 8, 8, 18, 12, 10, 8, 9, 9, 12, 8, 9, 8, 10, 12, 9, 10, 9, 8, 10, 10, 8, 13, 9, 10, 8, 8, 9, 11, 9, 9, 8, 10, 10, 10, 9, 10, 9, 8, 15, 8, 9, 8, 9, 8, 9, 23, 9, 9, 9, 8, 10, 9, 8, 9, 10, 8, 8, 8, 8, 9], "best": ["state = SympyRules()", "v1 = state.gen_c(x=0)", "v2 = state.c_is_expr(x=v1)", "v3 = state.constants_are_expr(x=pi)", "v4 = state.gen_v(x='a')", "v5 = state.combine_many(f=v1, op=sympy.concrete.summations.Sum, t=v1, var=v4, x=v2)", "v6 = state.mod_expr(x=v3, y=v5)", "state.teardown()"]}, "Type: OverflowError\nMessage: cannot convert float infinity to integer\nLocation: core/expr.py:3326": {"sizes": [8, 9, 9, 10, 8, 8, 8, 9, 9, 8, 8, 8, 8, 8, 9, 9, 11, 8, 8, 11, 8, 8, 9, 9, 8, 8, 9, 10, 9, 8, 9, 8, 8, 8, 8, 9, 9, 9, 9, 8, 8, 8, 9, 8, 10, 8, 8, 8, 9, 10, 8, 9, 9, 8, 8, 8, 8, 8, 8, 8, 9, 8, 9, 9, 10, 8, 8, 8, 9, 8, 8, 8, 8, 8, 8, 10, 8, 8, 9, 8, 11, 9, 8, 9, 8, 10, 8, 9, 9, 8, 13, 8, 9, 8, 8, 8, 8, 8, 8, 8, 11, 8, 8, 9, 9, 9, 12, 8, 11, 8, 9, 8, 8, 8, 8, 9, 9, 10, 10, 8, 8, 10, 9, 8, 9, 9, 8, 8, 8, 9, 8, 9, 8, 9, 8, 9, 8, 8, 8, 9, 9, 8, 8, 8, 8, 8, 9, 8, 9, 8, 8, 9, 8, 9, 8, 8, 8, 9, 8, 8, 8, 8, 9, 10, 9, 8, 8, 8, 8, 10, 10, 8, 8, 10, 8, 9, 9, 10, 8, 9, 8, 12, 8, 9, 9, 9, 8, 10, 8, 9, 8, 9, 8, 8, 13, 8, 8, 12, 8, 8, 9, 10, 8, 9, 8, 8, 8, 8, 8, 9, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 8, 10, 8, 8, 9, 9, 8, 8, 9, 8, 10, 10, 8, 8, 8, 9, 8, 8, 8, 8, 8, 12, 9, 8, 9, 10, 8, 8, 8, 9, 8, 9, 8, 10, 8, 9, 8, 8, 9, 8, 8, 8, 9, 8, 8, 8, 8, 11, 8, 8, 8, 8, 8, 9, 9, 8, 8, 8, 8, 8, 8, 9, 8, 8, 8, 8, 9, 8, 10, 9, 9, 10, 8], "best": ["state = SympyRules()", "v1 = state.constants_are_expr(x=I)", "v2 = state.fn_expr(fn=atan, x=v1)", "v3 = state.fn_expr(fn=<function sympy.functions.elementary.miscellaneous.sqrt>, x=v2)", "v4 = state.fn_expr(fn=asin, x=v3)", "v5 = state.constants_are_expr(x=pi)", "v6 = state.mod_expr(x=v5, y=v4)", "state.teardown()"]}, "Type: OverflowError\nMessage: absolute value too large\nLocation: sympy/test.py:187": {"sizes": [8, 11, 10, 7, 7, 10, 10, 7, 14, 11, 11, 9, 10, 12, 11, 16, 9, 8], "best": ["state = SympyRules()", "v1 = state.gen_v(x='a')", "v2 = state.v_is_expr(x=v1)", "v3 = state.fn_expr(fn=<function sympy.functions.elementary.miscellaneous.sqrt>, x=v2)", "v4 = state.add_expr_ops(op=<function _operator.pow>, x=v2, y=v3)", "state.assignment_commutes_with_simplify(data=data(...), source=v4)", "state.teardown()"]}, "Type: AssertionError\nMessage: \nLocation: sympy/test.py:187": {"sizes": [8, 7, 8, 8, 9, 15, 14, 9, 8, 8, 8, 9, 9, 8, 9, 9, 8, 8, 8, 9, 8, 9, 8, 8, 8, 9, 8, 10, 8, 12, 8, 7, 11, 8, 8, 11, 10, 11, 7, 8, 8, 7, 8, 8, 7, 11, 8, 8, 11, 8, 12, 8, 8, 9, 11, 10, 8, 8, 7, 17, 9, 11, 8, 8, 11, 11, 10, 8, 8, 8, 8, 7, 8, 11, 11, 10, 11, 7, 7, 8, 11, 9, 10, 9, 8, 9, 9, 10, 10, 7, 8, 7, 8, 7, 9, 8, 11, 12, 10, 9, 8, 8, 8, 8, 9, 8, 8, 8, 8, 7, 8, 10, 9, 10, 8, 8, 12, 9, 11, 7, 8, 8, 8, 12, 9, 13, 12, 8, 10, 9, 9, 9, 8, 10, 9, 11, 10, 10, 7, 7, 8, 8, 8, 8, 7, 7, 9, 9, 11, 9, 10, 8, 8, 7, 11, 10, 9, 40, 10, 11, 8, 7, 7, 10, 7, 8, 10, 8, 9, 7, 10, 8, 9, 8, 9, 8, 8, 8, 11, 11, 8, 9, 11, 9, 8, 9, 8, 8, 8, 8, 10, 8, 8, 9, 8, 10, 8, 15, 9, 8, 10, 10, 12, 8, 9, 7, 7, 8, 14, 8, 8, 8, 8, 8, 8, 10, 10, 7, 9, 9, 8, 9, 9, 8, 9, 7, 12, 10, 11, 7, 8, 10, 9, 10, 9, 7, 8, 10, 13, 7, 7, 8, 10, 9, 9, 12, 9, 7, 8, 9, 9, 9, 9, 9, 8, 12, 18], "best": ["state = SympyRules()", "v1 = state.gen_v(x='a')", "v2 = state.v_is_expr(x=v1)", "v3 = state.fn_expr(fn=sin, x=v2)", "v4 = state.fn_expr(fn=asin, x=v3)", "state.assignment_commutes_with_simplify(data=data(...), source=v4)", "state.teardown()"]}, "Type: AttributeError\nMessage: 'NaN' object has no attribute '_mpf_'\nLocation: core/expr.py:3326": {"sizes": [7, 9, 7, 7, 9, 7, 9, 9, 9, 7, 10, 8, 10, 9, 7, 7, 9, 8, 10, 10, 9, 8, 10, 7, 8, 9, 7, 7, 8, 10, 8, 8, 7, 9, 7, 13, 8, 8, 7, 7, 7, 8, 8, 8, 11, 8, 10, 8, 15, 7, 8, 9, 6, 8, 8, 8, 12, 7, 9, 19, 11, 7, 11, 9, 10, 7, 8, 10, 9, 9, 8, 8, 7, 8, 9, 8, 7, 7, 8, 7, 8, 7, 9, 7, 8, 7, 7, 7, 9, 8, 9, 9, 9, 7, 10, 10, 9, 7, 8, 7, 7, 8, 9, 9, 8, 8, 9, 8, 8, 8, 7, 7, 7, 8, 8, 7, 9, 7, 7, 9, 9, 9, 7, 8, 8, 9, 8, 7, 6, 10, 8, 9, 9, 10, 9, 7, 7, 7, 8, 7, 9, 7, 8, 7, 6, 11, 7, 8, 10, 8, 9, 7, 10, 7, 8, 8, 8, 8, 9, 9, 7, 7, 7, 9, 12, 11, 7, 7, 7, 7, 9, 7, 7, 8, 11, 13, 13, 8, 9, 7, 6, 8, 8, 10, 8, 9, 12, 10, 12, 7, 7, 9, 8, 7, 7, 7, 9, 11, 9, 10, 7, 7, 8, 7, 6, 9, 8, 9, 8, 12, 7, 7, 8, 8, 7, 7, 7, 10, 16, 9, 10, 9, 11, 7, 8, 8, 10, 9, 9, 9, 8, 10, 8, 6, 9, 9, 9, 10, 7, 7, 7, 10, 9, 9, 7, 8, 11, 9, 7, 7, 9, 9, 9, 7, 7, 6, 8, 10, 6, 9, 7, 12, 9, 7, 10, 7, 7, 6, 9, 8, 7, 8, 7, 9, 8, 9, 8, 10, 8, 7, 9, 6, 10, 7, 7, 8, 7, 7], "best": ["state = SympyRules()", "v1 = state.constants_are_expr(x=I)", "v2 = state.fn_expr(fn=atan, x=v1)", "v3 = state.fn_expr(fn=factorial, x=v2)", "v4 = state.mod_expr(x=v3, y=v1)", "state.teardown()"]}, "Type: TypeError\nMessage: can't convert expression to float\nLocation: core/expr.py:239": {"sizes": [12, 10, 14, 11, 11, 10, 12, 12, 14, 11, 12, 11, 10, 14, 11, 13, 11, 9, 10, 11, 11, 12, 9, 10, 9, 10, 10, 12, 9, 11, 10, 10, 9, 9, 9, 11, 10, 9, 11, 10, 10, 10, 12, 11, 9, 9, 12, 28, 10, 9, 10, 11, 9, 9, 9, 11, 9, 13, 13, 11, 10, 10, 11, 10, 12, 13, 9, 11, 10, 9, 11, 9, 10, 10, 9, 12, 13, 10, 12, 11, 9, 9, 11, 11], "best": ["state = SympyRules()", "v1 = state.constants_are_expr(x=I)", "v2 = state.gen_v(x='a')", "v3 = state.v_is_expr(x=v2)", "v4 = state.fn_expr(fn=sin, x=v3)", "v5 = state.fn_expr(fn=asin, x=v4)", "v6 = state.mod_expr(x=v5, y=v1)", "state.assignment_commutes_with_simplify(data=data(...), source=v6)", "state.teardown()"]}, "Type: TypeError\nMessage: Invalid comparison of complex\nLocation: core/expr.py:321": {"sizes": [7, 12, 10, 7, 7, 9, 7, 11, 7, 7, 7, 7, 9, 8, 7, 7, 10, 10, 7, 7, 7, 10, 10, 7, 8, 10, 7, 7, 7, 7, 7, 6, 10, 7, 7, 6, 10, 7, 7, 7, 7, 7, 8, 10, 7, 8, 7, 8, 10, 7, 7, 7, 7, 9, 8, 8, 7, 7, 7, 6, 10, 7, 7, 7, 7, 8, 10, 6, 7, 7, 8, 8, 8, 10, 8, 7, 8, 9, 8, 11, 7, 10, 8, 7, 7, 12, 7, 7, 9, 7, 7, 7, 6, 7, 7, 7, 7, 8, 7, 8, 8, 8, 6, 6, 11, 7, 7, 7, 7, 7, 7, 9, 7, 8, 7, 7, 8, 10, 7, 9, 8, 7, 8, 7, 8, 7, 7, 9, 11, 7, 7, 8, 7, 8, 11, 8, 7, 8, 6, 9, 8, 7, 9, 10, 7, 11, 8, 7, 8, 7, 7, 7, 8, 6, 7, 7, 7, 9, 7, 7, 7, 7, 7, 8, 8, 7, 7, 7, 6, 7, 7, 7, 7, 7, 7, 10, 10, 7, 12, 7, 9, 8, 8, 7, 8, 7, 7, 9, 7, 8, 7, 7, 9, 7, 7, 8, 7, 7, 8, 7, 7, 7, 11, 8, 8, 6, 11, 7, 8, 7, 11, 8, 10, 7, 8, 11, 7, 7, 7, 10, 8, 7, 6, 7, 7, 7, 7, 7, 7, 11, 7, 14, 7, 7, 8, 9, 7, 7, 11, 11, 11, 7, 10, 8, 8, 7, 7, 8, 10, 7, 7, 7, 8, 8, 9, 7, 7, 10, 6, 10, 7, 7, 8, 8, 7, 7, 7, 8, 10, 8, 7, 9, 7, 11, 7, 7, 10, 11, 7, 8, 9, 7, 11, 7, 15, 8, 6, 13, 7, 7, 8, 12, 7, 7, 7, 7, 7, 6, 10, 9, 10, 7, 11, 8, 8, 10, 8, 7, 9, 7, 8, 8, 11, 8, 6, 11, 7, 8, 7, 11, 7, 7, 7, 7, 7, 10, 7, 7, 10, 7, 8, 8, 7, 6, 8, 8, 7, 7, 7, 8, 7, 8, 6, 6, 7, 8, 8, 7, 8, 10, 8, 7, 7, 7, 7, 8, 7, 7, 7, 7, 9, 7, 7, 8, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 7, 7, 8, 9, 8, 6, 10, 7, 7, 7, 7, 10, 7, 7, 7, 7, 7, 7, 7, 11, 8, 9, 7, 7, 8, 9, 7, 7, 7, 8, 10, 8, 7, 7, 8, 7, 13, 10, 9, 7, 7, 6, 7, 8, 7, 23, 7, 7, 7, 7, 9, 7, 7, 8, 7, 7, 7, 9, 7, 7, 8, 7, 8, 7, 8, 6, 10, 6, 7, 9, 7, 7, 7, 9, 12, 7, 7, 8, 7, 7, 7, 8, 10, 8, 7, 7, 9, 7, 7, 7, 9, 7, 7, 11, 7, 7, 9, 8, 7, 7, 7, 11, 10, 9, 7, 7, 7, 7, 7, 8, 11, 10, 6, 8, 10, 7, 8, 11, 7, 7, 8, 8, 7, 7, 7, 7, 8, 7, 7, 7, 7, 7, 7, 7, 8, 7, 7, 7, 8, 7, 13, 9, 6, 7, 10, 7, 11, 7, 7, 7, 7, 9, 11, 7, 7, 7, 9, 8, 8, 7, 8, 10, 7, 11, 7, 8, 11, 7, 7, 9, 11, 10, 9, 9, 7, 9, 7, 8, 8, 8, 7, 10, 8, 11, 8, 8, 8, 9, 8, 7, 7, 7, 7, 7, 7, 10, 8, 7, 8, 9, 7, 7, 8, 8, 9, 7, 7, 7, 7, 12, 7, 7, 7, 6, 8, 9, 7, 7, 7, 7, 8, 7, 10, 7, 7, 7, 10, 8, 7, 8, 6, 6, 7, 7, 10, 9, 7, 8, 7, 7, 6, 11, 8, 7, 7, 7, 8, 7, 8, 9, 9, 10, 13, 7, 7, 8, 6, 7, 7, 6, 7, 11, 7, 7, 7, 7, 17, 9, 7, 8, 10, 7, 7, 8, 8, 7, 7, 8, 7, 7, 7, 11, 7], "best": ["state = SympyRules()", "v1 = state.constants_are_expr(x=I)", "v2 = state.fn_expr(fn=cos, x=v1)", "v3 = state.add_expr_ops(op=<function _operator.pow>, x=v2, y=v1)", "v4 = state.simplify_expr(x=v3)", "state.teardown()"]}, "Type: AssertionError\nMessage: \nLocation: core/expr.py:3329": {"sizes": [9, 7, 7, 7, 11, 15, 12, 12, 7, 11, 8, 11, 7, 11, 12, 8, 11, 9, 14, 8, 10, 10, 11, 9, 8, 11, 8, 9, 8, 11, 8, 10, 13, 9, 8, 10, 13, 10, 9, 8, 8, 11, 11, 10, 11, 8, 9, 10, 7, 10, 8, 10, 8, 8, 9, 9, 10, 8, 9, 8, 7, 8, 8, 12, 8, 8, 8, 8, 13, 9, 8, 8, 8, 10, 8, 9, 10, 18, 11, 7, 10, 11, 9, 8, 8, 8, 9, 9, 11, 7, 8, 9, 10, 9, 10, 8, 10, 13, 10, 10, 14, 8, 12, 8, 8, 9, 8, 10, 8, 11, 8, 12, 8, 8, 9, 10, 12, 8, 10, 9, 9, 8, 12, 8, 12, 9, 11, 11, 8, 7, 15, 8, 8, 10, 8, 8, 11, 10, 8, 8, 8, 10, 7, 9, 12, 8, 9, 8, 11, 13, 12, 12, 7, 10, 13, 11, 11, 9, 8, 8, 13, 8, 9, 9, 21, 11, 11, 8, 8, 11, 13, 9, 8, 7, 8, 12, 7, 8, 8, 10, 13, 8, 11, 8, 8, 9, 8, 8, 8, 8, 9, 10, 8, 8, 9, 14, 10, 9, 8, 13, 8, 8, 8, 8, 9, 11, 8, 8, 9, 8, 8, 8, 9, 8, 9, 10, 9, 9, 12, 10, 11, 8, 10, 8, 19, 8, 8, 10], "best": ["state = SympyRules()", "v1 = state.constants_are_expr(x=pi)", "v2 = state.fn_expr(fn=factorial, x=v1)", "v3 = state.add_expr_ops(op=<function _operator.pow>, x=v2, y=v2)", "v4 = state.subs_expr(x=v3, y=v2, z=v3)", "v5 = state.mod_expr(x=v3, y=v4)", "state.teardown()"]}, "Type: TypeError\nMessage: 'mpf' object is not iterable\nLocation: core/evalf.py:849": {"sizes": [9, 8, 9, 9, 8, 9, 8, 8, 8, 8, 8, 10, 9, 8, 8, 8, 8, 9, 9, 9, 8, 8, 9, 9, 8, 8, 8, 8, 10, 9, 8, 9], "best": ["state = SympyRules()", "v1 = state.gen_c(x=0)", "v2 = state.c_is_expr(x=v1)", "v3 = state.gen_v(x='a')", "v4 = state.combine_many(f=v1, op=sympy.concrete.summations.Sum, t=v1, var=v3, x=v2)", "v5 = state.fn_expr(fn=atan, x=v4)", "state.expr_evalf(x=v5)", "state.teardown()"]}, "Type: ZeroDivisionError\nMessage: integer division or modulo by zero\nLocation: core/numbers.py:1638": {"sizes": [10, 10, 10, 13, 10, 11, 10, 27, 26, 13, 9, 10, 8, 11, 13, 7, 10, 9, 9, 10, 11, 13, 10, 10, 10, 24, 11, 13, 13, 17, 9, 14, 9, 10, 12, 10, 10, 12, 8, 11, 9, 11, 16, 9, 9, 11, 10, 11, 9, 10, 8, 10, 8, 11, 9, 13, 16, 9, 10, 12, 13, 11, 17, 12, 8, 7, 10, 9, 9, 10, 9, 8, 9, 8, 9, 13, 11, 11, 16, 13], "best": ["state = SympyRules()", "v1 = state.gen_v(x='a')", "v2 = state.v_is_expr(x=v1)", "v3 = state.fn_expr(fn=acos, x=v2)", "v4 = state.mod_expr(x=v3, y=v2)", "state.assignment_commutes_with_simplify(data=data(...), source=v4)", "state.teardown()"]}, "Type: ValueError\nMessage: got complex zero with unknown accuracy\nLocation: core/evalf.py:258": {"sizes": [10, 10, 10, 11, 10, 9, 9, 8, 10, 9, 33, 8, 7, 23, 10, 9, 10, 8], "best": ["state = SympyRules()", "v1 = state.constants_are_expr(x=I)", "v2 = state.fn_expr(fn=atan, x=v1)", "v3 = state.constants_are_expr(x=pi)", "v4 = state.add_expr_ops(op=<function _operator.pow>, x=v2, y=v3)", "v5 = state.mod_expr(x=v3, y=v4)", "state.teardown()"]}, "Type: ValueError\nMessage: Invalid limits given\nLocation: concrete/expr_with_limits.py:69": {"sizes": [9, 10, 9, 9, 9, 9, 9, 9], "best": ["state = SympyRules()", "v1 = state.gen_c(x=0)", "v2 = state.c_is_expr(x=v1)", "v3 = state.gen_v(x='a')", "v4 = state.combine_many(f=v1, op=sympy.concrete.summations.Sum, t=v1, var=v3, x=v2)", "v5 = state.combine_many(f=v1, op=sympy.concrete.summations.Sum, t=v1, var=v3, x=v4)", "v6 = state.combine_many(f=v1, op=sympy.concrete.summations.Sum, t=v1, var=v3, x=v5)", "v7 = state.fn_expr(fn=<function sympy.simplify.combsimp.combsimp>, x=v6)", "state.teardown()"]}, "Type: ValueError\nMessage: gamma function pole\nLocation: core/function.py:545": {"sizes": [9, 9, 9, 9, 9, 9, 9, 9, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 9, 9, 9, 9, 9, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 9, 11, 9, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 9, 9, 10, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 9, 9], "best": ["state = SympyRules()", "v1 = state.gen_c(x=0)", "v2 = state.gen_c(x=1)", "v3 = state.constants_are_expr(x=I)", "v4 = state.gen_v(x='a')", "v5 = state.combine_many(f=v1, op=sympy.concrete.products.Product, t=v2, var=v4, x=v3)", "v6 = state.fn_expr(fn=factorial, x=v5)", "state.expr_evalf(x=v6)", "state.teardown()"]}, "Type: InconsistentAssumptions\nMessage: \nLocation: simplify/powsimp.py:390": {"sizes": [11], "best": ["state = SympyRules()", "v1 = state.gen_c(x=0)", "v2 = state.gen_v(x='a')", "v3 = state.v_is_expr(x=v2)", "v4 = state.mod_expr(x=v3, y=v3)", "v5 = state.combine_many(f=v1, op=sympy.concrete.summations.Sum, t=v1, var=v2, x=v4)", "v6 = state.fn_expr(fn=atan, x=v5)", "v7 = state.apart_expr(x=v6)", "v8 = state.add_expr_ops(op=<function _operator.add>, x=v7, y=v7)", "v9 = state.simplify_expr(x=v8)", "state.teardown()"]}, "Type: TypeError\nMessage: can't convert oo to int\nLocation: core/expr.py:212": {"sizes": [9, 10, 9, 9, 10, 10, 9, 11, 9, 9, 7, 10, 17, 11, 9, 7], "best": ["state = SympyRules()", "v1 = state.constants_are_expr(x=I)", "v2 = state.fn_expr(fn=atan, x=v1)", "v3 = state.fn_expr(fn=atan, x=v2)", "v4 = state.add_expr_ops(op=<function _operator.add>, x=v3, y=v2)", "v5 = state.apart_expr(x=v4)", "state.teardown()"]}, "Type: OverflowError\nMessage: int too large to convert to float\nLocation: core/power.py:75": {"sizes": [7, 7, 8, 7, 8, 7, 7, 8, 8, 7, 7, 7, 8, 7, 8, 7, 8, 7, 8, 7, 8, 7, 7, 8, 8, 7, 7, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 10, 8, 7, 7], "best": ["state = SympyRules()", "v1 = state.gen_v(x='a')", "v2 = state.v_is_expr(x=v1)", "v3 = state.add_expr_ops(op=<function _operator.pow>, x=v2, y=v2)", "v4 = state.add_expr_ops(op=<function _operator.pow>, x=v3, y=v3)", "state.assignment_commutes_with_simplify(data=data(...), source=v4)", "state.teardown()"]}, "Type: TypeError\nMessage: Invalid comparison of complex\nLocation: core/expr.py:299": {"sizes": [9, 12, 11, 11, 9, 10, 9, 9, 11, 9, 11, 12, 9, 10, 10, 9, 9, 10, 10, 10, 10, 11, 9, 10, 10, 12, 10, 10, 11, 9, 11, 9, 10, 10, 10, 11, 9, 10, 13, 9, 9, 10, 10, 11, 10, 11, 11, 11, 10, 12, 12, 9, 10, 9, 11, 12, 9, 12, 9, 9, 9, 11, 12, 10, 12, 11, 12, 10, 10, 9, 11, 9, 11, 10, 9, 10], "best": ["state = SympyRules()", "v1 = state.gen_c(x=0)", "v2 = state.c_is_expr(x=v1)", "v3 = state.constants_are_expr(x=I)", "v4 = state.gen_v(x='a')", "v5 = state.combine_many(f=v1, op=sympy.concrete.summations.Sum, t=v1, var=v4, x=v3)", "v6 = state.subs_expr(x=v5, y=v2, z=v3)", "state.expr_evalf(x=v6)", "state.teardown()"]}, "Type: TypeError\nMessage: 'NoneType' object is not iterable\nLocation: core/evalf.py:822": {"sizes": [9, 10, 12], "best": ["state = SympyRules()", "v1 = state.gen_c(x=0)", "v2 = state.constants_are_expr(x=I)", "v3 = state.gen_v(x='a')", "v4 = state.v_is_expr(x=v3)", "v5 = state.combine_many(f=v1, op=sympy.concrete.summations.Sum, t=v1, var=v3, x=v4)", "v6 = state.add_expr_ops(op=<function _operator.pow>, x=v5, y=v2)", "v7 = state.apart_expr(x=v6)", "state.teardown()"]}, "Type: TypeError\nMessage: cannot determine truth value of Relational\nLocation: core/relational.py:195": {"sizes": [10, 11, 13, 11, 10, 13, 10, 10, 10, 12, 12, 11, 18, 13], "best": ["state = SympyRules()", "v1 = state.gen_c(x=0)", "v2 = state.gen_c(x=1)", "v3 = state.gen_v(x='a')", "v4 = state.v_is_expr(x=v3)", "v5 = state.constants_are_expr(x=I)", "v6 = state.mod_expr(x=v4, y=v5)", "v7 = state.combine_many(f=v1, op=sympy.concrete.summations.Sum, t=v2, var=v3, x=v6)", "state.expr_evalf(x=v7)", "state.teardown()"]}, "Type: TypeError\nMessage: Invalid NaN comparison\nLocation: core/expr.py:301": {"sizes": [13, 10, 10, 10, 11, 11], "best": ["state = SympyRules()", "v1 = state.gen_c(x=0)", "v2 = state.constants_are_expr(x=pi)", "v3 = state.gen_v(x='a')", "v4 = state.combine_many(f=v1, op=sympy.concrete.summations.Sum, t=v1, var=v3, x=v2)", "v5 = state.c_is_expr(x=v1)", "v6 = state.gen_rat(m=v1, n=v1)", "v7 = state.subs_expr(x=v4, y=v5, z=v6)", "state.expr_evalf(x=v7)", "state.teardown()"]}, "Type: StopIteration\nMessage: \nLocation: simplify/simplify.py:730": {"sizes": [10, 10, 11], "best": ["state = SympyRules()", "v1 = state.gen_c(x=0)", "v2 = state.constants_are_expr(x=pi)", "v3 = state.gen_v(x='a')", "v4 = state.combine_many(f=v1, op=sympy.concrete.summations.Sum, t=v1, var=v3, x=v2)", "v5 = state.add_expr_ops(op=<function _operator.truediv>, x=v2, y=v4)", "v6 = state.add_expr_ops(op=<function _operator.add>, x=v5, y=v4)", "v7 = state.combine_many(f=v1, op=sympy.concrete.summations.Sum, t=v1, var=v3, x=v6)", "v8 = state.simplify_expr(x=v7)", "state.teardown()"]}, "Type: AttributeError\nMessage: 'Zero' object has no attribute 'limits'\nLocation: simplify/simplify.py:746": {"sizes": [11, 10, 10], "best": ["state = SympyRules()", "v1 = state.gen_c(x=1)", "v2 = state.c_is_expr(x=v1)", "v3 = state.constants_are_expr(x=pi)", "v4 = state.gen_v(x='a')", "v5 = state.add_expr_ops(op=<function _operator.add>, x=v3, y=v2)", "v6 = state.combine_many(f=v1, op=sympy.concrete.summations.Sum, t=v1, var=v4, x=v5)", "v7 = state.add_expr_ops(op=<function _operator.mul>, x=v6, y=v6)", "v8 = state.simplify_expr(x=v7)", "state.teardown()"]}, "Type: MemoryError\nMessage: \nLocation: core/function.py:545": {"sizes": [9, 7, 7, 7], "best": ["state = SympyRules()", "v1 = state.constants_are_expr(x=E)", "v2 = state.add_expr_ops(op=<function _operator.pow>, x=v1, y=v1)", "v3 = state.fn_expr(fn=factorial, x=v2)", "v4 = state.subs_expr(x=v3, y=v1, z=v3)", "state.expr_evalf(x=v4)", "state.teardown()"]}, "Type: TypeError\nMessage: cannot create mpf from None\nLocation: core/evalf.py:910": {"sizes": [9, 9], "best": ["state = SympyRules()", "v1 = state.gen_c(x=0)", "v2 = state.c_is_expr(x=v1)", "v3 = state.gen_v(x='a')", "v4 = state.v_is_expr(x=v3)", "v5 = state.combine_many(f=v1, op=sympy.concrete.summations.Sum, t=v1, var=v3, x=v4)", "v6 = state.subs_expr(x=v5, y=v2, z=v5)", "state.expr_evalf(x=v6)", "state.teardown()"]}, "Type: OverflowError\nMessage: Python int too large to convert to C ssize_t\nLocation: core/function.py:545": {"sizes": [10, 8, 10, 8, 10], "best": ["state = SympyRules()", "v1 = state.constants_are_expr(x=pi)", "v2 = state.add_expr_ops(op=<function _operator.pow>, x=v1, y=v1)", "v3 = state.fn_expr(fn=factorial, x=v2)", "v4 = state.constants_are_expr(x=v1)", "v5 = state.subs_expr(x=v3, y=v4, z=v3)", "state.expr_evalf(x=v5)", "state.teardown()"]}, "Type: ZeroDivisionError\nMessage: \nLocation: core/evalf.py:675": {"sizes": [9, 9, 10], "best": ["state = SympyRules()", "v1 = state.gen_c(x=0)", "v2 = state.gen_v(x='a')", "v3 = state.gen_rat(m=v1, n=v1)", "v4 = state.gen_c(x=4)", "v5 = state.fn_expr(fn=factorial, x=v3)", "v6 = state.combine_many(f=v4, op=sympy.concrete.products.Product, t=v1, var=v2, x=v5)", "state.expr_evalf(x=v6)", "state.teardown()"]}, "Type: ValueError\nMessage: cannot convert inf or nan to int\nLocation: core/evalf.py:338": {"sizes": [7], "best": ["state = SympyRules()", "v1 = state.constants_are_expr(x=I)", "v2 = state.fn_expr(fn=atan, x=v1)", "v3 = state.add_expr_ops(op=<function _operator.pow>, x=v2, y=v2)", "v4 = state.add_expr_ops(op=<function _operator.pow>, x=v3, y=v3)", "v5 = state.subs_expr(x=v4, y=v1, z=v3)", "state.teardown()"]}, "Type: RuntimeError\nMessage: run out of coefficient configurations\nLocation: polys/numberfields.py:879": {"sizes": [8], "best": ["state = SympyRules()", "v1 = state.constants_are_expr(x=I)", "v2 = state.fn_expr(fn=<function sympy.functions.elementary.miscellaneous.sqrt>, x=v1)", "v3 = state.constants_are_expr(x=pi)", "v4 = state.add_expr_ops(op=<function _operator.add>, x=v3, y=v1)", "v5 = state.add_expr_ops(op=<function _operator.mul>, x=v4, y=v2)", "v6 = state.apart_expr(x=v5)", "state.teardown()"]}, "Type: OverflowError\nMessage: cannot convert float infinity to integer\nLocation: core/evalf.py:1249": {"sizes": [12], "best": ["state = SympyRules()", "v1 = state.gen_c(x=0)", "v2 = state.constants_are_expr(x=E)", "v3 = state.constants_are_expr(x=I)", "v4 = state.gen_v(x='a')", "v5 = state.collect(x=v3, y=v3)", "v6 = state.collect(x=v5, y=v5)", "v7 = state.combine_many(f=v1, op=sympy.concrete.summations.Sum, t=v1, var=v4, x=v6)", "v8 = state.add_expr_ops(op=<function _operator.pow>, x=v7, y=v6)", "v9 = state.apart_expr(x=v2)", "v10 = state.add_expr_ops(op=<function _operator.pow>, x=v8, y=v9)", "state.teardown()"]}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment