applied-ai-018 commited on
Commit
1e07062
·
verified ·
1 Parent(s): f1a7d0b

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/add.cpython-310.pyc +0 -0
  2. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/alphabets.cpython-310.pyc +0 -0
  3. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/assumptions.cpython-310.pyc +0 -0
  4. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/backend.cpython-310.pyc +0 -0
  5. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/basic.cpython-310.pyc +0 -0
  6. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/cache.cpython-310.pyc +0 -0
  7. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/compatibility.cpython-310.pyc +0 -0
  8. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/evalf.cpython-310.pyc +0 -0
  9. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/expr.cpython-310.pyc +0 -0
  10. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/exprtools.cpython-310.pyc +0 -0
  11. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/facts.cpython-310.pyc +0 -0
  12. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/kind.cpython-310.pyc +0 -0
  13. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/mod.cpython-310.pyc +0 -0
  14. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/numbers.cpython-310.pyc +0 -0
  15. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/operations.cpython-310.pyc +0 -0
  16. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/random.cpython-310.pyc +0 -0
  17. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/rules.cpython-310.pyc +0 -0
  18. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/singleton.cpython-310.pyc +0 -0
  19. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/sorting.cpython-310.pyc +0 -0
  20. env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/symbol.cpython-310.pyc +0 -0
  21. env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/__init__.py +0 -0
  22. env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/__pycache__/__init__.cpython-310.pyc +0 -0
  23. env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/__pycache__/bench_arit.cpython-310.pyc +0 -0
  24. env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/__pycache__/bench_assumptions.cpython-310.pyc +0 -0
  25. env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/__pycache__/bench_basic.cpython-310.pyc +0 -0
  26. env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/__pycache__/bench_expand.cpython-310.pyc +0 -0
  27. env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/__pycache__/bench_numbers.cpython-310.pyc +0 -0
  28. env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/__pycache__/bench_sympify.cpython-310.pyc +0 -0
  29. env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/bench_arit.py +43 -0
  30. env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/bench_basic.py +15 -0
  31. env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/bench_expand.py +23 -0
  32. env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/bench_numbers.py +91 -0
  33. env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/bench_sympify.py +11 -0
  34. env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/__init__.cpython-310.pyc +0 -0
  35. env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_args.cpython-310.pyc +0 -0
  36. env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_arit.cpython-310.pyc +0 -0
  37. env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_assumptions.cpython-310.pyc +0 -0
  38. env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_basic.cpython-310.pyc +0 -0
  39. env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_cache.cpython-310.pyc +0 -0
  40. env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_compatibility.cpython-310.pyc +0 -0
  41. env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_complex.cpython-310.pyc +0 -0
  42. env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_constructor_postprocessor.cpython-310.pyc +0 -0
  43. env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_containers.cpython-310.pyc +0 -0
  44. env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_count_ops.cpython-310.pyc +0 -0
  45. env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_diff.cpython-310.pyc +0 -0
  46. env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_equal.cpython-310.pyc +0 -0
  47. env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_eval.cpython-310.pyc +0 -0
  48. env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_evalf.cpython-310.pyc +0 -0
  49. env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_expand.cpython-310.pyc +0 -0
  50. env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_expr.cpython-310.pyc +0 -0
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/add.cpython-310.pyc ADDED
Binary file (35.8 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/alphabets.cpython-310.pyc ADDED
Binary file (335 Bytes). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/assumptions.cpython-310.pyc ADDED
Binary file (18.7 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/backend.cpython-310.pyc ADDED
Binary file (2.91 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/basic.cpython-310.pyc ADDED
Binary file (66.9 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/cache.cpython-310.pyc ADDED
Binary file (6.1 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/compatibility.cpython-310.pyc ADDED
Binary file (1.29 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/evalf.cpython-310.pyc ADDED
Binary file (42.6 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/expr.cpython-310.pyc ADDED
Binary file (115 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/exprtools.cpython-310.pyc ADDED
Binary file (41 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/facts.cpython-310.pyc ADDED
Binary file (16.7 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/kind.cpython-310.pyc ADDED
Binary file (11.7 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/mod.cpython-310.pyc ADDED
Binary file (5.83 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/numbers.cpython-310.pyc ADDED
Binary file (121 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/operations.cpython-310.pyc ADDED
Binary file (20.5 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/random.cpython-310.pyc ADDED
Binary file (6.94 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/rules.cpython-310.pyc ADDED
Binary file (2.1 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/singleton.cpython-310.pyc ADDED
Binary file (6.78 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/sorting.cpython-310.pyc ADDED
Binary file (10.2 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/__pycache__/symbol.cpython-310.pyc ADDED
Binary file (27 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/__init__.py ADDED
File without changes
env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (186 Bytes). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/__pycache__/bench_arit.cpython-310.pyc ADDED
Binary file (1.49 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/__pycache__/bench_assumptions.cpython-310.pyc ADDED
Binary file (561 Bytes). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/__pycache__/bench_basic.cpython-310.pyc ADDED
Binary file (647 Bytes). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/__pycache__/bench_expand.cpython-310.pyc ADDED
Binary file (1.05 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/__pycache__/bench_numbers.cpython-310.pyc ADDED
Binary file (3.04 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/__pycache__/bench_sympify.cpython-310.pyc ADDED
Binary file (518 Bytes). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/bench_arit.py ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from sympy.core import Add, Mul, symbols
2
+
3
+ x, y, z = symbols('x,y,z')
4
+
5
+
6
+ def timeit_neg():
7
+ -x
8
+
9
+
10
+ def timeit_Add_x1():
11
+ x + 1
12
+
13
+
14
+ def timeit_Add_1x():
15
+ 1 + x
16
+
17
+
18
+ def timeit_Add_x05():
19
+ x + 0.5
20
+
21
+
22
+ def timeit_Add_xy():
23
+ x + y
24
+
25
+
26
+ def timeit_Add_xyz():
27
+ Add(*[x, y, z])
28
+
29
+
30
+ def timeit_Mul_xy():
31
+ x*y
32
+
33
+
34
+ def timeit_Mul_xyz():
35
+ Mul(*[x, y, z])
36
+
37
+
38
+ def timeit_Div_xy():
39
+ x/y
40
+
41
+
42
+ def timeit_Div_2y():
43
+ 2/y
env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/bench_basic.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from sympy.core import symbols, S
2
+
3
+ x, y = symbols('x,y')
4
+
5
+
6
+ def timeit_Symbol_meth_lookup():
7
+ x.diff # no call, just method lookup
8
+
9
+
10
+ def timeit_S_lookup():
11
+ S.Exp1
12
+
13
+
14
+ def timeit_Symbol_eq_xy():
15
+ x == y
env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/bench_expand.py ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from sympy.core import symbols, I
2
+
3
+ x, y, z = symbols('x,y,z')
4
+
5
+ p = 3*x**2*y*z**7 + 7*x*y*z**2 + 4*x + x*y**4
6
+ e = (x + y + z + 1)**32
7
+
8
+
9
+ def timeit_expand_nothing_todo():
10
+ p.expand()
11
+
12
+
13
+ def bench_expand_32():
14
+ """(x+y+z+1)**32 -> expand"""
15
+ e.expand()
16
+
17
+
18
+ def timeit_expand_complex_number_1():
19
+ ((2 + 3*I)**1000).expand(complex=True)
20
+
21
+
22
+ def timeit_expand_complex_number_2():
23
+ ((2 + 3*I/4)**1000).expand(complex=True)
env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/bench_numbers.py ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from sympy.core.numbers import Integer, Rational, integer_nthroot, igcd, pi, oo
2
+ from sympy.core.singleton import S
3
+
4
+ i3 = Integer(3)
5
+ i4 = Integer(4)
6
+ r34 = Rational(3, 4)
7
+ q45 = Rational(4, 5)
8
+
9
+
10
+ def timeit_Integer_create():
11
+ Integer(2)
12
+
13
+
14
+ def timeit_Integer_int():
15
+ int(i3)
16
+
17
+
18
+ def timeit_neg_one():
19
+ -S.One
20
+
21
+
22
+ def timeit_Integer_neg():
23
+ -i3
24
+
25
+
26
+ def timeit_Integer_abs():
27
+ abs(i3)
28
+
29
+
30
+ def timeit_Integer_sub():
31
+ i3 - i3
32
+
33
+
34
+ def timeit_abs_pi():
35
+ abs(pi)
36
+
37
+
38
+ def timeit_neg_oo():
39
+ -oo
40
+
41
+
42
+ def timeit_Integer_add_i1():
43
+ i3 + 1
44
+
45
+
46
+ def timeit_Integer_add_ij():
47
+ i3 + i4
48
+
49
+
50
+ def timeit_Integer_add_Rational():
51
+ i3 + r34
52
+
53
+
54
+ def timeit_Integer_mul_i4():
55
+ i3*4
56
+
57
+
58
+ def timeit_Integer_mul_ij():
59
+ i3*i4
60
+
61
+
62
+ def timeit_Integer_mul_Rational():
63
+ i3*r34
64
+
65
+
66
+ def timeit_Integer_eq_i3():
67
+ i3 == 3
68
+
69
+
70
+ def timeit_Integer_ed_Rational():
71
+ i3 == r34
72
+
73
+
74
+ def timeit_integer_nthroot():
75
+ integer_nthroot(100, 2)
76
+
77
+
78
+ def timeit_number_igcd_23_17():
79
+ igcd(23, 17)
80
+
81
+
82
+ def timeit_number_igcd_60_3600():
83
+ igcd(60, 3600)
84
+
85
+
86
+ def timeit_Rational_add_r1():
87
+ r34 + 1
88
+
89
+
90
+ def timeit_Rational_add_rq():
91
+ r34 + q45
env-llmeval/lib/python3.10/site-packages/sympy/core/benchmarks/bench_sympify.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from sympy.core import sympify, Symbol
2
+
3
+ x = Symbol('x')
4
+
5
+
6
+ def timeit_sympify_1():
7
+ sympify(1)
8
+
9
+
10
+ def timeit_sympify_x():
11
+ sympify(x)
env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (181 Bytes). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_args.cpython-310.pyc ADDED
Binary file (217 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_arit.cpython-310.pyc ADDED
Binary file (64.6 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_assumptions.cpython-310.pyc ADDED
Binary file (33.6 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_basic.cpython-310.pyc ADDED
Binary file (11.7 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_cache.cpython-310.pyc ADDED
Binary file (3.23 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_compatibility.cpython-310.pyc ADDED
Binary file (470 Bytes). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_complex.cpython-310.pyc ADDED
Binary file (13.3 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_constructor_postprocessor.cpython-310.pyc ADDED
Binary file (2.79 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_containers.cpython-310.pyc ADDED
Binary file (9.47 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_count_ops.cpython-310.pyc ADDED
Binary file (6.12 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_diff.cpython-310.pyc ADDED
Binary file (6.16 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_equal.cpython-310.pyc ADDED
Binary file (2.4 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_eval.cpython-310.pyc ADDED
Binary file (3.12 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_evalf.cpython-310.pyc ADDED
Binary file (31.4 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_expand.cpython-310.pyc ADDED
Binary file (13.8 kB). View file
 
env-llmeval/lib/python3.10/site-packages/sympy/core/tests/__pycache__/test_expr.cpython-310.pyc ADDED
Binary file (80.4 kB). View file