Skip to content

Latest commit

 

History

History
105 lines (87 loc) · 7.53 KB

reusable-auto-corpus.md

File metadata and controls

105 lines (87 loc) · 7.53 KB

Reusable Auto corpus

Full corpus preparation preserves available before/after information across all discovered sources & finished exports. The two-scalar median/spread view is one experiment, not its scope boundary. Preparation does not establish learned quality or authorize training, upload or model promotion.

Artifacts

  • Private JSONL inventory: content identity, original paths, source/export/history relationships, all available edit provenance, unresolved identities & explicit reasons for missing labels.
  • Immutable catalog snapshot & original export metadata remain authoritative historical evidence. Retain full states/history, including nested/local data, rather than only a slider whitelist. Imported settings are reference-editor metadata, not equivalent Ember control labels.
  • Private proxy cache: lossless f32 images with dimensions, colour interpretation & content hashes. Preserve unregistered views even when geometry prevents a paired numeric label. Source-only extraction retains unlabelled sources without pretending they are finished treatment examples.
  • Derived views: scalar tone, colour diagnostics, heuristic region diagnostics & eventually model inputs. Every view references canonical identities & shared grouped splits.

ai decision extract --manifest PAIRS --out RECORDS --proxy-dir CACHE retains intermediates. --source-manifest SOURCES replaces --manifest for unpaired media; its strict schema is ember.ai-source-extract-input.v1, with user_consented:true & 1–64 records containing photo_id, source_path, source_sha256, source_is_raw.

Extractor revision rendered-pair.v5 distinguishes historical user_selected_finished_export from latest_catalog_render. Current renders require target_state_binding with schema ember.current-catalog-render-binding.v1, source/target media SHA256, frozen snapshot SHA256, actual develop-blob SHA256 & render-receipt SHA256. Media hashes must match pair input; every result retains supplied intent/binding, including quarantines. These digests bind supplied provenance; native state correspondence, colour qualification & human acceptance remain separate checks. Keep current targets in their own target set; historical numeric loaders must reject them.

Settings-space views retain candidate Auto settings, actual saved develop settings, full history references, scalar differences & missingness. Candidate Auto precedes actual active history pointer chronologically; resets, rollback, paste & sync prevent treating chronology as edit ancestry or human authorship. A narrow Personal Auto adapter uses absolute mapped settings as weak labels; Rust subtracts its own baseline. Reference-editor Auto differences are not Ember residual labels. Adapter must retain existing shoot splits & explicit experimental confidence policy.

Cache objects contain little-endian u64 width & height, then row-major interleaved f32 samples. RGB uses three channels; alpha planes use one. Filename includes SHA256 & channel count. Dimensions & samples participate in SHA256. Atomic publication never replaces an existing object; every existing object is verified before reuse. Failed writes are errors, not successful corpus rows. Alpha export bounds smoothing roundoff within 0.00001 of unit range; larger excursions & non-finite values fail. Retained alpha samples remain within [0,1]. Numeric JSON contains relative object names only; cache paths & originals stay private.

Proxies have at most 512 pixels on their long edge. They support image/colour/region experiments at that resolution; they do not replace full-resolution RAWs for denoise or detail training. Original media remain content-addressed by manifests. Before/global Auto/regional Auto are Ember renders, not recovered historical reference-editor Auto previews. This distinction remains in each view.

Label meaning

ai decision plane --input PRIVATE_TIFF --sha256 EXPECTED_SHA256 --out NEW_PGM extracts one unsigned grayscale TIFF image through Rust, including tiled JPEG XL. It requires exact input SHA256 & create-new output, caps input at 32 MiB, image at 8 Mi pixels/8192 per edge, chunks at 256 & total nominal chunk samples at 16 Mi. Decoding uses one worker thread. Incomplete coverage, truncated extents, prediction, non-identity orientation, unsupported sample conventions & child IFDs fail explicitly. PGM carries codec-reconstructed integer samples: 8-bit bytes or 16-bit big-endian samples, without development, scaling or library imports. Linear D65 grayscale XYB tiles reconstruct luminance through the declared grayscale encoding; ICC, non-linear, mismatched colour planes & HDR intensity targets fail explicitly. Lossy reconstruction cannot recover original pre-encoding codes. Lossless decoding retains exact codes. Revision gray-plane.v2 receipts bind input/output hashes, dimensions, nominal bit depth & per-chunk JPEG XL dimensions, codestream depth, frame mode, XYB flag, colour encoding & intensity. These facts qualify decoded representation only; callers must accept the new revision explicitly. Failed new files have no successful receipt & must not become corpus objects.

This generic raster decoder does not interpret private store envelopes. External private preparation must verify store record CRCs & hash its extracted TIFF bytes, bind digest references to immutable catalog states, account for all physical keys, & prove raster coordinates before using decoded planes as regional supervision. Raster decoding alone does not qualify mask semantics, currentness, human acceptance or a training-ready corpus.

Rendered neutralizing-WB estimates & midtone chromaticities measure image colour. They do not recover a photographer's intended white point, historical Kelvin, or a unique set of edit controls. Subject/background/sky planes come from Ember heuristics. They are diagnostics, not annotated semantic masks. Region statistics use one aligned source population across before/Auto/finished. Empty populations have null measurements with reasons. Source-only rows have no finished label.

Manual controls, Auto/manual history counts, white-balance modes, nested looks & local tables must remain available per pair with their provenance. Current-state history is not automatically the state of a historical export. Preserve uncertainty rather than infer human intent from defaults. Scene classes, clean/noisy denoise pairs & adjudicated culling labels need their own evidence.

Model/framework boundary

Unsloth's official vision documentation describes image-plus-text supervision & multi-image inputs for vision-language fine-tuning. A compatible vision-language experiment needs image inputs & justified response labels; two scalar residuals alone are not that dataset. Image classifiers & continuous treatment regressors are different consumers. Choice of training framework does not determine corpus preservation scope.

Model-specific adapters must prevent finished targets leaking into inference inputs & use shared source-family/shoot splits. Numeric ridge is a CPU baseline; no timing or model-quality claim follows from its algorithm name. GPU/Vast selection belongs to a concrete training recipe & measured need.

Completion evidence

Account for every inventory item, verify cache hashes & all retained provenance, produce shared leakage-safe splits, demonstrate loaders replay from retained data, & identify exactly which training views are ready. A passing numeric loader alone is not full-corpus completion. Existing originals, catalog snapshot & unresolved examples remain retained. No model is trained by these extractors.