Consistency · Definitions & context
Which number do we trust?
Your analysts decide what a KPI means. Bicycle carries that definition into each answer, finding and weekly review. Follow one number from the report your team trusts to the query an agent ran, then see what happens when the rules change.
A worked example · retail
One question. Four ways to count.
“What was checkout conversion last week?” For October 18–24, 10,000 eligible online visits included 1,000 checkout starts and 261 purchasing visits. Here’s what four people could reasonably bring to Monday’s meeting.
Analyst’s Claude skill
2.53%
261 purchasing visits ÷ 10,300 visits. Its query included 300 internal test visits.
PM’s ChatGPT query
3.65%
365 order lines ÷ 10,000 visits. A shopper who bought two items counted twice in the numerator.
Checkout funnel
26.1%
261 purchasing visits ÷ 1,000 visits that started checkout. A useful answer to a different question.
Monday’s trading report
2.61%
261 purchasing visits ÷ 10,000 eligible visits. Commerce Analytics approved this definition for the report.
ApprovedAny of the assistants can return 2.61%. What matters is which definition and records the calculation uses. The same issue arises when “active” could mean an account, a workspace or a person.
Sources and ownership
Start where the team already defines the number.
A dbt metric might own the formula while a dashboard owns the reporting calendar. Bicycle’s onboarding agent reads both. If you start with tables or files, it uses their metadata and your context to propose the business model and the KPI agents it can support. An analyst reviews the proposal before the assignment uses it.
Semantic models
A dbt metric, LookML measure, Snowflake semantic view or Power BI model can supply a formula and join path. The approved definition keeps a reference to the source and its owner.
Tables, files and SQL
Keys, event times and the queries behind a weekly report show how records fit together. A duplicate-count test checks a proposed join against the data.
Dashboards and funnels
A Tableau report can establish the week, filters and counts to reconcile. An Amplitude funnel may reveal another denominator worth naming separately.
Business knowledge
A glossary, notebook or team playbook can supply an eligibility rule or an investigation method. The person who owns the rule confirms where it applies.
Grain, joins and time
What does one row represent?
One shopper clicks checkout three times, places one order and buys two items. For this metric, that’s one eligible visit, one visit that started checkout and one purchasing visit.
Joining order lines straight to visits can turn that one purchase into two. The analyst checks that purchases are grouped by visit before the join and that the join preserves the eligible visit count. For warehouse data, code runs these profiling checks at the source. The model can use the schema and resulting counts to propose the mapping.
The visit model used for this report
- Record
- One visit keyed by
session_id. A visit can contain several events and order lines. - Join
- Link each order to its visit. Set a purchase flag once per visit.
- Time basis
- Visit start determines the trading week, Sunday through Saturday in Pacific time.
- Breakdowns
- Region, device, category and channel are the assignment’s approved breakdowns. This report asks for all eligible online visits.
Definition review
Find where each rule takes effect.
The glossary says “human, external visits.” The report SQL removes internal traffic. Where did the bots go? Bicycle flags the apparent conflict. The analyst traces bot filtering to the upstream sessions model and checks the remaining exclusion against the report.
Checkout conversion v3 · owned by Commerce Analytics · effective October 1
| Rule | Source | What the analyst verifies |
|---|---|---|
| Formula | dbt metric | Purchasing visits divided by eligible visits, expressed as a percentage. |
| Grain and eligibility | Sessions model and KPI glossary | One row per visit. Upstream filtering removes bots once. |
| Internal traffic | Versioned SQL exclusion | v2 included internal tests. v3 excludes them. On the pinned week the denominator falls by 300. |
| Reporting period | Weekly trading dashboard | Match both counts for the complete Pacific trading week before approving v3. |
The answer receipt
Show the calculation behind 2.61%.
“For October 18–24, 261 of 10,000 eligible online visits ended in a purchase.” An analyst inspecting that sentence can trace three things.
Which definition?
Checkout conversion v3, approved by Commerce Analytics. The receipt identifies the dbt formula, the source of the exclusions and the Pacific trading week.
What ran?
The October 26 snapshot returned 261 and 10,000.
SELECT COUNTIF(purchased), COUNT(*) FROM eligible_sessions_v3 WHERE week = DATE '2026-10-18'
What was checked?
Both counts reconcile to the report. Each eligible visit appears once and the week is complete. A shared upstream omission could affect both calculations, so the receipt also names the checks performed.
Names and defaults
When “conversion” is ambiguous, ask.
Two names for one metric
Commerce Analytics approves “visit-to-order rate” as an alias for checkout conversion v3. Either phrase resolves to the same calculation.
Two legitimate metrics
“Checkout completion” counts only visits that started checkout. Ask for completion and Bicycle cites the funnel definition alongside 26.1%.
Two sources disagree
If both say “conversion” and disagree about test traffic, Bicycle surfaces the conflict to the owner. A correction in chat is feedback for that review.
What the user hears
Without an approved default, Bicycle asks, “All eligible visits, or just visits that started checkout?” In Monday’s trading review it can answer directly and name the report’s approved denominator.
From an answer to an assignment
The definition follows the finding into the decision.
“Show me last week” needs a cited calculation. “Have it ready every Monday and flag unusual changes” also needs a schedule, segment rules and an owner. Bicycle’s business model links the signal to the evidence an agent may test and the action someone may approve.
| Layer | What it contributes to the checkout assignment | Used by |
|---|---|---|
| Signal | Measure checkout conversion v3 for the approved segments. The finding identifies West mobile and cites the definition and run. | Answer and Detect |
| Causal drivers | The pricing playbook calls for a dated comparison of the same promoted shoes in markets with and without a price gap. Code tests that explanation alongside inventory and checkout errors. | Explain |
| Action | If the comparison supports price as the leading explanation, propose a temporary price match on the affected shoes. State region, duration, margin guardrail and the outcome check. | Act |
| Authority | The merchandising lead decides within the approved markdown range. A wider change goes to the category VP. The pricing policy supplies that authority. A previous approval only shows whom to ask. | Act and Control |
A missing price feed leaves the price explanation open. The measured decline still stands. If checkout errors explain the timing better, the finding goes to the team that can fix checkout.
Evaluate it on your setup
Can a second person reproduce the number?
Bring a report your analysts trust and a Claude skill or ChatGPT workflow you already use. Have someone who didn’t build either ask the same question in their own assistant.
Repeat the known question
Match definition version, filters, permitted scope, period and snapshot. In the example, Claude and ChatGPT should each return 261 of 10,000. Someone with West-only access should see their narrower scope.
Change the question
Ask for checkout completion. Look for 261 of 1,000 and its own citation. Try “conversion” outside the Monday report and see whether a clarifying question appears.
Make a correction
Change a source rule. Can the second person find its owner, see the effect on both counts and explain an earlier answer? Track where the analyst had to step in and how long it took to settle the difference.
Where this shows up in the product
The four Cs