Start an analysis
start_analysisRoute each new analytics question to the correct statistical workflow—hypothesis testing or exploration—and return the steps to follow.
Instructions
Call this first for every new question. Read the user's request and choose mode: "hypothesis_test" when they want to know whether a difference, effect or relationship is real / significant / caused by something, or want to test a claim; "explore" when they want to describe, summarise, visualise, estimate or plan, without testing a claim. If the request is ambiguous, ask the user before calling. Returns the steps to follow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | The data file the user named or attached to the chat (CSV, TSV, Excel or Parquet): pass its path or name, never its contents. Large files are fine. | |
| mode | Yes | "explore" for describing, comparing, ranking, summarising, charting or finding patterns (most analytics questions); "hypothesis_test" when asked whether a difference or relationship is significant / real. | |
| question | Yes | The user's request, in their own words. |