AI-Planning / pddl

Unquestionable PDDL 3.1 parser
https://ai-planning.github.io/pddl/
MIT License
85 stars 27 forks source link

Override equal for derived predicates #74

Closed francescofuggitti closed 1 year ago

francescofuggitti commented 1 year ago

Proposed changes

Add custon eq operator to Predicates and Derived Predicates

Types of changes

What types of changes does your code introduce? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply.

codecov-commenter commented 1 year ago

Codecov Report

Merging #74 (173de51) into main (ad68c05) will decrease coverage by 0.08%. The diff coverage is 50.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #74      +/-   ##
==========================================
- Coverage   88.30%   88.23%   -0.08%     
==========================================
  Files          20       20              
  Lines        1052     1054       +2     
  Branches      164      164              
==========================================
+ Hits          929      930       +1     
- Misses         95       96       +1     
  Partials       28       28              
Flag Coverage Δ
unittests 88.23% <50.00%> (-0.08%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pddl/logic/predicates.py 83.52% <50.00%> (-0.81%) :arrow_down:
haz commented 1 year ago

codecov is not happy ;)

image