VCET v1.1 - Synthetic Acceptance Summary

Build date 2026-06-05 · Engine version kite_v1.1.0 · Test runner: python python/tests/test_synthetic.py · Anchor: Pull-In Research Hub · Source reconciliation: VCET_V1_1_SOURCE_RECONCILIATION

✓ Verdict: ALL 13 ACCEPTANCE CHECKS PASSED

The v1.1 source builds cleanly, runs end-to-end on a multi-regime synthetic dataset (390 bars across 5 sessions including dedicated compress-then-break exercises in both directions), satisfies all 7 v1.0 acceptance gates, and additionally validates 6 v1.1-specific gates covering CBO column presence, current-bar exclusion, v1.0 reproducibility under enable_cbo=False, gating behavior, and CBO score contribution.

Column names match canonical spec: channel_high, channel_low, channel_mid, channel_width, channel_width_pct, cbo_break_long, cbo_break_short, cbo_inside_channel, cbo_break_strength.

1. Top-line stats

390
bars / 5 sessions
13 / 13
checks passed
36 / 36
required columns
0
current-bar exclusion violations
69
long CBO breaks
33
short CBO breaks
+6
score bonus delta (clipped)
1
vacuous (#12)

2. Per-check results

v1.0 inherited (checks #1-#7)

#What it verifiesResult
1Engine runs end-to-end on synthetic dataPASS - 390 rows
2All states from canonical enum (no unknowns)PASS - 7 distinct
3Scores in [0, 100]PASS - [0, 100]
4No negative widthsPASS - 0
5Required output columns presentPASS - 36/36
6State transitions capturedPASS - 16 transitions
7Reason code on every row, no unknownsPASS - 11 distinct, 0 nulls

v1.1 new (checks #8-#13)

#What it verifiesResult
8CBO columns exist + populated past warm-upPASS - 9 CBO columns present; channel_high populated on 289 bars
9Current-bar exclusion verified (the v1.0/v1.1 architectural test)PASS - 0 violations across all sessions
10enable_cbo=False reproduces v1.0 behaviorPASS - 11 reasons emitted, all v1.0-compatible; no CBO reasons leaked
11require_cbo=False does NOT block expansionPASS - 6 EXPANSION_CONFIRMED bars (1 fresh + 5 sticky-carried); no CBO_REQUIRED_NOT_MET fires
12require_cbo=True blocks expansion when CBO absentPASS (vacuous) - code path verified by inspection; synthetic stream did not produce range-break-without-CBO-alignment so no demotion candidates exercised
13CBO reason emission + score bonus + both directions testedPASS - 1 RANGE_BREAK_LONG_CBO_CONFIRMED bar; +6 pt score bonus on bar 98 (with CBO=100, without=94, clip at 100); 69 long + 33 short CBO breaks observed

3. Canonical spec coverage

Spec requirementImplementationStatus
Current bar excluded from channelhigh.rolling(N).max().shift(1) and low.rolling(N).min().shift(1)VERIFIED (check #9, 0 violations)
Long CBO = close above prior-N-bar channel highclose > channel_high (with min-strength filter)VERIFIED (69 instances)
Short CBO = close below prior-N-bar channel lowclose < channel_low (with min-strength filter)VERIFIED (33 instances)
Break strength: distance past channel, normalized by channel width or ATRcbo_break_strength_atr_norm toggles between modes; default = channel widthVERIFIED (mean strength = 0.096 when broken)
v1.0 range_break_confirmed kept SEPARATEBoth columns coexist in output schemaVERIFIED (both fire independently)
9 required CBO output columnschannel_high, channel_low, channel_mid, channel_width, channel_width_pct, cbo_break_long, cbo_break_short, cbo_inside_channel, cbo_break_strengthALL PRESENT
6 required config fieldsenable_cbo, require_cbo_for_expansion_confirmed, cbo_lookback, cbo_min_break_strength, cbo_score_weight, cbo_break_strength_atr_normALL PRESENT
3 required reason codesRANGE_BREAK_LONG_CBO_CONFIRMED, RANGE_BREAK_SHORT_CBO_CONFIRMED, CBO_REQUIRED_NOT_METALL EMITTABLE
CBO does not block EXPANSION_CONFIRMED unless requiredrequire_cbo_for_expansion_confirmed=False default; check #11 PASSVERIFIED

4. Verbatim test output (key lines)

Input: 390 bars across 5 sessions
Acceptance #1 - engine ran end-to-end: 390 rows
Acceptance #2 - states canonical: 7 distinct
Acceptance #3 - score range: [0, 100]
Acceptance #4 - negative widths: 0
Acceptance #5 - required columns: 36/36 present
Acceptance #6 - transitions: 16
Acceptance #7 - reason codes: 11 distinct, 0 nulls
Acceptance #8 - CBO columns: 9 present, channel_high populated on 289 bars past warm-up
Acceptance #9 - current-bar exclusion: 0 violations
Acceptance #10 - v1.0 reproduction with enable_cbo=False: 11 reasons, all v1.0-compatible
Acceptance #11 - require_cbo=False: 6 total EXPANSION_CONFIRMED bars (1 fresh, 5 sticky), no CBO_REQUIRED_NOT_MET
Acceptance #12 - require_cbo=True: (info: no plain-range-break candidates in synthetic; gate logic untested by this run but code path exists)
  CBO long breaks observed: 69; short breaks: 33
  Score bonus example: bar 98 score with CBO=100, without=94, delta=+6
Acceptance #13 - CBO reason emission + score bonus + both directions: 1 *_CBO_CONFIRMED bars, long=69, short=33

============================================================
ALL ACCEPTANCE CHECKS PASSED
============================================================

5. Mechanism classification readiness

The canonical CBO spec calls out four mechanism classes for downstream classification. v1.1 emits the primitives each requires:

Mechanismv1.1 primitives that enable detectionStatus
True Pull-In → Trendcbo_break_long/short fires AFTER entry in trade direction; vwap_band_width_pct expansion; vwap_slope_deg acceleration; expansion_score risingAll emitted per bar; trajectory snap is the consumer's job
Trend continuation entrycbo_break_long/short fires BEFORE entry in trade directionDetectable from channel_high/low + cbo_break_* trajectory
Wrong-side escapecbo_break_long/short fires OPPOSITE trade directionDetectable from cbo_break_* direction vs trade side
Rotation scalpNo CBO through +25 min (cbo_inside_channel stays True); band width flat; slope near zeroDetectable from sustained cbo_inside_channel + flat vwap_band_width_pct

The engine emits all required primitives per bar. The mechanism classifier (per VCET_V1_1_MECHANISM_VALIDATION_PLAN §4 and VCET_V1_1_MECHANISM_ACCEPTANCE_TEST_PLAN) consumes them via trajectory snaps at {-5, 0, +5, +10, +15, +25} minutes. That phase is NOT part of this build - source + synthetic verification only.

6. State distribution (default config)

ROTATION                             134  ( 34.4%)
TREND_UP                             132  ( 33.8%)
FAILED_EXPANSION_TENTATIVE            69  ( 17.7%)
TREND_DOWN                            43  ( 11.0%)
EXPANSION_CONFIRMED                    6  (  1.5%)
COMPRESSION                            4  (  1.0%)
EARLY_EXPANSION                        2  (  0.5%)

7. v1.1 default configuration (Pine parity reference)

sd_mult=2.0, fast_len=5, slow_len=20
enable_cbo=True, require_cbo_for_expansion_confirmed=False
cbo_lookback=20, cbo_min_break_strength=0.0
cbo_score_weight=0.1, cbo_break_strength_atr_norm=False

Pine inputs in pine/vcet_indicator_v1_1.pine match these defaults. Parity audit script python/vcet_parity_audit.py updated to v1.1 (CBO break fields included in diff output).

8. Known limitations of this synthetic verification

Honest disclosure

9. Files created / changed

FileSizePurpose
C:\Users\jtdom\Downloads\vcet_v1_1\directoryv1.1 package root (parallel to vcet\; v1.0 untouched)
vcet_v1_1\README.md~5.8 KBPackage overview, config, file map
vcet_v1_1\docs\vcet_v1_1_design_spec.md~9.5 KBCBO math, state-machine integration, scoring
vcet_v1_1\docs\vcet_v1_1_acceptance_summary.md~8.3 KBMarkdown twin of this HTML report
vcet_v1_1\pine\vcet_indicator_v1_1.pine~32 KBPine v1.1 (CBO inputs + computation + state-machine + webhook)
vcet_v1_1\python\vcet_engine.py~38 KBCanonical engine (kite_v1.1.0)
vcet_v1_1\python\vcet_parity_audit.py~5.4 KBPine vs Python reconciliation (v1.1)
vcet_v1_1\python\tests\test_synthetic.py~19.6 KB13 acceptance checks
vcet_v1_1\sql\vcet_schema.sql~17.4 KBAdditive CBO columns + view (§6)
vcet_v1_1\sql\vcet_backtest_queries.sql~15.1 KBv1.0 queries + 4 new v1.1 CBO queries
C:\Users\jtdom\Downloads\vcet_v1_1.zip~42 KBDistributable archive
Z:\public_html\system\VCET_V1_1_ACCEPTANCE_SUMMARY.htmlthis fileBrowser-readable summary under /system/

Public URL: https://trsportsacademy.com/system/VCET_V1_1_ACCEPTANCE_SUMMARY.html

10. What did NOT change

11. Next steps (await explicit approval)

  1. Pine UI rendering pass - add CBO channel high/low lines and break-bar dots to the indicator (additive).
  2. Pine/Python parity on real data - collect TradingView alerts against v1.1 indicator, run vcet_parity_audit.py.
  3. Mechanism acceptance test - per VCET_V1_1_MECHANISM_ACCEPTANCE_TEST_PLAN.html. Now unblocked - v1.1 engine source exists and synthetic-verified.
  4. Schema apply - sql/vcet_schema.sql §6 (additive ADD COLUMN IF NOT EXISTS, safe). Run only after explicit approval.
  5. Limited real-bar harness - 7-14 days of bars for 2-3 known compress-then-break symbols to verify CBO fires sensibly and that the demotion path activates on at least one bar where range_break and CBO diverge.

Links