整合求解器活动监控与步长回归证据

同步远端 PNL0003 诊断和大采样网格能力,语义合并活动感知的 60 秒真停滞判定与旧后端 15 分钟兼容兜底。

纳管热路径优化、15 单元运行证据、浏览器与 API 报告,并补充北京时间更新日志和遗留问题。
This commit is contained in:
lujingze committed 2026-08-19 16:24:31 +00:00
1 parent c19cf77aee
commit e18399c022
46 files changed
+181589 -170

No files matched your search

@@ -0,0 +1,86 @@
{
"schemaVersion": 1,
"generatedAt": "2026-08-18T19:06:44Z",
"purpose": "Compact evidence for the real streaming API path and activity-aware browser watchdog.",
"source": {
"xmlPath": "tests/data/test-mql-8.xml",
"xmlSha256": "0a2d9331df9eb5974daec25a61c1238ba32b1742d933ffc8b16ce316c5627b0b",
"jsonPath": "tests/data/test-mql-8.json",
"jsonSha256": "b44bf540ccd1c293fe2af2b9b9052b540abf83961ad955a0f6a4ab40fbe0bb18"
},
"request": {
"endpoint": "/api/system-xml/simulate-stream",
"simulationId": "diag-opt00-api-optimized-20260818",
"method": "BDF",
"tStart": 0.0,
"tStop": 0.2,
"sampleStep": 0.01,
"maxStep": 0.001
},
"response": {
"httpStatus": 200,
"contentType": "application/x-ndjson",
"phase": "completed",
"success": true,
"simulatedUntil": 0.2,
"sampleCount": 21,
"strictlyIncreasingTimes": true,
"allNumericSeriesFinite": true,
"progressEventCount": 255,
"resultEventCount": 1,
"integrationSeconds": 146.675315209,
"totalSeconds": 147.298753857,
"traceFirstProgressToResultSeconds": 147.481,
"integrationTotals": {
"nfev": 6318,
"njev": 331,
"nlu": 1060,
"acceptedStepCount": 2113,
"solverStartCount": 2,
"stateTransitionCount": 0,
"recoverableRetryCount": 0
}
},
"activityWindow": {
"maximumNonHeartbeatProgressGapSeconds": 57.185072,
"start": {
"wallTimeUtc": "18:46:24.877853",
"simulatedTime": 0.048633224495,
"activitySequence": 32081,
"acceptedStepSequence": 358,
"rhsCallCount": 7840
},
"end": {
"wallTimeUtc": "18:47:22.062925",
"simulatedTime": 0.049248430694,
"activitySequence": 68103,
"acceptedStepSequence": 1743,
"rhsCallCount": 16153
},
"interveningHeartbeatCount": 11,
"maximumInterEventGapSeconds": 5.074026,
"heartbeatActivityAdvanced": true,
"acceptedTimeAdvancedInsideThrottledProgressWindow": true,
"oldFrontendWouldUseAcceptedProgressOnly": true,
"activityAwareFrontendWouldCancel": false
},
"workerComparison": {
"reportPath": "tests/baselines/simulation/test_mql_8/runs/2026-08-18-production-slow-region-exact-v1-0.2.json",
"reportSha256": "34268e5864f33709018d7cbe631654d2a835b10dd252886509244f913ae18559",
"reportBytes": 437852,
"finalValuesEqual": true,
"integrationCountersEqual": true,
"numericalDiagnosticsEqual": true
},
"rawCapture": {
"retainedOutsideRepository": true,
"ndjsonSha256": "52bcca58147e1c78e5137d7134f79d21b314092156e0de0e9c3ebb58b40fd616",
"traceSha256": "8a26a349b40556811f9a0f151ebe801d6a126c782c030fe55cfb23c9630a8a90",
"headersSha256": "b5baf9b3d5ef1f2c18a9fb4894e78be6422b9e7c8f8821f2e586e92d21348a71"
},
"limitations": [
"The literal interactive browser click path was not captured in this artifact; the same watchdog state machine is covered by Playwright.",
"SciPy-internal finite-difference Jacobian builds are reflected by njev but are not classified by the realtime jacobianEvaluationCount field.",
"Cooperative cancellation cannot hard-kill a native or Python call that never returns."
]
}
@@ -0,0 +1,321 @@
{
"schemaVersion": 1,
"kind": "live-browser-stream-verification",
"generatedAt": "2026-08-19T15:12:44.536Z",
"startedAt": "2026-08-19T15:10:08.400Z",
"wallSeconds": 156.136,
"workflowCompleted": true,
"topology": {
"browserOrigin": "http://127.0.0.1:14173",
"backendOrigin": "http://127.0.0.1:18181",
"servingMode": "isolated-vite-dev-proxy"
},
"source": {
"path": "tests/data/test-mql-8.json",
"bytes": 272592,
"sha256": "b44bf540ccd1c293fe2af2b9b9052b540abf83961ad955a0f6a4ab40fbe0bb18"
},
"target": {
"tStart": 0,
"tStop": 0.2,
"sampleStep": 0.01,
"maxStep": 0.001,
"method": "BDF"
},
"runtimeEnvironment": {
"SIMULATION_CAUSAL_EXECUTOR_V2": "1",
"SIMULATION_CAUSAL_COORDINATE_KERNEL": "1",
"SIMULATION_CAUSAL_DIRECT_SUM_ASSIGNMENTS": "1",
"SIMULATION_CAUSAL_DIRECT_EQUATION_READERS": "1",
"SIMULATION_CAUSAL_FAST_PATH": "1",
"SIMULATION_MECHANICAL_ATOL_MODE": "legacy",
"SIMULATION_ODE_JACOBIAN_MODE": "scipy",
"SIMULATIONAPP_PROPERTY_CACHE": "on"
},
"request": {
"simulationId": "e694d041-129d-4b49-af9e-747d85f0056d",
"xmlBytes": 104110,
"simulationAttributes": {
"tStart": "0",
"tStop": "0.2",
"sampleStep": "0.01",
"maxStep": "0.001",
"method": "BDF"
}
},
"ndjson": {
"lineCount": 256,
"parseErrors": [],
"streamErrors": [],
"result": {
"success": true,
"status": "completed",
"partial": false,
"simulatedUntil": 0.2,
"requestedStopTime": 0.2,
"sampleCount": 21,
"timePointCount": 21,
"finalTime": 0.2
},
"activity": {
"progressEventCount": 255,
"heartbeatCount": 13,
"activityTelemetryHeartbeatCount": 13,
"firstActivitySequence": 25114,
"lastActivitySequence": 66670,
"activitySequenceAdvanced": true,
"acceptedTransitionCount": 249,
"maximumAcceptedPlateau": {
"durationMs": 5050.799999237061,
"fromAcceptedStepSequence": 1268,
"toAcceptedStepSequence": 1404,
"fromAcceptedTime": 0.04886080559693986,
"toAcceptedTime": 0.048885635713233705,
"heartbeatCount": 2,
"activitySequenceStart": 57190,
"activitySequenceEnd": 60152,
"activitySequenceAdvanced": true
},
"slowRegionEvents": [
{
"receivedAtMs": 43039.39999961853,
"phase": "integrating",
"heartbeat": false,
"progress": 24,
"simulatedTime": 0.04807049151065195,
"totalTime": 0.2,
"activitySequence": 32061,
"activityKind": "accepted_step",
"currentTrialTime": 0.04807049151065195,
"rhsCallCount": 7836,
"acceptedStepSequence": 356,
"acceptedTime": 0.04807049151065195
},
{
"receivedAtMs": 43131.29999923706,
"phase": "integrating",
"heartbeat": false,
"progress": 24,
"simulatedTime": 0.0486332244950324,
"totalTime": 0.2,
"activitySequence": 32081,
"activityKind": "accepted_step",
"currentTrialTime": 0.0486332244950324,
"rhsCallCount": 7840,
"acceptedStepSequence": 358,
"acceptedTime": 0.0486332244950324
},
{
"receivedAtMs": 48131,
"phase": "integrating",
"heartbeat": true,
"progress": 24,
"simulatedTime": 0.0486332244950324,
"totalTime": 0.2,
"activitySequence": 35600,
"activityKind": "thermofluid_closure",
"currentTrialTime": 0.0486991505296288,
"rhsCallCount": 8689,
"acceptedStepSequence": 420,
"acceptedTime": 0.048699149085530725
},
{
"receivedAtMs": 53157.89999961853,
"phase": "integrating",
"heartbeat": true,
"progress": 24,
"simulatedTime": 0.0486332244950324,
"totalTime": 0.2,
"activitySequence": 38734,
"activityKind": "thermofluid_closure",
"currentTrialTime": 0.04870448422554062,
"rhsCallCount": 9413,
"acceptedStepSequence": 539,
"acceptedTime": 0.04870448402151976
},
{
"receivedAtMs": 58201.89999961853,
"phase": "integrating",
"heartbeat": true,
"progress": 24,
"simulatedTime": 0.0486332244950324,
"totalTime": 0.2,
"activitySequence": 41712,
"activityKind": "thermofluid_closure",
"currentTrialTime": 0.04872888403105117,
"rhsCallCount": 10076,
"acceptedStepSequence": 702,
"acceptedTime": 0.048728801929735416
},
{
"receivedAtMs": 63233.59999847412,
"phase": "integrating",
"heartbeat": true,
"progress": 24,
"simulatedTime": 0.0486332244950324,
"totalTime": 0.2,
"activitySequence": 44741,
"activityKind": "state_derivatives",
"currentTrialTime": 0.04872901764870005,
"rhsCallCount": 10765,
"acceptedStepSequence": 838,
"acceptedTime": 0.04872901502576142
},
{
"receivedAtMs": 68278.29999923706,
"phase": "integrating",
"heartbeat": true,
"progress": 24,
"simulatedTime": 0.0486332244950324,
"totalTime": 0.2,
"activitySequence": 47988,
"activityKind": "thermofluid_closure",
"currentTrialTime": 0.04880991845348599,
"rhsCallCount": 11549,
"acceptedStepSequence": 894,
"acceptedTime": 0.04880991659730141
},
{
"receivedAtMs": 73322.5,
"phase": "integrating",
"heartbeat": true,
"progress": 24,
"simulatedTime": 0.0486332244950324,
"totalTime": 0.2,
"activitySequence": 50944,
"activityKind": "thermofluid_closure",
"currentTrialTime": 0.04885091695689501,
"rhsCallCount": 12205,
"acceptedStepSequence": 1060,
"acceptedTime": 0.048849397131310805
},
{
"receivedAtMs": 78344,
"phase": "integrating",
"heartbeat": true,
"progress": 24,
"simulatedTime": 0.0486332244950324,
"totalTime": 0.2,
"activitySequence": 53758,
"activityKind": "thermofluid_closure",
"currentTrialTime": 0.04885415602948481,
"rhsCallCount": 12830,
"acceptedStepSequence": 1217,
"acceptedTime": 0.048852938260664384
},
{
"receivedAtMs": 83372,
"phase": "integrating",
"heartbeat": true,
"progress": 24,
"simulatedTime": 0.0486332244950324,
"totalTime": 0.2,
"activitySequence": 57190,
"activityKind": "solver_step",
"currentTrialTime": 0.048860806745699516,
"rhsCallCount": 13662,
"acceptedStepSequence": 1268,
"acceptedTime": 0.04886080559693986
},
{
"receivedAtMs": 88422.79999923706,
"phase": "integrating",
"heartbeat": true,
"progress": 24,
"simulatedTime": 0.0486332244950324,
"totalTime": 0.2,
"activitySequence": 60152,
"activityKind": "thermofluid_closure",
"currentTrialTime": 0.04888569214870155,
"rhsCallCount": 14335,
"acceptedStepSequence": 1404,
"acceptedTime": 0.048885635713233705
},
{
"receivedAtMs": 93441.29999923706,
"phase": "integrating",
"heartbeat": true,
"progress": 24,
"simulatedTime": 0.0486332244950324,
"totalTime": 0.2,
"activitySequence": 63490,
"activityKind": "thermofluid_closure",
"currentTrialTime": 0.04888577358403684,
"rhsCallCount": 15121,
"acceptedStepSequence": 1501,
"acceptedTime": 0.048885772226330206
},
{
"receivedAtMs": 98461.89999961853,
"phase": "integrating",
"heartbeat": true,
"progress": 24,
"simulatedTime": 0.0486332244950324,
"totalTime": 0.2,
"activitySequence": 66670,
"activityKind": "solver_step",
"currentTrialTime": 0.04888814764518708,
"rhsCallCount": 15855,
"acceptedStepSequence": 1622,
"acceptedTime": 0.048888146224637836
},
{
"receivedAtMs": 101649.59999847412,
"phase": "integrating",
"heartbeat": false,
"progress": 25,
"simulatedTime": 0.049248430694378086,
"totalTime": 0.2,
"activitySequence": 68103,
"activityKind": "accepted_step",
"currentTrialTime": 0.049248430694378086,
"rhsCallCount": 16153,
"acceptedStepSequence": 1743,
"acceptedTime": 0.049248430694378086
},
{
"receivedAtMs": 101755.69999885559,
"phase": "integrating",
"heartbeat": false,
"progress": 25,
"simulatedTime": 0.049780741149075,
"totalTime": 0.2,
"activitySequence": 68133,
"activityKind": "accepted_step",
"currentTrialTime": 0.049780741149075,
"rhsCallCount": 16159,
"acceptedStepSequence": 1746,
"acceptedTime": 0.049780741149075
},
{
"receivedAtMs": 102123.79999923706,
"phase": "integrating",
"heartbeat": false,
"progress": 25,
"simulatedTime": 0.05031324569277993,
"totalTime": 0.2,
"activitySequence": 68377,
"activityKind": "accepted_step",
"currentTrialTime": 0.05031324569277993,
"rhsCallCount": 16219,
"acceptedStepSequence": 1748,
"acceptedTime": 0.05031324569277993
}
]
}
},
"browser": {
"cancellationRequests": [],
"pageErrors": [],
"consoleErrors": [
"Failed to load resource: the server responded with a status of 404 (Not Found)"
]
},
"acceptance": {
"completedWith21Samples": true,
"noCancellationRequest": true,
"noStreamError": true,
"noPageError": true,
"activityTelemetryAdvanced": true
}
}