WBS-7.3: GAS→Python 마이그레이션 5개 항목 완료 (F14, F02-F06)
- 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>
This commit is contained in:
@@ -43,6 +43,12 @@ def _server_cmd(args: argparse.Namespace) -> list[str]:
|
||||
]
|
||||
if args.no_bootstrap:
|
||||
cmd.append("--no-bootstrap")
|
||||
if args.allow_remote:
|
||||
cmd.append("--allow-remote")
|
||||
if args.auth_user:
|
||||
cmd.extend(["--auth-user", args.auth_user])
|
||||
if args.auth_password:
|
||||
cmd.extend(["--auth-password", args.auth_password])
|
||||
return cmd
|
||||
|
||||
|
||||
@@ -152,6 +158,9 @@ def main() -> int:
|
||||
parser.add_argument("--db", default=str(ROOT / "outputs" / "snapshot_admin" / "snapshot_admin.db"))
|
||||
parser.add_argument("--seed", default=str(ROOT / "GatherTradingData.json"))
|
||||
parser.add_argument("--no-bootstrap", action="store_true")
|
||||
parser.add_argument("--allow-remote", action="store_true", help="Allow binding outside loopback when auth is configured.")
|
||||
parser.add_argument("--auth-user", default=os.getenv("SNAPSHOT_ADMIN_AUTH_USER", ""))
|
||||
parser.add_argument("--auth-password", default=os.getenv("SNAPSHOT_ADMIN_AUTH_PASSWORD", ""))
|
||||
parser.add_argument("--reload", action="store_true", help="Restart the server when watched files change.")
|
||||
parser.add_argument("--reload-interval", type=float, default=1.0, help="Seconds between file-system polls.")
|
||||
args = parser.parse_args()
|
||||
|
||||
Reference in New Issue
Block a user