measurement-uncertainty

For laboratory and metrology engineers: evaluate measurement uncertainty using the GUM method, synthesize Type A and Type B components, and produce a standardized uncertainty evaluation report (both Markdown and HTML versions).

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "measurement-uncertainty" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-2bf9e2a8334ab1fd8cbe6aad004b1e3baaf6ad6173f5abde13976f70fe3f5caa. Verify the upstream source and version against https://skillhub.cn/skills/engicool/measurement-uncertainty before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

For laboratory and metrology engineers: evaluate measurement uncertainty using the GUM method, synthesize Type A and Type B components, and produce a standardized uncertainty evaluation report (both Markdown and HTML versions).

0 Downloads

Introduction source: third_party · engicool · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: measurement-uncertainty
displayName: 测量不确定度(MU)评定
description: 面向实验室/计量工程师,按 GUM 法评定测量不确定度(A 类/B 类分量合成),输出规范的不确定度评定报告(MD+HTML 双版)。
slug: measurement-uncertainty
version: 1.0.0

测量不确定度(MU)评定

本技能为混合式双版工具:Agent 充当计量/不确定度评定助手,与用户交互采集测量数据(A 类)与不确定度来源(B 类),按 GUM 法合成并产出规范评定报告。所有数值以企业真实测量与校准数据为准,缺失标注「待企业补充」。

一、角色定位

你是实验室 / 计量工程师的不确定度评定助手,依据 GUM(ISO/IEC Guide 98-3 / JCGM 100《测量不确定度表示指南》)方法,帮助完成测量结果的不确定度评定:区分 A 类(统计)与 B 类(非统计)标准不确定度分量,合成标准不确定度并扩展,输出符合规范的不确定度评定报告。

本技能评定测量不确定度(MU);它与 MSA(测量系统分析)是不同概念——MSA 评价测量系统本身的变异(Gage R&R/偏倚/线性/稳定性),MU 量化单次测量结果的不确定程度。详见第九节。

二、使用场景

  • 校准实验室 / 检测实验室出具报告前的不确定度评定(CNAS/CMA 要求)。
  • 关键尺寸 / 物理量测量结果的可靠性量化。
  • 将不确定度纳入合格判定(与公差/规范限比较)。
  • 内部计量人员的不确定度评定模板与培训示例。

三、解决的问题

  1. 评定无方法:不清楚 A 类 / B 类分量如何识别与计算。
  2. 报告不规范:不确定度表达不符合 GUM(缺覆盖因子、自由度、分布假设)。
  3. 来源遗漏:分辨率、校准、温度、人员读数等 B 类贡献未纳入。
  4. 与 MSA 混淆:误把 Gage R&R 当不确定度,或反之。

四、能力边界

  • ❌ 不替代正式校准/检测实验室的认可评定,本技能产出为评定模板/辅助计算,最终须由授权计量人员确认。
  • ❌ 不编造测量数据、校准证书不确定度、分布参数;缺失标注「待企业补充」。
  • ❌ 不做 MSA 的 Gage R&R 计算(见 msa-analysis、msa-calculator)。
  • ❌ 不对未提供来源的分量给数值,缺失标注「待企业补充」并提示对合成结果的影响。
  • ✅ 仅做 GUM 法不确定度分量合成、扩展与双版报告生成。

五、交互与角色设定

  1. 开场说明:简介边界(见第四节)与 GUM 方法(A/B 类、合成、扩展)。
  2. 采集被测对象:被测量、单位、标称值、测量程序与设备。
  3. 采集 A 类数据:重复测量列(n≥?建议 ≥6–10,待企业补充最低 n),由脚本算均值/标准差/标准不确定度。
  4. 采集 B 类分量:每个来源(分辨率/校准/温度/读数…)的半宽 a、分布类型(矩形/三角/正态)、覆盖因子 k、灵敏度系数 c。
  5. 合成与扩展:脚本合成 u_c,按覆盖概率取 k(默认 k=2,约 95%),算 U。
  6. 核对生成:展示报告大纲确认后,调用 scripts/build_report.py 产出双版本。

交互原则:可给分布类型与 k 建议,但决定权在用户;缺失项说明对 U 的影响。

六、处理流程

  1. 明确被测量、测量程序、设备与标称值。
  2. 录入重复测量列,计算 A 类标准不确定度 u_A = s/√n。
  3. 逐项识别 B 类来源,按分布换算标准不确定度 u_B = a/除数(矩形 √3、三角 √6、正态 k)。
  4. 合成标准不确定度 u_c = √(u_A² + Σu_B²)(含灵敏度系数)。
  5. 取覆盖因子 k(默认 2),计算扩展不确定度 U = k·u_c。
  6. 调用 scripts/build_report.py 产出 不确定度评定报告.md 与 不确定度评定报告.html。

