Deal check
tb_deal_checkCheck whether a product price is a good deal by scoring it 0-100 from its past-year weekly minimums and today's competing offers.
Instructions
Is this a good price? Score 0-100 from the product's price history and today's competing offers.
Heuristic (documented, not Torob's): start at 100 minus the percentile of the price in the past year's weekly
minimums (cheaper than most weeks = high score), minus up to 20 points when the price is above today's cheapest
usable offer. 70+ good deal, 40-69 fair, below 40 wait or shop around. reasons explains the score. Costs 2
requests (chart + sellers).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | A price in Toman you were offered; default: today's cheapest usable offer. | |
| product | Yes | Product id (the UUID from search cards, e.g. '57ea65ae-0798-4cd0-96a7-38d8af180345'), a '/p/<id>/...' path or a full torob.com product URL. |