0b116e4105
Tasks 1-2 of the bench-harness plan (refs #251): the new dev-only workspace bin crate with the report-only comparison core (BaselineDoc serde, per-metric relative drift, 10% NOTICE threshold, fingerprint-equality exit code) and the deterministic synthetic inputs (seeded LCG price walk, the proven 48-byte Delphi-record M1 zip archive writer, self-deleting scratch dirs). The archive writer is deliberately a third copy of the test-fixture packer (aura-cli tests / aura-ingest each carry one), byte-compatible by construction and pinned here by a round-trip test through the real ingest reader. The binary refuses debug builds (exit 2) — wall-clock numbers from a debug profile measure the profile, not the code — pinned by an E2E spawn test. Temporary #![allow(dead_code)] markers cover the not-yet-wired core until the CLI glue lands; the surfaces and driver follow.
49 lines
2.0 KiB
TOML
49 lines
2.0 KiB
TOML
# aura — a "game engine for traders": a Rust framework + playground to author
|
|
# trading nodes, backtest them deterministically and in parallel, compose them
|
|
# fractally, and freeze a validated strategy into a standalone bot.
|
|
#
|
|
# Workspace split is driven by the cdylib hot-reload boundary: `aura-core` is the
|
|
# shared contract that BOTH the engine and every hot-reloadable signal/node
|
|
# cdylib link against. Add crates only when a boundary proves real.
|
|
|
|
[workspace]
|
|
resolver = "3"
|
|
members = [
|
|
"crates/aura-core",
|
|
"crates/aura-std",
|
|
"crates/aura-engine",
|
|
"crates/aura-analysis",
|
|
"crates/aura-composites",
|
|
"crates/aura-cli",
|
|
"crates/aura-ingest",
|
|
"crates/aura-registry",
|
|
"crates/aura-research",
|
|
"crates/aura-campaign",
|
|
"crates/aura-bench",
|
|
]
|
|
|
|
[workspace.package]
|
|
edition = "2024"
|
|
version = "0.1.0"
|
|
license = "proprietary"
|
|
publish = false
|
|
|
|
[workspace.dependencies]
|
|
serde = { version = "1", features = ["derive"] }
|
|
# float_roundtrip is load-bearing for bit-identical reproduction (`aura reproduce`,
|
|
# #158): an f64 blueprint param (e.g. a Bias `scale`) is round-tripped through the
|
|
# content-addressed store as JSON, and the DEFAULT serde_json parser can be 1 ULP off,
|
|
# which would re-derive a member as DIVERGED. This feature guarantees the exact f64 is
|
|
# parsed back. Exercised (with a 1-ULP canary value) by aura-cli's
|
|
# `f64_blueprint_param_survives_store_round_trip_bit_identically`.
|
|
serde_json = { version = "1", features = ["float_roundtrip"] }
|
|
|
|
# Dependencies at opt-level 2, workspace crates at the dev default (0): the E2E
|
|
# suite spawns the debug `aura` binary whose wall-clock is dominated by dependency
|
|
# code (zip inflate, sha2 dylib hashing, serde) — optimizing deps is multiplicative
|
|
# there, while workspace crates stay fast-to-rebuild and debuggable. Float pins are
|
|
# unaffected: every pinned float is computed by workspace code (IEEE semantics are
|
|
# opt-level-independent in Rust regardless).
|
|
[profile.dev.package."*"]
|
|
opt-level = 2
|