af1236202d
- F14: late_chase_risk_score 검증 * GAS가 유일한 생산처 (Python canonical 없음) * migration_action: KEEP_IN_GAS로 정정, status: DONE - F02/F03/F04/F06: priceBasis 로직 포팅 * formulas/price_basis_v1.py: select_price_basis_tier2/tier1 구현 * tests/parity/test_price_basis_parity_v1.py: 8 parity 테스트 (모두 PASS) * GAS Number.isFinite() 의미론 정확히 재현 (math.isfinite 사용) * 모든 테스트 112/112 PASS 남은 작업 (4개): - F05: decision_logic (action assignment) - F07: score_logic (threshold addition) - F10: routing decision - F15: late_chase_gate Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
49 lines
1.2 KiB
Markdown
49 lines
1.2 KiB
Markdown
# Gitea Variables Setup
|
|
|
|
이 저장소는 KIS Open API와 Gitea workflow를 분리해서 사용한다.
|
|
현재 KIS 인증값은 `Settings > Actions > Variables`에 등록해서 사용한다.
|
|
|
|
## Required Variables
|
|
|
|
### Shared
|
|
|
|
- `GITHUB_TOKEN`
|
|
|
|
### KIS read-only validation
|
|
|
|
- `KIS_APP_KEY_TEST`
|
|
- `KIS_APP_SECRET_TEST`
|
|
|
|
### KIS real data collection
|
|
|
|
- `KIS_APP_KEY`
|
|
- `KIS_APP_SECRET`
|
|
|
|
## Workflow Mapping
|
|
|
|
- `.gitea/workflows/kis_data_collection.yml`
|
|
- mock validation: `KIS_APP_KEY_TEST`, `KIS_APP_SECRET_TEST`
|
|
- real collection: `KIS_APP_KEY`, `KIS_APP_SECRET`
|
|
- `.gitea/workflows/qualitative_sell_strategy.yml`
|
|
- mock validation: `KIS_APP_KEY_TEST`, `KIS_APP_SECRET_TEST`
|
|
- real collection: `KIS_APP_KEY`, `KIS_APP_SECRET`
|
|
- `.gitea/workflows/ci.yml`
|
|
- mock validation: `KIS_APP_KEY_TEST`, `KIS_APP_SECRET_TEST`
|
|
|
|
## Runtime Rule
|
|
|
|
- mock 계정은 유효성 확인용이다.
|
|
- real 계정은 실제 데이터 수집용이다.
|
|
- 둘을 같은 단계에서 혼용하지 않는다.
|
|
|
|
## Verification
|
|
|
|
Run:
|
|
|
|
```bash
|
|
python tools/validate_gitea_secrets_contract_v1.py
|
|
```
|
|
|
|
The validator checks that the workflows reference the required variable names
|
|
with the expected separation between mock and real usage.
|