Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some minor touchup to preconditions and fix for minus. #104

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

haz
Copy link
Contributor

@haz haz commented Dec 29, 2023

Proposed changes

Forgo negating an expression for the ability to subtract two expressions.

Fixes

Fixes #100, but also breaks the use of - as something that negates.

Types of changes

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

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

Put an x in the boxes that apply.

  • I have read the CONTRIBUTING doc
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works

Further comments

More discussion over in #100

@codecov-commenter
Copy link

codecov-commenter commented Dec 29, 2023

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.76%. Comparing base (502c7a4) to head (caf21a1).
Report is 34 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #104      +/-   ##
==========================================
+ Coverage   88.35%   88.76%   +0.41%     
==========================================
  Files          25       25              
  Lines        1794     1798       +4     
  Branches      333      335       +2     
==========================================
+ Hits         1585     1596      +11     
+ Misses        149      144       -5     
+ Partials       60       58       -2     
Flag Coverage Δ
unittests 88.76% <100.00%> (+0.41%) ⬆️

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

Files with missing lines Coverage Δ
pddl/parser/domain.py 78.36% <100.00%> (+2.10%) ⬆️

... and 1 file with indirect coverage changes

@haz haz marked this pull request as draft December 29, 2023 20:12
@haz
Copy link
Contributor Author

haz commented Dec 29, 2023

Tests all run green, but marking this as WIP until we resolve the discussion over in #100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support subtraction in preconditions in domains.
2 participants