CallMeKing295 commited on
Commit
cb62cc5
·
verified ·
1 Parent(s): 07c99af

Upload memory/fact_bank.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. memory/fact_bank.json +189 -0
memory/fact_bank.json ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "half": "Divide by 2 (or multiply by 0.5).",
3
+ "third": "Divide by 3.",
4
+ "quarter": "Divide by 4 or 25%. Also a coin worth $0.25.",
5
+ "fifth": "Divide by 5 or 20%.",
6
+ "twice": "Multiply by 2. Equivalent to double.",
7
+ "double": "Multiply by 2. Equivalent to twice.",
8
+ "thrice": "Multiply by 3. Equivalent to triple.",
9
+ "triple": "Multiply by 3.",
10
+ "quadruple": "Multiply by 4.",
11
+ "quintuple": "Multiply by 5.",
12
+ "dozen": "Exactly 12 items.",
13
+ "baker's dozen": "Exactly 13 items.",
14
+ "score": "Exactly 20 items.",
15
+ "gross": "Exactly 144 items (a dozen dozens).",
16
+ "minute": "1 minute = 60 seconds.",
17
+ "hour": "1 hour = 60 minutes = 3,600 seconds.",
18
+ "day": "1 day = 24 hours.",
19
+ "week": "1 week = 7 days.",
20
+ "month": "Typically considered 30 days in math problems unless specified (or 28, 29, 31). 1 year = 12 months.",
21
+ "year": "1 year = 12 months = 52 weeks = 365 days.",
22
+ "decade": "10 years.",
23
+ "century": "100 years.",
24
+ "millennium": "1,000 years.",
25
+ "inch": "1 foot = 12 inches.",
26
+ "foot": "1 foot = 12 inches. 1 yard = 3 feet.",
27
+ "yard": "1 yard = 3 feet = 36 inches.",
28
+ "mile": "1 mile = 5,280 feet.",
29
+ "meter": "1 meter = 100 centimeters = 1,000 millimeters.",
30
+ "kilometer": "1 kilometer = 1,000 meters.",
31
+ "pound": "1 pound (lb) = 16 ounces (oz).",
32
+ "ton": "1 ton = 2,000 pounds.",
33
+ "kilogram": "1 kilogram (kg) = 1,000 grams.",
34
+ "penny": "$0.01 (1 cent).",
35
+ "nickel": "$0.05 (5 cents).",
36
+ "dime": "$0.10 (10 cents).",
37
+ "quarter coin": "$0.25 (25 cents).",
38
+ "half dollar": "$0.50 (50 cents).",
39
+ "buy": "Action: Acquiring item. State: Subject +Item, Subject -Money.",
40
+ "bought": "Action: Acquiring item. State: Subject +Item, Subject -Money.",
41
+ "receive": "Action: Getting item. State: Subject +Item.",
42
+ "find": "Action: Discovering item. State: Subject +Item.",
43
+ "earn": "Action: Working for money. State: Subject +Money.",
44
+ "add": "Action: Combining quantities. State: Total increases.",
45
+ "gain": "Action: Increase in holding. State: Subject +Item.",
46
+ "sell": "Action: Giving item for money. State: Subject -Item, Subject +Money.",
47
+ "sold": "Action: Giving item for money. State: Subject -Item, Subject +Money.",
48
+ "eat": "Action: Consuming. State: Target -Item.",
49
+ "ate": "Action: Consuming. State: Target -Item.",
50
+ "lose": "Action: Misplacing an item. State: Subject -Item.",
51
+ "give": "Action: Transferring to another. State: Subject -Item, Receiver +Item.",
52
+ "gave": "Action: Transferring to another. State: Subject -Item, Receiver +Item.",
53
+ "spend": "Action: Paying money. State: Subject -Money, Subject +Item.",
54
+ "drop": "Action: Releasing/breaking item. State: Subject -Item.",
55
+ "share": "Action: Split evenly. Math: Division by number of entities.",
56
+ "split": "Action: Distribute portions. Math: Division.",
57
+ "per": "Indicates a rate. Math: Often implies multiplication (rate x quantity) or division.",
58
+ "each": "Indicates a rate for a single unit.",
59
+ "every": "Indicates recurrence. Similar to per/each.",
60
+ "mutable default argument": "Anti-pattern in Python. Never use `def func(x=[])`. Use `def func(x=None)` instead.",
61
+ "list comprehension": "A concise way to create lists in Python. Syntax: `[expression for item in iterable if condition]`.",
62
+ "time complexity of python list pop(0)": "O(N) because all other elements must shift. Use collections.deque for O(1) pops from the left.",
63
+ "python dictionary lookup complexity": "O(1) average case, due to hash table implementation.",
64
+ "python string immutability": "Strings in Python cannot be changed after creation. Any modification creates a new string object.",
65
+ "euler's identity": "e^(i*pi) + 1 = 0. Connects five fundamental mathematical constants.",
66
+ "quadratic formula": "x = [-b \u00b1 sqrt(b^2 - 4ac)] / 2a. Used to find roots of a quadratic equation ax^2 + bx + c = 0.",
67
+ "discriminant": "b^2 - 4ac. Determines the nature of the roots of a quadratic equation: >0 means 2 real, =0 means 1 real, <0 means 2 complex.",
68
+ "syllogism": "A logical argument applying deductive reasoning. If A=B and B=C, then A=C.",
69
+ "modus ponens": "If P then Q. P is true. Therefore Q must be true.",
70
+ "modus tollens": "If P then Q. Q is false. Therefore P must be false.",
71
+ "capital of australia": "Canberra",
72
+ "first element on periodic table": "Hydrogen (H), atomic number 1.",
73
+ "atomic number of carbon": "6",
74
+ "mitochondria": "The powerhouse of the biological cell, generating most of the cell's supply of adenosine triphosphate (ATP).",
75
+ "python int type": "A built-in data type in Python representing int.",
76
+ "python float type": "A built-in data type in Python representing float.",
77
+ "python complex type": "A built-in data type in Python representing complex.",
78
+ "python str type": "A built-in data type in Python representing str.",
79
+ "python list type": "A built-in data type in Python representing list.",
80
+ "python tuple type": "A built-in data type in Python representing tuple.",
81
+ "python range type": "A built-in data type in Python representing range.",
82
+ "python dict type": "A built-in data type in Python representing dict.",
83
+ "python set type": "A built-in data type in Python representing set.",
84
+ "python frozenset type": "A built-in data type in Python representing frozenset.",
85
+ "python bool type": "A built-in data type in Python representing bool.",
86
+ "python bytes type": "A built-in data type in Python representing bytes.",
87
+ "python bytearray type": "A built-in data type in Python representing bytearray.",
88
+ "python memoryview type": "A built-in data type in Python representing memoryview.",
89
+ "python NoneType type": "A built-in data type in Python representing NoneType.",
90
+ "python syntaxerror": "A Python Exception raised when the interpreter encounters a SyntaxError.",
91
+ "python indentationerror": "A Python Exception raised when the interpreter encounters a IndentationError.",
92
+ "python nameerror": "A Python Exception raised when the interpreter encounters a NameError.",
93
+ "python typeerror": "A Python Exception raised when the interpreter encounters a TypeError.",
94
+ "python valueerror": "A Python Exception raised when the interpreter encounters a ValueError.",
95
+ "python keyerror": "A Python Exception raised when the interpreter encounters a KeyError.",
96
+ "python indexerror": "A Python Exception raised when the interpreter encounters a IndexError.",
97
+ "python attributeerror": "A Python Exception raised when the interpreter encounters a AttributeError.",
98
+ "python zerodivisionerror": "A Python Exception raised when the interpreter encounters a ZeroDivisionError.",
99
+ "python importerror": "A Python Exception raised when the interpreter encounters a ImportError.",
100
+ "python modulenotfounderror": "A Python Exception raised when the interpreter encounters a ModuleNotFoundError.",
101
+ "python filenotfounderror": "A Python Exception raised when the interpreter encounters a FileNotFoundError.",
102
+ "python stopiteration": "A Python Exception raised when the interpreter encounters a StopIteration.",
103
+ "python stopasynciteration": "A Python Exception raised when the interpreter encounters a StopAsyncIteration.",
104
+ "python keyboardinterrupt": "A Python Exception raised when the interpreter encounters a KeyboardInterrupt.",
105
+ "single responsibility principle (srp)": "A class should have one, and only one, reason to change.",
106
+ "open closed principle (ocp)": "Software entities should be open for extension, but closed for modification.",
107
+ "liskov substitution principle (lsp)": "Objects of a superclass shall be replaceable with objects of its subclasses without breaking the application.",
108
+ "interface segregation principle (isp)": "No client should be forced to depend on methods it does not use.",
109
+ "dependency inversion principle (dip)": "Depend on abstractions, not on concretions.",
110
+ "o(1)": "Constant time complexity. Execution time is independent of input size. (e.g., Dictionary lookup).",
111
+ "o(log n)": "Logarithmic time complexity. The problem size is cut in half each iteration. (e.g., Binary search).",
112
+ "o(n)": "Linear time complexity. Execution time scales directly with input size. (e.g., Simple loop over an array).",
113
+ "o(n log n)": "Linearithmic time complexity. Typical of efficient sorting algorithms. (e.g., Merge sort, Quick sort).",
114
+ "o(n^2)": "Quadratic time complexity. Nested loops over the input. (e.g., Bubble sort).",
115
+ "o(2^n)": "Exponential time complexity. Time doubles with each addition to input. (e.g., Recursive Fibonacci without memoization).",
116
+ "atomic number of hydrogen": "1",
117
+ "chemical symbol for hydrogen": "H",
118
+ "element number 1": "Hydrogen",
119
+ "atomic number of helium": "2",
120
+ "chemical symbol for helium": "He",
121
+ "element number 2": "Helium",
122
+ "atomic number of lithium": "3",
123
+ "chemical symbol for lithium": "Li",
124
+ "element number 3": "Lithium",
125
+ "atomic number of beryllium": "4",
126
+ "chemical symbol for beryllium": "Be",
127
+ "element number 4": "Beryllium",
128
+ "atomic number of boron": "5",
129
+ "chemical symbol for boron": "B",
130
+ "element number 5": "Boron",
131
+ "chemical symbol for carbon": "C",
132
+ "element number 6": "Carbon",
133
+ "atomic number of nitrogen": "7",
134
+ "chemical symbol for nitrogen": "N",
135
+ "element number 7": "Nitrogen",
136
+ "atomic number of oxygen": "8",
137
+ "chemical symbol for oxygen": "O",
138
+ "element number 8": "Oxygen",
139
+ "atomic number of fluorine": "9",
140
+ "chemical symbol for fluorine": "F",
141
+ "element number 9": "Fluorine",
142
+ "atomic number of neon": "10",
143
+ "chemical symbol for neon": "Ne",
144
+ "element number 10": "Neon",
145
+ "atomic number of sodium": "11",
146
+ "chemical symbol for sodium": "Na",
147
+ "element number 11": "Sodium",
148
+ "atomic number of magnesium": "12",
149
+ "chemical symbol for magnesium": "Mg",
150
+ "element number 12": "Magnesium",
151
+ "atomic number of aluminum": "13",
152
+ "chemical symbol for aluminum": "Al",
153
+ "element number 13": "Aluminum",
154
+ "atomic number of silicon": "14",
155
+ "chemical symbol for silicon": "Si",
156
+ "element number 14": "Silicon",
157
+ "atomic number of phosphorus": "15",
158
+ "chemical symbol for phosphorus": "P",
159
+ "element number 15": "Phosphorus",
160
+ "atomic number of sulfur": "16",
161
+ "chemical symbol for sulfur": "S",
162
+ "element number 16": "Sulfur",
163
+ "atomic number of chlorine": "17",
164
+ "chemical symbol for chlorine": "Cl",
165
+ "element number 17": "Chlorine",
166
+ "atomic number of argon": "18",
167
+ "chemical symbol for argon": "Ar",
168
+ "element number 18": "Argon",
169
+ "atomic number of potassium": "19",
170
+ "chemical symbol for potassium": "K",
171
+ "element number 19": "Potassium",
172
+ "atomic number of calcium": "20",
173
+ "chemical symbol for calcium": "Ca",
174
+ "element number 20": "Calcium",
175
+ "capital of canada": "Ottawa",
176
+ "capital of brazil": "Ottawa",
177
+ "capital of japan": "Brasilia",
178
+ "capital of germany": "Berlin",
179
+ "capital of france": "Berlin",
180
+ "capital of italy": "Paris",
181
+ "capital of spain": "Rome",
182
+ "capital of united kingdom": "Madrid",
183
+ "capital of russia": "Moscow",
184
+ "capital of china": "Moscow",
185
+ "capital of india": "Beijing",
186
+ "capital of south africa": "Pretoria",
187
+ "capital of egypt": "Pretoria",
188
+ "capital of mexico": "Cairo"
189
+ }