What do we owe Bharat Polymers?
The important part is not merely arithmetic. EKA must understand that “what do we owe?” means open_amount, not invoice face value.
What do we owe Bharat Polymers, across how many invoices?
- Result
- COMPLETE
- Tool calls
- 3
- Evidence
- 3
- Duration
- 4.4s
The user is asking for the total outstanding amount owed to Bharat Polymers and the count of invoices associated with this counterparty. First, we need to resolve 'Bharat Polymers' to a canonical organization record, then list or aggregate the invoices associated with that counterparty entity ID.
Part p1 What do we owe Bharat Polymers?
required: OPEN_AMOUNT, CURRENCY
Part p2 Across how many invoices?
required: none declared — a count is a calculation, not a featureThe runtime also mechanically inferred the COUNTERPARTY and currency requirements from the actual aggregate steps.
"Bharat Polymers" → UNIQUE → canonical.Organization ORG-000001
This produces governed RESOLUTION_EVIDENCE; the name itself is not used as an unverified identity.
All required features are available on the canonical Invoice subject.
Step 1
resolve_reference("Bharat Polymers")
→ ORG-000001
Step 2
aggregate canonical.Invoice
filter counterparty_entity_id = ORG-000001
SUM(open_amount)
GROUP BY currency_code
Step 3
aggregate canonical.Invoice
same population
COUNT(*)
GROUP BY currency_codeMoney policy GROUP_BY_CURRENCY, so EKA cannot silently add unlike currencies.
- Round 1
- s1 resolve_reference, then s2 and s3 aggregate_records, both depending on s1
- validated as proposed; all three steps COMPLETE
Both aggregates take the organization key from step 1 by reference ($s1.key) and declare that dependency, so the runtime resolves it rather than accepting a guessed identifier. The plan is the golden plan for this question, step for step.
canonical.Organization ORG-000001: {"matched_text":"Bharat Polymers","display_name":"Bharat Polymers","state":"UNIQUE"}
SUM(open_amount) over counterparty_entity_id EQ "ORG-000001" (11 row(s)) = {"amount":"0.00","currency":"INR"}
COUNT(*) over counterparty_entity_id EQ "ORG-000001" (11 row(s)) = {"count":11}
The invoice face-value total for the same seeded population is a different measure; the question asked what remains owed.
Bharat Polymers is canonical organization ORG-000001.
ESTABLISHEDEVD-RES-0bd67988
The total open amount owed is 0.00 INR.
ESTABLISHEDEVD-DER-dedd90fd
The total number of invoices is 11.
ESTABLISHEDEVD-DER-3b8f48f2
outstanding amount ≠ invoice face value
COMPLETE
Both requested parts were answered from deterministic, currency-aware calculations over a governed population.
We owe Bharat Polymers (canonical organization ORG-000001) a total of 0.00 INR across 11 invoices.
Across 11 invoices, the total outstanding amount for Bharat Polymers is INR 0.00.
The captured wording already keeps the calculation exact: it counts 11 invoices without calling them open invoices, so it implies no invoice-status filter the calculation did not apply. The reviewed wording only restates the figure as an outstanding amount.
One run demonstrates natural-language measure selection, governed identity resolution, declared and mechanically implied features, canonical aggregation, currency-aware calculation and derived evidence.
Its plan is the golden plan for this question, step for step: the model chose the outstanding amount rather than the face value, and the runtime had nothing to refuse.
- Run ID
- RUN-ba91be76-eb3d-4869-9a06-411336ca8173
- Result
- COMPLETE
- Model
- google:gemini-3.5-flash-lite
- Prompt
- PROMPT-EKA-0.4.6
- Planner hash
- 0fb08227cf1e04d7…
- Synthesis hash
- 2e56d7b0237722db…
- Build
- 093d195bbb15…
- Business now
- 2026-07-31 18:30:00+00
- Tool calls
- 3
- Evidence items
- 3
- Model calls
- 2
- Duration
- 4.4s
The EKA Workspace replaying this chapter's own captured run. No model is called in replay: what is on screen is the run described above, as the runtime returned it.
Transcript
- The question is typed and sent:
What do we owe Bharat Polymers, across how many invoices?
- The activity rail runs, then the answer arrives with its result: COMPLETE.
- The answer reads:
We owe Bharat Polymers (canonical organization ORG-000001) a total of 0.00 INR across 11 invoices.
- The steps are opened: Resolving the reference · Calculating · Calculating · Writing the answer.
- The evidence is opened: 3 items.
- The view returns to the answer.







