From 81dede0bd1775c02712a1e83467a0e4832e93424 Mon Sep 17 00:00:00 2001 From: Frank14f <1515444314@qq.com> Date: Sun, 15 Nov 2026 17:45:47 +0800 Subject: [PATCH] Fix log-linearity and flow-flatness tolerances before reading time series --- .../tolerances.json | 48 +++++++++++++++++++ docs/log-time-map-contract-2026-11-15.md | 9 ++++ 2 files changed, 57 insertions(+) create mode 100644 artifacts/moldflow-time-map-2026-11-15/tolerances.json create mode 100644 docs/log-time-map-contract-2026-11-15.md diff --git a/artifacts/moldflow-time-map-2026-11-15/tolerances.json b/artifacts/moldflow-time-map-2026-11-15/tolerances.json new file mode 100644 index 000000000..8613896cc --- /dev/null +++ b/artifacts/moldflow-time-map-2026-11-15/tolerances.json @@ -0,0 +1,48 @@ +{ + "status": "TOLERANCES_FIXED_BEFORE_ANY_TIME_SERIES_READ", + "ruling": "1794734938.283669", + "scope": "624 LOG time/fill-volume/flow/V-P tables, posthoc read-only; no VTU or model input changes", + "archive": "data.zip", + "archive_stat": { + "status": "official_size_and_md5_pass", + "source": "/home/frank14f/optane/MeltMind/data.zip", + "source_url": "https://zenodo.org/records/18598121", + "bytes": 32757812726, + "md5": "75ec15002234c2cdcdf4c751bdefab85", + "sha256": "d151f018294832fd80fbd23e865642cb16c860da150f245033d010c388fa0241", + "mtime_ns": 1794548962944204621, + "inode": 12582980, + "members": 1872, + "triplets": 624, + "source_tokens": 249, + "max_group": 34, + "total_uncompressed_bytes": 43966308383, + "finished_utc": "2026-11-13T08:04:57.180660+00:00", + "wall_seconds": 97.27923265600111, + "peak_rss_kib": 32056, + "crc_scope": "ZIP stored CRC inventory only; selected members checked on read; no full decompression", + "grouping_scope": "Filename source tokens, not verified independent CAD families" + }, + "limits": { + "worker_CPU_s": 3600, + "wall_s": 7200, + "RSS_bytes": 1073741824, + "disk_bytes": 2147483648, + "per_log_bytes": 67108864, + "workers": 1, + "GPU": false + }, + "linearity_tolerance_percentage_points": 1.0, + "flow_flatness_relative_tolerance": 0.05, + "monotonicity_numeric_tolerance": 1e-09, + "linearity_primary": "maximum absolute fill-volume-percentage deviation from the line joining observed first row and first100percent row (or final observed filling row); report actual window, do not extrapolate missing endpoints", + "linearity_supplement": "if a100percent row exists, also compare volume_percent to100*t/t100 with assumed origin(0,0), explicitly label the assumption", + "flow_flatness": "trapezoidal time-weighted mean q over observed rows, max absolute deviation/abs(mean)<=.05; report whole fill, fixed5to95percent window, and before explicit observed V/P if identifiable; no flatness if zero mean/insufficient time span", + "switch_detection": "only explicit V/P or switch-over numeric row status yields observed switch time/volume; preserve status transitions and separate header settings; never infer actual99percent from default", + "full_filling_stop": "first logged100percent row; rounded logged endpoint is not tet T_end or machine injection end", + "parse_policy": "preserve raw bytes/line numbers/units, unsupported or missing rows reported as missing; do not call absent merely because a parser fails", + "aggregate": "part-equal descriptive distributions and counts; no claim of exact constant flow from tolerance PASS", + "training": false, + "new_labels_decoded": false, + "source_header_inventory": "artifacts/s2-e1-2026-11-14/log-flow-setting-check/headers.json" +} diff --git a/docs/log-time-map-contract-2026-11-15.md b/docs/log-time-map-contract-2026-11-15.md new file mode 100644 index 000000000..61d4ce1c8 --- /dev/null +++ b/docs/log-time-map-contract-2026-11-15.md @@ -0,0 +1,9 @@ +# Moldflow 日志时间—体积曲线检查 + +按Claude1794734938.283669新增的≤1workerCPUh只读事后检查,独立于S3-A与tet域接续。在任何实际时序数值读取前固定如下容差与含义。旧624份设置头核查仅用于找到已知表头,不当成恒流证据。 + +时间—体积线性容差固定1个百分点:观察窗口首行至首个日志100%行(若未达100%则止于最后观察填充行),按两端点连接直线计算最大绝对体积百分比偏差,明确覆盖区间。若日志有100%行,另外报告以(0,0)为假定起点的100*t/t100偏差;不把缺失起点冒称已观测。日志100%受输出舍入影响,不等同tet域最后标记到达、机台结束或V/P事件。 + +流率平坦度容差固定5%:梯形时间加权均值,最大相对偏差≤0.05;均值为0、时间跨度不足则undefined。分别报告全部观察填充行、预设5%—95%体积窗口、能够明确识别实际V/P时的切换前窗口。5%—95%并不自动叫pre-V/P。只从明确V/P或switch-over行状态认定实际切换体积/时刻;表头设置/default99%与实际事件分开,其他状态码先保留不猜测。 + +保持原LOG全文、解析行号/单位/状态变化;缺表与有表但不支持的格式分开。624件逐件记录,等件描述性汇总,不把容差内近似线性写成严格恒流物理证明,不改变训练特征、尺度或任何已有预测。CPU-only单worker,3600CPU-s/7200wall-s/1GiB RSS/2GiB输出,单LOG读取上限64MiB。先固定容差,后检查格式/固定解析实现并执行;不得看数据后调整容差。