KA Pattern Evaluation Overview

Quick Summary

1. Data Scope

2. Pattern Window

  1. Select a random window length between pattern_window_min and pattern_window_max.
  2. Choose a starting index that keeps the window fully inside the dataset.
  3. Compute the short-term synthetic return by blending baseline returns plus a configurable margin (placeholder until the real pattern logic lands).

Stored values:

3. Projection Windows

After the short-term window we advance by the same window length and capture:

These feed the trajectory chart on the KA detail page.

4. Scoring

5. Persistence Contract

KaEvaluationStorage writes:

simulation_json contains the short-term window, baselines, price anchors, and the projection array.

6. UI Notes

7. Future Hooks

If you need to trace a candidate end-to-end, start with the candidate_id in ka_pattern_candidates, open the KA detail view, and refer back to this summary.