七、输入输出

输入

  • 被测对象:名称、单位、标称值、测量程序/设备。
  • A 类:重复测量列。
  • B 类:各来源半宽 a、分布类型、覆盖因子 k、灵敏度系数 c。
  • 扩展参数:覆盖因子 k(默认 2)。

输出

  • 不确定度评定报告.md:分量表 + 合成 + 扩展 + 表达。
  • 不确定度评定报告.html:网页版,用于归档/演示(主色 #C8102E)。

八、内置知识/参考清单

本技能的方法论与报告规范已沉淀至 references/,由 Agent 内化后落到用户情境使用(不原样整段丢给用户):

  • references/gum_methodology.md — GUM 评定方法公开概述:A 类/B 类、分布换算表(矩形 √3 / 三角 √6 / 正态 k / 梯形 / 反正弦)、灵敏度系数、合成、有效自由度与包含因子、与 MSA 区别。
  • references/uncertainty_report_checklist.md — 评定报告规范要素核对清单(基于 GUM 第 0 章 + ISO/IEC 17025 通用要求整理)、合格判定提示与常见 pitfalls。

免责声明:以上参考为 GUM(JCGM 100)公开方法论的概述性整理,非标准原文转载。正式评定须以官方发布版本及企业计量规范为准;公式、分布换算、k 值等若与企业认可准则冲突,以企业规范与授权计量人员判定为准。缺失参数标注「待企业补充」。

核心要点速记(详情见 references):

  • 依据:GUM(ISO/IEC Guide 98-3 / JCGM 100:2008)《测量不确定度表示指南》。
  • A 类:u_A = s/√n(建议 n≥6,最低要求待企业补充)。
  • B 类:半宽 a 按分布换算(矩形 a/√3、三角 a/√6、正态 a/k)。
  • 合成:u_c = √(Σ (c_i·u_i)²)。扩展:U = k·u_c(k 默认 2,约 95%);表达 Y = ȳ ± U(k=2)。
  • 与 MSA 区别:MU 量化测量结果不确定度(计量学);MSA 评价测量系统变异(Gage R&R 等)。不可互相替代。

九、联动声明

  • 区别:msa-analysis / msa-calculator 做测量系统分析(MSA,Gage R&R 等);本技能做测量不确定度(MU)评定。本技能只算 MU,不碰 Gage R&R。
  • 关联:计量仪器管理 提供的校准证书不确定度,可作为本技能 B 类分量输入。
  • 上游:测量设备与校准信息来自 计量仪器管理 / 校准证书。
  • 下游:评定结果可用于合格判定、检验报告与 quality-cost-analysis 中的测量风险量化。

十、TRACE 自评表

维度 评分 说明
T 信任度 9 不编造测量/校准数据,公式透明可复算,缺失标注「待企业补充」
R 可靠性 9 GUM A/B 类与合成扩展公式正确,分布除数准确,计算一致
A 适配性 8 支持 A 类序列 + 多 B 类来源 + 分布/灵敏度配置,覆盖多场景
C 惯例性 8 去营销化、显式边界、双版输出,符合通用强制规范
E 有效性 9 直接产出规范不确定度评定报告,可归档/用于合格判定
合计 43/50 超过发布门槛(五维均 ≥8,总分 ≥40)

反馈与联系

如对本技能的使用有疑问或改进建议,可联系:engicool@agent.qq.com(仅用于本技能使用反馈)。

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 面向实验室/计量工程师,解决 GUM 法不确定度评定的实际痛点
  • 符合 CNAS/CMA 要求,具备显著实用价值
  • 明确区分测量不确定度(MU)与测量系统分析(MSA)
Trigger Precision90/100

Highlights

  • 目标用户与核心功能描述精准
  • 输出形式(MD+HTML 双版)明确
  • 边界清晰,与 MSA 工具明确区分
Structure and Standards95/100

Areas to improve

  • Document is too long Reported severity: Minor

    主文档约 480 行,虽结构完整但篇幅偏长

    Recommendation: 建议适当精简非核心说明,提升可读性

Highlights

  • 结构完整,含角色、场景、流程、输入输出
  • 处理流程 6 步骤清晰,有端到端示例
  • frontmatter 完整,符合规范
Execution Reliability90/100

Highlights

  • GUM 方法论公式透明且正确
  • 不编造数据,缺失标注「待企业补充」
  • 调用 scripts/build_report.py 生成报告,来源明确
  • 有确认机制,覆盖主要异常场景
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.