Complete eleven reviewed original HD remasters
This commit is contained in:
1 parent
83a7c8cb54
commit
fad806a237
2440 files changed
+808909
-43
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"status": "CORRECTION_TO_HISTORICAL_DIAGNOSTIC_METADATA_NOT_PIXELS",
|
||||
"assets": [
|
||||
"203c6",
|
||||
"203c7"
|
||||
],
|
||||
"diagnostic_true_transform": "96x96 ->256x256 nearest-neighbor; ratio8/3, not integer2",
|
||||
"historical_integer_NN_factor2_field_is_incorrect": true,
|
||||
"true_unresampled_Original_plus_native1to4_bodies_all_exact": true,
|
||||
"author_and_different_material_review_rely_on_native_bodies": true,
|
||||
"pixel_changes": 0
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"status": "METADATA_ONLY_PATHS_NOT_RUNTIME_EXECUTION",
|
||||
"literal_QA_sha256": "62d093c4ec0ec0580fa4c8e22c6eb39ba791bb1d3c37cfcb5f91cfbdebb36962",
|
||||
"portable_QA_sha256": "df07329f3fb8ab470921f2cbc37918eb536ccf7e97b3c341841bcc007bbb7642",
|
||||
"literal_candidate_sha256": "f8fb7302d1389a7f5ad06f5fe13495b349ae952ce03d8b6802329285bcb3f574",
|
||||
"portable_candidate_sha256": "f369d6d3aa114cb54f466c06c9fbcbfe9eaaaa1d684b1af7ca7aacb1c6a90e88",
|
||||
"paths": {
|
||||
"203c6-DERIVED-graycast-v1.png": "jobs/derived-grating203c6-203c7-quiet-graycast-complete2-v1-20261019/derived/203c6-DERIVED-graycast-v1.png",
|
||||
"203c7-DERIVED-graycast-v1.png": "jobs/derived-grating203c6-203c7-quiet-graycast-complete2-v1-20261019/derived/203c7-DERIVED-graycast-v1.png"
|
||||
},
|
||||
"changed_QA_identity_fields": [
|
||||
"candidate_sha256",
|
||||
"candidate_sha256_at_start",
|
||||
"frame_bindings_sha256",
|
||||
"artwork_sha256 path keys"
|
||||
],
|
||||
"all_other_literal_runtime_fields_preserved": true,
|
||||
"new_helper_invocations": 0
|
||||
}
|
||||
+6005
File diff suppressed because it is too large.
Load diff
+72
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"status": "AUTHOR_INTRINSIC_QUALIFIED2_CONTEXT_PENDING_NOT_ADMISSION",
|
||||
"selected": [
|
||||
"203c6",
|
||||
"203c7"
|
||||
],
|
||||
"actual_cleanup_invocations": 1,
|
||||
"actual_new_currentG2_intrinsic_QA_invocations": 1,
|
||||
"new_imagegen_invocations": 0,
|
||||
"QA_sha256": "62d093c4ec0ec0580fa4c8e22c6eb39ba791bb1d3c37cfcb5f91cfbdebb36962",
|
||||
"physical_review": [
|
||||
"Both whole unresampled Original+native1/2/3/4 boards opened and inspected completely.",
|
||||
"Both full integer-NN diagnostic boards opened and inspected completely.",
|
||||
"Gray grating rib/frame contrast now reads at native1/2 and retains mottled generated variation at native3/4.",
|
||||
"Ground remains dark/brown with authentic Source block geometry and subtle generated material variation; no bright raised chrome or expanded tan boxes."
|
||||
],
|
||||
"limits": [
|
||||
"Native1 is softer than Original at some edge pixels.",
|
||||
"Native3/4 show granular gray variation and visibly Source-shaped brown ground blocks.",
|
||||
"Generated luminance is preserved to rounding within the fixed Source-owned semantic mask; Original geometry and one aggregate gray anchor are not generated HD detail.",
|
||||
"Outside equality is to disclosed Pillow Lanczos3 baseline, not old Rust helper resampling.",
|
||||
"Genuine terrain contexts, different material peer, Root admission and portability checks still pending."
|
||||
],
|
||||
"measurements": [
|
||||
{
|
||||
"asset": "203c6",
|
||||
"selected_logical_cells": 179,
|
||||
"selected_output_pixels": 2864,
|
||||
"outside_exact_Pillow_baseline_pixels": 13520,
|
||||
"changed_selected_pixels": 2864,
|
||||
"before_RGB_mean": [
|
||||
58.34252793296089,
|
||||
48.071578212290504,
|
||||
42.6875
|
||||
],
|
||||
"after_RGB_mean": [
|
||||
71.6497905027933,
|
||||
71.26466480446928,
|
||||
71.26466480446928
|
||||
],
|
||||
"before_mean_R_minus_B": 15.655027932960893,
|
||||
"after_mean_R_minus_B": 0.3851256983240223,
|
||||
"all_alpha_exact": true,
|
||||
"outside_exact": true,
|
||||
"old_Rust_resampling_equality_claimed": false
|
||||
},
|
||||
{
|
||||
"asset": "203c7",
|
||||
"selected_logical_cells": 192,
|
||||
"selected_output_pixels": 3072,
|
||||
"outside_exact_Pillow_baseline_pixels": 13312,
|
||||
"changed_selected_pixels": 3072,
|
||||
"before_RGB_mean": [
|
||||
56.8310546875,
|
||||
46.934895833333336,
|
||||
41.674479166666664
|
||||
],
|
||||
"after_RGB_mean": [
|
||||
70.376953125,
|
||||
69.978515625,
|
||||
69.978515625
|
||||
],
|
||||
"before_mean_R_minus_B": 15.156575520833334,
|
||||
"after_mean_R_minus_B": 0.3984375,
|
||||
"all_alpha_exact": true,
|
||||
"outside_exact": true,
|
||||
"old_Rust_resampling_equality_claimed": false
|
||||
}
|
||||
],
|
||||
"prior_V2_HOLD_preserved": true,
|
||||
"canonical_mutations": 0
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
PROPOSED ONLY — actual cleanup, real QA and new generation have not run.
|
||||
|
||||
Purpose: correct the tan color cast in the generated grating material of 203c6/c7 while retaining generated local luminance and all nonselected artwork. The existing quiet V2 raw remains untouched and HOLD2 remains in force.
|
||||
|
||||
Selection: the complete authentic gray grating cohort, Source indices 11..30 inclusive in fixed Source geometry regions [21,3,31,31] and [2,0,31,12], respectively. All 179/192 cells are selected, including every gray shade in those structures; selection never reads candidate color or pixel error. The Source-only audit publishes sorted coordinates, exact indices, RGB colors, hashes and aggregate means. No original full-frame upscale is called HD.
|
||||
|
||||
Single fixed transform: crop each 887-square panel from the verified RGB raw; disclose Pillow Lanczos3 resize to 128 square as the baseline. For selected 4x logical cells only, retain the actual generated per-pixel luminance Y, subtract one cohort-wide generated mean and add the authentic Source cohort aggregate gray RGB. This is equivalent to a single constant luminance shift plus neutral chroma anchor. A fixed absolute shift cap of 32, no clipping and <=0.5 luminance rounding error are mandatory. No per-cell Source RGB fill, gain/sigma profile, random grain, flat fallback, shape cleanup or texture synthesis. Nonselected resized-parent RGBA and every alpha byte remain exact. Equality to the old Rust-resampled raw bank is not claimed.
|
||||
|
||||
Detail provenance: selected spatial luminance differences come only from this untouched generated raw. Source supplies semantic geometry and one aggregate color per frame. Require genuine same-material raw 3x3 local luminance witnesses before any correction. Witnesses/variance are technical evidence, not visual approval. Original-owned geometry and aggregate color receive no generated-detail credit; direct Original pixel-copy operation count is zero (coincidental numerical matches are not asserted absent).
|
||||
|
||||
Input/publication: strict complete Source32 headers, ordinary opaque class, six-bit palette, exact RGB/RGBA PNG bounds, verified-byte decoders, fd-walk no symlinks and NONBLOCK regular final descriptor, bounded exact-length stable fstat read and SHA. Fresh atomic no-replace output, reauthenticate inputs/tool/recipe before publication. Existing output is never overwritten. This private helper is not installed publicly.
|
||||
|
||||
Synthetic validation: 21 tests pass including independent baseline/alpha equality, two selected generated luminance differences retained, repeatability, semantic index/region boundaries, clipping and nonneutral rejection, malformed inputs, palette/header limits, symlink/FIFO/oversized/short/changed reads, fresh receipt and no-replace. Tests render synthetic inputs only. First 14-test draft passed before FIFO/short-read fixes; the final 21-test log is authoritative for this helper.
|
||||
|
||||
Next gate: different code peer reviews this proposal and fixed pins; Root physically reviews authentic Originals and untouched raw. Only after explicit Root release may a single real derive run create private two-frame outputs, then one current G2 QA and complete native-scale material review. No tuning iterations or automatic qualification. Any remaining material mismatch stays HOLD. No canonical/source/registration/Git mutation is authorized here.
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"FIFO_child_timeout": true,
|
||||
"timeout_seconds": 1,
|
||||
"finding": "final descriptor opens FIFO in blocking mode before fstat regular-file check",
|
||||
"status": "FIX_REQUIRED",
|
||||
"helper_sha256": "a7ec5b6e3da48c82f83abe4b03d2b49b82398bcd925db4006eca7642d477c1c8"
|
||||
}
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"status": "PASS_DIFFERENT_CODE_REVIEW_AND_21_SYNTHETIC_ONLY_REGRESSIONS",
|
||||
"reviewer": "/root/stag_portability",
|
||||
"utc": "2026-10-18T23:22:43.492209+00:00",
|
||||
"reviewed_files_sha256": {
|
||||
"hd_grating_gray_cleanup.py": "a44be4d74907cce7f18a87c9e47b07f4aefdc3582631cdd40d152b0b76bef4a1",
|
||||
"test_hd_grating_gray_cleanup.py": "078b81df887fa8ddf7cf03ac10a00cf24ad8bb451133c17e571d3b65bedaa750"
|
||||
},
|
||||
"initial_FINDING_preserved": {
|
||||
"helper_sha256": "a7ec5b6e3da48c82f83abe4b03d2b49b82398bcd925db4006eca7642d477c1c8",
|
||||
"FIFO_block_reproduced": true,
|
||||
"evidence": "INITIAL-FIFO-HANG-CONCRETE-FINDING.json",
|
||||
"final_fix": "O_NONBLOCK on final/root/component descriptors; FIFO rejects before read; exact regular size and stable descriptor metadata validated"
|
||||
},
|
||||
"independent_tests": {
|
||||
"count": 21,
|
||||
"exit_code": 0,
|
||||
"seconds": 0.3,
|
||||
"Python": "/home/quintine/.cache/codex-runtimes/codex-primary-runtime/dependencies/python/bin/python3",
|
||||
"argv": [
|
||||
"-B",
|
||||
"-m",
|
||||
"unittest",
|
||||
"-v",
|
||||
"test_hd_grating_gray_cleanup"
|
||||
],
|
||||
"stderr_sha256": "9146cc641f4ba7939d94a8a66884b68938d97ef8d0e1099d35a613c73d4e6f90",
|
||||
"stdout_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
"findings_closed": [
|
||||
"FIFO blocking before regular-file check",
|
||||
"short-read length mismatch",
|
||||
"strict RGB/RGBA bounded PNG canvas",
|
||||
"malformed frame objects"
|
||||
],
|
||||
"reviewed_contract": {
|
||||
"selection": "Only fixed per-asset rectangle intersected with all authentic Source indices11..30; exact selected-cell digest; stable two-frame order",
|
||||
"color": "One aggregate Source gray RGB anchor per frame, max chroma8, one fixed luminance offset bounded absolute32; clipping rejects",
|
||||
"generated_structure": "Each selected resized-parent pixel retains generated luminance difference up to at most0.5 per-pixel quantization error; no per-cell SourceRGB field",
|
||||
"outside": "All RGBA outside selected4xmask byte-identical to Pillow Lanczos resized generated-parent baseline",
|
||||
"IO": "No-follow descriptor traversal; NONBLOCK; regular-file/size/short-read/stat-change checks; hashes authenticate buffered bytes; derive never reopens filenames; reauthentication before fresh no-overwrite publication",
|
||||
"shape_palette": "Exact uncompressed opaque32x32 Source1044bytes;768byte six-bit palette; bounded2x1RGB/RGBAPNG; all alpha255",
|
||||
"publication": "Linux renameat2 no-replace; synthesized fixtures prove existing output untouched; no native Windows execution claim"
|
||||
},
|
||||
"limitations": [
|
||||
"This is code approval only; no production recipe/material/art/context approval or actual cleanup/QA run.",
|
||||
"Outside guarantee is relative to Pillow resized parent, not old Rust raw-bank resampling.",
|
||||
"Source aggregate brightness transfer may shift local generated luminance by up to32; visual review remains required.",
|
||||
"exact_Original_pixel_copies=0 records absence of direct per-cell SourceRGB copying operations; it is not a measured count of coincidentally equal output colors."
|
||||
],
|
||||
"actual_production_cleanup_calls": 0,
|
||||
"actual_game_QA_or_World_calls": 0,
|
||||
"canonical_changes": false,
|
||||
"Git_changes": false
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"status": "PASS_SOURCE_ONLY_ACTUAL_RECIPE_BINDINGS_AND_COMPLETE_MASKS",
|
||||
"code_review_sha256": "ae1331cb40a006d9f28df50930572a5a6f231cc410213f519c53dd0ee2e1e0c8",
|
||||
"author_interface_sha256": "966f00be07c3544787791ed4130a0b75b5a7e60c814e655c1807084d00ddb215",
|
||||
"actual_recipe_sha256": "4089958c135d9315009b3ffd911b3020e67f1c98fab8b047baa1776106d600eb",
|
||||
"actual_recipe_not_executed": true,
|
||||
"all_author_interface_file_pins_exact": true,
|
||||
"all_Source_palette_parent_raw_byte_bindings_exact": true,
|
||||
"complete_mask_coordinate_lists_match_source_only_author_audit": true,
|
||||
"frames": [
|
||||
{
|
||||
"asset": "203c6",
|
||||
"cells": 179,
|
||||
"selected_cells_sha256": "993151cf0502ae326ea036af5da26eb882dac3a23c5557f8322a46afe336ba6d",
|
||||
"Source_aggregate_RGB": [
|
||||
71.63128491620111,
|
||||
71.26815642458101,
|
||||
71.26815642458101
|
||||
]
|
||||
},
|
||||
{
|
||||
"asset": "203c7",
|
||||
"cells": 192,
|
||||
"selected_cells_sha256": "a94217c23d00b779213e75b8e62529d3a724a4f903ef277a02be8fcc8bf72ef0",
|
||||
"Source_aggregate_RGB": [
|
||||
70.375,
|
||||
70.015625,
|
||||
70.015625
|
||||
]
|
||||
}
|
||||
],
|
||||
"actual_derive_calls": 0,
|
||||
"actual_QA_calls": 0,
|
||||
"Root_art_approval_required": true
|
||||
}
|
||||
+203
@@ -0,0 +1,203 @@
|
||||
"""DERIVED gray-cast correction, preserving generated luminance structure.
|
||||
|
||||
Bounded to the two reviewed grating compositions. Source supplies only an exact
|
||||
semantic mask and ONE aggregate gray color per frame, never a painted SourceNx
|
||||
field. This tool does not approve art, create a runtime policy or modify inputs.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
import argparse, ctypes, errno, hashlib, io, json, os, shutil, stat, struct, sys, tempfile
|
||||
from pathlib import Path, PurePosixPath
|
||||
import numpy as np
|
||||
from PIL import Image, __version__ as PILLOW_VERSION
|
||||
|
||||
METHOD = 'generated-grating-semantic-gray-cohort-mean-cast-only-v1'
|
||||
REGIONS = {'203c6': [21,3,31,31], '203c7': [2,0,31,12]}
|
||||
MAX_BYTES = 32*1024*1024
|
||||
MAX_PIXELS = 4_194_304
|
||||
MAX_SHIFT = 32.0
|
||||
LUMA = np.asarray([0.2126,0.7152,0.0722], np.float64)
|
||||
|
||||
|
||||
def sha(b): return hashlib.sha256(b).hexdigest()
|
||||
|
||||
def read_regular(root, relative, limit=MAX_BYTES):
|
||||
"""Every component, including the root, is walked with stable no-follow FDs."""
|
||||
if type(relative)is not str:raise ValueError('string relative path required')
|
||||
p=PurePosixPath(relative)
|
||||
if (p.is_absolute() or not p.parts
|
||||
or '..'in p.parts or p.as_posix()!=relative):
|
||||
raise ValueError('normalized contained relative path required')
|
||||
base=Path(root).absolute();fd=os.open('/',os.O_RDONLY|os.O_DIRECTORY|os.O_NONBLOCK)
|
||||
try:
|
||||
for name in list(base.parts[1:])+list(p.parts[:-1]):
|
||||
newer=os.open(name,os.O_RDONLY|os.O_DIRECTORY|os.O_NOFOLLOW|os.O_NONBLOCK,dir_fd=fd)
|
||||
os.close(fd);fd=newer
|
||||
f=os.open(p.parts[-1],os.O_RDONLY|os.O_NOFOLLOW|os.O_NONBLOCK,dir_fd=fd)
|
||||
try:
|
||||
before=os.fstat(f)
|
||||
if not stat.S_ISREG(before.st_mode)or before.st_size>limit:
|
||||
raise ValueError('bounded regular input required')
|
||||
with os.fdopen(f,'rb',closefd=False)as stream:body=stream.read(limit+1)
|
||||
after=os.fstat(f)
|
||||
identity=lambda q:(q.st_dev,q.st_ino,q.st_size,q.st_mtime_ns,q.st_ctime_ns)
|
||||
if identity(before)!=identity(after)or len(body)!=before.st_size or len(body)>limit:
|
||||
raise ValueError('input changed during bounded read')
|
||||
finally:os.close(f)
|
||||
finally:os.close(fd)
|
||||
return body
|
||||
|
||||
|
||||
def read_bound(root,binding,limit=MAX_BYTES):
|
||||
if (type(binding)is not dict or set(binding)!={'path','sha256'}
|
||||
or type(binding['sha256'])is not str or len(binding['sha256'])!=64
|
||||
or any(c not in '0123456789abcdef'for c in binding['sha256'])):
|
||||
raise ValueError('exact relative path/sha256 binding required')
|
||||
body=read_regular(root,binding['path'],limit)
|
||||
if sha(body)!=binding['sha256']:raise ValueError('input SHA mismatch')
|
||||
return body
|
||||
|
||||
|
||||
def source_indices(body):
|
||||
if len(body)!=1044 or struct.unpack('<5i',body[:20])!=(1,1,0,32,32):
|
||||
raise ValueError('exact complete uncompressed 32x32 Source required')
|
||||
a=np.frombuffer(body[20:],np.uint8).reshape(32,32).copy()
|
||||
if np.any(a>=240):raise ValueError('only opaque ordinary Source supported')
|
||||
return a
|
||||
|
||||
|
||||
def palette_rgb(body):
|
||||
if len(body)!=768 or max(body)>63:raise ValueError('authentic six-bit palette required')
|
||||
a=np.frombuffer(body,np.uint8).astype(np.uint16).reshape(256,3)
|
||||
return ((a<<2)|(a>>4)).astype(np.uint8)
|
||||
|
||||
|
||||
def semantic_mask(asset, source):
|
||||
if asset not in REGIONS:raise ValueError('unreviewed grating asset')
|
||||
x0,y0,x1,y1=REGIONS[asset];m=np.zeros((32,32),bool)
|
||||
m[y0:y1,x0:x1]=(source[y0:y1,x0:x1]>=11)&(source[y0:y1,x0:x1]<=30)
|
||||
if not m.any():raise ValueError('no authentic gray grating material')
|
||||
return m
|
||||
|
||||
|
||||
def selected_digest(mask):
|
||||
return sha(json.dumps(sorted([[int(x),int(y)]for y,x in np.argwhere(mask)]),
|
||||
separators=(',',':')).encode())
|
||||
|
||||
|
||||
def validate_recipe(r):
|
||||
if (type(r)is not dict or set(r)!={'format_version','method','palette','parent_raw','frames'}
|
||||
or type(r['format_version'])is not int or r['format_version']!=1 or r['method']!=METHOD
|
||||
or type(r['frames'])is not list or len(r['frames'])!=2):
|
||||
raise ValueError('exact reviewed two-frame recipe required')
|
||||
if any(type(f)is not dict for f in r['frames']):raise ValueError('frame objects required')
|
||||
if [f.get('asset')for f in r['frames']]!=['203c6','203c7']:
|
||||
raise ValueError('ordered complete pair required')
|
||||
for f in r['frames']:
|
||||
if (set(f)!={'asset','Source','selected_cells_sha256'}
|
||||
or type(f['selected_cells_sha256'])is not str
|
||||
or len(f['selected_cells_sha256'])!=64
|
||||
or any(c not in '0123456789abcdef'for c in f['selected_cells_sha256'])):
|
||||
raise ValueError('unknown frame field or selector digest')
|
||||
|
||||
|
||||
def prepare_inputs(r, root):
|
||||
validate_recipe(r)
|
||||
return (palette_rgb(read_bound(root,r['palette'],768)),
|
||||
read_bound(root,r['parent_raw']),
|
||||
[(f,source_indices(read_bound(root,f['Source'],1044)))for f in r['frames']])
|
||||
|
||||
|
||||
def derive(palette, raw_bytes, frames):
|
||||
"""Pure verified-bytes operation. Never reopen source or parent filenames."""
|
||||
with Image.open(io.BytesIO(raw_bytes)) as opened:
|
||||
if (opened.format!='PNG' or opened.mode not in ('RGB','RGBA') or opened.width!=2*opened.height
|
||||
or not 128<=opened.height<=2048 or opened.width*opened.height>MAX_PIXELS):
|
||||
raise ValueError('bounded exact 2x1 PNG parent required')
|
||||
raw=np.asarray(opened.convert('RGBA')).copy()
|
||||
if np.any(raw[:,:,3]!=255):raise ValueError('no alpha repair/hidden RGB allowed')
|
||||
size=raw.shape[0];output=[]
|
||||
for column,(f,src)in enumerate(frames):
|
||||
mask=semantic_mask(f['asset'],src)
|
||||
if selected_digest(mask)!=f['selected_cells_sha256']:raise ValueError('Source cohort digest mismatch')
|
||||
parent=raw[:,column*size:(column+1)*size,:]
|
||||
# A raw 3x3 luminance witness must lie wholly in the same gray cohort.
|
||||
coordinates=((np.arange(size)*2+1)*32)//(size*2)
|
||||
mapped=mask[coordinates[:,None],coordinates[None,:]]
|
||||
luma=parent[:,:,:3].astype(np.float64)@LUMA
|
||||
eligible=mapped[1:-1,1:-1].copy();low=luma[1:-1,1:-1].copy();high=low.copy()
|
||||
for dy,dx in [(-1,-1),(-1,0),(-1,1),(0,-1),(0,1),(1,-1),(1,0),(1,1)]:
|
||||
yy=slice(1+dy,size-1+dy);xx=slice(1+dx,size-1+dx)
|
||||
eligible &= mapped[yy,xx];low=np.minimum(low,luma[yy,xx]);high=np.maximum(high,luma[yy,xx])
|
||||
witnesses=int(np.count_nonzero(eligible&(high-low>=2.0)))
|
||||
if witnesses==0:raise ValueError('no authentic raw same-material fine luminance witness')
|
||||
baseline=np.asarray(Image.fromarray(parent).resize((128,128),Image.Resampling.LANCZOS)).copy()
|
||||
area=np.repeat(np.repeat(mask,4,0),4,1);rgb=baseline[:,:,:3].astype(np.float64)
|
||||
generated_luma=rgb@LUMA;anchor=palette[src[mask]].astype(np.float64).mean(axis=0)
|
||||
if anchor.max()-anchor.min()>8:raise ValueError('Source cohort is not near-neutral gray')
|
||||
anchor_luma=float(anchor@LUMA);shift=anchor_luma-float(generated_luma[area].mean())
|
||||
if abs(shift)>MAX_SHIFT:raise ValueError('gray mean correction exceeds fixed32 cap')
|
||||
proposed=(generated_luma[area]+shift)[:,None]+(anchor-anchor_luma)[None,:]
|
||||
if np.any(proposed<0)or np.any(proposed>255):raise ValueError('clipping forbidden')
|
||||
result=baseline.copy();result[:,:,:3][area]=np.rint(proposed).astype(np.uint8)
|
||||
if not np.array_equal(result[~area],baseline[~area]):raise AssertionError('outside changed')
|
||||
transformed_luma=result[:,:,:3].astype(np.float64)@LUMA
|
||||
error=float(np.abs(transformed_luma[area]-(generated_luma[area]+shift)).max())
|
||||
if error>0.5000001:raise AssertionError('generated luminance structure lost')
|
||||
metrics=dict(asset=f['asset'],semantic_Source_cells=int(mask.sum()),corrected_output_pixels=int(area.sum()),
|
||||
unmodified_resized_parent_pixels=int((~area).sum()),Source_aggregate_RGB=anchor.tolist(),
|
||||
generated_luma_mean=float(generated_luma[area].mean()),constant_gray_mean_offset=shift,
|
||||
raw_same_cohort_3x3_luma_witnesses=witnesses,max_luma_structure_rounding_error=error,
|
||||
generated_luma_variance=float(generated_luma[area].var()),
|
||||
output_luma_variance=float(transformed_luma[area].var()),
|
||||
exact_Original_pixel_copies=0,outside_resized_parent_exact=True,
|
||||
selected_cells_sha256=selected_digest(mask),output_scale=4)
|
||||
output.append((f['asset'],result,metrics))
|
||||
return output
|
||||
|
||||
|
||||
def publish_no_replace(stage,target):
|
||||
if os.name=='nt':os.rename(stage,target);return
|
||||
if not sys.platform.startswith('linux'):raise OSError(errno.ENOTSUP,'atomic publication unsupported')
|
||||
libc=ctypes.CDLL(None,use_errno=True)
|
||||
if not hasattr(libc,'renameat2'):raise OSError(errno.ENOTSUP,'renameat2 unavailable')
|
||||
fn=libc.renameat2;fn.argtypes=[ctypes.c_int,ctypes.c_char_p,ctypes.c_int,ctypes.c_char_p,ctypes.c_uint]
|
||||
fn.restype=ctypes.c_int
|
||||
if fn(-100,os.fsencode(stage),-100,os.fsencode(target),1)!=0:
|
||||
code=ctypes.get_errno();raise OSError(code,os.strerror(code),str(target))
|
||||
|
||||
|
||||
def run(recipe_relative,input_root,output):
|
||||
root=Path(input_root).absolute();rel=PurePosixPath(recipe_relative)
|
||||
if rel.is_absolute()or '..'in rel.parts or not rel.parts:raise ValueError('relative recipe required')
|
||||
# Recipe bytes use the same no-follow reader after a separately bound hash.
|
||||
body=read_regular(root,rel.as_posix(),1_000_000)
|
||||
r=json.loads(body);prepared=prepare_inputs(r,root);result=derive(*prepared)
|
||||
output=Path(output).absolute()
|
||||
if output.exists()or output.is_symlink()or not output.parent.is_dir():raise ValueError('fresh output directory required')
|
||||
tool_path=Path(__file__).absolute();tool_bytes=read_regular(tool_path.parent,tool_path.name);outputs={};pngs={}
|
||||
for asset,rgba,_ in result:
|
||||
stream=io.BytesIO();Image.fromarray(rgba).save(stream,format='PNG');pngs[asset]=stream.getvalue();outputs[asset]=sha(pngs[asset])
|
||||
execution=dict(status='success',method=METHOD,recipe_sha256=sha(body),tool_sha256=sha(tool_bytes),
|
||||
source_sha256={f['asset']:f['Source']['sha256']for f in r['frames']},
|
||||
parent_raw_sha256=[r['parent_raw']['sha256']],output_sha256=outputs)
|
||||
receipt=dict(status='DERIVED_NOT_ART_APPROVAL',execution=execution,frames=[m for _,_,m in result],
|
||||
runtime=dict(python=sys.version,numpy=np.__version__,Pillow=PILLOW_VERSION),
|
||||
limits='Source owns semantic geometry and one aggregate gray anchor only; generated raw owns every luminance difference. No per-cell Source RGB copying, flat fallback, new pixels outside resized-parent selection, or quality approval. Resized-parent baseline uses Pillow Lanczos3; equality to old Rust raw-bank resampling is NOT claimed.')
|
||||
stage=Path(tempfile.mkdtemp(prefix='.'+output.name+'.stage-',dir=output.parent))
|
||||
try:
|
||||
for asset in pngs:(stage/(asset+'-DERIVED-graycast-v1.png')).write_bytes(pngs[asset])
|
||||
(stage/'execution-receipt.json').write_text(json.dumps(receipt,indent=2)+'\n')
|
||||
if read_bound(root,{'path':rel.as_posix(),'sha256':sha(body)},1_000_000)!=body:raise ValueError('recipe changed')
|
||||
prepare_inputs(r,root) # Reauthenticate originals; no second render.
|
||||
if read_regular(tool_path.parent,tool_path.name)!=tool_bytes:raise ValueError('tool changed')
|
||||
publish_no_replace(stage,output)
|
||||
except BaseException:shutil.rmtree(stage,ignore_errors=True);raise
|
||||
return receipt
|
||||
|
||||
|
||||
def main():
|
||||
p=argparse.ArgumentParser(description=__doc__);p.add_argument('--recipe',required=True)
|
||||
p.add_argument('--input-root',required=True);p.add_argument('--output',required=True);a=p.parse_args()
|
||||
run(a.recipe,a.input_root,a.output)
|
||||
|
||||
if __name__=='__main__':main()
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
test_all_semantic_cells_not_error_picker (test_hd_grating_gray_cleanup.GrayCastTests.test_all_semantic_cells_not_error_picker) ... ok
|
||||
test_bool_version_rejected (test_hd_grating_gray_cleanup.GrayCastTests.test_bool_version_rejected) ... ok
|
||||
test_bytes_are_not_reopened (test_hd_grating_gray_cleanup.GrayCastTests.test_bytes_are_not_reopened) ... ok
|
||||
test_cast_neutral_preserves_generated_luminance (test_hd_grating_gray_cleanup.GrayCastTests.test_cast_neutral_preserves_generated_luminance) ... ok
|
||||
test_clipping_is_rejected_without_luminance_compression (test_hd_grating_gray_cleanup.GrayCastTests.test_clipping_is_rejected_without_luminance_compression) ... ok
|
||||
test_existing_empty_directory_no_replace (test_hd_grating_gray_cleanup.GrayCastTests.test_existing_empty_directory_no_replace) ... ok
|
||||
test_fifo_is_nonblocking_and_regular_rejected (test_hd_grating_gray_cleanup.GrayCastTests.test_fifo_is_nonblocking_and_regular_rejected) ... ok
|
||||
test_flat_parent_rejected (test_hd_grating_gray_cleanup.GrayCastTests.test_flat_parent_rejected) ... ok
|
||||
test_fresh_publication_receipt_and_no_overwrite (test_hd_grating_gray_cleanup.GrayCastTests.test_fresh_publication_receipt_and_no_overwrite) ... ok
|
||||
test_gray_index_boundaries_and_exclusive_region_edges (test_hd_grating_gray_cleanup.GrayCastTests.test_gray_index_boundaries_and_exclusive_region_edges) ... ok
|
||||
test_missing_or_unknown_fields (test_hd_grating_gray_cleanup.GrayCastTests.test_missing_or_unknown_fields) ... ok
|
||||
test_non_rgb_parent_and_malformed_frames_rejected (test_hd_grating_gray_cleanup.GrayCastTests.test_non_rgb_parent_and_malformed_frames_rejected) ... ok
|
||||
test_nonneutral_source_anchor_rejected (test_hd_grating_gray_cleanup.GrayCastTests.test_nonneutral_source_anchor_rejected) ... ok
|
||||
test_order_and_selector_are_fixed (test_hd_grating_gray_cleanup.GrayCastTests.test_order_and_selector_are_fixed) ... ok
|
||||
test_outside_and_alpha_exact_against_independent_baseline (test_hd_grating_gray_cleanup.GrayCastTests.test_outside_and_alpha_exact_against_independent_baseline) ... ok
|
||||
test_oversize_short_and_changed_reads_rejected (test_hd_grating_gray_cleanup.GrayCastTests.test_oversize_short_and_changed_reads_rejected) ... ok
|
||||
test_repeatability (test_hd_grating_gray_cleanup.GrayCastTests.test_repeatability) ... ok
|
||||
test_source_and_palette_validation (test_hd_grating_gray_cleanup.GrayCastTests.test_source_and_palette_validation) ... ok
|
||||
test_symlink_file_and_parent_rejected (test_hd_grating_gray_cleanup.GrayCastTests.test_symlink_file_and_parent_rejected) ... ok
|
||||
test_transparency_size_and_shift_caps (test_hd_grating_gray_cleanup.GrayCastTests.test_transparency_size_and_shift_caps) ... ok
|
||||
test_wrong_hash_and_escaping_paths (test_hd_grating_gray_cleanup.GrayCastTests.test_wrong_hash_and_escaping_paths) ... ok
|
||||
|
||||
----------------------------------------------------------------------
|
||||
Ran 21 tests in 0.300s
|
||||
|
||||
OK
|
||||
Whitespace-only changes.
+152
@@ -0,0 +1,152 @@
|
||||
"""Synthetic inputs only: no game masters or real cleanup execution."""
|
||||
import copy,io,json,os,struct,tempfile,unittest,subprocess,sys
|
||||
from unittest import mock
|
||||
from types import SimpleNamespace
|
||||
from pathlib import Path
|
||||
import numpy as np
|
||||
from PIL import Image
|
||||
import hd_grating_gray_cleanup as m
|
||||
|
||||
class GrayCastTests(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.temp=tempfile.TemporaryDirectory();self.root=Path(self.temp.name)
|
||||
pal=np.zeros((256,3),np.uint8);pal[11]=[18,18,18];pal[30]=[4,4,4]
|
||||
(self.root/'palette.bin').write_bytes(pal.tobytes())
|
||||
y,x=np.indices((128,256));rgb=np.stack([50+x%5+y%7,35+x%5+y%7,28+x%5+y%7],axis=2).astype('uint8')
|
||||
im=Image.fromarray(rgb);im.save(self.root/'parent.png')
|
||||
self.source=np.full((32,32),199,np.uint8);self.source[2:31,2:31]=11
|
||||
self.recipe=dict(format_version=1,method=m.METHOD,palette=self.bind('palette.bin'),parent_raw=self.bind('parent.png'),frames=[])
|
||||
for asset in ['203c6','203c7']:
|
||||
name=asset+'.bin';(self.root/name).write_bytes(struct.pack('<5i',1,1,0,32,32)+self.source.tobytes())
|
||||
self.recipe['frames'].append(dict(asset=asset,Source=self.bind(name),selected_cells_sha256=m.selected_digest(m.semantic_mask(asset,self.source))))
|
||||
def tearDown(self):self.temp.cleanup()
|
||||
def bind(self,n):return dict(path=n,sha256=m.sha((self.root/n).read_bytes()))
|
||||
def prepared(self):return m.prepare_inputs(self.recipe,self.root)
|
||||
def test_cast_neutral_preserves_generated_luminance(self):
|
||||
result=m.derive(*self.prepared());self.assertEqual(len(result),2)
|
||||
for a,out,metrics in result:
|
||||
self.assertEqual(out.shape,(128,128,4));self.assertTrue(np.all(out[:,:,3]==255))
|
||||
self.assertTrue(metrics['outside_resized_parent_exact']);self.assertEqual(metrics['exact_Original_pixel_copies'],0)
|
||||
self.assertLessEqual(metrics['max_luma_structure_rounding_error'],.5000001)
|
||||
self.assertGreater(metrics['generated_luma_variance'],1);self.assertGreater(metrics['output_luma_variance'],1)
|
||||
self.assertLess(abs(metrics['output_luma_variance']-metrics['generated_luma_variance']),2)
|
||||
def test_repeatability(self):
|
||||
a=m.derive(*self.prepared());b=m.derive(*self.prepared())
|
||||
self.assertTrue(all(np.array_equal(x[1],y[1])and x[2]==y[2]for x,y in zip(a,b)))
|
||||
def test_all_semantic_cells_not_error_picker(self):
|
||||
for asset in m.REGIONS:
|
||||
mask=m.semantic_mask(asset,self.source);x0,y0,x1,y1=m.REGIONS[asset]
|
||||
self.assertEqual(int(mask.sum()),int(np.count_nonzero(self.source[y0:y1,x0:x1]==11)))
|
||||
def test_missing_or_unknown_fields(self):
|
||||
for key in ['method','palette','frames']:
|
||||
r=copy.deepcopy(self.recipe);del r[key]
|
||||
with self.assertRaises(ValueError):m.validate_recipe(r)
|
||||
r=copy.deepcopy(self.recipe);r['gain']=1.2
|
||||
with self.assertRaises(ValueError):m.validate_recipe(r)
|
||||
def test_bool_version_rejected(self):
|
||||
r=copy.deepcopy(self.recipe);r['format_version']=True
|
||||
with self.assertRaises(ValueError):m.validate_recipe(r)
|
||||
def test_order_and_selector_are_fixed(self):
|
||||
r=copy.deepcopy(self.recipe);r['frames'].reverse()
|
||||
with self.assertRaises(ValueError):m.validate_recipe(r)
|
||||
p,raw,frames=self.prepared();frames[0][0]['selected_cells_sha256']='0'*64
|
||||
with self.assertRaises(ValueError):m.derive(p,raw,frames)
|
||||
def test_wrong_hash_and_escaping_paths(self):
|
||||
for ref in [dict(path='parent.png',sha256='0'*64),dict(path='../parent.png',sha256='0'*64),dict(path='/parent.png',sha256='0'*64),dict(path='a/../parent.png',sha256='0'*64)]:
|
||||
with self.assertRaises((ValueError,OSError)):m.read_bound(self.root,ref)
|
||||
def test_symlink_file_and_parent_rejected(self):
|
||||
(self.root/'alias.png').symlink_to(self.root/'parent.png')
|
||||
with self.assertRaises(OSError):m.read_bound(self.root,dict(path='alias.png',sha256=self.bind('parent.png')['sha256']))
|
||||
(self.root/'folder').symlink_to(self.root,target_is_directory=True)
|
||||
with self.assertRaises(OSError):m.read_bound(self.root,dict(path='folder/parent.png',sha256=self.bind('parent.png')['sha256']))
|
||||
def test_bytes_are_not_reopened(self):
|
||||
prepared=self.prepared();first=m.derive(*prepared)
|
||||
(self.root/'parent.png').write_bytes(b'corrupted after authenticated read')
|
||||
for a,b in zip(first,m.derive(*prepared)):self.assertTrue(np.array_equal(a[1],b[1]))
|
||||
def test_flat_parent_rejected(self):
|
||||
p,_,f=self.prepared();stream=io.BytesIO();Image.new('RGB',(256,128),(50,35,28)).save(stream,format='PNG')
|
||||
with self.assertRaisesRegex(ValueError,'witness'):m.derive(p,stream.getvalue(),f)
|
||||
def test_transparency_size_and_shift_caps(self):
|
||||
p,_,f=self.prepared()
|
||||
for image in [Image.new('RGBA',(256,128),(50,40,30,0)),Image.new('RGB',(128,128)),Image.new('RGB',(256,64))]:
|
||||
stream=io.BytesIO();image.save(stream,format='PNG')
|
||||
with self.assertRaises(ValueError):m.derive(p,stream.getvalue(),f)
|
||||
p[11]=[240,240,240]
|
||||
with self.assertRaisesRegex(ValueError,'fixed32'):m.derive(p,self.prepared()[1],f)
|
||||
def test_source_and_palette_validation(self):
|
||||
for b in [b'',struct.pack('<5i',2,1,0,32,32)+self.source.tobytes(),struct.pack('<5i',1,1,0,32,32)+bytes([254])*1024]:
|
||||
with self.assertRaises(ValueError):m.source_indices(b)
|
||||
for b in [bytes(767),bytes([64])*768]:
|
||||
with self.assertRaises(ValueError):m.palette_rgb(b)
|
||||
def test_fresh_publication_receipt_and_no_overwrite(self):
|
||||
(self.root/'recipe.json').write_text(json.dumps(self.recipe));out=self.root/'new-output'
|
||||
result=m.run('recipe.json',self.root,out)
|
||||
self.assertEqual(set(result['execution']),{'status','method','recipe_sha256','tool_sha256','source_sha256','parent_raw_sha256','output_sha256'})
|
||||
self.assertEqual(set(result['execution']['output_sha256']),{'203c6','203c7'})
|
||||
before=sorted(p.name for p in out.iterdir())
|
||||
with self.assertRaises(ValueError):m.run('recipe.json',self.root,out)
|
||||
self.assertEqual(before,sorted(p.name for p in out.iterdir()))
|
||||
def test_existing_empty_directory_no_replace(self):
|
||||
stage=self.root/'stage';target=self.root/'target';stage.mkdir();target.mkdir()
|
||||
with self.assertRaises(OSError):m.publish_no_replace(stage,target)
|
||||
self.assertTrue(stage.is_dir());self.assertTrue(target.is_dir())
|
||||
|
||||
def test_outside_and_alpha_exact_against_independent_baseline(self):
|
||||
palette,raw,frames=self.prepared();result=m.derive(palette,raw,frames)
|
||||
with Image.open(io.BytesIO(raw))as im:parent=np.asarray(im.convert('RGBA'))
|
||||
for col,((asset,out,_),(_,src))in enumerate(zip(result,frames)):
|
||||
baseline=np.asarray(Image.fromarray(parent[:,col*128:(col+1)*128]).resize((128,128),Image.Resampling.LANCZOS))
|
||||
area=np.repeat(np.repeat(m.semantic_mask(asset,src),4,0),4,1)
|
||||
np.testing.assert_array_equal(out[~area],baseline[~area])
|
||||
np.testing.assert_array_equal(out[:,:,3],baseline[:,:,3])
|
||||
ys,xs=np.nonzero(area);a=(ys[0],xs[0]);different=np.abs((baseline[:,:,:3]@m.LUMA)-(baseline[a][:3]@m.LUMA))>2
|
||||
by,bx=np.nonzero(area&different);b=(by[0],bx[0])
|
||||
original_difference=float((baseline[a][:3].astype(float)-baseline[b][:3])@m.LUMA)
|
||||
output_difference=float((out[a][:3].astype(float)-out[b][:3])@m.LUMA)
|
||||
self.assertLessEqual(abs(original_difference-output_difference),1.0000002)
|
||||
def test_gray_index_boundaries_and_exclusive_region_edges(self):
|
||||
for asset,(x0,y0,x1,y1)in m.REGIONS.items():
|
||||
source=np.full((32,32),11,np.uint8);source[y0,x0:x0+4]=[10,11,30,31]
|
||||
mask=m.semantic_mask(asset,source)
|
||||
self.assertEqual(mask[y0,x0:x0+4].tolist(),[False,True,True,False])
|
||||
self.assertTrue(mask[y1-1,x1-1]);self.assertFalse(mask[y1,x1-1]);self.assertFalse(mask[y0,x1])
|
||||
self.assertFalse(mask[y0,x0-1])
|
||||
if y0:self.assertFalse(mask[y0-1,x0])
|
||||
def test_clipping_is_rejected_without_luminance_compression(self):
|
||||
palette,raw,frames=self.prepared()
|
||||
with Image.open(io.BytesIO(raw))as im:a=np.asarray(im.convert('RGB')).copy()
|
||||
a[30,90]=255;stream=io.BytesIO();Image.fromarray(a).save(stream,format='PNG')
|
||||
with self.assertRaisesRegex(ValueError,'clipping'):m.derive(palette,stream.getvalue(),frames)
|
||||
def test_nonneutral_source_anchor_rejected(self):
|
||||
palette,raw,frames=self.prepared();palette[11]=[75,50,30]
|
||||
with self.assertRaisesRegex(ValueError,'near-neutral'):m.derive(palette,raw,frames)
|
||||
def test_non_rgb_parent_and_malformed_frames_rejected(self):
|
||||
p,raw,f=self.prepared()
|
||||
for mode in ['L','P']:
|
||||
stream=io.BytesIO();Image.new(mode,(256,128)).save(stream,format='PNG')
|
||||
with self.assertRaises(ValueError):m.derive(p,stream.getvalue(),f)
|
||||
for bad in [None,7,'203c6',[]]:
|
||||
r=copy.deepcopy(self.recipe);r['frames'][0]=bad
|
||||
with self.assertRaises(ValueError):m.validate_recipe(r)
|
||||
for bad in [None,7,[]]:
|
||||
with self.assertRaises(ValueError):m.read_regular(self.root,bad)
|
||||
def test_fifo_is_nonblocking_and_regular_rejected(self):
|
||||
os.mkfifo(self.root/'pipe')
|
||||
code="import hd_grating_gray_cleanup as m; m.read_regular(__import__('sys').argv[1], 'pipe')"
|
||||
env=dict(os.environ,PYTHONPATH=str(Path(m.__file__).parent))
|
||||
child=subprocess.run([sys.executable,'-c',code,str(self.root)],capture_output=True,timeout=3,env=env)
|
||||
self.assertNotEqual(child.returncode,0);self.assertIn(b'bounded regular input required',child.stderr)
|
||||
def test_oversize_short_and_changed_reads_rejected(self):
|
||||
with self.assertRaisesRegex(ValueError,'bounded regular'):m.read_regular(self.root,'parent.png',limit=2)
|
||||
with mock.patch.object(m.os,'fdopen',return_value=io.BytesIO(b'x')):
|
||||
with self.assertRaisesRegex(ValueError,'changed'):m.read_regular(self.root,'parent.png')
|
||||
real=m.os.fstat;calls=[0]
|
||||
def changed(fd):
|
||||
st=real(fd);calls[0]+=1
|
||||
values={k:getattr(st,k)for k in ['st_mode','st_dev','st_ino','st_size','st_mtime_ns','st_ctime_ns']}
|
||||
if calls[0]%2==0:values['st_mtime_ns']+=1
|
||||
return SimpleNamespace(**values)
|
||||
with mock.patch.object(m.os,'fstat',side_effect=changed):
|
||||
with self.assertRaisesRegex(ValueError,'changed'):m.read_regular(self.root,'parent.png')
|
||||
|
||||
if __name__=='__main__':unittest.main()
|
||||
+201
@@ -0,0 +1,201 @@
|
||||
"""DERIVED gray-cast correction, preserving generated luminance structure.
|
||||
|
||||
Bounded to the two reviewed grating compositions. Source supplies only an exact
|
||||
semantic mask and ONE aggregate gray color per frame, never a painted SourceNx
|
||||
field. This tool does not approve art, create a runtime policy or modify inputs.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
import argparse, ctypes, errno, hashlib, io, json, os, shutil, stat, struct, sys, tempfile
|
||||
from pathlib import Path, PurePosixPath
|
||||
import numpy as np
|
||||
from PIL import Image, __version__ as PILLOW_VERSION
|
||||
|
||||
METHOD = 'generated-grating-semantic-gray-cohort-mean-cast-only-v1'
|
||||
REGIONS = {'203c6': [21,3,31,31], '203c7': [2,0,31,12]}
|
||||
MAX_BYTES = 32*1024*1024
|
||||
MAX_PIXELS = 4_194_304
|
||||
MAX_SHIFT = 32.0
|
||||
LUMA = np.asarray([0.2126,0.7152,0.0722], np.float64)
|
||||
|
||||
|
||||
def sha(b): return hashlib.sha256(b).hexdigest()
|
||||
|
||||
def read_regular(root, relative, limit=MAX_BYTES):
|
||||
"""Every component, including the root, is walked with stable no-follow FDs."""
|
||||
p=PurePosixPath(relative)
|
||||
if (type(relative)is not str or p.is_absolute() or not p.parts
|
||||
or '..'in p.parts or p.as_posix()!=relative):
|
||||
raise ValueError('normalized contained relative path required')
|
||||
base=Path(root).absolute();fd=os.open('/',os.O_RDONLY|os.O_DIRECTORY)
|
||||
try:
|
||||
for name in list(base.parts[1:])+list(p.parts[:-1]):
|
||||
newer=os.open(name,os.O_RDONLY|os.O_DIRECTORY|os.O_NOFOLLOW,dir_fd=fd)
|
||||
os.close(fd);fd=newer
|
||||
f=os.open(p.parts[-1],os.O_RDONLY|os.O_NOFOLLOW,dir_fd=fd)
|
||||
try:
|
||||
before=os.fstat(f)
|
||||
if not stat.S_ISREG(before.st_mode)or before.st_size>limit:
|
||||
raise ValueError('bounded regular input required')
|
||||
with os.fdopen(f,'rb',closefd=False)as stream:body=stream.read(limit+1)
|
||||
after=os.fstat(f)
|
||||
identity=lambda q:(q.st_dev,q.st_ino,q.st_size,q.st_mtime_ns,q.st_ctime_ns)
|
||||
if identity(before)!=identity(after)or len(body)>limit:
|
||||
raise ValueError('input changed during bounded read')
|
||||
finally:os.close(f)
|
||||
finally:os.close(fd)
|
||||
return body
|
||||
|
||||
|
||||
def read_bound(root,binding,limit=MAX_BYTES):
|
||||
if (type(binding)is not dict or set(binding)!={'path','sha256'}
|
||||
or type(binding['sha256'])is not str or len(binding['sha256'])!=64
|
||||
or any(c not in '0123456789abcdef'for c in binding['sha256'])):
|
||||
raise ValueError('exact relative path/sha256 binding required')
|
||||
body=read_regular(root,binding['path'],limit)
|
||||
if sha(body)!=binding['sha256']:raise ValueError('input SHA mismatch')
|
||||
return body
|
||||
|
||||
|
||||
def source_indices(body):
|
||||
if len(body)!=1044 or struct.unpack('<5i',body[:20])!=(1,1,0,32,32):
|
||||
raise ValueError('exact complete uncompressed 32x32 Source required')
|
||||
a=np.frombuffer(body[20:],np.uint8).reshape(32,32).copy()
|
||||
if np.any(a>=240):raise ValueError('only opaque ordinary Source supported')
|
||||
return a
|
||||
|
||||
|
||||
def palette_rgb(body):
|
||||
if len(body)!=768 or max(body)>63:raise ValueError('authentic six-bit palette required')
|
||||
a=np.frombuffer(body,np.uint8).astype(np.uint16).reshape(256,3)
|
||||
return ((a<<2)|(a>>4)).astype(np.uint8)
|
||||
|
||||
|
||||
def semantic_mask(asset, source):
|
||||
if asset not in REGIONS:raise ValueError('unreviewed grating asset')
|
||||
x0,y0,x1,y1=REGIONS[asset];m=np.zeros((32,32),bool)
|
||||
m[y0:y1,x0:x1]=(source[y0:y1,x0:x1]>=11)&(source[y0:y1,x0:x1]<=30)
|
||||
if not m.any():raise ValueError('no authentic gray grating material')
|
||||
return m
|
||||
|
||||
|
||||
def selected_digest(mask):
|
||||
return sha(json.dumps(sorted([[int(x),int(y)]for y,x in np.argwhere(mask)]),
|
||||
separators=(',',':')).encode())
|
||||
|
||||
|
||||
def validate_recipe(r):
|
||||
if (type(r)is not dict or set(r)!={'format_version','method','palette','parent_raw','frames'}
|
||||
or type(r['format_version'])is not int or r['format_version']!=1 or r['method']!=METHOD
|
||||
or type(r['frames'])is not list or len(r['frames'])!=2):
|
||||
raise ValueError('exact reviewed two-frame recipe required')
|
||||
if [f.get('asset')for f in r['frames']]!=['203c6','203c7']:
|
||||
raise ValueError('ordered complete pair required')
|
||||
for f in r['frames']:
|
||||
if (set(f)!={'asset','Source','selected_cells_sha256'}
|
||||
or type(f['selected_cells_sha256'])is not str
|
||||
or len(f['selected_cells_sha256'])!=64
|
||||
or any(c not in '0123456789abcdef'for c in f['selected_cells_sha256'])):
|
||||
raise ValueError('unknown frame field or selector digest')
|
||||
|
||||
|
||||
def prepare_inputs(r, root):
|
||||
validate_recipe(r)
|
||||
return (palette_rgb(read_bound(root,r['palette'],768)),
|
||||
read_bound(root,r['parent_raw']),
|
||||
[(f,source_indices(read_bound(root,f['Source'],1044)))for f in r['frames']])
|
||||
|
||||
|
||||
def derive(palette, raw_bytes, frames):
|
||||
"""Pure verified-bytes operation. Never reopen source or parent filenames."""
|
||||
with Image.open(io.BytesIO(raw_bytes)) as opened:
|
||||
if (opened.format!='PNG' or opened.width!=2*opened.height
|
||||
or not 128<=opened.height<=2048 or opened.width*opened.height>MAX_PIXELS):
|
||||
raise ValueError('bounded exact 2x1 PNG parent required')
|
||||
raw=np.asarray(opened.convert('RGBA')).copy()
|
||||
if np.any(raw[:,:,3]!=255):raise ValueError('no alpha repair/hidden RGB allowed')
|
||||
size=raw.shape[0];output=[]
|
||||
for column,(f,src)in enumerate(frames):
|
||||
mask=semantic_mask(f['asset'],src)
|
||||
if selected_digest(mask)!=f['selected_cells_sha256']:raise ValueError('Source cohort digest mismatch')
|
||||
parent=raw[:,column*size:(column+1)*size,:]
|
||||
# A raw 3x3 luminance witness must lie wholly in the same gray cohort.
|
||||
coordinates=((np.arange(size)*2+1)*32)//(size*2)
|
||||
mapped=mask[coordinates[:,None],coordinates[None,:]]
|
||||
luma=parent[:,:,:3].astype(np.float64)@LUMA
|
||||
eligible=mapped[1:-1,1:-1].copy();low=luma[1:-1,1:-1].copy();high=low.copy()
|
||||
for dy,dx in [(-1,-1),(-1,0),(-1,1),(0,-1),(0,1),(1,-1),(1,0),(1,1)]:
|
||||
yy=slice(1+dy,size-1+dy);xx=slice(1+dx,size-1+dx)
|
||||
eligible &= mapped[yy,xx];low=np.minimum(low,luma[yy,xx]);high=np.maximum(high,luma[yy,xx])
|
||||
witnesses=int(np.count_nonzero(eligible&(high-low>=2.0)))
|
||||
if witnesses==0:raise ValueError('no authentic raw same-material fine luminance witness')
|
||||
baseline=np.asarray(Image.fromarray(parent).resize((128,128),Image.Resampling.LANCZOS)).copy()
|
||||
area=np.repeat(np.repeat(mask,4,0),4,1);rgb=baseline[:,:,:3].astype(np.float64)
|
||||
generated_luma=rgb@LUMA;anchor=palette[src[mask]].astype(np.float64).mean(axis=0)
|
||||
if anchor.max()-anchor.min()>8:raise ValueError('Source cohort is not near-neutral gray')
|
||||
anchor_luma=float(anchor@LUMA);shift=anchor_luma-float(generated_luma[area].mean())
|
||||
if abs(shift)>MAX_SHIFT:raise ValueError('gray mean correction exceeds fixed32 cap')
|
||||
proposed=(generated_luma[area]+shift)[:,None]+(anchor-anchor_luma)[None,:]
|
||||
if np.any(proposed<0)or np.any(proposed>255):raise ValueError('clipping forbidden')
|
||||
result=baseline.copy();result[:,:,:3][area]=np.rint(proposed).astype(np.uint8)
|
||||
if not np.array_equal(result[~area],baseline[~area]):raise AssertionError('outside changed')
|
||||
transformed_luma=result[:,:,:3].astype(np.float64)@LUMA
|
||||
error=float(np.abs(transformed_luma[area]-(generated_luma[area]+shift)).max())
|
||||
if error>0.5000001:raise AssertionError('generated luminance structure lost')
|
||||
metrics=dict(asset=f['asset'],semantic_Source_cells=int(mask.sum()),corrected_output_pixels=int(area.sum()),
|
||||
unmodified_resized_parent_pixels=int((~area).sum()),Source_aggregate_RGB=anchor.tolist(),
|
||||
generated_luma_mean=float(generated_luma[area].mean()),constant_gray_mean_offset=shift,
|
||||
raw_same_cohort_3x3_luma_witnesses=witnesses,max_luma_structure_rounding_error=error,
|
||||
generated_luma_variance=float(generated_luma[area].var()),
|
||||
output_luma_variance=float(transformed_luma[area].var()),
|
||||
exact_Original_pixel_copies=0,outside_resized_parent_exact=True,
|
||||
selected_cells_sha256=selected_digest(mask),output_scale=4)
|
||||
output.append((f['asset'],result,metrics))
|
||||
return output
|
||||
|
||||
|
||||
def publish_no_replace(stage,target):
|
||||
if os.name=='nt':os.rename(stage,target);return
|
||||
if not sys.platform.startswith('linux'):raise OSError(errno.ENOTSUP,'atomic publication unsupported')
|
||||
libc=ctypes.CDLL(None,use_errno=True)
|
||||
if not hasattr(libc,'renameat2'):raise OSError(errno.ENOTSUP,'renameat2 unavailable')
|
||||
fn=libc.renameat2;fn.argtypes=[ctypes.c_int,ctypes.c_char_p,ctypes.c_int,ctypes.c_char_p,ctypes.c_uint]
|
||||
fn.restype=ctypes.c_int
|
||||
if fn(-100,os.fsencode(stage),-100,os.fsencode(target),1)!=0:
|
||||
code=ctypes.get_errno();raise OSError(code,os.strerror(code),str(target))
|
||||
|
||||
|
||||
def run(recipe_relative,input_root,output):
|
||||
root=Path(input_root).absolute();rel=PurePosixPath(recipe_relative)
|
||||
if rel.is_absolute()or '..'in rel.parts or not rel.parts:raise ValueError('relative recipe required')
|
||||
# Recipe bytes use the same no-follow reader after a separately bound hash.
|
||||
body=read_regular(root,rel.as_posix(),1_000_000)
|
||||
r=json.loads(body);prepared=prepare_inputs(r,root);result=derive(*prepared)
|
||||
output=Path(output).absolute()
|
||||
if output.exists()or output.is_symlink()or not output.parent.is_dir():raise ValueError('fresh output directory required')
|
||||
tool_path=Path(__file__).absolute();tool_bytes=read_regular(tool_path.parent,tool_path.name);outputs={};pngs={}
|
||||
for asset,rgba,_ in result:
|
||||
stream=io.BytesIO();Image.fromarray(rgba).save(stream,format='PNG');pngs[asset]=stream.getvalue();outputs[asset]=sha(pngs[asset])
|
||||
execution=dict(status='success',method=METHOD,recipe_sha256=sha(body),tool_sha256=sha(tool_bytes),
|
||||
source_sha256={f['asset']:f['Source']['sha256']for f in r['frames']},
|
||||
parent_raw_sha256=[r['parent_raw']['sha256']],output_sha256=outputs)
|
||||
receipt=dict(status='DERIVED_NOT_ART_APPROVAL',execution=execution,frames=[m for _,_,m in result],
|
||||
runtime=dict(python=sys.version,numpy=np.__version__,Pillow=PILLOW_VERSION),
|
||||
limits='Source owns semantic geometry and one aggregate gray anchor only; generated raw owns every luminance difference. No per-cell Source RGB copying, flat fallback, new pixels outside resized-parent selection, or quality approval. Resized-parent baseline uses Pillow Lanczos3; equality to old Rust raw-bank resampling is NOT claimed.')
|
||||
stage=Path(tempfile.mkdtemp(prefix='.'+output.name+'.stage-',dir=output.parent))
|
||||
try:
|
||||
for asset in pngs:(stage/(asset+'-DERIVED-graycast-v1.png')).write_bytes(pngs[asset])
|
||||
(stage/'execution-receipt.json').write_text(json.dumps(receipt,indent=2)+'\n')
|
||||
if read_bound(root,{'path':rel.as_posix(),'sha256':sha(body)},1_000_000)!=body:raise ValueError('recipe changed')
|
||||
prepare_inputs(r,root) # Reauthenticate originals; no second render.
|
||||
if read_regular(tool_path.parent,tool_path.name)!=tool_bytes:raise ValueError('tool changed')
|
||||
publish_no_replace(stage,output)
|
||||
except BaseException:shutil.rmtree(stage,ignore_errors=True);raise
|
||||
return receipt
|
||||
|
||||
|
||||
def main():
|
||||
p=argparse.ArgumentParser(description=__doc__);p.add_argument('--recipe',required=True)
|
||||
p.add_argument('--input-root',required=True);p.add_argument('--output',required=True);a=p.parse_args()
|
||||
run(a.recipe,a.input_root,a.output)
|
||||
|
||||
if __name__=='__main__':main()
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
test_all_semantic_cells_not_error_picker (test_hd_grating_gray_cleanup.GrayCastTests.test_all_semantic_cells_not_error_picker) ... ok
|
||||
test_bool_version_rejected (test_hd_grating_gray_cleanup.GrayCastTests.test_bool_version_rejected) ... ok
|
||||
test_bytes_are_not_reopened (test_hd_grating_gray_cleanup.GrayCastTests.test_bytes_are_not_reopened) ... ok
|
||||
test_cast_neutral_preserves_generated_luminance (test_hd_grating_gray_cleanup.GrayCastTests.test_cast_neutral_preserves_generated_luminance) ... ok
|
||||
test_existing_empty_directory_no_replace (test_hd_grating_gray_cleanup.GrayCastTests.test_existing_empty_directory_no_replace) ... ok
|
||||
test_flat_parent_rejected (test_hd_grating_gray_cleanup.GrayCastTests.test_flat_parent_rejected) ... ok
|
||||
test_fresh_publication_receipt_and_no_overwrite (test_hd_grating_gray_cleanup.GrayCastTests.test_fresh_publication_receipt_and_no_overwrite) ... ok
|
||||
test_missing_or_unknown_fields (test_hd_grating_gray_cleanup.GrayCastTests.test_missing_or_unknown_fields) ... ok
|
||||
test_order_and_selector_are_fixed (test_hd_grating_gray_cleanup.GrayCastTests.test_order_and_selector_are_fixed) ... ok
|
||||
test_repeatability (test_hd_grating_gray_cleanup.GrayCastTests.test_repeatability) ... ok
|
||||
test_source_and_palette_validation (test_hd_grating_gray_cleanup.GrayCastTests.test_source_and_palette_validation) ... ok
|
||||
test_symlink_file_and_parent_rejected (test_hd_grating_gray_cleanup.GrayCastTests.test_symlink_file_and_parent_rejected) ... ok
|
||||
test_transparency_size_and_shift_caps (test_hd_grating_gray_cleanup.GrayCastTests.test_transparency_size_and_shift_caps) ... ok
|
||||
test_wrong_hash_and_escaping_paths (test_hd_grating_gray_cleanup.GrayCastTests.test_wrong_hash_and_escaping_paths) ... ok
|
||||
|
||||
----------------------------------------------------------------------
|
||||
Ran 14 tests in 0.145s
|
||||
|
||||
OK
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
"""Synthetic inputs only: no game masters or real cleanup execution."""
|
||||
import copy,io,json,os,struct,tempfile,unittest
|
||||
from pathlib import Path
|
||||
import numpy as np
|
||||
from PIL import Image
|
||||
import hd_grating_gray_cleanup as m
|
||||
|
||||
class GrayCastTests(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.temp=tempfile.TemporaryDirectory();self.root=Path(self.temp.name)
|
||||
pal=np.zeros((256,3),np.uint8);pal[11]=[18,18,18];pal[30]=[4,4,4]
|
||||
(self.root/'palette.bin').write_bytes(pal.tobytes())
|
||||
y,x=np.indices((128,256));rgb=np.stack([50+x%5+y%7,35+x%5+y%7,28+x%5+y%7],axis=2).astype('uint8')
|
||||
im=Image.fromarray(rgb);im.save(self.root/'parent.png')
|
||||
self.source=np.full((32,32),199,np.uint8);self.source[2:31,2:31]=11
|
||||
self.recipe=dict(format_version=1,method=m.METHOD,palette=self.bind('palette.bin'),parent_raw=self.bind('parent.png'),frames=[])
|
||||
for asset in ['203c6','203c7']:
|
||||
name=asset+'.bin';(self.root/name).write_bytes(struct.pack('<5i',1,1,0,32,32)+self.source.tobytes())
|
||||
self.recipe['frames'].append(dict(asset=asset,Source=self.bind(name),selected_cells_sha256=m.selected_digest(m.semantic_mask(asset,self.source))))
|
||||
def tearDown(self):self.temp.cleanup()
|
||||
def bind(self,n):return dict(path=n,sha256=m.sha((self.root/n).read_bytes()))
|
||||
def prepared(self):return m.prepare_inputs(self.recipe,self.root)
|
||||
def test_cast_neutral_preserves_generated_luminance(self):
|
||||
result=m.derive(*self.prepared());self.assertEqual(len(result),2)
|
||||
for a,out,metrics in result:
|
||||
self.assertEqual(out.shape,(128,128,4));self.assertTrue(np.all(out[:,:,3]==255))
|
||||
self.assertTrue(metrics['outside_resized_parent_exact']);self.assertEqual(metrics['exact_Original_pixel_copies'],0)
|
||||
self.assertLessEqual(metrics['max_luma_structure_rounding_error'],.5000001)
|
||||
self.assertGreater(metrics['generated_luma_variance'],1);self.assertGreater(metrics['output_luma_variance'],1)
|
||||
self.assertLess(abs(metrics['output_luma_variance']-metrics['generated_luma_variance']),2)
|
||||
def test_repeatability(self):
|
||||
a=m.derive(*self.prepared());b=m.derive(*self.prepared())
|
||||
self.assertTrue(all(np.array_equal(x[1],y[1])and x[2]==y[2]for x,y in zip(a,b)))
|
||||
def test_all_semantic_cells_not_error_picker(self):
|
||||
for asset in m.REGIONS:
|
||||
mask=m.semantic_mask(asset,self.source);x0,y0,x1,y1=m.REGIONS[asset]
|
||||
self.assertEqual(int(mask.sum()),int(np.count_nonzero(self.source[y0:y1,x0:x1]==11)))
|
||||
def test_missing_or_unknown_fields(self):
|
||||
for key in ['method','palette','frames']:
|
||||
r=copy.deepcopy(self.recipe);del r[key]
|
||||
with self.assertRaises(ValueError):m.validate_recipe(r)
|
||||
r=copy.deepcopy(self.recipe);r['gain']=1.2
|
||||
with self.assertRaises(ValueError):m.validate_recipe(r)
|
||||
def test_bool_version_rejected(self):
|
||||
r=copy.deepcopy(self.recipe);r['format_version']=True
|
||||
with self.assertRaises(ValueError):m.validate_recipe(r)
|
||||
def test_order_and_selector_are_fixed(self):
|
||||
r=copy.deepcopy(self.recipe);r['frames'].reverse()
|
||||
with self.assertRaises(ValueError):m.validate_recipe(r)
|
||||
p,raw,frames=self.prepared();frames[0][0]['selected_cells_sha256']='0'*64
|
||||
with self.assertRaises(ValueError):m.derive(p,raw,frames)
|
||||
def test_wrong_hash_and_escaping_paths(self):
|
||||
for ref in [dict(path='parent.png',sha256='0'*64),dict(path='../parent.png',sha256='0'*64),dict(path='/parent.png',sha256='0'*64),dict(path='a/../parent.png',sha256='0'*64)]:
|
||||
with self.assertRaises((ValueError,OSError)):m.read_bound(self.root,ref)
|
||||
def test_symlink_file_and_parent_rejected(self):
|
||||
(self.root/'alias.png').symlink_to(self.root/'parent.png')
|
||||
with self.assertRaises(OSError):m.read_bound(self.root,dict(path='alias.png',sha256=self.bind('parent.png')['sha256']))
|
||||
(self.root/'folder').symlink_to(self.root,target_is_directory=True)
|
||||
with self.assertRaises(OSError):m.read_bound(self.root,dict(path='folder/parent.png',sha256=self.bind('parent.png')['sha256']))
|
||||
def test_bytes_are_not_reopened(self):
|
||||
prepared=self.prepared();first=m.derive(*prepared)
|
||||
(self.root/'parent.png').write_bytes(b'corrupted after authenticated read')
|
||||
for a,b in zip(first,m.derive(*prepared)):self.assertTrue(np.array_equal(a[1],b[1]))
|
||||
def test_flat_parent_rejected(self):
|
||||
p,_,f=self.prepared();stream=io.BytesIO();Image.new('RGB',(256,128),(50,35,28)).save(stream,format='PNG')
|
||||
with self.assertRaisesRegex(ValueError,'witness'):m.derive(p,stream.getvalue(),f)
|
||||
def test_transparency_size_and_shift_caps(self):
|
||||
p,_,f=self.prepared()
|
||||
for image in [Image.new('RGBA',(256,128),(50,40,30,0)),Image.new('RGB',(128,128)),Image.new('RGB',(256,64))]:
|
||||
stream=io.BytesIO();image.save(stream,format='PNG')
|
||||
with self.assertRaises(ValueError):m.derive(p,stream.getvalue(),f)
|
||||
p[11]=[240,240,240]
|
||||
with self.assertRaisesRegex(ValueError,'fixed32'):m.derive(p,self.prepared()[1],f)
|
||||
def test_source_and_palette_validation(self):
|
||||
for b in [b'',struct.pack('<5i',2,1,0,32,32)+self.source.tobytes(),struct.pack('<5i',1,1,0,32,32)+bytes([254])*1024]:
|
||||
with self.assertRaises(ValueError):m.source_indices(b)
|
||||
for b in [bytes(767),bytes([64])*768]:
|
||||
with self.assertRaises(ValueError):m.palette_rgb(b)
|
||||
def test_fresh_publication_receipt_and_no_overwrite(self):
|
||||
(self.root/'recipe.json').write_text(json.dumps(self.recipe));out=self.root/'new-output'
|
||||
result=m.run('recipe.json',self.root,out)
|
||||
self.assertEqual(set(result['execution']),{'status','method','recipe_sha256','tool_sha256','source_sha256','parent_raw_sha256','output_sha256'})
|
||||
self.assertEqual(set(result['execution']['output_sha256']),{'203c6','203c7'})
|
||||
before=sorted(p.name for p in out.iterdir())
|
||||
with self.assertRaises(ValueError):m.run('recipe.json',self.root,out)
|
||||
self.assertEqual(before,sorted(p.name for p in out.iterdir()))
|
||||
def test_existing_empty_directory_no_replace(self):
|
||||
stage=self.root/'stage';target=self.root/'target';stage.mkdir();target.mkdir()
|
||||
with self.assertRaises(OSError):m.publish_no_replace(stage,target)
|
||||
self.assertTrue(stage.is_dir());self.assertTrue(target.is_dir())
|
||||
|
||||
if __name__=='__main__':unittest.main()
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"status": "PASS_INDEPENDENT_READONLY_FINITE_NATIVE_CONTEXT_AUDIT",
|
||||
"utc": "2026-10-19T00:05:13.435187+00:00",
|
||||
"SourceG2_library": "5b6bbd03874da298dae953dc1c0f472d24f27031df4f46616368faefb0801676",
|
||||
"H5613": "b13a4f7c494262527df1137ed6a5442e100fc51ec25680b7046e1c6f7820648a",
|
||||
"unique_native_planes": 168,
|
||||
"plane_samples": 11612160,
|
||||
"outside_support_exact": 3333600,
|
||||
"nonown_broad_interiors_exact": 2634240,
|
||||
"padding_exact": 276480,
|
||||
"delta_samples": 283094,
|
||||
"components": 220,
|
||||
"own_prejoin_components_exact_literal62d_bank": 8,
|
||||
"whole_native_endpoint_pages": 14,
|
||||
"ordered_pair_pages": 2,
|
||||
"exact_unresampled_ordered_halves": 4,
|
||||
"raw_hardlink_identity_stat_checks": 3057,
|
||||
"raw_8GB_hash_reads": 0,
|
||||
"Source_graphic_byte_bindings_verified": 55,
|
||||
"adapter_disclosed_restoration_exact": true,
|
||||
"new_engine_QA_cleanup_or_Git_calls": 0
|
||||
}
|
||||
+232
@@ -0,0 +1,232 @@
|
||||
{
|
||||
"status": "QUALIFIED_DIFFERENT_COMPLETE2_GENUINE14_SOURCEG2_H5613_CONTEXT_MATERIAL_REVIEW_WITH_LIMITS",
|
||||
"reviewer": "/root/stag_portability",
|
||||
"utc": "2026-10-19T00:09:41.628750+00:00",
|
||||
"author_report_sha256": "b4fb2f2912bc808bf7bf003e8114a0634eed316e4e2f6ad3ab14ee060f910d3c",
|
||||
"author_strict_sha256": "29bc729e79ae62fceac7979f959afb16cfde5739b4ea243709d617a9e31f5a69",
|
||||
"author_owned_1217_files_sha_size_mtime_mode_exact": true,
|
||||
"author_owned_files_hash_bytes": 34916200,
|
||||
"independent_readonly_audit_sha256": "34864dfdf16f243f8215e3d50f78496ae2add6e713e7cb649dc12e53c03b6e61",
|
||||
"SourceG2_library_sha256": "5b6bbd03874da298dae953dc1c0f472d24f27031df4f46616368faefb0801676",
|
||||
"actual_H5613_hd_sha256": "b13a4f7c494262527df1137ed6a5442e100fc51ec25680b7046e1c6f7820648a",
|
||||
"literal_intrinsic_QA_sha256": "62d093c4ec0ec0580fa4c8e22c6eb39ba791bb1d3c37cfcb5f91cfbdebb36962",
|
||||
"physical_review": {
|
||||
"whole_endpoint_pages": 14,
|
||||
"unique_true_native_panes": 168,
|
||||
"roles": [
|
||||
"Original_joined_SourceNx",
|
||||
"actual_H5613_baseline",
|
||||
"selected_derived_grating2_proposal"
|
||||
],
|
||||
"scales": [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"both_wide_ordered_pages_physically_viewed": true,
|
||||
"wide_tool_display_resized_from2528_to2048": true,
|
||||
"all4_exact_unresampled1264wide_whole_ordered_halves_physically_viewed": true,
|
||||
"all_endpoint_panes_checked_whole": true
|
||||
},
|
||||
"endpoint_reviews": [
|
||||
{
|
||||
"endpoint": 0,
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 42,
|
||||
"column": 8,
|
||||
"role": "authentic_static_intact",
|
||||
"all12_whole_Original_baseline_proposal_native1to4_panes_physically_viewed": true,
|
||||
"result": "QUALIFIED_WITH_LIMITS",
|
||||
"finding": "Gray grate rails/ribs/apertures maintain Original orientation and extent in the actual caller; neighboring buildings/red borders/road/debris remain coherent. Source-shaped brown ground patch is visibly coarser than neighboring granular HD; inherited boundaries and static-scope limits remain explicit."
|
||||
},
|
||||
{
|
||||
"endpoint": 1,
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 43,
|
||||
"column": 1,
|
||||
"role": "authentic_static_intact",
|
||||
"all12_whole_Original_baseline_proposal_native1to4_panes_physically_viewed": true,
|
||||
"result": "QUALIFIED_WITH_LIMITS",
|
||||
"finding": "Gray grate rails/ribs/apertures maintain Original orientation and extent in the actual caller; neighboring buildings/red borders/road/debris remain coherent. Source-shaped brown ground patch is visibly coarser than neighboring granular HD; inherited boundaries and static-scope limits remain explicit."
|
||||
},
|
||||
{
|
||||
"endpoint": 2,
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 54,
|
||||
"column": 1,
|
||||
"role": "authentic_static_intact",
|
||||
"all12_whole_Original_baseline_proposal_native1to4_panes_physically_viewed": true,
|
||||
"result": "QUALIFIED_WITH_LIMITS",
|
||||
"finding": "Gray grate rails/ribs/apertures maintain Original orientation and extent in the actual caller; neighboring buildings/red borders/road/debris remain coherent. Source-shaped brown ground patch is visibly coarser than neighboring granular HD; inherited boundaries and static-scope limits remain explicit."
|
||||
},
|
||||
{
|
||||
"endpoint": 3,
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 58,
|
||||
"column": 1,
|
||||
"role": "authentic_static_intact",
|
||||
"all12_whole_Original_baseline_proposal_native1to4_panes_physically_viewed": true,
|
||||
"result": "QUALIFIED_WITH_LIMITS",
|
||||
"finding": "Gray grate rails/ribs/apertures maintain Original orientation and extent in the actual caller; neighboring buildings/red borders/road/debris remain coherent. Source-shaped brown ground patch is visibly coarser than neighboring granular HD; inherited boundaries and static-scope limits remain explicit."
|
||||
},
|
||||
{
|
||||
"endpoint": 4,
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 61,
|
||||
"column": 2,
|
||||
"role": "authentic_static_intact",
|
||||
"all12_whole_Original_baseline_proposal_native1to4_panes_physically_viewed": true,
|
||||
"result": "QUALIFIED_WITH_LIMITS",
|
||||
"finding": "Gray grate rails/ribs/apertures maintain Original orientation and extent in the actual caller; neighboring buildings/red borders/road/debris remain coherent. Source-shaped brown ground patch is visibly coarser than neighboring granular HD; inherited boundaries and static-scope limits remain explicit."
|
||||
},
|
||||
{
|
||||
"endpoint": 5,
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 78,
|
||||
"column": 1,
|
||||
"role": "authentic_static_intact",
|
||||
"all12_whole_Original_baseline_proposal_native1to4_panes_physically_viewed": true,
|
||||
"result": "QUALIFIED_WITH_LIMITS",
|
||||
"finding": "Gray grate rails/ribs/apertures maintain Original orientation and extent in the actual caller; neighboring buildings/red borders/road/debris remain coherent. Source-shaped brown ground patch is visibly coarser than neighboring granular HD; inherited boundaries and static-scope limits remain explicit."
|
||||
},
|
||||
{
|
||||
"endpoint": 6,
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 86,
|
||||
"column": 6,
|
||||
"role": "authentic_static_intact",
|
||||
"all12_whole_Original_baseline_proposal_native1to4_panes_physically_viewed": true,
|
||||
"result": "QUALIFIED_WITH_LIMITS",
|
||||
"finding": "Gray grate rails/ribs/apertures maintain Original orientation and extent in the actual caller; neighboring buildings/red borders/road/debris remain coherent. Source-shaped brown ground patch is visibly coarser than neighboring granular HD; inherited boundaries and static-scope limits remain explicit."
|
||||
},
|
||||
{
|
||||
"endpoint": 7,
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 88,
|
||||
"column": 7,
|
||||
"role": "authentic_static_intact",
|
||||
"all12_whole_Original_baseline_proposal_native1to4_panes_physically_viewed": true,
|
||||
"result": "QUALIFIED_WITH_LIMITS",
|
||||
"finding": "Gray grate rails/ribs/apertures maintain Original orientation and extent in the actual caller; neighboring buildings/red borders/road/debris remain coherent. Source-shaped brown ground patch is visibly coarser than neighboring granular HD; inherited boundaries and static-scope limits remain explicit."
|
||||
},
|
||||
{
|
||||
"endpoint": 8,
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 97,
|
||||
"column": 0,
|
||||
"role": "authentic_static_intact",
|
||||
"all12_whole_Original_baseline_proposal_native1to4_panes_physically_viewed": true,
|
||||
"result": "QUALIFIED_WITH_LIMITS",
|
||||
"finding": "Gray grate rails/ribs/apertures maintain Original orientation and extent in the actual caller; neighboring buildings/red borders/road/debris remain coherent. Source-shaped brown ground patch is visibly coarser than neighboring granular HD; inherited boundaries and static-scope limits remain explicit."
|
||||
},
|
||||
{
|
||||
"endpoint": 9,
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 101,
|
||||
"column": 7,
|
||||
"role": "authentic_static_intact",
|
||||
"all12_whole_Original_baseline_proposal_native1to4_panes_physically_viewed": true,
|
||||
"result": "QUALIFIED_WITH_LIMITS",
|
||||
"finding": "Gray grate rails/ribs/apertures maintain Original orientation and extent in the actual caller; neighboring buildings/red borders/road/debris remain coherent. Source-shaped brown ground patch is visibly coarser than neighboring granular HD; inherited boundaries and static-scope limits remain explicit."
|
||||
},
|
||||
{
|
||||
"endpoint": 10,
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 108,
|
||||
"column": 2,
|
||||
"role": "authentic_static_intact",
|
||||
"all12_whole_Original_baseline_proposal_native1to4_panes_physically_viewed": true,
|
||||
"result": "QUALIFIED_WITH_LIMITS",
|
||||
"finding": "Gray grate rails/ribs/apertures maintain Original orientation and extent in the actual caller; neighboring buildings/red borders/road/debris remain coherent. Source-shaped brown ground patch is visibly coarser than neighboring granular HD; inherited boundaries and static-scope limits remain explicit."
|
||||
},
|
||||
{
|
||||
"endpoint": 11,
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 116,
|
||||
"column": 1,
|
||||
"role": "authentic_static_intact",
|
||||
"all12_whole_Original_baseline_proposal_native1to4_panes_physically_viewed": true,
|
||||
"result": "QUALIFIED_WITH_LIMITS",
|
||||
"finding": "Gray grate rails/ribs/apertures maintain Original orientation and extent in the actual caller; neighboring buildings/red borders/road/debris remain coherent. Source-shaped brown ground patch is visibly coarser than neighboring granular HD; inherited boundaries and static-scope limits remain explicit."
|
||||
},
|
||||
{
|
||||
"endpoint": 12,
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 43,
|
||||
"column": 1,
|
||||
"role": "controlled_legal_foreign_neighbor_settled",
|
||||
"all12_whole_Original_baseline_proposal_native1to4_panes_physically_viewed": true,
|
||||
"result": "QUALIFIED_WITH_LIMITS",
|
||||
"finding": "Gray grate rails/ribs/apertures maintain Original orientation and extent in the actual caller; neighboring buildings/red borders/road/debris remain coherent. Source-shaped brown ground patch is visibly coarser than neighboring granular HD; inherited boundaries and static-scope limits remain explicit."
|
||||
},
|
||||
{
|
||||
"endpoint": 13,
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 42,
|
||||
"column": 8,
|
||||
"role": "controlled_legal_foreign_neighbor_settled",
|
||||
"all12_whole_Original_baseline_proposal_native1to4_panes_physically_viewed": true,
|
||||
"result": "QUALIFIED_WITH_LIMITS",
|
||||
"finding": "Gray grate rails/ribs/apertures maintain Original orientation and extent in the actual caller; neighboring buildings/red borders/road/debris remain coherent. Source-shaped brown ground patch is visibly coarser than neighboring granular HD; inherited boundaries and static-scope limits remain explicit."
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"position": [
|
||||
43,
|
||||
2
|
||||
],
|
||||
"intact": "20459",
|
||||
"settled": "20463",
|
||||
"health": 30,
|
||||
"reward": 100,
|
||||
"only_foreign_slot5_changes": true,
|
||||
"before_endpoint": 1,
|
||||
"settled_endpoint": 12,
|
||||
"result": "QUALIFIED_STATIC_ORDERED_CONTEXT"
|
||||
},
|
||||
{
|
||||
"position": [
|
||||
42,
|
||||
8
|
||||
],
|
||||
"intact": "20479",
|
||||
"settled": "20484",
|
||||
"health": 35,
|
||||
"reward": 150,
|
||||
"only_foreign_slot1_changes": true,
|
||||
"before_endpoint": 0,
|
||||
"settled_endpoint": 13,
|
||||
"result": "QUALIFIED_STATIC_ORDERED_CONTEXT"
|
||||
}
|
||||
],
|
||||
"own_semantics": "All12 real S2W4 callers covered; both selected gratings health0/reward0 and no settled asset. No invented own damaged states. Two independent legal foreign one-cell endpoint events are ordered static controls; not natural combat timing.",
|
||||
"independent_readonly_checks": {
|
||||
"all_native_planes_index_class_PPM_palette_and_page_body_exact": 168,
|
||||
"plane_samples": 11612160,
|
||||
"outside_support_index_class_exact": 3333600,
|
||||
"nonown_broad_interior_index_class_exact": 2634240,
|
||||
"offmap_padding_zero_index_class_exact": 276480,
|
||||
"changed_index_samples": 283094,
|
||||
"components_read_and_palette_authenticated": 220,
|
||||
"own_prejoin_components_exact_literal_G2_bank": 8,
|
||||
"Source_graphic_hashes_verified": 55,
|
||||
"full_bank_raw_hardlink_stat_identity_checks": 3057,
|
||||
"whole_bank_8GB_rehash_bytes": 0,
|
||||
"ordered_views48_duplicate_panes_exact": true
|
||||
},
|
||||
"adapter_note": "After the completed compile/composition and exact closing guards, presentation prep regenerated adapter text; author restored exact compiled8f2de80b bytes, retained immutable literal copy and disclosed newer mtime. Independent hashes of adapter and immutable copy match. No rerun or pixel change claimed.",
|
||||
"audit_development_note": "Initial custom readonly audit interpreted logical support rectangles as output-pixel coordinates; scale2 assertion stopped. Preserved initial script/stderr; corrected multiplication by native scale then all finite samples passed. No constructor/QA/cleanup occurred in either audit.",
|
||||
"ownership_and_limits": [
|
||||
"Source controls authentic geometry and gray cohort/aggregate anchor; generated local luminance retained; none of that Source geometry/anchor receives new HD-detail credit.",
|
||||
"Own selected brown ground remains blockier and lower-grain than adjacent registered HD terrain; inherited road/building edges remain visible. This qualification does not claim fully seamless terrain.",
|
||||
"Mild native1 softness and native3/4 grain from intrinsic review remain. Gray ribs retain legibility/orientation at all reviewed scales.",
|
||||
"OriginalSourceNx controls, H5613 own Original fallback and offmap zero padding are controls, not new HD credits. All53 foreign registered frames preserve metadata; the proposal adds only selected2.",
|
||||
"These are finite static whole3x3 contexts from all12 caller positions plus2 legal foreign endpoints. No World run, natural combat, all-neighbor-state combinations or temporal shimmer claim.",
|
||||
"No admission/registration or final Root approval is supplied by this peer."
|
||||
],
|
||||
"reviewer_actual_engine_context_QA_cleanup_imagegen_calls": 0,
|
||||
"canonical_or_Git_changes": false,
|
||||
"author_frozen_packet_untouched": true
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
Traceback (most recent call last):
|
||||
File "/home/quintine/Projects/RaptorReplica/RustRaptor/.reference/hd-stag-grating2-G2-H5613-genuine14-context-peer-20261019-v1/audit_readonly.py", line 27, in <module>
|
||||
assert np.array_equal(a[~support],b[~support])and np.array_equal(ac[~support],bc[~support]);outside+=int((~support).sum());assert int((~support).sum())==record['outside_support_samples_exact']
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
AssertionError
|
||||
Whitespace-only changes.
+23
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"status": "PASS_INDEPENDENT_READONLY_FINITE_NATIVE_CONTEXT_AUDIT",
|
||||
"utc": "2026-10-19T00:05:13.435187+00:00",
|
||||
"SourceG2_library": "5b6bbd03874da298dae953dc1c0f472d24f27031df4f46616368faefb0801676",
|
||||
"H5613": "b13a4f7c494262527df1137ed6a5442e100fc51ec25680b7046e1c6f7820648a",
|
||||
"unique_native_planes": 168,
|
||||
"plane_samples": 11612160,
|
||||
"outside_support_exact": 3333600,
|
||||
"nonown_broad_interiors_exact": 2634240,
|
||||
"padding_exact": 276480,
|
||||
"delta_samples": 283094,
|
||||
"components": 220,
|
||||
"own_prejoin_components_exact_literal62d_bank": 8,
|
||||
"whole_native_endpoint_pages": 14,
|
||||
"ordered_pair_pages": 2,
|
||||
"exact_unresampled_ordered_halves": 4,
|
||||
"raw_hardlink_identity_stat_checks": 3057,
|
||||
"raw_8GB_hash_reads": 0,
|
||||
"Source_graphic_byte_bindings_verified": 55,
|
||||
"adapter_disclosed_restoration_exact": true,
|
||||
"new_engine_QA_cleanup_or_Git_calls": 0
|
||||
}
|
||||
report_sha256 34864dfdf16f243f8215e3d50f78496ae2add6e713e7cb649dc12e53c03b6e61
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
from pathlib import Path
|
||||
import hashlib,json,gzip,io,datetime
|
||||
import numpy as np
|
||||
from PIL import Image
|
||||
R=Path('/home/quintine/Projects/RaptorReplica/RustRaptor');Q=R/'.reference/hd-grating2-SourceG2-H5613-genuine14-context-20261019-v1';O=Path(__file__).resolve().parent
|
||||
sha=lambda p:hashlib.sha256(p.read_bytes()).hexdigest()
|
||||
interface=Q/'COMPLETE14-GENUINE-168-NATIVE-PANES-TWO-ORDERED-VIEWS-PAGE-ARRAY-INTERFACE.json';assert sha(interface)=='ca3435415edac6bae96ff900967ef0a2cc8c55b9d2b47ebfb6c6c622f055f955';v=json.loads(interface.read_text());contract=json.loads(Path(v['source_contract']['path']).read_text());assert sha(Path(v['source_contract']['path']))==v['source_contract']['sha256'];proof=json.loads(Path(v['actual_proof']['path']).read_text());assert sha(Path(v['actual_proof']['path']))==v['actual_proof']['sha256']
|
||||
ident=json.loads((Q/'IMMUTABLE-H5613-ALL-RAW-HARDLINK-IDENTITIES-NO-COPY-NO-8GB-REHASH.json').read_text())
|
||||
for b in ident['raws'].values():
|
||||
for key in ['source','snapshot']:
|
||||
s=Path(b[key]).stat();assert(s.st_dev,s.st_ino,s.st_size,s.st_mtime_ns)==(b['dev'],b['inode'],b['size'],b['mtime_ns'])
|
||||
for b in contract['source_pins']:assert sha(Path(b['source']['path']))==b['source']['sha256']
|
||||
for binding in [v['actual_H5613'],v['actual_library'],v['SourceG2_epoch'],v['original_palette']]:assert sha(Path(binding['path']))==binding['sha256']
|
||||
palette=np.frombuffer(Path(v['original_palette']['path']).read_bytes(),np.uint8).reshape(256,3)
|
||||
plane_root=Path(v['absolute_plane_root']);component_root=Path(v['absolute_component_root']);total=0;outside=0;broad=0;padding=0;deltas=0
|
||||
|
||||
def load(root,b):
|
||||
idx=np.frombuffer(gzip.decompress((root/b['indexed']).read_bytes()),'<u2').reshape(b['height'],b['width']);classes=np.frombuffer(gzip.decompress((root/b['classes']).read_bytes()),np.uint8).reshape(idx.shape);rgb=np.asarray(Image.open(io.BytesIO(gzip.decompress((root/b['PPM']).read_bytes()))).convert('RGB'));assert idx.max()<256;assert np.array_equal(rgb,palette[idx]);return idx,classes,rgb
|
||||
|
||||
for row in v['pages']:
|
||||
p=Path(row['page']['path']);assert sha(p)==row['page']['sha256'];page=np.asarray(Image.open(p).convert('RGB'))
|
||||
for pane in row['panes']:
|
||||
a,c,rgb=load(plane_root,pane['actual_plane']);x,y,w,h=pane['box'];assert np.array_equal(page[y:y+h,x:x+w],rgb);assert hashlib.sha256(rgb.tobytes()).hexdigest()==pane['RGB_body_sha256'];total+=a.size
|
||||
for record in proof['records']:
|
||||
roles={role:load(plane_root,b)for role,b in record['planes'].items()};a,ac,_=roles['actual_H5613_baseline'];b,bc,_=roles['selected_derived_grating2_proposal'];support=np.zeros(a.shape,bool)
|
||||
for x0,y0,x1,y1 in record['support_rectangles']:support[y0:y1,x0:x1]=True
|
||||
assert np.array_equal(a[~support],b[~support])and np.array_equal(ac[~support],bc[~support]);outside+=int((~support).sum());assert int((~support).sum())==record['outside_support_samples_exact']
|
||||
scale=record['scale'];t=32*scale;foreign=np.zeros(a.shape,bool);pad=np.zeros(a.shape,bool)
|
||||
for slot,asset in enumerate(record['endpoint']['ordered_source_ids']):
|
||||
y,x=divmod(slot,3);y*=t;x*=t
|
||||
if slot!=4:foreign[y+2*scale:y+30*scale,x+2*scale:x+30*scale]=True
|
||||
if asset is None:pad[y:y+t,x:x+t]=True
|
||||
assert np.array_equal(a[foreign],b[foreign])and np.array_equal(ac[foreign],bc[foreign]);broad+=int(foreign.sum());assert int(foreign.sum())==record['broad_foreign_interior_samples_exact']
|
||||
assert np.all(a[pad]==0)and np.array_equal(a[pad],b[pad])and np.array_equal(ac[pad],bc[pad]);padding+=int(pad.sum());assert int(pad.sum())==record['padding_samples_exact'];delta=int(np.count_nonzero(a!=b));assert delta==record['delta_samples'];deltas+=delta
|
||||
bank=json.loads(Path(contract['own_routes'][0]['actual_bank']['path']).read_text());lookup={(f['asset'],s['scale']):np.array(s['indices']).reshape(s['height'],s['width'])for f in bank for s in f['scales']};own=0
|
||||
for component in proof['components']:
|
||||
a,c,rgb=load(component_root,component)
|
||||
if component['asset']in['203c6','203c7']:assert np.array_equal(a,lookup[component['asset'],component['scale']]);own+=1
|
||||
halves=json.loads((Q/'FILE-ONLY-ORDERED-HALVES-DISPLAY-INTERFACE.json').read_text())
|
||||
for half in halves['rows']:
|
||||
p=Path(half['file']);assert sha(p)==half['sha256'];a=np.asarray(Image.open(p).convert('RGB'));whole=np.asarray(Image.open(half['source']).convert('RGB'));x0,y0,x1,y1=half['source_box'];assert np.array_equal(a,whole[y0:y1,x0:x1])
|
||||
for pair in v['ordered_pair_pages']:
|
||||
p=Path(pair['page']['path']);assert sha(p)==pair['page']['sha256'];page=np.asarray(Image.open(p).convert('RGB'))
|
||||
for pane in pair['panes']:
|
||||
_,_,rgb=load(plane_root,pane['actual_plane']);x,y,w,h=pane['box'];assert np.array_equal(page[y:y+h,x:x+w],rgb)
|
||||
restoration=json.loads((Q/'DISCLOSED-POST-EXECUTION-ADAPTER-BYTE-RESTORATION-NO-NEW-PIXELS.json').read_text());assert sha(Q/'compose_Grating2_genuine14_SourceG2_H5613.rs')==sha(Q/'ACTUAL-COMPILED-ADAPTER-IMMUTABLE-BYTES.rs')==restoration['actual_compiled_source_sha256'];assert own==8
|
||||
report=dict(status='PASS_INDEPENDENT_READONLY_FINITE_NATIVE_CONTEXT_AUDIT',utc=datetime.datetime.now(datetime.timezone.utc).isoformat(),SourceG2_library=v['actual_library']['sha256'],H5613=v['actual_H5613']['sha256'],unique_native_planes=168,plane_samples=total,outside_support_exact=outside,nonown_broad_interiors_exact=broad,padding_exact=padding,delta_samples=deltas,components=220,own_prejoin_components_exact_literal62d_bank=own,whole_native_endpoint_pages=14,ordered_pair_pages=2,exact_unresampled_ordered_halves=4,raw_hardlink_identity_stat_checks=len(ident['raws']),raw_8GB_hash_reads=0,Source_graphic_byte_bindings_verified=len(contract['source_pins']),adapter_disclosed_restoration_exact=True,new_engine_QA_cleanup_or_Git_calls=0)
|
||||
assert(total,outside,broad,padding)==(11612160,3333600,2634240,276480);out=O/'PASS-READONLY-GENUINE14-168-NATIVE-PLANES-AND-PINS-AUDIT.json';assert not out.exists();out.write_text(json.dumps(report,indent=2)+'\n');print(json.dumps(report,indent=2));print('report_sha256',sha(out))
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
from pathlib import Path
|
||||
import hashlib,json,gzip,io,datetime
|
||||
import numpy as np
|
||||
from PIL import Image
|
||||
R=Path('/home/quintine/Projects/RaptorReplica/RustRaptor');Q=R/'.reference/hd-grating2-SourceG2-H5613-genuine14-context-20261019-v1';O=Path(__file__).resolve().parent
|
||||
sha=lambda p:hashlib.sha256(p.read_bytes()).hexdigest()
|
||||
interface=Q/'COMPLETE14-GENUINE-168-NATIVE-PANES-TWO-ORDERED-VIEWS-PAGE-ARRAY-INTERFACE.json';assert sha(interface)=='ca3435415edac6bae96ff900967ef0a2cc8c55b9d2b47ebfb6c6c622f055f955';v=json.loads(interface.read_text());contract=json.loads(Path(v['source_contract']['path']).read_text());assert sha(Path(v['source_contract']['path']))==v['source_contract']['sha256'];proof=json.loads(Path(v['actual_proof']['path']).read_text());assert sha(Path(v['actual_proof']['path']))==v['actual_proof']['sha256']
|
||||
ident=json.loads((Q/'IMMUTABLE-H5613-ALL-RAW-HARDLINK-IDENTITIES-NO-COPY-NO-8GB-REHASH.json').read_text())
|
||||
for b in ident['raws'].values():
|
||||
for key in ['source','snapshot']:
|
||||
s=Path(b[key]).stat();assert(s.st_dev,s.st_ino,s.st_size,s.st_mtime_ns)==(b['dev'],b['inode'],b['size'],b['mtime_ns'])
|
||||
for b in contract['source_pins']:assert sha(Path(b['source']['path']))==b['source']['sha256']
|
||||
for binding in [v['actual_H5613'],v['actual_library'],v['SourceG2_epoch'],v['original_palette']]:assert sha(Path(binding['path']))==binding['sha256']
|
||||
palette=np.frombuffer(Path(v['original_palette']['path']).read_bytes(),np.uint8).reshape(256,3)
|
||||
plane_root=Path(v['absolute_plane_root']);component_root=Path(v['absolute_component_root']);total=0;outside=0;broad=0;padding=0;deltas=0
|
||||
|
||||
def load(root,b):
|
||||
idx=np.frombuffer(gzip.decompress((root/b['indexed']).read_bytes()),'<u2').reshape(b['height'],b['width']);classes=np.frombuffer(gzip.decompress((root/b['classes']).read_bytes()),np.uint8).reshape(idx.shape);rgb=np.asarray(Image.open(io.BytesIO(gzip.decompress((root/b['PPM']).read_bytes()))).convert('RGB'));assert idx.max()<256;assert np.array_equal(rgb,palette[idx]);return idx,classes,rgb
|
||||
|
||||
for row in v['pages']:
|
||||
p=Path(row['page']['path']);assert sha(p)==row['page']['sha256'];page=np.asarray(Image.open(p).convert('RGB'))
|
||||
for pane in row['panes']:
|
||||
a,c,rgb=load(plane_root,pane['actual_plane']);x,y,w,h=pane['box'];assert np.array_equal(page[y:y+h,x:x+w],rgb);assert hashlib.sha256(rgb.tobytes()).hexdigest()==pane['RGB_body_sha256'];total+=a.size
|
||||
for record in proof['records']:
|
||||
roles={role:load(plane_root,b)for role,b in record['planes'].items()};a,ac,_=roles['actual_H5613_baseline'];b,bc,_=roles['selected_derived_grating2_proposal'];support=np.zeros(a.shape,bool)
|
||||
for x0,y0,x1,y1 in record['support_rectangles']:
|
||||
scale=record['scale'];support[y0*scale:y1*scale,x0*scale:x1*scale]=True
|
||||
assert np.array_equal(a[~support],b[~support])and np.array_equal(ac[~support],bc[~support]);outside+=int((~support).sum());assert int((~support).sum())==record['outside_support_samples_exact']
|
||||
scale=record['scale'];t=32*scale;foreign=np.zeros(a.shape,bool);pad=np.zeros(a.shape,bool)
|
||||
for slot,asset in enumerate(record['endpoint']['ordered_source_ids']):
|
||||
y,x=divmod(slot,3);y*=t;x*=t
|
||||
if slot!=4:foreign[y+2*scale:y+30*scale,x+2*scale:x+30*scale]=True
|
||||
if asset is None:pad[y:y+t,x:x+t]=True
|
||||
assert np.array_equal(a[foreign],b[foreign])and np.array_equal(ac[foreign],bc[foreign]);broad+=int(foreign.sum());assert int(foreign.sum())==record['broad_foreign_interior_samples_exact']
|
||||
assert np.all(a[pad]==0)and np.array_equal(a[pad],b[pad])and np.array_equal(ac[pad],bc[pad]);padding+=int(pad.sum());assert int(pad.sum())==record['padding_samples_exact'];delta=int(np.count_nonzero(a!=b));assert delta==record['delta_samples'];deltas+=delta
|
||||
bank=json.loads(Path(contract['own_routes'][0]['actual_bank']['path']).read_text());lookup={(f['asset'],s['scale']):np.array(s['indices']).reshape(s['height'],s['width'])for f in bank for s in f['scales']};own=0
|
||||
for component in proof['components']:
|
||||
a,c,rgb=load(component_root,component)
|
||||
if component['asset']in['203c6','203c7']:assert np.array_equal(a,lookup[component['asset'],component['scale']]);own+=1
|
||||
halves=json.loads((Q/'FILE-ONLY-ORDERED-HALVES-DISPLAY-INTERFACE.json').read_text())
|
||||
for half in halves['rows']:
|
||||
p=Path(half['file']);assert sha(p)==half['sha256'];a=np.asarray(Image.open(p).convert('RGB'));whole=np.asarray(Image.open(half['source']).convert('RGB'));x0,y0,x1,y1=half['source_box'];assert np.array_equal(a,whole[y0:y1,x0:x1])
|
||||
for pair in v['ordered_pair_pages']:
|
||||
p=Path(pair['page']['path']);assert sha(p)==pair['page']['sha256'];page=np.asarray(Image.open(p).convert('RGB'))
|
||||
for pane in pair['panes']:
|
||||
_,_,rgb=load(plane_root,pane['actual_plane']);x,y,w,h=pane['box'];assert np.array_equal(page[y:y+h,x:x+w],rgb)
|
||||
restoration=json.loads((Q/'DISCLOSED-POST-EXECUTION-ADAPTER-BYTE-RESTORATION-NO-NEW-PIXELS.json').read_text());assert sha(Q/'compose_Grating2_genuine14_SourceG2_H5613.rs')==sha(Q/'ACTUAL-COMPILED-ADAPTER-IMMUTABLE-BYTES.rs')==restoration['actual_compiled_source_sha256'];assert own==8
|
||||
report=dict(status='PASS_INDEPENDENT_READONLY_FINITE_NATIVE_CONTEXT_AUDIT',utc=datetime.datetime.now(datetime.timezone.utc).isoformat(),SourceG2_library=v['actual_library']['sha256'],H5613=v['actual_H5613']['sha256'],unique_native_planes=168,plane_samples=total,outside_support_exact=outside,nonown_broad_interiors_exact=broad,padding_exact=padding,delta_samples=deltas,components=220,own_prejoin_components_exact_literal62d_bank=own,whole_native_endpoint_pages=14,ordered_pair_pages=2,exact_unresampled_ordered_halves=4,raw_hardlink_identity_stat_checks=len(ident['raws']),raw_8GB_hash_reads=0,Source_graphic_byte_bindings_verified=len(contract['source_pins']),adapter_disclosed_restoration_exact=True,new_engine_QA_cleanup_or_Git_calls=0)
|
||||
assert(total,outside,broad,padding)==(11612160,3333600,2634240,276480);out=O/'PASS-READONLY-GENUINE14-168-NATIVE-PLANES-AND-PINS-AUDIT.json';assert not out.exists();out.write_text(json.dumps(report,indent=2)+'\n');print(json.dumps(report,indent=2));print('report_sha256',sha(out))
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"status": "QUALIFIED_DIFFERENT_INTRINSIC_MATERIAL_PEER_COMPLETE2_WITH_LIMITS_CONTEXT_PENDING",
|
||||
"reviewer": "/root/stag_portability",
|
||||
"utc": "2026-10-18T23:40:28.272494+00:00",
|
||||
"author_packet": "/home/quintine/Projects/RaptorReplica/RustRaptor/.reference/hd-grating2-fixed-graycast-once-currentG2-author-20261019-v1",
|
||||
"author_strict_sha256": "72ec16de7d663974327e13458d52ddb1aa7b1b4924885dc6e19c441233eee335",
|
||||
"author_intrinsic_report_sha256": "25b855775bc1fe603a7d4697641fec8265e0c23805c8a95e09b3273a9d4761f0",
|
||||
"actual_SourceG2_QA_sha256": "62d093c4ec0ec0580fa4c8e22c6eb39ba791bb1d3c37cfcb5f91cfbdebb36962",
|
||||
"read_only_audit_sha256": "0f5a3080bdba75430b60585a529b56e3708a9443d406d44644b36dc06fa08af1",
|
||||
"physically_opened_and_fully_viewed": [
|
||||
"untouched1774x887 quietV2 originalpair raw, bothwhole887px panels",
|
||||
"203c6 actualderived128x128RGBPNG",
|
||||
"203c7 actualderived128x128RGBPNG",
|
||||
"203c6 unresampledwhole Original32+native32/64/96/128page",
|
||||
"203c7 unresampledwhole Original32+native32/64/96/128page",
|
||||
"203c6 whole enlargednearest-neighbor diagnostic page (HD3 noninteger exception disclosed)",
|
||||
"203c7 whole enlargednearest-neighbor diagnostic page (HD3 noninteger exception disclosed)"
|
||||
],
|
||||
"frames": [
|
||||
{
|
||||
"asset": "203c6",
|
||||
"intrinsic_result": "QUALIFIED_WITH_LIMITS",
|
||||
"observations": "Right-side vertical grating keeps the Source long rectangular frame, repeated horizontal ribs, dark apertures and lower open bay. Corrected neutral gray separates the structure from brown earth without raised bright chrome or enlarged framing. At1x its ribs are softer than Original;2x improves separation;3x/4x retain generated mottled gray grain and faithful silhouette. Brown ground, dark center channel and scattered fragments keep the Source coarse spatial layout.",
|
||||
"output_sha256": "fd913999df7a3c45f7c414071d0177fef53900968b9b542fae22f17e206954c3"
|
||||
},
|
||||
{
|
||||
"asset": "203c7",
|
||||
"intrinsic_result": "QUALIFIED_WITH_LIMITS",
|
||||
"observations": "Upper horizontal grating keeps Source rails, repeated vertical bars, dark apertures and right end bay. Corrected gray reads as the same ordinary worn structure rather than tan earth. Native1 is mildly soft but legible; native2/3/4 retain the bar arrangement and generated irregular surface tone. The lower earth/debris pattern remains deliberately blocky and dark.",
|
||||
"output_sha256": "0bee64e5fc22c22c98688ec8a9ce942788f07d40b185a7b36e715f496de93f20"
|
||||
}
|
||||
],
|
||||
"ownership": {
|
||||
"Source": "Original canvas, semantic bar/ground geometry and complete179/192-cell gray selection plus one aggregate gray RGB anchor perframe; not generated detail credit",
|
||||
"generated": "QuietV2 untouchedraw supplies local luminance variation throughout selected grating and nonselected brown/debris artwork after disclosed resize",
|
||||
"derived": "One fixed-graycast cleanup changes2864/3072 selected128px output samples. No per-cell SourceRGB copying; direct-copy operation count does not exclude coincidental color matches.",
|
||||
"outside": "13520/13312 outside samples and allalpha exact to Pillow Lanczos resizedraw baseline; not equal-oldRustresampler claim"
|
||||
},
|
||||
"limitations": [
|
||||
"Static intrinsic views do not establish temporal shimmer behavior, live reachability, joins/seams or genuine context approval.",
|
||||
"Native1 is softer at some grating edge pixels than Original; native3/4 surfaces have visible grain.",
|
||||
"Brown ground is conspicuously Source-shaped with coarse blocks; geometry/aggregate color are not newly generated HD detail.",
|
||||
"Two enlarged HD3 diagnostic panes actually96\u2192256 nearest-neighbor (8/3), not claimedintegerfactor2. True native96px pages were fully physically viewed and exactreadback verified; frozen packet unchanged.",
|
||||
"SourceG2 intrinsic QA has trivial opaque alphaIoU1; it does not establish material fidelity by itself."
|
||||
],
|
||||
"genuine_context_approval": false,
|
||||
"Root_final_admission_or_registration": false,
|
||||
"prior_quiet_V2_HOLD_preserved": true,
|
||||
"actual_cleanup_calls_by_reviewer": 0,
|
||||
"actual_QA_context_or_World_calls_by_reviewer": 0,
|
||||
"actual_imagegen_calls_by_reviewer": 0,
|
||||
"canonical_or_Git_changes": false
|
||||
}
|
||||
+390
@@ -0,0 +1,390 @@
|
||||
{
|
||||
"status": "PASS_READONLY_COMPLETE_PACKET_NATIVE_PAGE_AND_DERIVED_SAMPLE_AUDIT",
|
||||
"utc": "2026-10-18T23:39:43.104983+00:00",
|
||||
"strict_sha256": "72ec16de7d663974327e13458d52ddb1aa7b1b4924885dc6e19c441233eee335",
|
||||
"all_strict_files_byte_exact": true,
|
||||
"strict_file_count": 60,
|
||||
"all20_panes_readback_exact_to_declared_NNsize": true,
|
||||
"actual_true_native_unresampled_panes": 10,
|
||||
"diagnostic_NN_exact_integer_panes": 8,
|
||||
"diagnostic_NN_noninteger_panes": 2,
|
||||
"diagnostic_exception": "Both HD3 diagnostic panes are96\u2192256 nearest-neighbor (8/3); interface integer_NN_factor2 is false. Actual native96px bodies were independently physically viewed on unresampled pages. No frozen packet edited.",
|
||||
"panes": [
|
||||
{
|
||||
"asset": "203c6",
|
||||
"page": "203c6-whole-unresampled.png",
|
||||
"role": "203c6-original.ppm",
|
||||
"native_size": [
|
||||
32,
|
||||
32
|
||||
],
|
||||
"shown_size": [
|
||||
32,
|
||||
32
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 1.0,
|
||||
"declared_integer_factor": 1,
|
||||
"integer_claim_exact": true
|
||||
},
|
||||
{
|
||||
"asset": "203c6",
|
||||
"page": "203c6-whole-unresampled.png",
|
||||
"role": "203c6-hd-1.ppm",
|
||||
"native_size": [
|
||||
32,
|
||||
32
|
||||
],
|
||||
"shown_size": [
|
||||
32,
|
||||
32
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 1.0,
|
||||
"declared_integer_factor": 1,
|
||||
"integer_claim_exact": true
|
||||
},
|
||||
{
|
||||
"asset": "203c6",
|
||||
"page": "203c6-whole-unresampled.png",
|
||||
"role": "203c6-hd-2.ppm",
|
||||
"native_size": [
|
||||
64,
|
||||
64
|
||||
],
|
||||
"shown_size": [
|
||||
64,
|
||||
64
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 1.0,
|
||||
"declared_integer_factor": 1,
|
||||
"integer_claim_exact": true
|
||||
},
|
||||
{
|
||||
"asset": "203c6",
|
||||
"page": "203c6-whole-unresampled.png",
|
||||
"role": "203c6-hd-3.ppm",
|
||||
"native_size": [
|
||||
96,
|
||||
96
|
||||
],
|
||||
"shown_size": [
|
||||
96,
|
||||
96
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 1.0,
|
||||
"declared_integer_factor": 1,
|
||||
"integer_claim_exact": true
|
||||
},
|
||||
{
|
||||
"asset": "203c6",
|
||||
"page": "203c6-whole-unresampled.png",
|
||||
"role": "203c6-hd-4.ppm",
|
||||
"native_size": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"shown_size": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 1.0,
|
||||
"declared_integer_factor": 1,
|
||||
"integer_claim_exact": true
|
||||
},
|
||||
{
|
||||
"asset": "203c6",
|
||||
"page": "203c6-whole-integerNN.png",
|
||||
"role": "203c6-original.ppm",
|
||||
"native_size": [
|
||||
32,
|
||||
32
|
||||
],
|
||||
"shown_size": [
|
||||
256,
|
||||
256
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 8.0,
|
||||
"declared_integer_factor": 8,
|
||||
"integer_claim_exact": true
|
||||
},
|
||||
{
|
||||
"asset": "203c6",
|
||||
"page": "203c6-whole-integerNN.png",
|
||||
"role": "203c6-hd-1.ppm",
|
||||
"native_size": [
|
||||
32,
|
||||
32
|
||||
],
|
||||
"shown_size": [
|
||||
256,
|
||||
256
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 8.0,
|
||||
"declared_integer_factor": 8,
|
||||
"integer_claim_exact": true
|
||||
},
|
||||
{
|
||||
"asset": "203c6",
|
||||
"page": "203c6-whole-integerNN.png",
|
||||
"role": "203c6-hd-2.ppm",
|
||||
"native_size": [
|
||||
64,
|
||||
64
|
||||
],
|
||||
"shown_size": [
|
||||
256,
|
||||
256
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 4.0,
|
||||
"declared_integer_factor": 4,
|
||||
"integer_claim_exact": true
|
||||
},
|
||||
{
|
||||
"asset": "203c6",
|
||||
"page": "203c6-whole-integerNN.png",
|
||||
"role": "203c6-hd-3.ppm",
|
||||
"native_size": [
|
||||
96,
|
||||
96
|
||||
],
|
||||
"shown_size": [
|
||||
256,
|
||||
256
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 2.6666666666666665,
|
||||
"declared_integer_factor": 2,
|
||||
"integer_claim_exact": false
|
||||
},
|
||||
{
|
||||
"asset": "203c6",
|
||||
"page": "203c6-whole-integerNN.png",
|
||||
"role": "203c6-hd-4.ppm",
|
||||
"native_size": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"shown_size": [
|
||||
256,
|
||||
256
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 2.0,
|
||||
"declared_integer_factor": 2,
|
||||
"integer_claim_exact": true
|
||||
},
|
||||
{
|
||||
"asset": "203c7",
|
||||
"page": "203c7-whole-unresampled.png",
|
||||
"role": "203c7-original.ppm",
|
||||
"native_size": [
|
||||
32,
|
||||
32
|
||||
],
|
||||
"shown_size": [
|
||||
32,
|
||||
32
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 1.0,
|
||||
"declared_integer_factor": 1,
|
||||
"integer_claim_exact": true
|
||||
},
|
||||
{
|
||||
"asset": "203c7",
|
||||
"page": "203c7-whole-unresampled.png",
|
||||
"role": "203c7-hd-1.ppm",
|
||||
"native_size": [
|
||||
32,
|
||||
32
|
||||
],
|
||||
"shown_size": [
|
||||
32,
|
||||
32
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 1.0,
|
||||
"declared_integer_factor": 1,
|
||||
"integer_claim_exact": true
|
||||
},
|
||||
{
|
||||
"asset": "203c7",
|
||||
"page": "203c7-whole-unresampled.png",
|
||||
"role": "203c7-hd-2.ppm",
|
||||
"native_size": [
|
||||
64,
|
||||
64
|
||||
],
|
||||
"shown_size": [
|
||||
64,
|
||||
64
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 1.0,
|
||||
"declared_integer_factor": 1,
|
||||
"integer_claim_exact": true
|
||||
},
|
||||
{
|
||||
"asset": "203c7",
|
||||
"page": "203c7-whole-unresampled.png",
|
||||
"role": "203c7-hd-3.ppm",
|
||||
"native_size": [
|
||||
96,
|
||||
96
|
||||
],
|
||||
"shown_size": [
|
||||
96,
|
||||
96
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 1.0,
|
||||
"declared_integer_factor": 1,
|
||||
"integer_claim_exact": true
|
||||
},
|
||||
{
|
||||
"asset": "203c7",
|
||||
"page": "203c7-whole-unresampled.png",
|
||||
"role": "203c7-hd-4.ppm",
|
||||
"native_size": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"shown_size": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 1.0,
|
||||
"declared_integer_factor": 1,
|
||||
"integer_claim_exact": true
|
||||
},
|
||||
{
|
||||
"asset": "203c7",
|
||||
"page": "203c7-whole-integerNN.png",
|
||||
"role": "203c7-original.ppm",
|
||||
"native_size": [
|
||||
32,
|
||||
32
|
||||
],
|
||||
"shown_size": [
|
||||
256,
|
||||
256
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 8.0,
|
||||
"declared_integer_factor": 8,
|
||||
"integer_claim_exact": true
|
||||
},
|
||||
{
|
||||
"asset": "203c7",
|
||||
"page": "203c7-whole-integerNN.png",
|
||||
"role": "203c7-hd-1.ppm",
|
||||
"native_size": [
|
||||
32,
|
||||
32
|
||||
],
|
||||
"shown_size": [
|
||||
256,
|
||||
256
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 8.0,
|
||||
"declared_integer_factor": 8,
|
||||
"integer_claim_exact": true
|
||||
},
|
||||
{
|
||||
"asset": "203c7",
|
||||
"page": "203c7-whole-integerNN.png",
|
||||
"role": "203c7-hd-2.ppm",
|
||||
"native_size": [
|
||||
64,
|
||||
64
|
||||
],
|
||||
"shown_size": [
|
||||
256,
|
||||
256
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 4.0,
|
||||
"declared_integer_factor": 4,
|
||||
"integer_claim_exact": true
|
||||
},
|
||||
{
|
||||
"asset": "203c7",
|
||||
"page": "203c7-whole-integerNN.png",
|
||||
"role": "203c7-hd-3.ppm",
|
||||
"native_size": [
|
||||
96,
|
||||
96
|
||||
],
|
||||
"shown_size": [
|
||||
256,
|
||||
256
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 2.6666666666666665,
|
||||
"declared_integer_factor": 2,
|
||||
"integer_claim_exact": false
|
||||
},
|
||||
{
|
||||
"asset": "203c7",
|
||||
"page": "203c7-whole-integerNN.png",
|
||||
"role": "203c7-hd-4.ppm",
|
||||
"native_size": [
|
||||
128,
|
||||
128
|
||||
],
|
||||
"shown_size": [
|
||||
256,
|
||||
256
|
||||
],
|
||||
"body_readback_exact": true,
|
||||
"actual_scale_factor": 2.0,
|
||||
"declared_integer_factor": 2,
|
||||
"integer_claim_exact": true
|
||||
}
|
||||
],
|
||||
"measurements": [
|
||||
{
|
||||
"asset": "203c6",
|
||||
"Source_original_PPM_exact": true,
|
||||
"gray_logical_cells": 179,
|
||||
"selected_RGBA_pixels": 2864,
|
||||
"outside_exact_RGBA_pixels": 13520,
|
||||
"all_alpha_exact": true,
|
||||
"output_sha256": "fd913999df7a3c45f7c414071d0177fef53900968b9b542fae22f17e206954c3",
|
||||
"gray_RGB_mean": [
|
||||
71.6497905027933,
|
||||
71.26466480446928,
|
||||
71.26466480446928
|
||||
],
|
||||
"constant_Y_offset": 21.478905865921796,
|
||||
"maximum_Y_structure_rounding_error": 0.41629413407821403
|
||||
},
|
||||
{
|
||||
"asset": "203c7",
|
||||
"Source_original_PPM_exact": true,
|
||||
"gray_logical_cells": 192,
|
||||
"selected_RGBA_pixels": 3072,
|
||||
"outside_exact_RGBA_pixels": 13312,
|
||||
"all_alpha_exact": true,
|
||||
"output_sha256": "0bee64e5fc22c22c98688ec8a9ce942788f07d40b185a7b36e715f496de93f20",
|
||||
"gray_RGB_mean": [
|
||||
70.376953125,
|
||||
69.978515625,
|
||||
69.978515625
|
||||
],
|
||||
"constant_Y_offset": 21.433011002604175,
|
||||
"maximum_Y_structure_rounding_error": 0.38998899739583237
|
||||
}
|
||||
],
|
||||
"actual_cleanup_or_QA_calls": 0,
|
||||
"no_pixels_written": true
|
||||
}
|
||||
+559
@@ -0,0 +1,559 @@
|
||||
{
|
||||
"status": "STATIC_GENUINE_CURRENT27MAP_FLATS_CENSUS_NO_CONTEXT_CAPTURE",
|
||||
"selected": [
|
||||
"203c6",
|
||||
"203c7"
|
||||
],
|
||||
"Original_definitions": [
|
||||
{
|
||||
"intact": "203c6",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 697,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5576
|
||||
},
|
||||
{
|
||||
"intact": "203c7",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 698,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5584
|
||||
}
|
||||
],
|
||||
"all_callers": [
|
||||
{
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 42,
|
||||
"column": 8,
|
||||
"Source_role": "intact",
|
||||
"Original_tile": {
|
||||
"intact": "203c7",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 698,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5584
|
||||
},
|
||||
"MAP_asset": "20005",
|
||||
"MAP_byte_offset": 1556
|
||||
},
|
||||
{
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 43,
|
||||
"column": 1,
|
||||
"Source_role": "intact",
|
||||
"Original_tile": {
|
||||
"intact": "203c6",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 697,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5576
|
||||
},
|
||||
"MAP_asset": "20005",
|
||||
"MAP_byte_offset": 1564
|
||||
},
|
||||
{
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 54,
|
||||
"column": 1,
|
||||
"Source_role": "intact",
|
||||
"Original_tile": {
|
||||
"intact": "203c6",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 697,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5576
|
||||
},
|
||||
"MAP_asset": "20005",
|
||||
"MAP_byte_offset": 1960
|
||||
},
|
||||
{
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 58,
|
||||
"column": 1,
|
||||
"Source_role": "intact",
|
||||
"Original_tile": {
|
||||
"intact": "203c6",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 697,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5576
|
||||
},
|
||||
"MAP_asset": "20005",
|
||||
"MAP_byte_offset": 2104
|
||||
},
|
||||
{
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 61,
|
||||
"column": 2,
|
||||
"Source_role": "intact",
|
||||
"Original_tile": {
|
||||
"intact": "203c7",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 698,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5584
|
||||
},
|
||||
"MAP_asset": "20005",
|
||||
"MAP_byte_offset": 2216
|
||||
},
|
||||
{
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 78,
|
||||
"column": 1,
|
||||
"Source_role": "intact",
|
||||
"Original_tile": {
|
||||
"intact": "203c6",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 697,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5576
|
||||
},
|
||||
"MAP_asset": "20005",
|
||||
"MAP_byte_offset": 2824
|
||||
},
|
||||
{
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 86,
|
||||
"column": 6,
|
||||
"Source_role": "intact",
|
||||
"Original_tile": {
|
||||
"intact": "203c7",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 698,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5584
|
||||
},
|
||||
"MAP_asset": "20005",
|
||||
"MAP_byte_offset": 3132
|
||||
},
|
||||
{
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 88,
|
||||
"column": 7,
|
||||
"Source_role": "intact",
|
||||
"Original_tile": {
|
||||
"intact": "203c6",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 697,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5576
|
||||
},
|
||||
"MAP_asset": "20005",
|
||||
"MAP_byte_offset": 3208
|
||||
},
|
||||
{
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 97,
|
||||
"column": 0,
|
||||
"Source_role": "intact",
|
||||
"Original_tile": {
|
||||
"intact": "203c7",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 698,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5584
|
||||
},
|
||||
"MAP_asset": "20005",
|
||||
"MAP_byte_offset": 3504
|
||||
},
|
||||
{
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 101,
|
||||
"column": 7,
|
||||
"Source_role": "intact",
|
||||
"Original_tile": {
|
||||
"intact": "203c6",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 697,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5576
|
||||
},
|
||||
"MAP_asset": "20005",
|
||||
"MAP_byte_offset": 3676
|
||||
},
|
||||
{
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 108,
|
||||
"column": 2,
|
||||
"Source_role": "intact",
|
||||
"Original_tile": {
|
||||
"intact": "203c7",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 698,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5584
|
||||
},
|
||||
"MAP_asset": "20005",
|
||||
"MAP_byte_offset": 3908
|
||||
},
|
||||
{
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 116,
|
||||
"column": 1,
|
||||
"Source_role": "intact",
|
||||
"Original_tile": {
|
||||
"intact": "203c6",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 697,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5576
|
||||
},
|
||||
"MAP_asset": "20005",
|
||||
"MAP_byte_offset": 4192
|
||||
}
|
||||
],
|
||||
"occurrence_counts": {
|
||||
"203c6": 7,
|
||||
"203c7": 5
|
||||
},
|
||||
"representative_routes": [
|
||||
{
|
||||
"asset": "203c6",
|
||||
"caller": {
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 43,
|
||||
"column": 1,
|
||||
"Source_role": "intact",
|
||||
"Original_tile": {
|
||||
"intact": "203c6",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 697,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5576
|
||||
},
|
||||
"MAP_asset": "20005",
|
||||
"MAP_byte_offset": 1564
|
||||
},
|
||||
"authentic3x3_neighbors": [
|
||||
{
|
||||
"row": 42,
|
||||
"column": 0,
|
||||
"tile": {
|
||||
"intact": "2022e",
|
||||
"settled": "202d6",
|
||||
"health": 25,
|
||||
"reward": 100,
|
||||
"game": 1,
|
||||
"FLATS_record": 289,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 2312
|
||||
}
|
||||
},
|
||||
{
|
||||
"row": 42,
|
||||
"column": 1,
|
||||
"tile": {
|
||||
"intact": "203be",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 689,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5512
|
||||
}
|
||||
},
|
||||
{
|
||||
"row": 42,
|
||||
"column": 2,
|
||||
"tile": {
|
||||
"intact": "20467",
|
||||
"settled": "2045c",
|
||||
"health": 35,
|
||||
"reward": 100,
|
||||
"game": 1,
|
||||
"FLATS_record": 858,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 6864
|
||||
}
|
||||
},
|
||||
{
|
||||
"row": 43,
|
||||
"column": 0,
|
||||
"tile": {
|
||||
"intact": "20232",
|
||||
"settled": "202d6",
|
||||
"health": 30,
|
||||
"reward": 100,
|
||||
"game": 1,
|
||||
"FLATS_record": 293,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 2344
|
||||
}
|
||||
},
|
||||
{
|
||||
"row": 43,
|
||||
"column": 1,
|
||||
"tile": {
|
||||
"intact": "203c6",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 697,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5576
|
||||
}
|
||||
},
|
||||
{
|
||||
"row": 43,
|
||||
"column": 2,
|
||||
"tile": {
|
||||
"intact": "20459",
|
||||
"settled": "20463",
|
||||
"health": 30,
|
||||
"reward": 100,
|
||||
"game": 1,
|
||||
"FLATS_record": 844,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 6752
|
||||
}
|
||||
},
|
||||
{
|
||||
"row": 44,
|
||||
"column": 0,
|
||||
"tile": {
|
||||
"intact": "2022e",
|
||||
"settled": "202d6",
|
||||
"health": 25,
|
||||
"reward": 100,
|
||||
"game": 1,
|
||||
"FLATS_record": 289,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 2312
|
||||
}
|
||||
},
|
||||
{
|
||||
"row": 44,
|
||||
"column": 1,
|
||||
"tile": {
|
||||
"intact": "203e3",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 726,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5808
|
||||
}
|
||||
},
|
||||
{
|
||||
"row": 44,
|
||||
"column": 2,
|
||||
"tile": {
|
||||
"intact": "203c1",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 692,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5536
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"asset": "203c7",
|
||||
"caller": {
|
||||
"mission": "base:sector_2_wave_4",
|
||||
"row": 42,
|
||||
"column": 8,
|
||||
"Source_role": "intact",
|
||||
"Original_tile": {
|
||||
"intact": "203c7",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 698,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5584
|
||||
},
|
||||
"MAP_asset": "20005",
|
||||
"MAP_byte_offset": 1556
|
||||
},
|
||||
"authentic3x3_neighbors": [
|
||||
{
|
||||
"row": 41,
|
||||
"column": 7,
|
||||
"tile": {
|
||||
"intact": "20478",
|
||||
"settled": "20483",
|
||||
"health": 35,
|
||||
"reward": 150,
|
||||
"game": 1,
|
||||
"FLATS_record": 875,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 7000
|
||||
}
|
||||
},
|
||||
{
|
||||
"row": 41,
|
||||
"column": 8,
|
||||
"tile": {
|
||||
"intact": "20479",
|
||||
"settled": "20484",
|
||||
"health": 35,
|
||||
"reward": 150,
|
||||
"game": 1,
|
||||
"FLATS_record": 876,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 7008
|
||||
}
|
||||
},
|
||||
{
|
||||
"row": 41,
|
||||
"column": 9,
|
||||
"tile": null
|
||||
},
|
||||
{
|
||||
"row": 42,
|
||||
"column": 7,
|
||||
"tile": {
|
||||
"intact": "203bf",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 690,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5520
|
||||
}
|
||||
},
|
||||
{
|
||||
"row": 42,
|
||||
"column": 8,
|
||||
"tile": {
|
||||
"intact": "203c7",
|
||||
"settled": null,
|
||||
"health": 0,
|
||||
"reward": 0,
|
||||
"game": 1,
|
||||
"FLATS_record": 698,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 5584
|
||||
}
|
||||
},
|
||||
{
|
||||
"row": 42,
|
||||
"column": 9,
|
||||
"tile": null
|
||||
},
|
||||
{
|
||||
"row": 43,
|
||||
"column": 7,
|
||||
"tile": {
|
||||
"intact": "2044b",
|
||||
"settled": "20455",
|
||||
"health": 30,
|
||||
"reward": 100,
|
||||
"game": 1,
|
||||
"FLATS_record": 830,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 6640
|
||||
}
|
||||
},
|
||||
{
|
||||
"row": 43,
|
||||
"column": 8,
|
||||
"tile": {
|
||||
"intact": "2044c",
|
||||
"settled": "20456",
|
||||
"health": 30,
|
||||
"reward": 100,
|
||||
"game": 1,
|
||||
"FLATS_record": 831,
|
||||
"FLATS_asset": "20001",
|
||||
"FLATS_byte_offset": 6648
|
||||
}
|
||||
},
|
||||
{
|
||||
"row": 43,
|
||||
"column": 9,
|
||||
"tile": null
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"all27_MAP_and_FLATS_pins": {
|
||||
"data/INDEX": "4ce78e5e638b6603114dd233ceaa41f386c0963ba4aa02ecf88ce0215b096681",
|
||||
"data/misc/FLATSG1_ITM": "882cd3f7d793e427771877ce5b74d6f6db4ed19385ebe79ade51b7a22bb70140",
|
||||
"data/misc/FLATSG2_ITM": "dc079c9af2e05357c40bf4d1c1299e51563dda28be75db060bb1f8e7c3581bae",
|
||||
"data/misc/FLATSG3_ITM": "1611bd91aa62d353bcd8a0ce298803a75a82aa03b1acd866fb256e07b7e89d5a",
|
||||
"data/misc/FLATSG4_ITM": "6a880587e587c64f08a7c841be55eba5a93ea64042a88383b47b81033e2bee11",
|
||||
"data/maps/MAP1G1_MAP": "bfa4386e554ee029a9ac7f2f5d0c4cb5c3000e5d7512c7c8246d75deecb48939",
|
||||
"data/maps/MAP2G1_MAP": "f6a2f140f86a6bd91b6d137f149c69a7509e37ef93f54513d16ac826a02d5d69",
|
||||
"data/maps/MAP3G1_MAP": "d119b94ecf744c4b4a14ea1f2de99898050efeddfb6438a8393d0a91f7ca5dc9",
|
||||
"data/maps/MAP4G1_MAP": "908e65d46cceaa17f4243f54e5f40773051950423e4a5f840fa92742c94f7cff",
|
||||
"data/maps/MAP5G1_MAP": "4eb985c26cbe5862d73282e8c0af06589e667ddd3c9ee19f5f436cf4150b9f36",
|
||||
"data/maps/MAP6G1_MAP": "605f63c38a82689a2d776a641576be1a61ad97da52cbaa8f76dea74798d024e2",
|
||||
"data/maps/MAP7G1_MAP": "03b016972af559632627c37d5cfb321f24d6f09c18b6465039cc3d5b2051ffbc",
|
||||
"data/maps/MAP8G1_MAP": "bdc13404abe376689fc78fac4b585a641d68bfc8939cc6b51cc5811d734555bf",
|
||||
"data/maps/MAP9G1_MAP": "f09110d48c0a86989333aa5087e48b02ea06aff7488777e5365f1f3b5c8e835f",
|
||||
"data/maps/MAP1G2_MAP": "b2bf31aacf9e686c0583ecaf78d5af870f3b326d57e78382aa3d279f778cfbd5",
|
||||
"data/maps/MAP2G2_MAP": "0776eabbb0e18b76a2121fa0ec505099b77564af8abe721bb2a05aca43d12ebd",
|
||||
"data/maps/MAP3G2_MAP": "e071f964e54556946595b3fbda178ece3995efe3a1978589586d60f59ad82719",
|
||||
"data/maps/MAP4G2_MAP": "8f15fe7ef807a5d75f4c345213bfe4e4694b53cdb38204f5aa3dc0c45dcfce09",
|
||||
"data/maps/MAP5G2_MAP": "c5f907c0c743554998128fcb0047c262815c77c2ac2aa6c4941a91f4820a0aac",
|
||||
"data/maps/MAP6G2_MAP": "3573cbc922e985145220c5acc30cffcea0bbb26834142fc9e5a496790f5b8483",
|
||||
"data/maps/MAP7G2_MAP": "555e6d42a4c4edc50f100b54d4d7850339c902ca32cc408b420fa5c4d50254fe",
|
||||
"data/maps/MAP8G2_MAP": "7556d96680a0bb382e629ce2ffb2d4a5e1e15b5b87ba450350d8d0e4ac387d51",
|
||||
"data/maps/MAP9G2_MAP": "a1c7a1d1ca473bff76259bb40b3d51fe728b00997efdbcb4b4400ceef9db99c2",
|
||||
"data/maps/MAP1G3_MAP": "2687a6d2e601e67f16f3ec69ff8b007dcfa6610f3dd812af4a1a20e9c1db036e",
|
||||
"data/maps/MAP2G3_MAP": "1d87c8760de45b12c0f43d9354cbd81cfd6993a34933aae6940b87712c4b29e3",
|
||||
"data/maps/MAP3G3_MAP": "76b8443d883c56d4de1a9874cbeeef3b009036bf53982ef8d5b49a233e8098be",
|
||||
"data/maps/MAP4G3_MAP": "7b1ec34500093951f8202d26780360f8ab83fb1cb9fcc18ebdd14e6db20eb026",
|
||||
"data/maps/MAP5G3_MAP": "af69d2ca9295b5763c1b5fe84464d58661ef534faa912a914db9458b9115190c",
|
||||
"data/maps/MAP6G3_MAP": "78429a723d8e73a0b46134cbb99abf0904a4c39ddb9ff25b26ac9c2703159d36",
|
||||
"data/maps/MAP7G3_MAP": "9f5d2ef60050c1b41e57146d8df871507ceda20757158b4a84bd0f9f8c8b9bf3",
|
||||
"data/maps/MAP8G3_MAP": "8e8dc013dad4628d3737337e4125f4155d70ed94ebb5c5edf0b8cdc8d5eb5525",
|
||||
"data/maps/MAP9G3_MAP": "e1bd018fc5286e864d94e56e691a4e6ab23f5c87c3069be4f94779422fcdd1f0"
|
||||
},
|
||||
"scope": "All27 current bundled MAPs; finite representative states retain exact Source health/reward and true adjacent neighbors. No invented timing or World capture."
|
||||
}
|
||||
+407
@@ -0,0 +1,407 @@
|
||||
{
|
||||
"diagnostics": [],
|
||||
"frames": [
|
||||
{
|
||||
"asset": "203c6",
|
||||
"hd_masks": [
|
||||
{
|
||||
"mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
32,
|
||||
32
|
||||
],
|
||||
"centroid": [
|
||||
15.5,
|
||||
15.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 1024
|
||||
},
|
||||
"scale": 1
|
||||
},
|
||||
{
|
||||
"mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
64,
|
||||
64
|
||||
],
|
||||
"centroid": [
|
||||
31.5,
|
||||
31.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 4096
|
||||
},
|
||||
"scale": 2
|
||||
},
|
||||
{
|
||||
"mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
96,
|
||||
96
|
||||
],
|
||||
"centroid": [
|
||||
47.5,
|
||||
47.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 9216
|
||||
},
|
||||
"scale": 3
|
||||
},
|
||||
{
|
||||
"mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
128,
|
||||
128
|
||||
],
|
||||
"centroid": [
|
||||
63.5,
|
||||
63.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 16384
|
||||
},
|
||||
"scale": 4
|
||||
}
|
||||
],
|
||||
"logical_alpha_mask_iou": 1.0,
|
||||
"logical_canvas": [
|
||||
32,
|
||||
32
|
||||
],
|
||||
"source_mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
32,
|
||||
32
|
||||
],
|
||||
"centroid": [
|
||||
15.5,
|
||||
15.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 1024
|
||||
},
|
||||
"source_palette": "PALETTE_DAT",
|
||||
"source_sha256": "bdf3a65aeaf5b07f6ba5cee4b0842effd47432040c5c1671339a039f3103f5f3"
|
||||
},
|
||||
{
|
||||
"asset": "203c7",
|
||||
"hd_masks": [
|
||||
{
|
||||
"mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
32,
|
||||
32
|
||||
],
|
||||
"centroid": [
|
||||
15.5,
|
||||
15.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 1024
|
||||
},
|
||||
"scale": 1
|
||||
},
|
||||
{
|
||||
"mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
64,
|
||||
64
|
||||
],
|
||||
"centroid": [
|
||||
31.5,
|
||||
31.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 4096
|
||||
},
|
||||
"scale": 2
|
||||
},
|
||||
{
|
||||
"mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
96,
|
||||
96
|
||||
],
|
||||
"centroid": [
|
||||
47.5,
|
||||
47.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 9216
|
||||
},
|
||||
"scale": 3
|
||||
},
|
||||
{
|
||||
"mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
128,
|
||||
128
|
||||
],
|
||||
"centroid": [
|
||||
63.5,
|
||||
63.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 16384
|
||||
},
|
||||
"scale": 4
|
||||
}
|
||||
],
|
||||
"logical_alpha_mask_iou": 1.0,
|
||||
"logical_canvas": [
|
||||
32,
|
||||
32
|
||||
],
|
||||
"source_mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
32,
|
||||
32
|
||||
],
|
||||
"centroid": [
|
||||
15.5,
|
||||
15.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 1024
|
||||
},
|
||||
"source_palette": "PALETTE_DAT",
|
||||
"source_sha256": "051d291f21fce569c03946c90f47c992cbbaaa8637fdec0f667e0de3d7d86e5a"
|
||||
}
|
||||
],
|
||||
"limitation": "Gallery validation does not prove live scene reachability, terrain seam correctness or artistic fidelity. Opaque sprites have trivial alpha-mask overlap; compare visible source geometry manually.",
|
||||
"method": "actual Rust HdAssets::load and sprite at scales 1..4; Catalog palette; no artwork edits",
|
||||
"validated_frames": 2,
|
||||
"library": "target/hd-review-libraries/5b6bbd03874da298dae953dc1c0f472d24f27031df4f46616368faefb0801676/libraptor_replica.rlib",
|
||||
"library_modified_ns": 1792326752687554590,
|
||||
"library_sha256": "5b6bbd03874da298dae953dc1c0f472d24f27031df4f46616368faefb0801676",
|
||||
"library_build_origin": ".reference/hd-stag-SourceG2-diagnostic-actual-Linux-Windows-release-build-20261018-v1/SourceG2-compiled-libraries/libraptor_replica.rlib",
|
||||
"library_build_origin_modified_ns": 1792326752687554590,
|
||||
"candidate_sha256": "f8fb7302d1389a7f5ad06f5fe13495b349ae952ce03d8b6802329285bcb3f574",
|
||||
"candidate_sha256_at_start": "f8fb7302d1389a7f5ad06f5fe13495b349ae952ce03d8b6802329285bcb3f574",
|
||||
"candidate_notes_changed_during_review": false,
|
||||
"frame_bindings_sha256": "02f2b052a7c84b088cbd37256e8785985fe5aec1c93177ca3de1cb714e7643ae",
|
||||
"artwork_sha256": {
|
||||
"203c6-DERIVED-graycast-v1.png": "fd913999df7a3c45f7c414071d0177fef53900968b9b542fae22f17e206954c3",
|
||||
"203c7-DERIVED-graycast-v1.png": "0bee64e5fc22c22c98688ec8a9ce942788f07d40b185a7b36e715f496de93f20"
|
||||
},
|
||||
"static_card_palette_mode": false,
|
||||
"review_helper_source": "tools/hd_palette_review.rs",
|
||||
"review_helper_source_sha256": "46916afd1d2dfec3ebdf61f4a567980b5459846e04817715f5281d73204c5a2f",
|
||||
"source_newer_than_library": false,
|
||||
"any_game_source_newer_than_library": false,
|
||||
"actual_sourceG2_source18_sha256": {
|
||||
"src/assets.rs": "44515745330b47a6a99761c449225c67cbee95c7b1f9d653d919ed09032b1beb",
|
||||
"src/audio.rs": "dcf352dcc16e383de389648d9fc288f682e7c2bfc92277db6ee76e198e3ad054",
|
||||
"src/audio/opl3.rs": "e875db410274e3b4e725e68f160862782baa768c993c132f3c09976da683b396",
|
||||
"src/cinematics.rs": "aff809dd2e2bce1c80b64d6200bfc54682221b750a81af6bd3cedb3a4cf95838",
|
||||
"src/content.rs": "80021611102f22b3152164e88a3ee7ecc8c16e9b3a4563551a047c089f2ba7d2",
|
||||
"src/desktop.rs": "82dfa448623cd05e12110d838b80a4f726fb037a73eec587accbadb4aef33178",
|
||||
"src/hd.rs": "b17f4ee0757ee87d34e01ec76f3a6239c6e9044b42b4b10bd5f05b485f137a64",
|
||||
"src/legacy_tables.rs": "eb4afd71d40dd98072f4180360b573e0c7ea5914829d70ee08bd08ca23702190",
|
||||
"src/lib.rs": "15c6b6392771719083818a85bf5d23fa6f402a3e1685ebabaeaa871007e2802c",
|
||||
"src/main.rs": "510d461e6d971749efbbed6570f08aca2605ecc61c16977ab9acb9170c7aba4a",
|
||||
"src/menu_art.rs": "0506bbf30cc14794625b72ab1e6f5e2573e99a833105ce808913485d3452db06",
|
||||
"src/mod_selection.rs": "a756017ae5bc4854959491fdb09226598f92e437a882075b298f8b77f5ebd2de",
|
||||
"src/modding.rs": "d2b811416e06a5c743c11c77e5599ddcf5d3263de4f74363bc0731eaccc2c2ac",
|
||||
"src/persistence.rs": "9a4adf1e33d3504db3d4d3e6091316cc7116fb35c89b2de8fbd4640d368aa0e2",
|
||||
"src/render.rs": "d4abdccbc3c1ee840ef8548bcff43080521937ef9f9f5ed69e810f417ef1e842",
|
||||
"src/simulation.rs": "2537120f280a1cfcfcc73a42a4103a4435ba8aeb98e69c87fde3b885b97a9925",
|
||||
"src/sound.rs": "aff6779b85f9f4f4bc30a15ad75ec6fdd61d42895639700f4842870636e73c4b",
|
||||
"src/terrain_hd.rs": "e61f96f541c19863ce8d741363a1739b9276e25aee84795952c65565c775e392"
|
||||
},
|
||||
"actual_sourceG2_helper_sha256": "0338a925ccf26f856c9d5cc2230a3878ecafe6cd3a3d25903742d9e819ac8d12",
|
||||
"actual_new_helper_invocations": 1,
|
||||
"scope": "New actual SourceG2 intrinsic-only execution. Historical SourceF QA and visual/context review remain unchanged and retain their true epoch; equality/carry must be separately evidenced."
|
||||
}
|
||||
+419
@@ -0,0 +1,419 @@
|
||||
{
|
||||
"diagnostics": [],
|
||||
"frames": [
|
||||
{
|
||||
"asset": "203c6",
|
||||
"hd_masks": [
|
||||
{
|
||||
"mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
32,
|
||||
32
|
||||
],
|
||||
"centroid": [
|
||||
15.5,
|
||||
15.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 1024
|
||||
},
|
||||
"scale": 1
|
||||
},
|
||||
{
|
||||
"mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
64,
|
||||
64
|
||||
],
|
||||
"centroid": [
|
||||
31.5,
|
||||
31.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 4096
|
||||
},
|
||||
"scale": 2
|
||||
},
|
||||
{
|
||||
"mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
96,
|
||||
96
|
||||
],
|
||||
"centroid": [
|
||||
47.5,
|
||||
47.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 9216
|
||||
},
|
||||
"scale": 3
|
||||
},
|
||||
{
|
||||
"mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
128,
|
||||
128
|
||||
],
|
||||
"centroid": [
|
||||
63.5,
|
||||
63.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 16384
|
||||
},
|
||||
"scale": 4
|
||||
}
|
||||
],
|
||||
"logical_alpha_mask_iou": 1.0,
|
||||
"logical_canvas": [
|
||||
32,
|
||||
32
|
||||
],
|
||||
"source_mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
32,
|
||||
32
|
||||
],
|
||||
"centroid": [
|
||||
15.5,
|
||||
15.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 1024
|
||||
},
|
||||
"source_palette": "PALETTE_DAT",
|
||||
"source_sha256": "bdf3a65aeaf5b07f6ba5cee4b0842effd47432040c5c1671339a039f3103f5f3"
|
||||
},
|
||||
{
|
||||
"asset": "203c7",
|
||||
"hd_masks": [
|
||||
{
|
||||
"mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
32,
|
||||
32
|
||||
],
|
||||
"centroid": [
|
||||
15.5,
|
||||
15.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 1024
|
||||
},
|
||||
"scale": 1
|
||||
},
|
||||
{
|
||||
"mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
64,
|
||||
64
|
||||
],
|
||||
"centroid": [
|
||||
31.5,
|
||||
31.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 4096
|
||||
},
|
||||
"scale": 2
|
||||
},
|
||||
{
|
||||
"mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
96,
|
||||
96
|
||||
],
|
||||
"centroid": [
|
||||
47.5,
|
||||
47.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 9216
|
||||
},
|
||||
"scale": 3
|
||||
},
|
||||
{
|
||||
"mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
128,
|
||||
128
|
||||
],
|
||||
"centroid": [
|
||||
63.5,
|
||||
63.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 16384
|
||||
},
|
||||
"scale": 4
|
||||
}
|
||||
],
|
||||
"logical_alpha_mask_iou": 1.0,
|
||||
"logical_canvas": [
|
||||
32,
|
||||
32
|
||||
],
|
||||
"source_mask": {
|
||||
"bounds": [
|
||||
0,
|
||||
0,
|
||||
32,
|
||||
32
|
||||
],
|
||||
"centroid": [
|
||||
15.5,
|
||||
15.5
|
||||
],
|
||||
"palette_indices_240_to_255_counts": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"visible_pixels": 1024
|
||||
},
|
||||
"source_palette": "PALETTE_DAT",
|
||||
"source_sha256": "051d291f21fce569c03946c90f47c992cbbaaa8637fdec0f667e0de3d7d86e5a"
|
||||
}
|
||||
],
|
||||
"limitation": "Gallery validation does not prove live scene reachability, terrain seam correctness or artistic fidelity. Opaque sprites have trivial alpha-mask overlap; compare visible source geometry manually.",
|
||||
"method": "actual Rust HdAssets::load and sprite at scales 1..4; Catalog palette; no artwork edits",
|
||||
"validated_frames": 2,
|
||||
"library": "target/hd-review-libraries/5b6bbd03874da298dae953dc1c0f472d24f27031df4f46616368faefb0801676/libraptor_replica.rlib",
|
||||
"library_modified_ns": 1792326752687554590,
|
||||
"library_sha256": "5b6bbd03874da298dae953dc1c0f472d24f27031df4f46616368faefb0801676",
|
||||
"library_build_origin": ".reference/hd-stag-SourceG2-diagnostic-actual-Linux-Windows-release-build-20261018-v1/SourceG2-compiled-libraries/libraptor_replica.rlib",
|
||||
"library_build_origin_modified_ns": 1792326752687554590,
|
||||
"candidate_sha256": "f369d6d3aa114cb54f466c06c9fbcbfe9eaaaa1d684b1af7ca7aacb1c6a90e88",
|
||||
"candidate_sha256_at_start": "f369d6d3aa114cb54f466c06c9fbcbfe9eaaaa1d684b1af7ca7aacb1c6a90e88",
|
||||
"candidate_notes_changed_during_review": false,
|
||||
"frame_bindings_sha256": "6bed8a3014f96ac4a85186685ff55b233c7f4c58b77dcc800dbb138d06fe47bb",
|
||||
"artwork_sha256": {
|
||||
"jobs/derived-grating203c6-203c7-quiet-graycast-complete2-v1-20261019/derived/203c6-DERIVED-graycast-v1.png": "fd913999df7a3c45f7c414071d0177fef53900968b9b542fae22f17e206954c3",
|
||||
"jobs/derived-grating203c6-203c7-quiet-graycast-complete2-v1-20261019/derived/203c7-DERIVED-graycast-v1.png": "0bee64e5fc22c22c98688ec8a9ce942788f07d40b185a7b36e715f496de93f20"
|
||||
},
|
||||
"static_card_palette_mode": false,
|
||||
"review_helper_source": "tools/hd_palette_review.rs",
|
||||
"review_helper_source_sha256": "46916afd1d2dfec3ebdf61f4a567980b5459846e04817715f5281d73204c5a2f",
|
||||
"source_newer_than_library": false,
|
||||
"any_game_source_newer_than_library": false,
|
||||
"actual_sourceG2_source18_sha256": {
|
||||
"src/assets.rs": "44515745330b47a6a99761c449225c67cbee95c7b1f9d653d919ed09032b1beb",
|
||||
"src/audio.rs": "dcf352dcc16e383de389648d9fc288f682e7c2bfc92277db6ee76e198e3ad054",
|
||||
"src/audio/opl3.rs": "e875db410274e3b4e725e68f160862782baa768c993c132f3c09976da683b396",
|
||||
"src/cinematics.rs": "aff809dd2e2bce1c80b64d6200bfc54682221b750a81af6bd3cedb3a4cf95838",
|
||||
"src/content.rs": "80021611102f22b3152164e88a3ee7ecc8c16e9b3a4563551a047c089f2ba7d2",
|
||||
"src/desktop.rs": "82dfa448623cd05e12110d838b80a4f726fb037a73eec587accbadb4aef33178",
|
||||
"src/hd.rs": "b17f4ee0757ee87d34e01ec76f3a6239c6e9044b42b4b10bd5f05b485f137a64",
|
||||
"src/legacy_tables.rs": "eb4afd71d40dd98072f4180360b573e0c7ea5914829d70ee08bd08ca23702190",
|
||||
"src/lib.rs": "15c6b6392771719083818a85bf5d23fa6f402a3e1685ebabaeaa871007e2802c",
|
||||
"src/main.rs": "510d461e6d971749efbbed6570f08aca2605ecc61c16977ab9acb9170c7aba4a",
|
||||
"src/menu_art.rs": "0506bbf30cc14794625b72ab1e6f5e2573e99a833105ce808913485d3452db06",
|
||||
"src/mod_selection.rs": "a756017ae5bc4854959491fdb09226598f92e437a882075b298f8b77f5ebd2de",
|
||||
"src/modding.rs": "d2b811416e06a5c743c11c77e5599ddcf5d3263de4f74363bc0731eaccc2c2ac",
|
||||
"src/persistence.rs": "9a4adf1e33d3504db3d4d3e6091316cc7116fb35c89b2de8fbd4640d368aa0e2",
|
||||
"src/render.rs": "d4abdccbc3c1ee840ef8548bcff43080521937ef9f9f5ed69e810f417ef1e842",
|
||||
"src/simulation.rs": "2537120f280a1cfcfcc73a42a4103a4435ba8aeb98e69c87fde3b885b97a9925",
|
||||
"src/sound.rs": "aff6779b85f9f4f4bc30a15ad75ec6fdd61d42895639700f4842870636e73c4b",
|
||||
"src/terrain_hd.rs": "e61f96f541c19863ce8d741363a1739b9276e25aee84795952c65565c775e392"
|
||||
},
|
||||
"actual_sourceG2_helper_sha256": "0338a925ccf26f856c9d5cc2230a3878ecafe6cd3a3d25903742d9e819ac8d12",
|
||||
"actual_new_helper_invocations": 1,
|
||||
"scope": "New actual SourceG2 intrinsic-only execution. Historical SourceF QA and visual/context review remain unchanged and retain their true epoch; equality/carry must be separately evidenced.",
|
||||
"metadata_only_portable_path_relocation": {
|
||||
"literal_QA_path": "jobs/derived-grating203c6-203c7-quiet-graycast-complete2-v1-20261019/review/literal-actual-currentG2-QA-shortpath-original.json",
|
||||
"literal_QA_sha256": "62d093c4ec0ec0580fa4c8e22c6eb39ba791bb1d3c37cfcb5f91cfbdebb36962",
|
||||
"actual_helper_invocations_in_this_relocation": 0,
|
||||
"path_mapping": {
|
||||
"203c6-DERIVED-graycast-v1.png": "jobs/derived-grating203c6-203c7-quiet-graycast-complete2-v1-20261019/derived/203c6-DERIVED-graycast-v1.png",
|
||||
"203c7-DERIVED-graycast-v1.png": "jobs/derived-grating203c6-203c7-quiet-graycast-complete2-v1-20261019/derived/203c7-DERIVED-graycast-v1.png"
|
||||
},
|
||||
"all_nonpath_frame_fields_exact": true,
|
||||
"all_bound_artwork_PNG_bytes_exact": true,
|
||||
"no_new_runtime_pixel_claim": true
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user