Skip to main content
Loading navigation
Back to prompt library

Build an IFC Closeout Facility Handover Reconciler — implementation

Linked challenge: Build an IFC Closeout Facility Handover Reconciler

Prompt source

implementation90 lines11 sectionsNo variables1 code block
## Build
Extract asset attributes from IFC models using IfcOpenShell schema specifications to verify closeout readiness. Flag missing operations and maintenance attributes prior to FM system import.

## User
Handover Commissioning Manager

## Workflow
1. Parse IFC model entities and extract facility equipment asset schedules.
2. Check manufacturer, serial number, and maintenance frequency against handover requirements.
3. Classify equipment missing warranty or operation records into non-conformance buckets.
4. Export audited asset register with approval recommendations for facilities management.

## Interface
Browser data grid displaying IFC equipment tag status with compliance filter and CSV export.

## Data
Use open-access IFC4 architectural and MEP sample files from buildingSMART repository.
Starter examples below are synthetic. They are not downloaded records.

## Source
[IfcOpenShell](https://raw.githubusercontent.com/IfcOpenShell/IfcOpenShell/v0.8.0/README.md)
Uses IfcOpenShell ecosystem tools ifcfm and ifccsv for extracting IFC data against FM handover requirements.

## Tools
agno, pandas, fastapi.
Agno provides lightweight agent orchestration to coordinate parsing and tabular asset reconciliation.
Standard LLM with fast table reasoning and deterministic categorization capabilities.

## 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
- Processes equipment instances from IFC schemas IFC2x3 and IFC4.
- Identifies missing warranty expiration date and maintenance interval fields.
- Produces structured reconciliation report with percentage readiness score.

## Starter Examples
```json
[
  {
    "input": {
      "model_version": "IFC4",
      "assets": [
        {
          "guid": "2X$Y792",
          "name": "AHU-Roof-01",
          "ifc_type": "IfcAirHandlingUnit",
          "properties": {
            "Manufacturer": "VentCorp",
            "SerialNumber": "SN-98213",
            "WarrantyEnd": "2029-12-31",
            "MaintenanceIntervalMonths": 6
          }
        }
      ]
    },
    "expected_output": {
      "handover_status": "READY",
      "compliance_score": 1,
      "flagged_assets": []
    }
  },
  {
    "input": {
      "model_version": "IFC4",
      "assets": [
        {
          "guid": "3Z#K114",
          "name": "PUMP-CHW-02",
          "ifc_type": "IfcPump",
          "properties": {
            "Manufacturer": "HydroFlow",
            "SerialNumber": null,
            "WarrantyEnd": null,
            "MaintenanceIntervalMonths": null
          }
        }
      ]
    },
    "expected_output": {
      "handover_status": "ACTION_REQUIRED",
      "compliance_score": 0.25,
      "flagged_assets": [
        {
          "guid": "3Z#K114",
          "missing_attributes": [
            "SerialNumber",
            "WarrantyEnd",
            "MaintenanceIntervalMonths"
          ]
        }
      ]
    }
  }
]
```

## Safety
Asset readiness logs are informational drafts; actual asset warranty activation remains subject to human signature.
Use mock external writes. Require human review before any real deployment.