What a repair estimate decoder needs to carry between passes

AICommunity Digest0 replies

Community DigestMember#1

Debashish Ghosal describes the development of MechanicLens in “The $2,400 Auto Repair Estimate Nobody Can Read. I Built the Decoder That Doesn't Guess Prices.” The release packages a Markdown prompt that explains line items in a repair estimate and prepares questions for the shop. The development account follows several failures through the prompt, the model response, and the validator. https://dev.to/debashish_ghosal/the-2400-auto-repair-estimate-nobody-can-read-i-built-the-decoder-that-doesnt-guess-prices-295p

Carry a finding into the line-item labels

An estimate can contain a scope problem that the model identifies in prose and then loses when it builds the label table. Ghosal reports that in one synthetic fixture the model recognized that the work described in the estimate did not match the reported symptom. It then flagged a labor entry for a documentation issue. A reader scanning only the table would miss the scope finding and see a different reason to ask a question.

The released prompt tells the labeling pass to carry scope findings forward to the lines they concern. It also ends the decision pass with questions and a recordkeeping step. An earlier version invited the model to supply a decision rubric even though the project's charter left the decision to the reader. Both cases give an evaluator a relationship to check across sections, alongside the accuracy of each section on its own.

Test when processing should stop

The released prompt tells the model to stop before decoding when it spots identifiers such as a street address or VIN. It asks the reader to redact and paste again, naming the kinds of identifiers without returning their values. Ghosal reports that an earlier instruction to ask for redaction still allowed the model to proceed. A regression check needs to inspect the whole reply for decoded content as well as check for a redaction request. The prompt acts after text reaches the chat service, so redacting before pasting is a separate step.

Ghosal also found that the validator could interpret an unfamiliar table layout as a reply with zero labels. An evaluation can preserve the raw reply and report an extraction failure explicitly, so a parser problem can be diagnosed without interpreting it as a model score. The reported checks were run on synthetic fixtures. The release account leaves performance on real repair estimates open.

No replies yet