AI-Planning / AI-Planning/pddl

PDDL Case sensitivity

未關閉
#181 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
177
分支
43
平均合併
49 分鐘
30 天內合併 PR
1

描述

### Subject of the issue
PDDL is not case sensitive, but the `pddl` library is.

### Your environment
- Package Version [0.4.6]

### Steps to reproduce
```py
from pddl.core import Predicate
x = Predicate("case")
y = Predicate("CASE")
z = Predicate("CASE")
print(x == y) # False
print(y == z) # True
```

### Expected behaviour
The library should not be case sensitive when comparing PDDL elements.

### Actual behaviour
See code snippet above.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。