Skip to content

Say which profile to use for a future depart_at - #88

Open
mattpodwysocki wants to merge 1 commit into
mainfrom
fix-depart-at-profile
Open

mattpodwysocki wants to merge 1 commit into
mainfrom
fix-depart-at-profile

Conversation

@mattpodwysocki

Copy link
Copy Markdown
Contributor

Split out of #80.

The problem

The profile guidance said only that "both profiles support depart_at". True, but it doesn't answer the question that raises.

Asked which profile to use for a departure scheduled in the future when traffic-aware ETAs are still wanted, the model reasoned that live traffic cannot help a future departure and recommended driving. Wrong answer, sensibly arrived at — the text gave it nothing to go on.

The fix

Per the Directions API reference, driving-traffic with a future depart_at routes on "historical travel data and live traffic", with live traffic "gently mixed with historical data when the value for depart_at is close to current time".

So a future departure is not a reason to drop to driving, and arrive_by remains the only one. Now stated outright, in both AGENTS.md and references/web-directions-api.md.

Measured

The eval covering this went from 3/9 to 9/9, on both the skill and agents surfaces.

Test plan

🤖 Generated with Claude Code

The profile guidance said only that "both profiles support `depart_at`",
which is true but does not answer the question it raises. Asked which
profile to use for a departure scheduled in the future with traffic-aware
ETAs, the model reasoned that live traffic cannot help a future departure
and recommended `driving` — the wrong answer, arrived at sensibly.

Per the Directions API reference, `driving-traffic` with a future
`depart_at` routes on "historical travel data and live traffic", with live
traffic "gently mixed with historical data when the value for `depart_at`
is close to current time". So a future departure is not a reason to drop
to `driving`, and `arrive_by` remains the only one.

Stated outright in both copies. The eval covering this went from 3/9 to
9/9 on both surfaces.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant