(e: dict)
| 2307 | if skipped_ids: |
| 2308 | |
| 2309 | def edge_dangles(e: dict) -> bool: |
| 2310 | try: |
| 2311 | return e.get("source") in skipped_ids or e.get("target") in skipped_ids |
| 2312 | except TypeError: |
| 2313 | # Non-hashable endpoint from an untrusted result; leave it |
| 2314 | # to build-time validation rather than fail the save. |
| 2315 | return False |
| 2316 | |
| 2317 | def hyperedge_dangles(h: dict) -> bool: |
| 2318 | try: |
no test coverage detected