ripple-down-rules 0.5.51__py3-none-any.whl → 0.5.53__py3-none-any.whl

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.
@@ -1,4 +1,4 @@
1
- __version__ = "0.5.51"
1
+ __version__ = "0.5.53"
2
2
 
3
3
  import logging
4
4
  logger = logging.Logger("rdr")
@@ -194,6 +194,7 @@ class Expert(ABC):
194
194
  answer = answer.strip('\n').strip()
195
195
  if 'def ' not in answer and 'pass' in answer:
196
196
  self.all_expert_answers.append(({}, None))
197
+ continue
197
198
  scope = extract_imports(tree=ast.parse(answer))
198
199
  function_source = all_function_sources[i].replace(all_function_sources_names[i],
199
200
  CallableExpression.encapsulating_function_name)
@@ -489,6 +489,7 @@ class RDRCaseViewer(QMainWindow):
489
489
  self.code_lines, self.template_file_creator.func_name,
490
490
  self.template_file_creator.function_signature,
491
491
  self.template_file_creator.func_doc, self.case_query)
492
+ self.case_query.scope.update(updates)
492
493
  self.template_file_creator = None
493
494
 
494
495
  def update_attribute_layout(self, obj, name: str):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ripple_down_rules
3
- Version: 0.5.51
3
+ Version: 0.5.53
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
@@ -1,5 +1,5 @@
1
- ripple_down_rules/__init__.py,sha256=5wOgn3xHTOj_qbKlZtLFH5kYVP-c9elIeA2fTB2WPmM,100
2
- ripple_down_rules/experts.py,sha256=rPRJU2py5wCopZADVWOP3Vzp077KL6ArDlkxUQ0Mh6w,12130
1
+ ripple_down_rules/__init__.py,sha256=LKt5C0kg1CabiBILMQzPoFf80F4xL9CU80b3t9CQZSY,100
2
+ ripple_down_rules/experts.py,sha256=MjYaQLWGl5I8_VG_Iy5KXRGGvy8UduG2jFDhseNNYq8,12155
3
3
  ripple_down_rules/helpers.py,sha256=TvTJU0BA3dPcAyzvZFvAu7jZqsp8Lu0HAAwvuizlGjg,2018
4
4
  ripple_down_rules/rdr.py,sha256=FJYuRXgpUYSSK1pYrp2yeXb_ZZ2xjPED31tzxofokL4,48865
5
5
  ripple_down_rules/rdr_decorators.py,sha256=pYCKLgMKgQ6x_252WQtF2t4ZNjWPBxnaWtJ6TpGdcc0,7820
@@ -12,13 +12,13 @@ ripple_down_rules/datastructures/case.py,sha256=r8kjL9xP_wk84ThXusspgPMrAoed2bGQ
12
12
  ripple_down_rules/datastructures/dataclasses.py,sha256=PuD-7zWqWT2p4FnGvnihHvZlZKg9A1ctnFgVYf2cs-8,8554
13
13
  ripple_down_rules/datastructures/enums.py,sha256=ce7tqS0otfSTNAOwsnXlhsvIn4iW_Y_N3TNebF3YoZs,5700
14
14
  ripple_down_rules/user_interface/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- ripple_down_rules/user_interface/gui.py,sha256=SB0gUhgReJ3yx-NEHRPMGVuNRLPRUwW8-qup-Kd4Cfo,27182
15
+ ripple_down_rules/user_interface/gui.py,sha256=jRRyQxgU_RK2e_wgi2gPag_FB8UCYOAXicRTk8_JWgo,27232
16
16
  ripple_down_rules/user_interface/ipython_custom_shell.py,sha256=24MIFwqnAhC6ofObEO6x5xRWRnyQmPpPmTvxbCKBrzM,6514
17
17
  ripple_down_rules/user_interface/object_diagram.py,sha256=tsB6iuLNEbHxp5lR2WjyejjWbnAX_nHF9xS8jNPOQVk,4548
18
18
  ripple_down_rules/user_interface/prompt.py,sha256=AkkltdDIaioN43lkRKDPKSjJcmdSSGZDMYz7AL7X9lE,8082
19
19
  ripple_down_rules/user_interface/template_file_creator.py,sha256=FGtLfYBfr4310c7Dfa9b2qiOWLNzHk1q3kdhD70Ilg4,13804
20
- ripple_down_rules-0.5.51.dist-info/licenses/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
21
- ripple_down_rules-0.5.51.dist-info/METADATA,sha256=J5LXqi6FPqb7KVIhDI0xehfYDFLf1MH5agQDZ-Mpfmw,48189
22
- ripple_down_rules-0.5.51.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
- ripple_down_rules-0.5.51.dist-info/top_level.txt,sha256=VeoLhEhyK46M1OHwoPbCQLI1EifLjChqGzhQ6WEUqeM,18
24
- ripple_down_rules-0.5.51.dist-info/RECORD,,
20
+ ripple_down_rules-0.5.53.dist-info/licenses/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
21
+ ripple_down_rules-0.5.53.dist-info/METADATA,sha256=L6wXpYzu-UYGXpBhXuocC319zeWGpfGrhQQHILhTr7M,48189
22
+ ripple_down_rules-0.5.53.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
+ ripple_down_rules-0.5.53.dist-info/top_level.txt,sha256=VeoLhEhyK46M1OHwoPbCQLI1EifLjChqGzhQ6WEUqeM,18
24
+ ripple_down_rules-0.5.53.dist-info/RECORD,,