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 leverages numpy-stl's mass property utilities to load STL meshes and report volume, center of gravity, inertia tensor, and density-adjusted mass. Confirms the implementation leans on the library instead of reimplementing geometry math.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Mesh loading",
"description": "Uses numpy-stl Mesh.from_file (or equivalent) to load ASCII and binary STL inputs instead of hand-parsing triangles.",
"max_score": 15
},
{
"name": "Unit density props",
"description": "Obtains volume, center of gravity, and inertia tensor from mesh.get_mass_properties() (or BaseMesh.get_mass_properties) to serve the unit-density case rather than manual integration.",
"max_score": 30
},
{
"name": "Density override",
"description": "When density is provided, invokes mesh.get_mass_properties_with_density(density) or scales the get_mass_properties() outputs directly as documented, ensuring mass and inertia grow proportionally while the center stays unchanged.",
"max_score": 25
},
{
"name": "Tensor fidelity",
"description": "Preserves the package-provided 3x3 inertia tensor orientation (row-major, symmetric) without reshaping, truncating, or reordering axes.",
"max_score": 15
},
{
"name": "Report sourcing",
"description": "Formats output using the values returned by numpy-stl mass property calls (not hardcoded constants), keeping the linkage between computed metrics and the user-facing report.",
"max_score": 15
}
]
}