JevMade hello@JevMade.com
← Back to guides

JevMade field notes / Worked recipe

Choose categories without closing the wrong branch

A product-sorting recipe compares choosing from every category at once with keeping several likely departments before choosing a narrower category.

Original by Jeroen Erne / NexibeoClassification

Listen to this guide

JevMade’s plain-English explanation

0:00 /

AI narration

Credits and license

“05 · Category trees” by Jeroen Erne / Nexibeo. Read the original source.

This expanded guide is an AI-narrated adaptation of the source’s essential explanation, examples and caveats, not a word-for-word reading. The synthetic voice does not imitate the author or imply their endorsement.

License: MIT

MIT License

Copyright (c) 2026 Jeroen Erne (https://nexibeo.com, https://completeaitraining.com)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Our summary

A shop may group its products into departments and smaller categories. This recipe compares two ways to ask Jev where a product belongs: show every final category together, or first narrow the list to a few promising departments.

The staged version keeps the best two departments rather than committing to one immediately. It then asks Jev to choose among their smaller categories. Keeping alternatives gives products near a boundary another chance, while shorter option lists can reduce the amount of text sent.

Both methods worked on the author's small set of clear product titles, which does not establish performance on difficult stock. Staging uses more requests and can still discard the right branch. Category size, description length, and actual mistakes should guide which approach a team uses.

Key takeaways

  1. Try a single choice when the category list is manageable.
  2. Keep more than one possible parent category for boundary cases.
  3. Compare request count and mistakes, not only the amount of text processed.

The comparisons are reported by the author. JevMade did not reproduce the category tests or their reported costs.

GitHub cookbook · Source reviewed

Read the original guide Opens the author’s site in a new tab.