File size: 1,062 Bytes
0fff343
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
"""engine_v2 — strongly-typed program synthesis over the OncoDSL.

Where engine (v1) fills a fixed template (1-2 Select+Reduce sets fed into
Fit), engine_v2 composes arbitrary trees of typed nodes:

    Vector  := Reduce(Matrix, Agg)
             | Combine(Vector, Vector, Op)
    Matrix  := M (terminal)
             | Select(Matrix, FeatureSet)
    FeatureSet := 1..genes_per_set opaque IDs sampled from the pool

The output type of every program is ``Vector``.

The engine is strictly airgap-clean: every leaf (`FeatureSet`) carries
opaque IDs only; ``program_repr`` and the full-population log stay opaque.
Reveal happens via the existing isolated airgap module — engine_v2 does
not import it.

Public entry point:
- ``run_v2_pipeline(M, y, *, objective, ...) -> (evolution_log, result)``
- ``run_v2_pipeline_streaming(M, y, *, objective, on_generation, ...) -> result``

Defer Split / Effect to v2.1.
"""

from engine_v2.pipeline import (
    run_v2_pipeline,
    run_v2_pipeline_streaming,
)

__all__ = ["run_v2_pipeline", "run_v2_pipeline_streaming"]