Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1df3d47
refactor: define every stage's interfaces from #1207 and delete the o…
zzylol Nov 6, 2026
99245c1
refactor(types): CandidateForMemoGroupId.index -> index_in_group
zzylol Nov 6, 2026
940c88b
refactor(types): drop the physical schedule σ; PhysicalProperties { t…
zzylol Nov 6, 2026
cb6e9e1
refactor(types): theta must be listed, floors need not be; satisfies_…
zzylol Nov 6, 2026
ed44fc2
refactor(plan-selection): one evaluation context per schedule
zzylol Nov 6, 2026
9416f44
refactor(types): rename the #1207 interfaces as agreed (2026-11-06)
zzylol Nov 6, 2026
b05cec1
refactor(types): execution contexts reuse the workload's recurrence
zzylol Nov 6, 2026
868d2f8
refactor: naming sweep for the #1207 unit
zzylol Nov 6, 2026
f4c0397
refactor(types): Memo methods return Result; CandidateError (#1207 PR 0)
zzylol Nov 6, 2026
98f4eb2
refactor: Memo groups private behind groups(); Stage 0 through the Me…
zzylol Nov 6, 2026
f104f6f
refactor(types): a memo group is its expression and GroupProperties; …
zzylol Nov 6, 2026
0fe71dd
refactor(accuracy): delete size_for_all_readers and its shared-size h…
zzylol Nov 6, 2026
2a04c9f
refactor(types): InputOrTemporaryBuild; subquery groups in unlifted o…
zzylol Nov 6, 2026
ac7273d
refactor(types): 2026-11-07 interfaces: chains without a window count…
zzylol Nov 7, 2026
8a98866
refactor(types): IntervalConstraintLimit ends for Constraint::Interva…
zzylol Nov 7, 2026
31f25bb
refactor(types): PromQL ranges are (t - r, t] in the interval example…
zzylol Nov 8, 2026
0d992a1
refactor(types): 2026-11-08 interfaces: summary types, required accur…
zzylol Nov 8, 2026
d82c149
refactor(types): guarantees at a failure probability, AccuracyEvidenc…
zzylol Nov 9, 2026
5587607
refactor: delete Pass 1's test-support whole-workload composition and…
zzylol Nov 9, 2026
61541f7
test(sql): lower main's new ClickHouse tests without the removed accu…
zzylol Nov 10, 2026
77ebd23
refactor: one crate per stage (#1207 PR 0b)
zzylol Nov 6, 2026
6cdaa2f
test: delete the tests that cross stage crates (#1207 PR 0b)
zzylol Nov 6, 2026
d18a86f
test: delete the frontend and Pass 1 tests that cross stage crates (#…
zzylol Nov 6, 2026
a4290ee
test: delete the frontend tests that plan through the facade (#1207 P…
zzylol Nov 6, 2026
13063ab
refactor(types): properties and requirements from #1207 (#1207 PR 1)
zzylol Nov 8, 2026
36312cb
feat(stage0, types): memo hash-consing, group properties (column_sign…
zzylol Nov 9, 2026
50686ae
refactor(types, frontends): column lineage replaces table qualifiers …
zzylol Nov 9, 2026
0c11cd7
refactor(stage1-pass1): per-computation candidates over memo groups (…
zzylol Nov 9, 2026
e98e80b
refactor(stage1-pass2): rollup from the finest common group, readout …
zzylol Nov 9, 2026
8876072
refactor(stage2): physical expansion, physical edges and pruned alter…
zzylol Nov 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
96 changes: 45 additions & 51 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ members = [
"crates/types",
"crates/frontend-common",
"crates/sql-function-catalog",
"crates/logical-asap-optimization",
"crates/physical-asap-optimization",
"crates/stage0-memo",
"crates/stage1-pass1-per-computation-candidates",
"crates/stage1-pass2-reuse-candidates",
"crates/stage2-physical-optimization",
"crates/accuracy",
"crates/cost",
"crates/plan-selection",
"crates/stage3-plan-selection",
"crates/frontend-promql",
"crates/frontend-metricsql",
"crates/metricsql-common-parser-support",
Expand Down
14 changes: 4 additions & 10 deletions crates/accuracy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,14 @@ name = "asap-accuracy"
version = "0.1.0"
edition = "2021"

# The accuracy model shared by the planning stages: per-family estimators,
# guarantee composition and propagation through a DAG, sizing, budget
# split, the target check and the
# deployment's accuracy model and evidence traits. Depends only on
# `asap-types`, never on a stage crate, so every stage can use it.
# The accuracy rules shared by the planning stages: per-algorithm
# estimators (the theoretical guarantee of θ), the target check, the
# deployment's measured accuracy and α^log of a logical edge. Depends only
# on `asap-types`, never on a stage crate, so every stage can use it.
[dependencies]
asap_sketchlib = { workspace = true }
asap-types = { path = "../types" }
serde_json = "1"

[features]
# Exposes `test_support`: estimator, sizing, composition and propagation
# helpers other crates' tests call.
test-support = []

[dev-dependencies]
asap-types = { path = "../types", features = ["test-support"] }
106 changes: 0 additions & 106 deletions crates/accuracy/src/budget.rs

This file was deleted.

Loading