coredipper commited on
Commit
9082ed9
·
verified ·
1 Parent(s): 0a1f568

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. __pycache__/app.cpython-314.pyc +0 -0
  2. app.py +4 -0
__pycache__/app.cpython-314.pyc CHANGED
Binary files a/__pycache__/app.cpython-314.pyc and b/__pycache__/app.cpython-314.pyc differ
 
app.py CHANGED
@@ -46,6 +46,10 @@ EXAMPLES: dict[str, dict] = {
46
  "Boolean logic": {"expr": "not False or True and True", "pathway": "Krebs Cycle (Logic)"},
47
  "JSON parsing": {"expr": '{"name": "Alice", "age": 30}', "pathway": "Beta Oxidation (Data)"},
48
  "Python tuple": {"expr": "(1, 2, 3)", "pathway": "Beta Oxidation (Data)"},
 
 
 
 
49
  "Injection attempt": {"expr": "__import__('os').system('ls')", "pathway": "Auto-detect"},
50
  "Undefined variable": {"expr": "secret_password", "pathway": "Auto-detect"},
51
  "Division by zero": {"expr": "1 / 0", "pathway": "Auto-detect"},
 
46
  "Boolean logic": {"expr": "not False or True and True", "pathway": "Krebs Cycle (Logic)"},
47
  "JSON parsing": {"expr": '{"name": "Alice", "age": 30}', "pathway": "Beta Oxidation (Data)"},
48
  "Python tuple": {"expr": "(1, 2, 3)", "pathway": "Beta Oxidation (Data)"},
49
+ "Nested functions": {"expr": "sqrt(sin(pi/2) * 16) + factorial(3)", "pathway": "Glycolysis (Math)"},
50
+ "Mixed arithmetic & logic": {"expr": "(10 > 5) * 100 + (3 <= 3) * 50", "pathway": "Auto-detect"},
51
+ "Modulo & floor division": {"expr": "100 // 7 + 50 % 3", "pathway": "Glycolysis (Math)"},
52
+ "Large factorial": {"expr": "factorial(12) / 2", "pathway": "Glycolysis (Math)"},
53
  "Injection attempt": {"expr": "__import__('os').system('ls')", "pathway": "Auto-detect"},
54
  "Undefined variable": {"expr": "secret_password", "pathway": "Auto-detect"},
55
  "Division by zero": {"expr": "1 / 0", "pathway": "Auto-detect"},