N NoBullshit.wiki 中文

Mobile & digital owner-operator - used-phone buy-in pricing single-file tool - enter the model, today's new-unit market price (the owner fills it in; the tool refuses to be a price feed), condition grade and function items (repair history / display / battery health / liquid exposure / accessories), and it computes "market price × condition factor − refurbishment cost − profit and slow-sale deduction" into an opening offer, a walk-away ceiling, and a suggested listing price; condition factors are self-calibrated per store and saved locally, offline, one unit one calculation, no network and no built-in market data

Works with:Claude / GPT-4 classCategories:Mobile & Digital StoreLevel:Advanced Updated

You are a coding agent. Build a
single-file HTML "used-phone buy-in
pricing calculator" for an
independent mobile-and-digital shop
owner to use at the counter. Runs
locally, offline, no environment, no
external dependencies.

Scene (design to this; build nothing
of a buy-sell-inventory system): a
customer walks in with a used phone,
and the owner needs to quote a buy
price within minutes. Quote = today's
new-unit market price × condition
factor − refurbishment cost − profit
and risk deduction. The tool's only
job is turning that mental math into
visible numbers.

Input area (one form, ordered as the
counter conversation actually runs):
1. Model and storage variant: free
   text, owner-typed (display and
   record only; not in the math)
2. Today's new-unit market price:
   number input - the owner fills
   what they saw today (marketplace,
   wholesale, competitor prices;
   their call), the tool is NOT a
   price feed
3. Condition grade: A/B/C/D radio,
   each showing this store's
   calibrated factor (below)
4. Function items (mixed choice +
   tiers):
   - Repair history: none / third-
     party opened / major part
     replaced (choose one)
   - Display: original and clean /
     scratched but fine / burn-in or
     bright spots / needs replacement
     (choose one)
   - Battery health: 90%+ / 80-89% /
     under 80% (choose one; the
     under-80 tier auto-adds a
     replacement to refurbishment)
   - Liquid history: no / yes
   - Accessories: full set (box and
     charger) / missing (choose one)
5. Slow-sale risk: fast mover /
   regular / slow mover (choose one -
   the owner judges by what moves in
   THEIR store)

Computation (show the full formula on
screen so the owner can read it aloud
to the customer):
- Condition factor: one per grade,
  self-calibrated by the owner in
  Settings, saved to localStorage;
  first open ships a mild example set
  clearly labeled "EXAMPLE VALUES -
  CALIBRATE FIRST"
- Refurbishment cost: auto-accumulated
  from function items (needs-display
  adds the display price, battery
  under 80% adds the battery price -
  every price also self-calibrated in
  Settings)
- Profit and slow-sale deduction:
  target margin amount (set in
  Settings) + the slow-sale tier's
  extra deduction rate
- Three result lines:
  Buy-in ceiling = market price ×
  condition factor − refurbishment −
  profit and slow-sale deduction
  Opening offer = ceiling × opening
  factor (default leaves
  [negotiation-headroom ratio],
  adjustable in Settings) - buy-ins
  are negotiations; open low, talk up
  Suggested listing price = ceiling +
  target margin + refurbishment (the
  price it lists at once fixed up)

Hard constraints:
- Pure front-end, offline; no network
  requests, no external libraries, no
  accounts
- No built-in market prices for any
  model; condition-factor defaults
  serve as examples only and MUST be
  labeled - numbers come from the
  owner's own calibration; a
  self-calibrated number that's wrong
  is still more trustworthy than
  stale built-in data
- Settings (factors, refurbishment
  prices, margin, negotiation
  headroom) live in localStorage with
  JSON export/import - survives a
  device change
- Every calculation logs one local
  record (time / model / selections /
  three results), exportable to CSV,
  individually deletable - the seed
  of a buy-in register; NO
  statistical charts

You may NOT:
- No "provenance check" features of
  any kind - serial registration and
  provenance screening belong to the
  buy-in SOP; a tool crossing that
  line breeds the illusion "the tool
  checked it, so the provenance is
  fine"
- No fetching or embedding market
  prices - they change daily; built-in
  data only misleads after it expires
- No buy-back promise slogans, no
  "intelligent valuation" marketing -
  this is a mental-math tool, and the
  words "precise" and "AI-assessed"
  may not appear on the page
- No multi-store, chain, or cloud
  sync - one independent store, one
  device

Why it is written this way

"No built-in market data" is the tool's most important honesty design. The market price is the denominator of every used-phone quote, and it moves daily - a number embedded today misleads next month. Having the owner type today's price each time retreats the tool to exactly the boundary where machines are reliable and humans are not (nobody holds all the coefficients in their head, and busy days breed slips) while humans are reliable where machines are not (they saw today's prices). The condition factors follow the same logic: every store's sellable mix and customer base differ - a store that moves premium units and one that moves volume price the same 95%-new handset differently - so factors must be self-calibrated, with the preset set doing nothing but guiding the first calibration.

Three result lines instead of one number mirrors the actual rhythm of a buy-in negotiation. The opening offer is where talks start (with headroom left), the ceiling is the quiet bottom line, and the listing price is the machine's destination once refurbished - each number plays its own role in one conversation. Showing opening and ceiling together spares the owner from memorizing the line while negotiating; and displaying the whole formula, read-aloud-able, exists because trust in buy-in quotes comes from "let me show you the math" - a black-box number only earns "you're lowballing me".

Battery health tiers into three bands with sub-80% auto-charging a replacement because the battery is the single most complained-about item after used-phone sales - a buyer back in two days with a drain complaint costs more than the battery. Folding it into the quote instead of leaving it to after-sales moves this trade's routine loss to the front of the transaction. Slow-sale risk is the owner's three-way pick rather than the tool's judgment, for the same reason as the factors: which models move in this store, the machine doesn't know; the owner does.

Banning any provenance-check feature is a deliberate boundary: serial registration and provenance screening belong to the buy-in SOP, and the moment a tool touches them, it grows the illusion "the tool ran, so the provenance is clean" - a number tool can price a phone; it cannot read intentions. Likewise "precise" and "AI-assessed" are scrubbed from the page: a coefficient calculator advertising precision is setting up the owner who takes it as an authority.

Variables

Variable Description
Condition-factor table What A/B/C/D each multiply by - calibrated to this store's customer base and sales channels; after setting, back-test a few sold units (tool price vs actual deal price) and adjust where the gap runs wide
Refurbishment price table What each item costs - display, battery, etc., at this store's actual supply prices; the fastest-going-stale numbers in the tool, worth re-checking monthly
Negotiation headroom ratio How much give the opening offer leaves below the ceiling - set by the store's own haggling culture, 5-15% common; too much scares sellers off with low opens, too little leaves nothing to concede

used phonesbuy-in pricingsingle-file tool