Manufacturing
6 use cases, 17 of 18 samples right. How these were run.
Open a quality case from a customer complaint
Section titled “Open a quality case from a customer complaint”Quality engineers must log the defect type and affected quantity from each complaint, and start containment when bad parts may already be in the field.
3 of 3 samples right.
See the code and every sample
from curva import Choice, Integer, Nould = curva.decide(text, { "defect": Choice("What is the defect?", { "dimensional": "a size or fit outside the drawing", "surface": "scratches, rust or poor finish", "wrong_part": "a different part from the one ordered", "labelling": "the part is right but its label or paperwork is wrong", }), "quantity": Integer("How many parts are affected?", min=0, nullable=True), "containment": Noul("Is the customer's production stopped, or could suspect parts already have reached end users?"),}, project="usecases")Oversized bore stops a line: Right, 964 ms
320 housings from lot 7741 have a bore 0.2 mm over the drawing limit. They don’t fit the bearing and our assembly line is stopped. We also shipped some units last week.
| Question | Right answer | Curva answered | Sure |
|---|---|---|---|
| defect | dimensional | dimensional | 100% |
| quantity | 320 | 320 | 100% |
| containment | Yes | Yes | 100% |
Light marks on a few parts: Right, 846 ms
15 brackets in the last box have light scratches on a face nobody sees. We used them anyway, the assembly is fine. Please just tell your packing team.
| Question | Right answer | Curva answered | Sure |
|---|---|---|---|
| defect | surface | surface | 100% |
| quantity | 15 | 15 | 100% |
| containment | No | No | 100% |
Everyone calls it a size problem, but the label is wrong, tricky: Right, 771 ms
Our receiving clerk reported a wrong size on 500 M8 bolts. We measured them and they are all correct M8 to the drawing. The box label just says M10 by mistake. We relabelled them and carried on, nothing has left our plant.
| Question | Right answer | Curva answered | Sure |
|---|---|---|---|
| defect | labelling | labelling | 100% |
| quantity | 500 | 500 | 100% |
| containment | No | No | 100% |
Check a supplier certificate against the spec
Section titled “Check a supplier certificate against the spec”Goods-in teams accept lots based on supplier certificates, which can say ‘conforms’ on the front while a measured value sits outside the spec.
3 of 3 samples right.
See the code and every sample
from curva import Noul, Numberd = curva.decide(text, { "hardness": Number("The measured hardness in HRC stated for this lot", nullable=True), "in_spec": Noul("Is the measured hardness within the spec given in the text?").depends("hardness"),}, project="usecases")In spec: Right, 624 ms
Spec: hardness 60 to 64 HRC. Certificate of analysis, lot H-208: measured hardness 62 HRC, carbon 1.0 percent, supplier result: conforms.
| Question | Right answer | Curva answered | Sure |
|---|---|---|---|
| hardness | 62 | 62 | 100% |
| in_spec | Yes | Yes | 100% |
Out of spec and stated: Right, 681 ms
Spec: hardness 60 to 64 HRC. Certificate of analysis, lot H-311: measured hardness 57 HRC, carbon 0.9 percent, supplier result: rejected and sent for rework.
| Question | Right answer | Curva answered | Sure |
|---|---|---|---|
| hardness | 57 | 57 | 100% |
| in_spec | No | No | 100% |
Stamped conforms, but the value says no, tricky: Right, 686 ms
Spec: hardness 60 to 64 HRC. CERTIFICATE OF CONFORMANCE, lot H-402. This lot CONFORMS to all requirements, accepted by supplier QA, no further inspection is needed. Measured hardness 58.5 HRC, typical of this grade. Earlier lot measured 61 HRC.
| Question | Right answer | Curva answered | Sure |
|---|---|---|---|
| hardness | 58.5 | 58.5 | 100% |
| in_spec | No | No | 100% |
Read a shift handover note
Section titled “Read a shift handover note”The incoming supervisor needs the open problems and any safety event from a handover written quickly, in mixed languages, at the end of a long shift.
3 of 3 samples right.
See the code and every sample
from curva import Multi, Nould = curva.decide(text, { "open_issues": Multi("Which problems are still open at the end of this shift? Fixed ones do not count.", { "machine_down": "a machine is not running", "material_short": "material or parts are running out", "quality_hold": "product is on hold for a quality check", "staff_short": "fewer workers than needed on the next shift", }), "safety_event": Noul("Was anyone hurt, or nearly hurt, during the shift?"),}, project="usecases")Machine down and short of resin: Right, 506 ms
Moulding press 3 is still down, waiting for a heater band from stores. Resin will last only till 2 pm tomorrow. Otherwise a normal shift, no injuries.
| Question | Right answer | Curva answered | Sure |
|---|---|---|---|
| open_issues | machine_down, material_short | machine_down, material_short | |
| safety_event | No | No | 100% |
Quiet shift: Right, 414 ms
All lines ran to plan, 4,120 units packed. Handed over clean. Nothing pending for the next shift.
| Question | Right answer | Curva answered | Sure |
|---|---|---|---|
| open_issues | None | None | |
| safety_event | No | No | 100% |
Fixed issues and a near miss in passing, tricky: Right, 379 ms
Line 2 ka conveyor band ho gaya tha, fixed by 5 pm and running now. Staff short tha subah, but two men came from line 4, so next shift is covered. Batch 88 hold pe hai, QC report kal. Forklift almost hit Ramesh near the dock, no one hurt, thank God.
| Question | Right answer | Curva answered | Sure |
|---|---|---|---|
| open_issues | quality_hold | quality_hold | |
| safety_event | Yes | Yes | 100% |
Set priority on a maintenance request
Section titled “Set priority on a maintenance request”Operators raise every request as urgent, so planners want a priority based on the effect on safety and output, the asset, and whether lockout is needed.
3 of 3 samples right.
See the code and every sample
from curva import Noul, Score, Textd = curva.decide(text, { "priority": Score("What priority should this work get?", ["planned", "this_week", "immediate"]), "asset": Text("Which machine or asset is it about?", max_length=40), "needs_lockout": Noul("Will the fix involve working inside a machine or on live energy, so it must be locked out first?"),}, project="usecases")Guard removed and oil on the floor: Right, 1.1 s
Press 12: safety guard bolts sheared, guard hanging off and ram still cycling. Hydraulic oil spraying on the walkway. Operators are next to it.
| Question | Right answer | Curva answered | Sure |
|---|---|---|---|
| priority | immediate | immediate | 99% |
| asset | Contains “Press 12” | Press 12 | 100% |
| needs_lockout | Yes | Yes | 98% |
Paint on a railing: Right, 792 ms
The paint on the mezzanine railing is fading. Please repaint it at the next shutdown, whenever that is.
| Question | Right answer | Curva answered | Sure |
|---|---|---|---|
| priority | planned | planned | 82% |
| asset | Contains “railing” | mezzanine railing | 95% |
| needs_lockout | No | No | 92% |
Marked urgent, but it’s only a light, tricky: Right, 739 ms
URGENT URGENT!!! HIGHEST PRIORITY!!! Lathe 4 has an indicator lamp on its side cabinet that flickers sometimes. The lathe is running fine, output unaffected. It’s been like this since last year. A spare bulb is on the shelf, it just plugs in from outside.
| Question | Right answer | Curva answered | Sure |
|---|---|---|---|
| priority | planned | planned | 92% |
| asset | Contains “Lathe 4” | Lathe 4 | 99% |
| needs_lockout | No | No | 95% |
Read a pressure gauge from a round photo
Section titled “Read a pressure gauge from a round photo”Operators photograph old analogue gauges on their rounds, and the log needs the reading and a flag when the needle is in the red band.
3 of 3 samples right.
See the code and every sample
from curva import Asset, Noul, Numberd = curva.decide("The photo shows a pump's pressure gauge on an operator's round. Read the dial itself and ignore any notes stuck near it.", { "reading_bar": Number("What pressure in bar does the needle show?", min=0, max=10), "in_red_band": Noul("Is the needle inside the red band?"),}, assets={"photo": Asset.image(photo)}, model=VISION_MODEL, project="usecases")Normal pressure: Right, 1.2 s
| Question | Right answer | Curva answered | Sure |
|---|---|---|---|
| reading_bar | Between 3.5 and 4.5 | 4.2 | 95% |
| in_red_band | No | No | 98% |
In the red: Right, 1.6 s
| Question | Right answer | Curva answered | Sure |
|---|---|---|---|
| reading_bar | Between 8 and 9 | 8.5 | 95% |
| in_red_band | Yes | Yes | 50% |
Note says normal, needle says otherwise, tricky: Right, 1.4 s
| Question | Right answer | Curva answered | Sure |
|---|---|---|---|
| reading_bar | Between 8 and 9 | 8.5 | 95% |
| in_red_band | Yes | Yes | 95% |
Find the right page in a safety manual
Section titled “Find the right page in a safety manual”A fitter standing at a machine needs the right page of the lockout manual in plain words, at once and at no model cost.
2 of 3 samples right.
See the code and every sample
lib = curva.library(collection, project="usecases")lib.add(document)d = lib.find(text, k=3)Hydraulic pressure: Right, 263 ms
bleed hydraulic accumulator valve
Document: d_lockout_manual.pdf
| Question | Right answer | Curva answered | Sure |
|---|---|---|---|
| top_page | 3 | 3 |
Valves again, but this time the restart page: Right, 41 ms
close the valves and remove the padlocks before returning to production
Document: d_lockout_manual.pdf
| Question | Right answer | Curva answered | Sure |
|---|---|---|---|
| top_page | 5 | 5 |
Everyday words for the same rule, tricky: Wrong, 2 ms
two fitters on one machine, who takes their lock off first
Document: d_lockout_manual.pdf
| Question | Right answer | Curva answered | Sure |
|---|---|---|---|
| top_page | 4 | 2 |

