<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/cheating-at-search-with-jev-6mp9gtjyb" -->

---
title: Cheating at search with jev | daily.dev
description: An experiment compares jev, a structured LLM classification tool, against classic GPT-5/GPT-5-mini prompt-based classification for query category prediction...
canonical: https://daily.dev/posts/cheating-at-search-with-jev-6mp9gtjyb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Cheating at search with jev | daily.dev
og:description: An experiment compares jev, a structured LLM classification tool, against classic GPT-5/GPT-5-mini prompt-based classification for query category prediction...
og:url: https://daily.dev/posts/cheating-at-search-with-jev-6mp9gtjyb
og:image: https://api.daily.dev/og/posts/6Mp9GtjyB.png
og:image:alt: Cheating at search with jev
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Cheating at search with jev

**[Software Doug](https://daily.dev/sources/softwaredoug)** · 6 min read · 0 upvotes · 0 comments

## Summary

An experiment compares jev, a structured LLM classification tool, against classic GPT-5/GPT-5-mini prompt-based classification for query category prediction using the Wayfair WANDS dataset. The core lesson is the importance of letting a classifier abstain ('Unknown') on ambiguous queries rather than forcing a label, since bad labels hurt retrieval more than missing ones. Jev exposes a confidence threshold that lets you trade coverage for accuracy, producing a usable precision/recall curve, while GPT-5 models tend to predict a category regardless of confidence. The author also notes jev is roughly an order of magnitude cheaper and faster, and discusses next steps like predicting multiple categories per query and building hierarchical taxonomies instead of flat labels.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <http://softwaredoug.com/blog/2026/09/22/jev-query-understanding.html>

## Questions this post answers

### Why should a search query classifier be allowed to output 'unknown' instead of always picking a category?

Forcing a label on ambiguous queries is worse than abstaining, because a wrong category filter can exclude many relevant results during retrieval. Queries like 'office sofa' genuinely span multiple categories (Furniture and Office), so treating an incorrect confident prediction as a false positive, while calibrating a confidence threshold, lets accuracy improve as coverage is deliberately reduced.

_daily.dev surfaces practical takes like this for teams tuning classifier confidence thresholds in production search._

### How does jev's confidence-based classification compare to GPT-5 prompt-based classification for query categorization accuracy and cost?

Jev lets you set a confidence threshold (e.g. 0.9) and override low-confidence predictions as 'Unknown', producing a tunable accuracy-versus-coverage curve, whereas GPT-5 and GPT-5-mini tend to predict a category for nearly every query regardless of confidence, hurting precision on ambiguous cases. Jev was also observed to be roughly an order of magnitude cheaper and faster than the GPT-5-based prompt approach.

_Developers weighing LLM tools for query classification can track comparisons like this via daily.dev._

### Why is hierarchical taxonomy usually a better fit than a knowledge graph for search query classification?

Most search use cases that seem to need a knowledge graph actually just need a hierarchical vocabulary or taxonomy, such as footwear > dress shoes > oxford shoes. Naive searchers use broad terms while expert searchers use narrower, specific terms, so classification benefits from hierarchy where getting broad categories right prevents catastrophic mistakes, while narrower categories cause smaller errors.

_daily.dev helps engineers designing taxonomy-driven search follow real-world approaches like this one._

## Similar posts on daily.dev

- [We need to talk about JEV \(in data pipelines\)](https://daily.dev/posts/we-need-to-talk-about-jev-in-data-pipelines--nr914jn81) · Medium · 45 upvotes · 0 comments
- [How to classify text with Jev](https://daily.dev/posts/how-to-classify-text-with-jev-rnjbtfjge) · Flavio Copes · 0 upvotes · 0 comments
- [What is Jev? How System One models could change AI agents : fireup.pro](https://daily.dev/posts/what-is-jev-how-system-one-models-could-change-ai-agents-fireup-pro-eqcqub8on) · FireUp · 1 upvotes · 0 comments

---

Tags: [#machine-learning](https://daily.dev/tags/machine-learning), [#llm](https://daily.dev/tags/llm), [#gpt](https://daily.dev/tags/gpt)

[View this post on daily.dev](https://daily.dev/posts/cheating-at-search-with-jev-6mp9gtjyb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Cheating at search with jev","url":"https://daily.dev/posts/cheating-at-search-with-jev-6mp9gtjyb","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/cheating-at-search-with-jev-6mp9gtjyb"},"datePublished":"2026-09-23T13:31:12.188Z","dateModified":"2026-09-23T14:22:05.879Z","description":"An experiment compares jev, a structured LLM classification tool, against classic GPT-5/GPT-5-mini prompt-based classification for query category prediction...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e0c36527595694a46eb85ff8c2cd44fa?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e0c36527595694a46eb85ff8c2cd44fa?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Software Doug","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Software Doug","logo":"https://media.daily.dev/image/upload/s--i8zvexsI--/f_auto,q_auto/v1774514120/logos/softwaredoug?_a=BAMAMiWQ0","url":"https://daily.dev/sources/softwaredoug"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/cheating-at-search-with-jev-6mp9gtjyb","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"machine-learning,llm,gpt","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Software Doug","item":"https://daily.dev/sources/softwaredoug"},{"@type":"ListItem","position":3,"name":"Cheating at search with jev"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/cheating-at-search-with-jev-6mp9gtjyb#faq","mainEntity":[{"@type":"Question","name":"Why should a search query classifier be allowed to output 'unknown' instead of always picking a category?","acceptedAnswer":{"@type":"Answer","text":"Forcing a label on ambiguous queries is worse than abstaining, because a wrong category filter can exclude many relevant results during retrieval. Queries like 'office sofa' genuinely span multiple categories (Furniture and Office), so treating an incorrect confident prediction as a false positive, while calibrating a confidence threshold, lets accuracy improve as coverage is deliberately reduced. daily.dev surfaces practical takes like this for teams tuning classifier confidence thresholds in production search."}},{"@type":"Question","name":"How does jev's confidence-based classification compare to GPT-5 prompt-based classification for query categorization accuracy and cost?","acceptedAnswer":{"@type":"Answer","text":"Jev lets you set a confidence threshold (e.g. 0.9) and override low-confidence predictions as 'Unknown', producing a tunable accuracy-versus-coverage curve, whereas GPT-5 and GPT-5-mini tend to predict a category for nearly every query regardless of confidence, hurting precision on ambiguous cases. Jev was also observed to be roughly an order of magnitude cheaper and faster than the GPT-5-based prompt approach. Developers weighing LLM tools for query classification can track comparisons like this via daily.dev."}},{"@type":"Question","name":"Why is hierarchical taxonomy usually a better fit than a knowledge graph for search query classification?","acceptedAnswer":{"@type":"Answer","text":"Most search use cases that seem to need a knowledge graph actually just need a hierarchical vocabulary or taxonomy, such as footwear \u003e dress shoes \u003e oxford shoes. Naive searchers use broad terms while expert searchers use narrower, specific terms, so classification benefits from hierarchy where getting broad categories right prevents catastrophic mistakes, while narrower categories cause smaller errors. daily.dev helps engineers designing taxonomy-driven search follow real-world approaches like this one."}}]}
```

