[2.0] Add DuckDB E2E query optimization task#136
Merged
Conversation
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.
Summary
Adds a new Frontier-CS 2.0 systems task,
duckdb_e2e_query_optimization, where agents patch a pinned DuckDB checkout to improve end-to-end TPC-H style analytical query performance while preserving correctness.The task includes Harbor-specific agent/judge Docker images, an async patch-submission workflow, a deterministic evaluator with hidden scale-factor groups and randomized query order, and patch-policy guardrails for optimizer/execution-focused DuckDB changes.
Type of Change
Testing
PYTHONPYCACHEPREFIX=/private/tmp/frontier-cs-pycache python3 -m py_compile 2.0/problems/duckdb_e2e_query_optimization/evaluator.pyUV_CACHE_DIR=/private/tmp/frontier-cs-uv-cache uv run --no-sync frontier show 2.0 duckdb_e2e_query_optimizationfrontier_cs_2_0.mainforduckdb_e2e_query_optimizationfrontiercs/duckdb-e2e-query-optimization-agent:experimental-v1.5.3frontiercs/duckdb-e2e-query-optimization-judge:experimental-v1.5.3frontier-cs-2-0-duckdb-e2e-query__XNXGS9L2.88655790122328340.0288655790122328351.02020959829167923trueper_query, concrete hiddensf/qlabels,correctness_mismatches, orstderr_tailwere exposedChecklist
CI Validation (for new problems)