ripple-down-rules 0.1.68__tar.gz → 0.1.69__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/PKG-INFO +1 -1
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/pyproject.toml +1 -1
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules/datastructures/callable_expression.py +2 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules.egg-info/PKG-INFO +1 -1
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/LICENSE +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/README.md +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/setup.cfg +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules/__init__.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules/datasets.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules/datastructures/__init__.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules/datastructures/case.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules/datastructures/dataclasses.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules/datastructures/enums.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules/experts.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules/failures.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules/helpers.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules/prompt.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules/rdr.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules/rdr_decorators.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules/rules.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules/utils.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules.egg-info/SOURCES.txt +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules.egg-info/dependency_links.txt +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules.egg-info/top_level.txt +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/test/test_json_serialization.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/test/test_on_mutagenic.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/test/test_rdr.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/test/test_rdr_alchemy.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/test/test_rdr_world.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/test/test_relational_rdr.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/test/test_relational_rdr_alchemy.py +0 -0
- {ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/test/test_sql_model.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ripple_down_rules
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.69
|
4
4
|
Summary: Implements the various versions of Ripple Down Rules (RDR) for knowledge representation and reasoning.
|
5
5
|
Author-email: Abdelrhman Bassiouny <abassiou@uni-bremen.de>
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
|
|
6
6
|
|
7
7
|
[project]
|
8
8
|
name = "ripple_down_rules"
|
9
|
-
version = "0.1.
|
9
|
+
version = "0.1.69"
|
10
10
|
description = "Implements the various versions of Ripple Down Rules (RDR) for knowledge representation and reasoning."
|
11
11
|
readme = "README.md"
|
12
12
|
authors = [{ name = "Abdelrhman Bassiouny", email = "abassiou@uni-bremen.de" }]
|
@@ -225,6 +225,8 @@ def parse_string_to_expression(expression_str: str) -> AST:
|
|
225
225
|
:param expression_str: The string which will be parsed.
|
226
226
|
:return: The parsed expression.
|
227
227
|
"""
|
228
|
+
if not expression_str.startswith('def'):
|
229
|
+
expression_str = encapsulate_user_input(expression_str, CallableExpression.encapsulating_function)
|
228
230
|
mode = 'exec' if expression_str.startswith('def') else 'eval'
|
229
231
|
tree = ast.parse(expression_str, mode=mode)
|
230
232
|
logging.debug(f"AST parsed successfully: {ast.dump(tree)}")
|
{ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules.egg-info/PKG-INFO
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ripple_down_rules
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.69
|
4
4
|
Summary: Implements the various versions of Ripple Down Rules (RDR) for knowledge representation and reasoning.
|
5
5
|
Author-email: Abdelrhman Bassiouny <abassiou@uni-bremen.de>
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules/datastructures/case.py
RENAMED
File without changes
|
File without changes
|
{ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules/datastructures/enums.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules/rdr_decorators.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
{ripple_down_rules-0.1.68 → ripple_down_rules-0.1.69}/src/ripple_down_rules.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|