Files
FreeCADWasmDev/docs/p6/bim-pure-function-module-batch-1cdd9ff8f8a9bac4bf7d00c8-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": "1cdd9ff8f8a9bac4bf7d00c8",
"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:findWidget",
"name": "findWidget",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/bimcommands/BimViews.py",
"sourceLine": 636,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:show",
"name": "show",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/bimcommands/BimViews.py",
"sourceLine": 648,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:getAllItemsInTree",
"name": "getAllItemsInTree",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/bimcommands/BimViews.py",
"sourceLine": 755,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:create_test_model",
"name": "create_test_model",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/bimtests/fixtures/BimFixtures.py",
"sourceLine": 46,
"disposition": "not_implemented"
}
]
}
},
"inputSha256": "47b40da60b9a44236f148b5aac2ba1a77a67c3482ac759e2ba37f1e1d2292329",
"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:findWidget",
"name": "findWidget",
"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/bimcommands/BimViews.py",
"sourceLine": 636,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:show",
"name": "show",
"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/bimcommands/BimViews.py",
"sourceLine": 648,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:getAllItemsInTree",
"name": "getAllItemsInTree",
"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/bimcommands/BimViews.py",
"sourceLine": 755,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:create_test_model",
"name": "create_test_model",
"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/bimtests/fixtures/BimFixtures.py",
"sourceLine": 46,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
}
],
"count": 4,
"resourcesReleased": true
},
"resultSha256": "f4658a01f622a6ebe8ad1f3c0d5eafad4838cc7b8b17e44c06c7df5c0550b4fd",
"replay": {
"equal": true,
"resultSha256": "f4658a01f622a6ebe8ad1f3c0d5eafad4838cc7b8b17e44c06c7df5c0550b4fd"
},
"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:findWidget",
"name": "findWidget",
"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/bimcommands/BimViews.py",
"sourceLine": 636,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:show",
"name": "show",
"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/bimcommands/BimViews.py",
"sourceLine": 648,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:getAllItemsInTree",
"name": "getAllItemsInTree",
"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/bimcommands/BimViews.py",
"sourceLine": 755,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:create_test_model",
"name": "create_test_model",
"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/bimtests/fixtures/BimFixtures.py",
"sourceLine": 46,
"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:findWidget",
"name": "findWidget",
"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/bimcommands/BimViews.py",
"sourceLine": 636,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:show",
"name": "show",
"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/bimcommands/BimViews.py",
"sourceLine": 648,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:getAllItemsInTree",
"name": "getAllItemsInTree",
"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/bimcommands/BimViews.py",
"sourceLine": 755,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:create_test_model",
"name": "create_test_model",
"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/bimtests/fixtures/BimFixtures.py",
"sourceLine": 46,
"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": "findWidget",
"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/bimcommands/BimViews.py",
"sourceLine": 636,
"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": "b881645b05617af04f656b74832229b0b860d15f487159a87c22e723ff348570"
},
"dispositionCounts": {
"exposed": 0,
"restricted": 0,
"nonportable": 0,
"not_implemented": 4
},
"records": [
{
"apiId": "py:BIM:function:findWidget",
"name": "findWidget",
"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/bimcommands/BimViews.py",
"sourceLine": 636,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "40e31de0adab334df42a372e6fd9c981047193cfc0c5a2b1197d0bab61e7c502"
},
{
"apiId": "py:BIM:function:show",
"name": "show",
"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/bimcommands/BimViews.py",
"sourceLine": 648,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "a9c89d05cf877bf0346113b06bf49dd190345d6e8d3b5465ccc92fb03b54cb8b"
},
{
"apiId": "py:BIM:function:getAllItemsInTree",
"name": "getAllItemsInTree",
"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/bimcommands/BimViews.py",
"sourceLine": 755,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "dc9ba2bc3db805236144a9910c9ac9430fa3e311e68a5862ebb96bba6df3e669"
},
{
"apiId": "py:BIM:function:create_test_model",
"name": "create_test_model",
"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/bimtests/fixtures/BimFixtures.py",
"sourceLine": 46,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "392d44181c3bb0d435119329e76e544e756b94efd0161690886206d60f53dab9"
}
],
"sourceEvidence": [
{
"apiId": "py:BIM:function:findWidget",
"path": "src/Mod/BIM/bimcommands/BimViews.py",
"line": 636,
"declaration": "def findWidget():",
"sha256": "4242a1f0c9506e9b6054e72570dd4dec336ddd938594a6a4b732656032140183"
},
{
"apiId": "py:BIM:function:show",
"path": "src/Mod/BIM/bimcommands/BimViews.py",
"line": 648,
"declaration": "def show(item, column=None):",
"sha256": "4242a1f0c9506e9b6054e72570dd4dec336ddd938594a6a4b732656032140183"
},
{
"apiId": "py:BIM:function:getAllItemsInTree",
"path": "src/Mod/BIM/bimcommands/BimViews.py",
"line": 755,
"declaration": "def getAllItemsInTree(tree_widget):",
"sha256": "4242a1f0c9506e9b6054e72570dd4dec336ddd938594a6a4b732656032140183"
},
{
"apiId": "py:BIM:function:create_test_model",
"path": "src/Mod/BIM/bimtests/fixtures/BimFixtures.py",
"line": 46,
"declaration": "def create_test_model(document, **overrides):",
"sha256": "d963aadd248223f453aefe635648bac72f3a9a96307a3604c36a14a4f9f7c1ba"
}
],
"resources": {
"resourcesReleased": true,
"documentMutation": false
},
"artifacts": {
"wasm": {
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.wasm",
"sha256": "388b0a9147f44500693327cd32313afd7b89812272027a29f44d40f4c0d582e2"
},
"loader": {
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.js",
"sha256": "269edc966923bf61f132981211b4a7920494a48e3116cad3949b88ab3670172a"
},
"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."
]
}