1 oracle.pipelines.recipe_experiment_report
oracle.pipelines.recipe_experiment_report
Read a frozen diagnostic plan and its canonical shard receipts after acquisition.
1.1 Classes
| Name | Description |
|---|---|
| ExperimentAttempt | Legacy planned-unit projection retained for existing consumers. |
| ExperimentSnapshot | Legacy validated snapshot retained for existing presentation consumers. |
| PrefixContrast | Conditional matched acquisition effect from the existing prefix reducer. |
| RecipeAttempt | One frozen plan unit and its observed disposition at a single read. |
| RecipeEvaluatorIdentity | Bounded source identity for recipe projection, admission, and reduction. |
| RecipeExperimentReport | One consistent acquisition of plan, outcomes, stores and reductions. |
| RecipeStoreIdentity | Validated identity of one successful promoted rollout store. |
1.1.1 ExperimentAttempt
oracle.pipelines.recipe_experiment_report.ExperimentAttempt(
unit_id,
block,
arm,
profile,
replica,
status,
reason_code,
elapsed_seconds,
store,
recovered_without_receipt,
)Legacy planned-unit projection retained for existing consumers.
1.1.1.1 Attributes
| Name | Description |
|---|---|
| unit_id | Unique frozen work-unit identity within the plan. |
| block | Matched source-row block index. |
| arm | Declared acquisition-arm identity, including replica/direction. |
| profile | Scientific profile shared by arm replicas. |
| replica | Declared selection/proposal replica index. |
| status | Terminal or current legacy lifecycle status. |
| reason_code | Machine-readable rejection/failure reason when recorded. |
| elapsed_seconds | Observed execution wall time in seconds, or unavailable. |
| store | Validated successful store location, or unavailable. |
| recovered_without_receipt | Successful validated shard discovered without its outer receipt. |
1.1.2 ExperimentSnapshot
oracle.pipelines.recipe_experiment_report.ExperimentSnapshot(
identity,
attempts,
contrasts,
report,
)Legacy validated snapshot retained for existing presentation consumers.
1.1.2.1 Attributes
| Name | Description |
|---|---|
| identity | SHA-256 digest of frozen plan/config and outcome/store file state. |
| attempts | Exactly one legacy record per declared plan unit, in plan order. |
| contrasts | Predeclared compatible prefix comparisons, with explicit support. |
| report | Existing JSON-compatible summary and paired-prefix comparisons. |
1.1.3 PrefixContrast
oracle.pipelines.recipe_experiment_report.PrefixContrast(
baseline,
challenger,
acquisition_prefix,
baseline_defined,
challenger_defined,
shared_defined,
paired_scenes,
scene_effects,
conditional_scene_mean_difference,
)Conditional matched acquisition effect from the existing prefix reducer.
Only pairs with both factual endpoints at acquisition_prefix contribute to the effect. Scene means receive equal weight; availability counts use the wider intended comparison population. This says nothing about lookahead value or an unseen action’s return.
1.1.3.1 Attributes
| Name | Description |
|---|---|
| baseline | Declared baseline profile identity. |
| challenger | Declared challenger profile identity. |
| acquisition_prefix | Number of selected acquisitions since the fixed root. |
| baseline_defined | Baseline factual chains reaching this prefix. |
| challenger_defined | Challenger factual chains reaching this prefix. |
| shared_defined | Matched target/replica chains reaching the prefix in both profiles. |
| paired_scenes | Distinct scenes with at least one matched, defined chain. |
| scene_effects | Per-scene mean challenger minus baseline cumulative root gain. |
| conditional_scene_mean_difference | Equal-scene mean effect, or unavailable without matched support. |
1.1.4 RecipeAttempt
oracle.pipelines.recipe_experiment_report.RecipeAttempt(
unit_id,
block,
arm,
profile,
replica,
disposition,
reason,
reason_code,
elapsed_seconds,
store_path,
store_identity,
recovered_without_receipt,
observed_status,
reused=None,
receipt_sha256=None,
target_task_sampling=None,
worker_lifecycle_seconds=None,
)One frozen plan unit and its observed disposition at a single read.
A missing receipt has disposition unreached; observed_status and reason retain active-worker or interrupted-staging evidence. elapsed_seconds is unavailable for a unit never completed; zero means a measured zero duration, not missing timing.
1.1.4.1 Attributes
| Name | Description |
|---|---|
| unit_id | Unique frozen work-unit identity within the plan. |
| block | Matched source-row block index. |
| arm | Declared acquisition-arm identity, including replica/direction. |
| profile | Scientific profile shared by arm replicas. |
| replica | Declared selection/proposal replica index. |
| disposition | Exactly one scientific disposition for this planned unit. |
| reason | Recorded detail/code, or the precise lifecycle reason without a receipt. |
| reason_code | Machine-readable rejection/failure reason when recorded. |
| elapsed_seconds | Observed execution wall time in seconds, or unavailable. |
| store_path | Canonical successful store path, or unavailable. |
| store_identity | Validated successful store identity and content digest, or unavailable. |
| recovered_without_receipt | Successful validated shard discovered without its outer receipt. |
| observed_status | Fine-grained lifecycle status retained for the legacy JSON adapter. |
| reused | Whether a success reused a prior store; None means not recorded. |
| receipt_sha256 | Exact outer outcome receipt digest, or unavailable without a receipt. |
| target_task_sampling | Hash-verified opt-in target pool and draw for this attempt. |
| worker_lifecycle_seconds | Parent-observed launch-through-exit duration; absence is not inner elapsed time. |
| status | Return the legacy status without changing the typed disposition. |
| store | Return the validated store path when this attempt succeeded. |
1.1.5 RecipeEvaluatorIdentity
oracle.pipelines.recipe_experiment_report.RecipeEvaluatorIdentity(
version,
sha256,
components,
)Bounded source identity for recipe projection, admission, and reduction.
1.1.5.1 Attributes
| Name | Description |
|---|---|
| version | Semantic version of the paired-prefix estimator. |
| sha256 | Digest of the named component digests below. |
| components | Named digests for the local source files that define those semantics. |
1.1.6 RecipeExperimentReport
oracle.pipelines.recipe_experiment_report.RecipeExperimentReport(
identity,
plan_hash,
plan_contract,
measurement_identity,
evaluator_identity,
attempts,
contrasts,
report,
)One consistent acquisition of plan, outcomes, stores and reductions.
report retains the JSON-compatible CLI contract. attempts exposes the individual planned population to Streamlit and other callers. The identity covers the relevant artifact state observed both before and after store traversal; callers must request a new snapshot after it changes.
1.1.6.1 Attributes
| Name | Description |
|---|---|
| identity | SHA-256 digest of frozen plan/config and outcome/store file state. |
| plan_hash | Digest of the complete frozen recipe plan. |
| plan_contract | Frozen recipe plan schema identifier. |
| measurement_identity | Shared measurement/task-selection identity recorded by the plan. |
| evaluator_identity | Bounded source identity of projection, admission, and prefix reduction. |
| attempts | Exactly one record per declared plan unit, in plan order. |
| contrasts | Predeclared compatible prefix comparisons, with explicit support. |
| report | Existing JSON-compatible summary and paired-prefix comparisons. |
1.1.7 RecipeStoreIdentity
oracle.pipelines.recipe_experiment_report.RecipeStoreIdentity(
path,
shard_id,
manifest_sha256,
content_sha256,
owner_sha256,
)Validated identity of one successful promoted rollout store.
1.1.7.1 Attributes
| Name | Description |
|---|---|
| path | Canonical promoted shard path. |
| shard_id | Frozen shard identity from the experiment plan. |
| manifest_sha256 | Digest of the rollout store manifest. |
| content_sha256 | Digest of the canonical logical Zarr content. |
| owner_sha256 | Digest of the promotion owner sidecar named by _SUCCESS.json. |
1.2 Functions
| Name | Description |
|---|---|
| experiment_report | Return the stable JSON-compatible report from one validated snapshot. |
| experiment_snapshot_identity | Return a metadata-only cache key for an experiment’s current artifacts. |
| read_experiment_snapshot | Return the legacy snapshot by adapting one validated typed read. |
| read_recipe_experiment_report | Retain every intended work-unit disposition before computing contrasts. |
| recipe_evaluator_identity | Return the cheap source identity for the canonical recipe evaluator. |
1.2.1 experiment_report
oracle.pipelines.recipe_experiment_report.experiment_report(plan_path)Return the stable JSON-compatible report from one validated snapshot.
1.2.2 experiment_snapshot_identity
oracle.pipelines.recipe_experiment_report.experiment_snapshot_identity(
plan_path,
)Return a metadata-only cache key for an experiment’s current artifacts.
This does not validate shards or calculate gains. A consumer may use the identity to avoid reacquisition on visual rerenders, but must use experiment_report for the validated result. That scan verifies the identity again after projection to reject concurrent artifact changes.
1.2.3 read_experiment_snapshot
oracle.pipelines.recipe_experiment_report.read_experiment_snapshot(plan_path)Return the legacy snapshot by adapting one validated typed read.
1.2.4 read_recipe_experiment_report
oracle.pipelines.recipe_experiment_report.read_recipe_experiment_report(
plan_path,
)Retain every intended work-unit disposition before computing contrasts.
Unlike execution, analysis may run after a later commit. It verifies frozen plan/config bytes and validated output stores, not the current Git head. A relocated bundle uses hash-bound configs/not_recorded without changing their status.
1.2.5 recipe_evaluator_identity
oracle.pipelines.recipe_experiment_report.recipe_evaluator_identity()Return the cheap source identity for the canonical recipe evaluator.