fix: 자기검토 2라운드 — 평가 자본 정합(HIGH)·백업 스킵 가시화·min_trade 침묵 슬롯#426
Merged
Conversation
당일 출고분 자기검토 2라운드(독립 에이전트)의 확정 결함 3건: [HIGH] 평가 수집기(collect_basket_paper_evaluation)가 전역 initial_capital만 읽어, 바스켓별 자본 레버(8d258ca) 설정 시 비용 드래그가 수 배 과대(예: 30M 매입 비용/10M)되어 거짓 FAIL_REVIEW — CLI·게이트·대시보드가 공유하는 판정 자체가 틀어진다. 자본 해석을 운영과 동일하게(바스켓 initial_capital 우선, 전역 폴백) 수정. 레버를 켜기 전에 잡아서 실해 0. [MED] 백업 격리 가드의 스킵 로그가 debug라 운영 배포(QUANT_DB_PATH로 DB 분리 — config 주석의 정당 용도)에서 백업이 조용히 꺼져도 주간 리허설 전까지 모름 — warning 승격 + QUANT_BACKUP_PATH 동반 설정 안내. [LOW] 미보유 슬롯의 목표 금액 < min_trade_amount인 경우가 채움 불가 경고(#422) 보다 앞 분기에서 여전히 침묵 스킵 — 같은 부류로 경고 추가. 테스트: 수집기 자본 해석 2건(레버/전역 폴백). 전체 1516 passed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
배경
당일 출고분(#419~#425 + 자본 레버)에 자기검토 규율(독립 적대 에이전트)을 적용 — 확정 결함 3건 즉시 수정. (#425 브랜치에는 별도 HIGH 1건 — 일일 리포트 avg_price 평가 — 이미 수정 푸시됨)
수정
initial_capital레버 설정 시 평가가 전역 자본으로 나눠 비용 드래그 수 배 과대 → 거짓 FAIL_REVIEW(CLI=게이트=대시보드 공유 판정 자체가 왜곡). 사장님이 A안 레버를 켜기 전에 잡아 실해 0QUANT_DB_PATH는 운영 배포 용도(DB 분리)도 있어, 그 배포에서 백업이 debug 로그만 남기고 조용히 꺼지면 주간 리허설 전까지 모름.QUANT_BACKUP_PATH동반 설정 안내 포함min_trade_amount가 fix: 자본 부족으로 못 채우는 바스켓 슬롯 침묵 스킵 가시화 + 운영자 결정 필요 #422 경고보다 앞 분기에서 여전히 침묵 스킵검증
수집기 자본 해석 테스트 2건(레버 적용/전역 폴백), 전체 1516 passed