MCPcopy Create free account
hub / github.com/NVIDIA/SOL-ExecBench / __hash__

Method __hash__

src/sol_execbench/core/data/solution.py:364–366  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

362 return self._hash_cache
363
364 def __hash__(self) -> int: # pragma: no cover - trivial wrapper
365 # Use the memoized content hash for fast hashing in dict/set keys.
366 return hash(self._hash_cache)
367
368 def __eq__(self, other: object) -> bool: # pragma: no cover - trivial wrapper
369 if not isinstance(other, Solution):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected