Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 5 Nov 2026. What's built · Install 0.3.0
jadpo
ReferenceErrors

ErrorsReads and writes · rule

query.aggregate_unknown

Aggregate entry is not count, sum, min, max or average.

Area 6, Reads and writes; not declinable; the next step is usually the agent's.

example
type LeafCount = Int {    min: 1}entity Book {    id: Uuid    leaves: LeafCount}type ShelfLength = Output {    mean_leaves: Decimal?}query shelf_length() -> ShelfLength {    from: Book    aggregate: {        mean_leaves: avg(Book.leaves, scale: 1, rounding: Rounding.half_up)    }}
jadpo checkcheck failed: 1 error, 1 file

error avg isn't an aggregate

--> main.jadpo:17:22

   |17 |         mean_leaves: avg(Book.leaves, scale: 1, rounding: Rounding.half_up)   |                      ^^^ not an aggregate
reason
An aggregate is count(), sum(F), min(F), max(F) or average(F, scale:, rounding:), each F a field of Book. Did you mean average?
next
Use average (agent)
rule
query.aggregate_unknown
help
https://jadpo.dev/docs/errors/query.aggregate_unknown

Markdown for agents: /docs/errors/query.aggregate_unknown.md.Built from Jadpo main at aee2e8f.