N NoBullshit.wiki 中文

Livestock farm owner-operator: eyeball-weight vs scale-weight settlement comparison tool, single file - buyers quote two ways (an on-farm eyeball-weight flat price, or a lower scale price settled on actual weight with deductions one by one), and mental math at the loading chute is always wrong: the eyeball price looks handsome until actual weight and shrink eat the premium back; the tool takes both quotes with full parameters, computes net price per pound on each side and the whole-load difference, spells every deduction out as cents per pound, and solves for the breakeven point - actual weight must hit this percentage of estimated weight for the two offers to tie, which is the one number worth having at the table

Works with:Claude / GPT-4 classCategories:Livestock FarmLevel:Intermediate Updated

You are a coding agent. Build a single-file HTML "eyeball vs scale
settlement comparison tool" for a livestock farm owner to use at
the loading chute on marketing day. Runs locally, no network, no
external dependencies.

Context (design to this; do not build a general ledger): live
animal buyers commonly quote two ways - Offer A, eyeball weight:
the buyer walks the pen, estimates average weight, quotes a price
per pound, settles on head count x estimated average x price,
loads on the spot; Offer B, scale weight: hauled to a weighbridge,
quoted lower per pound, settled on actual weight, then deductions
land one by one (transit shrink, moisture/sort, injuries per head
x per-head charge, who pays freight). Which side is truly higher
cannot be computed mentally at the chute - the eyeball price looks
good until light actual weight and deductions eat the premium.
This tool does exactly one thing: put both offers on the same
yardstick - net price per pound - and compare.

Entry, two sides (every field blank; preset no industry-standard
numbers):
Offer A (eyeball): head count, estimated average weight (lbs or
   kg per head), quoted price per unit, any loading fee or
   commission
Offer B (scale): quoted price per unit, projected or measured
   actual total weight, deductions table (name + amount or
   percent, add rows as needed: transit shrink / sort /
   injured head count x per-head charge / freight if it falls on
   me), plus weighbridge fee and both-way trucking if I pay them

Computation and output (every formula visible on the page, no
black box):
- Side by side: gross, deductions total, net proceeds, net price
  per unit (A divided by total estimated weight, B divided by
  total actual weight - each side on its own denominator, with
  the comparison row showing the net dollar difference on the
  same load of animals)
- Whole-load difference: which side nets more and by how much,
  direction marked
- Deduction breakdown: each B-side deduction translated into
  "cents per pound eaten," sorted largest first - negotiate the
  biggest line first, not the price in general
- Breakeven point: actual total weight must reach this percentage
  of estimated total weight for the two offers to tie exactly.
  This is the tool's core output - when the buyer says "the scale
  price is just as good," the breakeven is the number to check
  him against on the spot; if predicted actual weight sits below
  the breakeven, B's discount is fictional
- Sensitivity line: how much the whole-load dollar amount moves
  for every 1 percentage point that actual weight misses
  estimated - makes the cost of optimistic eyeballing tangible

Checks and red flags:
- Red text when B-side deductions exceed a share-of-gross warning
  line I set
- Red text when the actual/estimated weight ratio falls below a
  line I set: "eyeball may be inflated - ask for a re-estimate
  or switch to scale"
- Missing required field means no computation - say which field,
  never substitute zero

Implementation:
- Single-file HTML, inline CSS and JS, opens and works in a
  phone browser (the chute is a phone scenario), no network
  requests
- Nothing persists; refresh clears. Ship one preset example
  (three or four deductions, an actual weight below breakeven)
  so red text is visible on first open
- Large number inputs, both offers viewable side by side - this
  is used standing up

You must not:
- Preset any "industry-standard" shrink or sort percentages -
  every buyer deducts differently; a preset number negotiates on
  the user's behalf
- Pull market prices or quote them - this tool compares the two
  offers in front of me, nothing else
- Pick a side or emit a "recommended deal" - it computes two
  numbers; whether to sell and how hard to push is a human call

Why it is written this way

The deception in a two-sided quote lives entirely in the mismatched denominators: the handsome eyeball price multiplies a guessed weight, the lower scale price multiplies an actual weight, and the scale side trails a string of deductions. Under pressure at the chute, people compare unit prices directly - "8.20 beats 8.00" - which is exactly the illusion the eyeball offer is priced to create. The tool's first duty is to force both sides onto one yardstick, net price per pound, with the conversion fully on the page: which number divides which, how many cents each deduction eats. That is not just anti-black-box hygiene - it hands the owner an algorithm they can recite out loud, and only an argument you can say out loud carries weight at a chute-side negotiation.

The breakeven point is the soul of the tool. It converts "is his eyeball honest," which cannot be verified on the spot, into "actual weight must reach 97 percent of estimated for the two offers to tie," which can: ask for a re-estimate before loading, or check the scale ticket afterward. It also prices your tolerance in advance - breakeven at 95 percent with a buyer you trust, the scale side is fine; breakeven at 99 percent, and B's discount exists only on paper. That number is worth more than the tool's "offer A nets $400 more," because price is negotiable at the chute and the breakeven hands you the anchor to negotiate from.

The deduction breakdown translates each line into cents-per-pound and sorts largest first, because deduction negotiations have a real structure: they get picked apart line by line, never as a lump. "Your shrink is outrageous" is a mood; "transit shrink alone eats six cents a pound - more than the entire price gap" is a sentence - and going after the biggest single deduction usually beats asking for a blanket price bump. Presetting any "standard" shrink percentage is banned because buyers deduct wildly differently; a preset number quietly accepts terms the owner never agreed to.

The phone scenario and no-persistence rule come straight from the setting: at the chute there is no desk and no second chance - numbers must be entered once and both offers compared instantly - and settlement figures are sensitive, best left to evaporate on refresh. The tool stops after producing its two numbers. Whether to sell, when to concede, whether to demand the scale - those belong to the person standing next to the pen.

Variables

Variable Notes
Deduction warning line Deductions as a share of B's gross that triggers red text - set from your own history of being deducted on; with no history, start loose and tighten after a few loads
Weight-ratio threshold The actual/estimated ratio below which "eyeball may be inflated" fires - set by how much you trust this particular buyer; a first-time buyer deserves a conservative line
Offer A extras Loading fees, commission, "hired catcher" charges that belong on the A side too - omitting them flatters A, and the comparison only works when both sides are fully costed

marketing settlementweight estimationsingle-file tool