When TaskExtractorConfig is initialized, referenced_predicates includes 1) the trigger predicate and 2) predicates that are defined in has constraints in each window, but not the label predicate in the target window. This is problematic when the predicate used for label is not in has predicates. Is it intended or an unintended bug that should be fixed?
I saw that all the predicates used in the windows including the trigger predicate are included in the final_predicates, but it is soon dropped by this list comprehension with the constraint if k in referenced_predicates.
When
TaskExtractorConfig
is initialized,referenced_predicates
includes 1) thetrigger
predicate and 2) predicates that are defined inhas
constraints in each window, but not thelabel
predicate in thetarget
window. This is problematic when the predicate used forlabel
is not inhas
predicates. Is it intended or an unintended bug that should be fixed?https://github.com/justin13601/ACES/blob/89291a01522d2c23e45aa0ee6a09c32645f4d1b4/src/aces/config.py#L1292
I saw that all the predicates used in the windows including the
trigger
predicate are included in thefinal_predicates
, but it is soon dropped by this list comprehension with the constraintif k in referenced_predicates
.