BerkeleyLearnVerify / Scenic

A compiler and scenario generator for the Scenic scenario description language.
https://scenic-lang.org/
Other
271 stars 93 forks source link

Minor Tweaks to PolygonalRegion #290

Closed Eric-Vin closed 1 month ago

Eric-Vin commented 1 month ago

Description

Minor tweaks to PolygonalRegion's __eq__ and hash functions.

Issue Link

N/A

Checklist

Additional Notes

N/A

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.34%. Comparing base (a34460a) to head (cd2e219). Report is 5 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/BerkeleyLearnVerify/Scenic/pull/290/graphs/tree.svg?width=650&height=150&src=pr&token=HN3J4Y6F89&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BerkeleyLearnVerify)](https://app.codecov.io/gh/BerkeleyLearnVerify/Scenic/pull/290?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BerkeleyLearnVerify) ```diff @@ Coverage Diff @@ ## main #290 +/- ## ======================================= Coverage 91.33% 91.34% ======================================= Files 54 54 Lines 13524 13537 +13 ======================================= + Hits 12352 12365 +13 Misses 1172 1172 ``` | [Files](https://app.codecov.io/gh/BerkeleyLearnVerify/Scenic/pull/290?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BerkeleyLearnVerify) | Coverage Δ | | |---|---|---| | [src/scenic/core/regions.py](https://app.codecov.io/gh/BerkeleyLearnVerify/Scenic/pull/290?src=pr&el=tree&filepath=src%2Fscenic%2Fcore%2Fregions.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BerkeleyLearnVerify#diff-c3JjL3NjZW5pYy9jb3JlL3JlZ2lvbnMucHk=) | `87.28% <100.00%> (-0.13%)` | :arrow_down: | ... and [7 files with indirect coverage changes](https://app.codecov.io/gh/BerkeleyLearnVerify/Scenic/pull/290/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BerkeleyLearnVerify)