技能 2026-05-20 11:21 UTC
markov-hedge-fund-methodv4.7
版本【4.7】由提交人 ForeverHooks 提交,主要更新类型为:功能特性新增与扩展。提交说明:Fix transition-matrix label↔data mismatch (credit: Yaniv Haver)。为项目引入了新的能力与模块支持。
Commit提交信息原文
Fix transition-matrix label↔data mismatch (credit: Yaniv Haver) The matrix table is displayed in Bull / Bear / Side order, but the underlying counts[] / P[] are indexed by the internal regime code (0=Side, 1=Bull, 2=Bear). The inner loop was fetching P[r*3 + c] over the display order, so every cell was counted correctly but printed under the wrong row/col label. Adds a small disp_to_internal() remap inside the loop; visual order unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>