Skip to content

Instantly share code, notes, and snippets.

@cyberandy
Last active September 19, 2025 08:00
Show Gist options
  • Save cyberandy/ca5cc0c7d8754412cefb841b3583debb to your computer and use it in GitHub Desktop.
Save cyberandy/ca5cc0c7d8754412cefb841b3583debb to your computer and use it in GitHub Desktop.
Task: AI Snippet Consistency Sprint for https://www.maserati.com/it/it/modelli/granturismo
Step 1 (web.run):
- SEARCH OUTPUT — <URL>: search_query on the exact URL (fallback site:<domain> "<slug>"). Return first result raw, incl. wordlim + source_ref.
- OPEN OUTPUT — <URL>: open(<URL>) once. Return raw block (status/lines_sample/source_ref). No head inference.
- AI Snippet (≤50 words) from OpenSignals only; else note unavailable. Extract entities from the snippet.
Step 2 (MCP use WordLift as Tool):
- Tool: /WordLift/wordlift_agent
→ JSON with head + structured_data[] (+ validation counts).
- Merge and print: MCP OUTPUT — <URL> (JSON only).
Step 3 (Compare):
- Coverage%, Overlap%, Alignment%, Breadcrumb (Y/N→0/100), ConsistencyScore = 0.4C+0.3O+0.2A+0.1B.
- Output one-row table + Top 3 Fixes (property-level + one copy tweak).
Step 4 (optional viz):
- Show ConsistencyScore; if possible, a single matplotlib box plot (one value).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment