Files
Anubis/tests/Anubis.Tests
Alby96andClaude Opus 5.5 acc9efe39d Add the basket_reversion family and its trial engine
The trial machinery of Phase 13 judges a family through an ITrialEngine;
the baskets need one so their variants go through the same judge, cost
stress, control and look-ahead check as the daily families.

BasketReversionFamily ("Rientro tra strumenti") has one identifier for
every sub-variant: generation A (the five documented spreads) or B (ten
single symbols), signal, target, distance, growth, averagings, window,
entry threshold, exit rule, profile, open baskets and lot. The choice
axes are decimal codes marked as choices, so the plan never treats them
as a range to explore. Rules() turns parameters into BasketRules and
refuses a combination the family does not accept.

BasketTrialEngine runs the basket engine on the plan's data with the
plan's mode (come_dal_vivo by default) and venue costs (eToro by
default): one equity point a day on the same days for every variant,
260 points a year, zero as the comparison (the account is not long
anything), a surrogate that flips each day's changes for the control,
and a look-ahead check that compares the decisions taken before each
cut with those taken on the cut data. Its fingerprint carries the
market, the engine version, the costs and the mode.

refs #129

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 18:17:13 +01:00
..