Files
FreeCADWasmDev/docs/p6/bim-pure-function-module-batch-c9f89274046e18d196486398-runtime.json
wangdequan 9a7c4f0335 Save FreeCAD Web workspace sources and user validation evidence
IFC native binding remains incomplete; preserve accurate test results.
2026-09-15 22:01:58 +08:00

498 lines
18 KiB
JSON

{
"schema": "freecad-web-bim-python-family-module-batch-runtime/v1",
"taskId": "FW-P6-FPA-Y",
"batchId": "c9f89274046e18d196486398",
"module": "BIM",
"tier": "tier-2-pure",
"family": "pure-function",
"status": "pass_with_boundaries",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"dispatcher": "fc_web_dispatch_json",
"route": {
"command": "bim.pythonFamilyBatch",
"native": "freecad-source/src/WebAssembly/FreeCADCoreProbe/BimRuntimeProbe.cpp:fc_web_dispatch_json",
"facade": "web/src/bim-python-family-batch-facade.ts",
"worker": "web/src/bim.worker.ts"
},
"input": {
"cmd": "bim.pythonFamilyBatch",
"args": {
"tier": "tier-2-pure",
"records": [
{
"apiId": "py:BIM:function:getHost",
"name": "getHost",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 841,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:pruneIncluded",
"name": "pruneIncluded",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 861,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:get_architectural_contents",
"name": "get_architectural_contents",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 941,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:survey",
"name": "survey",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 1078,
"disposition": "not_implemented"
}
]
}
},
"inputSha256": "18c364cbe456735b706e191fecbb79eb840e06ef9fab560e63d552b1a21d8986",
"result": {
"ok": true,
"cmd": "bim.pythonFamilyBatch",
"schema": "freecad-web-bim/python-family-batch/v1",
"module": "BIM",
"tier": "tier-2-pure",
"source": "freecad-source",
"records": [
{
"apiId": "py:BIM:function:getHost",
"name": "getHost",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 841,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:pruneIncluded",
"name": "pruneIncluded",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 861,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:get_architectural_contents",
"name": "get_architectural_contents",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 941,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:survey",
"name": "survey",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 1078,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
}
],
"count": 4,
"resourcesReleased": true
},
"resultSha256": "bd1fb67a9c0ff3b198977abaedd1163b3a03bafc89f3568750c6a6029b08ab96",
"replay": {
"equal": true,
"resultSha256": "bd1fb67a9c0ff3b198977abaedd1163b3a03bafc89f3568750c6a6029b08ab96"
},
"facadeWorker": {
"ready": {
"kind": "ready",
"action": "bim.pythonFamilyBatch"
},
"success": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "result",
"requestId": "bim-python-family-batch-success",
"result": {
"ok": true,
"cmd": "bim.pythonFamilyBatch",
"schema": "freecad-web-bim/python-family-batch/v1",
"module": "BIM",
"tier": "tier-2-pure",
"source": "freecad-source",
"records": [
{
"apiId": "py:BIM:function:getHost",
"name": "getHost",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 841,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:pruneIncluded",
"name": "pruneIncluded",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 861,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:get_architectural_contents",
"name": "get_architectural_contents",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 941,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:survey",
"name": "survey",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 1078,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
}
],
"count": 4,
"resourcesReleased": true
}
},
"repeat": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "result",
"requestId": "bim-python-family-batch-repeat",
"result": {
"ok": true,
"cmd": "bim.pythonFamilyBatch",
"schema": "freecad-web-bim/python-family-batch/v1",
"module": "BIM",
"tier": "tier-2-pure",
"source": "freecad-source",
"records": [
{
"apiId": "py:BIM:function:getHost",
"name": "getHost",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 841,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:pruneIncluded",
"name": "pruneIncluded",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 861,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:get_architectural_contents",
"name": "get_architectural_contents",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 941,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:survey",
"name": "survey",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 1078,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
}
],
"count": 4,
"resourcesReleased": true
}
},
"crossModule": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "result",
"requestId": "bim-python-family-batch-cross",
"result": {
"ok": true,
"cmd": "bim.pythonFamilyBatch",
"schema": "freecad-web-bim/python-family-batch/v1",
"module": "BIM",
"tier": "tier-2-pure",
"source": "freecad-source",
"records": [
{
"apiId": "py:Part:method:BuildingPart.getShapes",
"name": "getHost",
"family": "pure-function",
"status": "not_implemented",
"code": "unmatched_source_record",
"message": "BIM API record is not part of this module-scoped adapter",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 841,
"sourceVerified": false,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared"
}
],
"count": 1,
"resourcesReleased": true
}
},
"malformed": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "error",
"requestId": "bim-python-family-batch-invalid",
"error": {
"code": "invalid_request",
"message": "BIM Python family batch envelope is invalid"
}
},
"cancelled": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "error",
"requestId": "bim-python-family-batch-cancel",
"error": {
"code": "cancelled",
"message": "request was cancelled"
}
},
"reset": {
"kind": "reset",
"requestId": "bim-python-family-batch-reset"
},
"traceSha256": "90623ccb4efc77af0a344984bd74804127535e51482a68678f6e6d7c5d19089f"
},
"dispositionCounts": {
"exposed": 0,
"restricted": 0,
"nonportable": 0,
"not_implemented": 4
},
"records": [
{
"apiId": "py:BIM:function:getHost",
"name": "getHost",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 841,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "ea7b74308861b9c50cd915f1854502de33bcdce6cd5f4ff13c0833519b8948e9"
},
{
"apiId": "py:BIM:function:pruneIncluded",
"name": "pruneIncluded",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 861,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "37837824910c4cf744b2f0d5305569525de809c2942259aafa1817b381568586"
},
{
"apiId": "py:BIM:function:get_architectural_contents",
"name": "get_architectural_contents",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 941,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "d7baf613dabb01cb055c563133c520222410ddffd29214a97c8ab8fffeae1c43"
},
{
"apiId": "py:BIM:function:survey",
"name": "survey",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 1078,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "e5054ca1b3cfa501cccda471f4dbda8e983a534863cde6cc42f8a8c5e0d305f5"
}
],
"sourceEvidence": [
{
"apiId": "py:BIM:function:getHost",
"path": "src/Mod/BIM/ArchCommands.py",
"line": 841,
"declaration": "def getHost(obj, strict=True):",
"sha256": "31bc5d1114e2502201bb6f0b8eb4aac87b05ad5dca9f404f484818823f66862b"
},
{
"apiId": "py:BIM:function:pruneIncluded",
"path": "src/Mod/BIM/ArchCommands.py",
"line": 861,
"declaration": "def pruneIncluded(objectslist, strict=False, silent=False):",
"sha256": "31bc5d1114e2502201bb6f0b8eb4aac87b05ad5dca9f404f484818823f66862b"
},
{
"apiId": "py:BIM:function:get_architectural_contents",
"path": "src/Mod/BIM/ArchCommands.py",
"line": 941,
"declaration": "def get_architectural_contents(",
"sha256": "31bc5d1114e2502201bb6f0b8eb4aac87b05ad5dca9f404f484818823f66862b"
},
{
"apiId": "py:BIM:function:survey",
"path": "src/Mod/BIM/ArchCommands.py",
"line": 1078,
"declaration": "def survey(callback=False):",
"sha256": "31bc5d1114e2502201bb6f0b8eb4aac87b05ad5dca9f404f484818823f66862b"
}
],
"resources": {
"resourcesReleased": true,
"documentMutation": false
},
"artifacts": {
"wasm": {
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.wasm",
"sha256": "4b4cf1f0041266f1ecc3d7db048fc1c163d76b81bdbe34ff30985bf25a907531"
},
"loader": {
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.js",
"sha256": "84640d5bc261baf9b54b196d451025d38e0d868d69f358cdec100bac88d5e117"
},
"data": {
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.data",
"sha256": "99a3d54021b0f172b0b29ee92b55a47c179afaa2ffe92f1c4222906bc72daf19"
}
},
"boundaries": [
"BIM records are exposed only where the native FreeCAD Python fixture returned typed values; GUI-only and unsupported records remain explicit boundaries.",
"The repeat response is served by the native dispatcher cache after the first source execution to preserve FreeCAD type-registration safety.",
"All statuses, values and hashes derive from compiled FreeCAD through fc_web_dispatch_json; JavaScript only validates and transports the batch envelope."
]
}