Skip to content

Complete INT04-A official backtest competitions - #280

Merged
kcrmin merged 1 commit into
developfrom
feature/INT04-a-backtest-competition
Aug 9, 2026
Merged

Complete INT04-A official backtest competitions#280
kcrmin merged 1 commit into
developfrom
feature/INT04-a-backtest-competition

Conversation

@hjcud

@hjcud hjcud commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Scope

Completes INT04-A (official BACKTEST competition) only. INT04-B LIVE_PAPER remains deferred and backend #278 must not be merged for this release.

What this adds

  • operator-only official BACKTEST room creation that atomically locks 2+ hidden periods, official datasets, feature materializations, and one execution policy
  • competition-period request creation after the evaluation ledger is durably opened
  • scheduled settlement of terminal period runs into immutable aggregate results and PUBLISHED/FINAL leaderboards
  • per-participant failure isolation for terminal runs and malformed result evidence
  • BACKTEST-specific room cutoff handling: PENDING_LEDGER counts toward minimum participation and under-subscribed bots never start as private live bots
  • batch runtime grants and executable-SQL regression coverage for every new write

Release dependencies

Do not request pointer/deploy until this PR and root #495 are merged and green.

The root pointer/deploy change must also refresh the Flyway bundle and extend the database bootstrap runtime-role checks for:

  • competition.backtest_period_runs UPDATE
  • competition.backtest_aggregate_results INSERT
  • competition.leaderboard_snapshots INSERT
  • competition.leaderboard_entries INSERT
  • competition.room_final_access_grants INSERT

After deployment, read-only verify the real batch role privileges, backend-batch and backtest-worker image digests, Terraform/Flyway state, and queue wiring before running one fresh INT04-A journey. Preserve all existing runs and DLQs; do not receive, delete, or redrive them.

Verification

  • gradlew test --no-daemon --build-cache --parallel (passed, 9m55s before rebase)
  • gradlew test :apps:idea2strategy-cli:distZip --no-daemon --build-cache --parallel (passed, 9m46s on final develop/Automatically select official backtest inputs #279 combination)
  • scripts/test-container-contracts.sh via Git Bash (passed)
  • targeted PostgreSQL integration coverage for room creation, evaluation scheduling cutoff, settlement, result isolation, leaderboard publication/finalization, idempotence, and invalid evidence isolation
  • DatabaseAccessPolicyTest and RoleGrantsCoverExecutedSqlTest (passed)

Final recording after AWS proof must remain: INT04-A 자동 백테스트 대회 완료 / INT04-B 라이브 평가 보류.

@hjcud
hjcud requested a review from kcrmin August 9, 2026 19:41
@kcrmin
kcrmin merged commit 1f9d295 into develop Aug 9, 2026
2 checks passed
@kcrmin
kcrmin deleted the feature/INT04-a-backtest-competition branch August 9, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants