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

Method model_post_init

src/sol_execbench/core/data/solution.py:326–328  ·  view source on GitHub ↗
(self, __context: Any)

Source from the content-addressed store, hash-verified

324 return None
325
326 def model_post_init(self, __context: Any) -> None:
327 # Precompute hash once since the model is frozen/immutable.
328 object.__setattr__(self, "_hash_cache", self._compute_hash())
329
330 def _compute_hash(self) -> str:
331 """Compute a deterministic hash of the solution content."""

Callers

nothing calls this directly

Calls 1

_compute_hashMethod · 0.95

Tested by

no test coverage detected