From 649d97fa0c541f3a2593efbb5e6e2e86451c021b Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Sun, 14 Jun 2026 13:57:57 +0900 Subject: [PATCH] chore(release): baseline zip hash update and tools classification adjustment --- runtime/refactor_baseline_v1.yaml | 6 +++--- tools/build_horizon_classification_v1.py | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/runtime/refactor_baseline_v1.yaml b/runtime/refactor_baseline_v1.yaml index 84e4e54..d88dae8 100644 --- a/runtime/refactor_baseline_v1.yaml +++ b/runtime/refactor_baseline_v1.yaml @@ -1,9 +1,9 @@ { "formula_id": "AUDIT_REPOSITORY_ENTROPY_V2", "gate": "PASS", - "total_file_count": 1655, + "total_file_count": 1657, "package_script_count": 16, - "temp_json_count": 116, + "temp_json_count": 118, "budget": { "schema_version": "repository_entropy_budget.v1", "max_total_files": 2200, @@ -15,5 +15,5 @@ "keep package scripts within release envelope" ] }, - "source_zip_sha256": "1f7a6902eefc1e9f99c42266e2cd880593874990cb4afc419b345b5187ad0e17" + "source_zip_sha256": "6042cbf7bac87ada831bf2ff48797d15caa20ed40736dc4bd5483a8f72747857" } \ No newline at end of file diff --git a/tools/build_horizon_classification_v1.py b/tools/build_horizon_classification_v1.py index 0b0dd06..9aa61b4 100644 --- a/tools/build_horizon_classification_v1.py +++ b/tools/build_horizon_classification_v1.py @@ -66,8 +66,8 @@ def _classify_horizon( if is_etf: return "ETF" - # 핵심 주도주는 장기 호라이즌으로 고정 - if ticker in CORE_LONG_TICKERS and grade == "B": + # 핵심 주도주는 변동성이 다소 높아도 장기 호라이즌으로 우선 분류한다. + if ticker in CORE_LONG_TICKERS and grade in ("A", "B") and abs(disparity) <= 5 and atr_pct <= 8.0: return "LONG" # 과열 신호 → 단기 @@ -84,8 +84,8 @@ def _classify_horizon( if grade == "C" and disparity <= -12 and rsi14 < 40 and atr_pct >= 9.0: return "SHORT" - # 펀더멘털 A/B + 기술적 조건 → 장기 - if grade in ("A", "B") and abs(disparity) <= 5 and atr_pct <= 3.0: + # 펀더멘털 B + 과열/약세가 아닌 눌림 구간은 장기 후보로 본다. + if grade == "B" and disparity <= 0 and abs(disparity) <= 5 and atr_pct <= 8.0: return "LONG" # 펀더멘털 C/D → 중기