Archive fork in favor of upstream and DUMAS nodes
tests / test (push) Canceled after 0s
tests / windows-storage (push) Canceled after 0s

This commit is contained in:
2026-10-20 10:46:16 +00:00
parent 881dcbcfba
commit 3716b02a57
76 changed files with 12140 additions and 4410 deletions
+27 -7
View File
@@ -61,7 +61,11 @@ from .memory_action_policy import (
resolve_memory_action_policy,
)
from .node_facade import execute_v38_runtime_request, make_runtime_request
from .nodes import CATEGORY as CONTINUUM_CATEGORY, H3ContinuumSamplerProduction
from .nodes import (
CATEGORY as CONTINUUM_CATEGORY,
H3ContinuumSamplerProduction,
_regenerate_from_value,
)
from .resolution import (
H3_ASPECT_AUTO,
H3_ASPECT_OPTIONS,
@@ -739,15 +743,31 @@ class H3ContinuumSamplerV38(H3ContinuumSamplerV37):
def IS_CHANGED(
cls,
generation_mode=GENERATION_MODE_FULL_RUN,
run_storage="Off",
reroll_from_chunk="Auto",
reroll_nonce=0,
**kwargs,
):
# Review execution depends on validated Run Storage state that is
# intentionally outside the visible graph inputs. Always execute the
# V3.8 sampler in Review mode and let Run Storage remain the sole
# authority for exact prefix reuse. Full Run keeps Core's stable cache
# behavior, and this method is deliberately not inherited by V3.7/Easy.
if generation_mode == GENERATION_MODE_REVIEW:
# Review and automatic reroll variations depend on saved state outside
# Core's input cache. Run Storage still owns all reuse/safety decisions.
# Core supplies None for linked inputs during its cache-key pass.
if generation_mode is None or generation_mode == GENERATION_MODE_REVIEW:
return float("NaN")
if run_storage in ("Save + Auto Resume", None):
try:
if reroll_nonce is not None and int(reroll_nonce) != 0:
return False
if reroll_from_chunk is None:
return float("NaN")
# The execution path validates the actual configured chunk range.
boundary = _regenerate_from_value(
reroll_from_chunk, chunks=16
)
if boundary > 0:
return float("NaN")
except (TypeError, ValueError, OverflowError):
pass # Core/backend validation owns malformed inputs.
# Ordinary Full Run and fixed positive nonces keep stable caching.
return False
def run(