Build an IFC Operations Handover COBie Property Reconciler — implementation
Linked challenge: Build an IFC Operations Handover COBie Property Reconciler
Prompt source
implementation85 lines11 sectionsNo variables1 code block
## Build
Inspect Industry Foundation Classes models using IfcOpenShell to audit facility maintenance properties before operations handover. Pinpoint components missing manufacturer, serial number, or installation dates.
## User
Facility operations manager
## Workflow
1. Load IFC4 facility model assets using IfcOpenShell schema parsing routines.
2. Filter mechanical, electrical, and plumbing elements by classification and property sets.
3. Verify each target asset contains mandatory operational attributes including manufacturer, model, and serial number.
4. Produce a gap report highlighting defective property sets and format a draft maintenance intake record.
## Interface
Web table listing IFC elements, COBie compliance badges, missing field callouts, and an action to export flagged entities to CSV.
## Data
Use open-source synthetic IFC sample files from the IfcOpenShell repository or mock IFC step files with deliberate property set omissions.
Starter examples below are synthetic. They are not downloaded records.
## Source
[IfcOpenShell](https://raw.githubusercontent.com/IfcOpenShell/IfcOpenShell/v0.8.0/README.md)
Leverages IfcOpenShell Python and ifcfm parsing concepts to extract element property sets and verify handover parameters.
## Tools
mastra-ai, ifcopenshell, fastapi.
Mastra AI provides composable agent workflows and deterministic schema validation steps suited for multi-stage BIM asset property auditing.
API-hosted LLM with reliable schema serialization and domain reasoning for architectural metadata.
## Deliverables
Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.
## Acceptance
- Correctly identifies IFC MEP entities and reads associated property sets.
- Flags any equipment entity lacking mandatory manufacturer or warranty serial numbers.
- Calculates an overall asset handover completeness percentage score.
## Starter Examples
```json
[
{
"input": {
"model_id": "IFC-BLD-01",
"assets": [
{
"element_id": "Pump-101",
"type": "IfcPump",
"properties": {
"Manufacturer": "Grundfos",
"ModelReference": "Magna3",
"SerialNumber": "SN-849204"
}
}
]
},
"expected_output": {
"total_assets": 1,
"compliant_assets": 1,
"compliance_score_percent": 100,
"missing_fields": []
}
},
{
"input": {
"model_id": "IFC-BLD-02",
"assets": [
{
"element_id": "Boiler-202",
"type": "IfcBoiler",
"properties": {
"Manufacturer": "Viessmann"
}
}
]
},
"expected_output": {
"total_assets": 1,
"compliant_assets": 0,
"compliance_score_percent": 0,
"missing_fields": [
{
"element_id": "Boiler-202",
"fields": [
"ModelReference",
"SerialNumber"
]
}
]
}
}
]
```
## Safety
Does not commit updates to live computerized maintenance management software without manual sign-off by a facility supervisor.
Use mock external writes. Require human review before any real deployment.