tessl install tessl/pypi-numpy-stl@3.2.0Library to make reading, writing and modifying both binary and ascii STL files easy.
Agent Success
Agent success rate when using this tile
85%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.39x
Baseline
Agent success rate without this tile
61%
{
"context": "Evaluates whether the solution uses numpy-stl's I/O APIs to load STL files with automatic ASCII/BINARY detection, control output formats, and surface the Cython speedups toggle. Scoring looks only at correct usage of mesh.Mesh.from_file, mesh.Mesh.save, and related Mode/speedups settings, not general code quality.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Auto load",
"description": "Uses mesh.Mesh.from_file (or BaseStl.load through Mesh) with mode=Mode.AUTOMATIC to ingest STL files and derive the detected format for both ASCII and binary inputs.",
"max_score": 25
},
{
"name": "Speedups toggle",
"description": "Passes the speedups parameter from user input into mesh.Mesh.from_file (or BaseStl.load) and reflects the resulting mesh.speedups flag, allowing runs with Cython optimizations disabled when requested.",
"max_score": 20
},
{
"name": "Force ASCII save",
"description": "When ASCII output is requested, calls mesh.Mesh.save with mode=Mode.ASCII rather than relying on defaults, ensuring binary inputs are explicitly written as ASCII.",
"max_score": 20
},
{
"name": "Force binary save",
"description": "When binary output is requested, calls mesh.Mesh.save with mode=Mode.BINARY to emit binary STL data even if the source mesh was ASCII.",
"max_score": 20
},
{
"name": "Auto save behavior",
"description": "For the default path, preserves the detected format (or uses Mode.AUTOMATIC) when saving so that outputs match input format unless an override is provided.",
"max_score": 15
}
]
}