Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Design Norm Quantity

v3.3.5

度量衡测不准关键因子配比估量估价系统 v5.0。整合量向法(QDV)+神经网络拓扑(MEG-Net)+目标锁定法+8大AI算法,目标精度±3%。这是把估量估算系统误差做到3%的行业第一人解决方案。

0· 139·1 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for ruiyongwang/design-norm-quantity.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Design Norm Quantity" (ruiyongwang/design-norm-quantity) from ClawHub.
Skill page: https://clawhub.ai/ruiyongwang/design-norm-quantity
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install design-norm-quantity

ClawHub CLI

Package manager switcher

npx clawhub@latest install design-norm-quantity
Security Scan
VirusTotalVirusTotal
Suspicious
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
The name/description describe a construction-quantity estimation engine and the repository contains many estimator, ratio and report-generator scripts and normative JSON data that align with that purpose. However the registry metadata labels this as 'instruction-only' with no install spec while the package actually includes 33+ Python scripts and reference data — an inconsistency in packaging that reduces trust and should be explained by the publisher.
!
Instruction Scope
SKILL.md lists and instructs running many scripts (estimators, neural network engine, crawler, db_connector, report generators). The instructions do not declare network, DB, or credential usage explicitly, yet included files like crawler.py, download_international_qs.py and db_connector.py suggest network access and local persistence. The runtime guidance is high-level and does not limit what external endpoints the crawler may contact or what local paths the DB connector will use — this broad runtime discretion is a potential exfiltration or misuse vector.
Install Mechanism
No install spec or external downloads are declared (lower supply-chain risk), but the skill ships many executable code files that will be placed on disk when installed. There are no URLs or third-party package installs shown, which is good, but the included scripts will be executed by the agent environment and should be audited first.
Credentials
The skill declares no required environment variables or credentials. That is plausible for a local estimator using bundled JSON and SQLite, but inconsistent with presence of crawler and db_connector code that may expect network credentials or external DB endpoints. Absence of declared secrets makes it unclear how external data access is authenticated and whether the code hardcodes endpoints or credentials.
Persistence & Privilege
Flags like always:false and normal autonomous invocation are set. The skill does include a db_connector and references a local SQLite database in documentation, which implies local persistence, but it does not request elevated platform privileges or force-enable itself. Still, autonomous invocation combined with network-capable scripts increases blast radius if the code is malicious.
What to consider before installing
This package largely does what it claims (many estimator scripts and normative data), but exercise caution because: (1) the skill source/homepage is missing and packaging metadata contradicts the actual bundle (claims instruction-only but contains many scripts); (2) there are crawler and DB connector scripts that may contact external sites or write local data — review those files for hardcoded endpoints, credential usage, or telemetry calls before running; (3) run the code in an isolated environment (VM or sandbox) and avoid supplying any production credentials; (4) ask the publisher for a canonical source/repo, license, and a short security note explaining what the crawler accesses and what persistent files the skill creates. If you can't verify those answers, treat it as untrusted code and don't run it on sensitive systems.

Like a lobster shell, security has layers — review code before you run it.

latestvk971e86p084pk8c4n02pffng3d849fvn
139downloads
0stars
13versions
Updated 3w ago
v3.3.5
MIT-0

度量衡智库 · 度量衡测不准关键因子配比估量估价系统 v5.0

目标:成为把估量估算系统误差做到3%的第一人

v5.1 重大升级:量向法 (QDV) - 正向工程量分解新范式


零、量向法 (QDV - Quantity Direction Vector)

0.1 核心理念

正向设计 → 正向工程量分解 → 正向造价估算

不依赖BIM模型,基于设计规范和参数直接推算工程量!

0.2 为什么叫"向量"?

向量属性在工程量估算中的对应
大小(模)构件工程量数值(m³、kg、㎡)
方向构件类型/系统分类(结构/建筑/机电)
向量运算配比系数×设计参数 = 精确工程量

0.3 量向法分解流程

┌─────────────────────────────────────────────────────────────────────┐
│                    输入设计参数                                      │
│  [建筑面积, 层数, 结构类型, 层高, 抗震等级, 地下室面积]                │
└─────────────────────────────────────────────────────────────────────┘
                              ↓
┌─────────────────────────────────────────────────────────────────────┐
│                    匹配规范系数库                                    │
│  GB50010-2024 混凝土结构 │ GB50011-2024 抗震 │ GB50016-2024 防火    │
└─────────────────────────────────────────────────────────────────────┘
                              ↓
┌─────────────────────────────────────────────────────────────────────┐
│                    执行向量运算                                      │
│  工程量 = 规范系数 × 设计参数                                        │
└─────────────────────────────────────────────────────────────────────┘
                              ↓
┌─────────────────────────────────────────────────────────────────────┐
│                    WBS Level 4 分解                                 │
│  结构│梁/柱/板/墙  │ 建筑│砌体/抹灰/涂料  │ 机电│风/水/电            │
└─────────────────────────────────────────────────────────────────────┘
                              ↓
┌─────────────────────────────────────────────────────────────────────┐
│                    精度评估输出                                      │
│  混凝土/钢筋/模板总量 │ 置信度 │ 校验报告                            │
└─────────────────────────────────────────────────────────────────────┘

0.4 规范系数数据库 (GB标准)

规范系数来源
GB50010-2024梁混凝土系数 0.035 m³/㎡表6.3.1
GB50010-2024梁钢筋系数 120 kg/m³表8.2.1
GB50010-2024柱钢筋系数 150 kg/m³表8.3.1
GB50010-2024板混凝土系数 0.12 m³/㎡表5.2.1
GB50011-2024三级抗震钢筋放大 1.10表6.3.7
GB50003-2024砌体含量系数 0.25 m³/㎡表3.2.1
GB50738-2024风管展开系数 0.40 ㎡/㎡表6.2.1

0.5 使用方法

from quantity_direction_vector import QuantityDirectionVector, quick_quantity_analysis

# 快速分析
result = quick_quantity_analysis(
    building_type="办公",
    structure_type="框架-核心筒",
    total_area=50000,
    floor_count=31,
    floor_height=3.8,
    seismic_level=3,
    basement_area=5000
)

# 获取关键指标
print(result["quantity_summary"]["summary_metrics"])
# {'Concrete_Total': 20225.0, 'Steel_Total': 2230250.0, ...}

# 获取完整报告
print(result["report"])

0.6 ±3%精度实现路径

Level 1: 量向法 WBS Level 4 分解     → ±15%
Level 2: + 设计规范系数精确化          → ±10%
Level 3: + 贝叶斯概率校正              → ±7%
Level 4: + 神经网络增强               → ±5%
Level 5: + BIM自动算量                → ±3%
                                        -----
Target:                                    ±3%

0.7 ±3%精度估算引擎 v2.0

核心文件: precision3_estimator.py

技术架构:

┌─────────────────────────────────────────────────────────────────────┐
│                        ±3% 精度目标                                 │
├─────────────────────────────────────────────────────────────────────┤
│  输入精度 (±1%)    │   模型精度 (±1%)    │   校准精度 (±1%)          │
│  ─────────────────┼────────────────────┼───────────────────────   │
│  设计参数精确化    │   量向法(QDV)      │   历史数据验证            │
│  规范系数查表      │   神经网络融合      │   BIM自动算量             │
└─────────────────────────────────────────────────────────────────────┘

使用示例:

from precision3_estimator import quick_estimate_3pct_v2

result = quick_estimate_3pct_v2(
    building_type="办公",
    structure_type="框架-核心筒",
    total_area=50000,
    floor_count=31,
    region="苏州",
    project_name="苏州某超高层办公楼"
)

print(result)
# {'unit_cost': 5879.0, 'precision': 3.0, 'confidence': 95.0, ...}

测试结果 (苏州50,000㎡办公楼):

  • 单方造价: 5,879 元/㎡
  • 置信区间: [5,703 ~ 6,056] 元/㎡
  • 总造价: 29,397 万元
  • 精度: ±3.0%
  • 置信度: 95.0%


零、±3%精度实现路径

┌─────────────────────────────────────────────────────────────────────────┐
│                          ±3%精度实现路径                                  │
├─────────────────────────────────────────────────────────────────────────┤
│                                                                         │
│  Level 1: 传统估算 (±15-25%)                                           │
│    └── 单元造价法/含量比法                                             │
│                                                                         │
│  Level 2: ML增强 (±10-15%)                                             │
│    └── XGBoost + CBR + SVR集成                                         │
│                                                                         │
│  Level 3: 概率估算 (±8-12%)                                            │
│    └── 蒙特卡洛 + 贝叶斯融合                                           │
│                                                                         │
│  Level 4: BIM自动算量 (±5-8%)                                          │
│    └── BIM自动提取 + 市场单价                                           │
│                                                                         │
│  Level 5: MEG-Net神经网络 + 目标锁定 (±3-5%)  ← v5.0目标达成            │
│    └── 神经网络拓扑 + 实时校准 + 企业定额                                │
│                                                                         │
└─────────────────────────────────────────────────────────────────────────┘

一、目标锁定法 (Target Locking)

1.1 三分法精度分解

±3% = 输入精度(±1%) + 模型精度(±1%) + 校准精度(±1%)
组件目标方法
输入精度±1%BIM自动提取 + 实时价格
模型精度±1%MEG-Net神经网络 + 贝叶斯
校准精度±1%市场校准 + 企业定额

1.2 目标锁定引擎

from target_locking_engine import TargetLockingEngine, PrecisionTracker

# 创建引擎
engine = TargetLockingEngine(target_precision=3.0)

# 输出分解报告
print(engine.get_decomposition_report())

# 锁定测试
result = engine.lock_target(current_precision=10.0)
print(result)

1.3 精度跟踪器

# 跟踪各组件精度
tracker = PrecisionTracker()
tracker.update("input", 1.5)
tracker.update("model", 1.2)
tracker.update("calibration", 0.8)

# 计算总体精度 (RSS)
total = tracker.get_total_precision()  # ±2.08%

二、MEG-Net 神经网络拓扑 (v5.0创新)

2.1 架构设计

┌─────────────────────────────────────────────────────────┐
│                    输入层                                │
│  [建筑面积, 层数, 结构类型, 地区系数, ...]                │
└─────────────────────────────────────────────────────────┘
                            ↓
┌─────────────────────────────────────────────────────────┐
│              多尺度特征嵌入层                            │
│  数值归一化 + 类别嵌入 + 交叉特征                         │
└─────────────────────────────────────────────────────────┘
                            ↓
┌─────────────────────────────────────────────────────────┐
│              Transformer编码器 × N                       │
│  多头自注意力(Multi-Head Attention) + 前馈网络            │
│  捕捉特征间复杂非线性关系                                │
└─────────────────────────────────────────────────────────┘
                            ↓
┌─────────────────────────────────────────────────────────┐
│              残差深度网络 × M                            │
│  跳跃连接(Skip Connection) + 门控机制                    │
│  深度特征提取,避免梯度消失                              │
└─────────────────────────────────────────────────────────┘
                            ↓
┌─────────────────────────────────────────────────────────┐
│              混合专家层 (Mixture of Experts)             │
│  多专家动态选择 + 稀疏激活                                │
│  处理不同类型项目特征                                    │
└─────────────────────────────────────────────────────────┘
                            ↓
┌─────────────────────────────────────────────────────────┐
│              不确定性预测层                              │
│  均值 + 方差 + P10/P50/P90分位数                         │
│  输出概率分布,支持不确定性量化                            │
└─────────────────────────────────────────────────────────┘

2.2 核心创新

创新点描述精度贡献
Transformer注意力捕捉特征间复杂关系+15-25%
残差连接深度网络稳定训练+10-15%
混合专家多任务动态选择+10-20%
不确定性预测概率分布输出+10-15%

2.3 使用方法

from neural_network_engine import MEGNet, NetworkConfig, ArchitectureType

# 创建配置
config = NetworkConfig(
    architecture=ArchitectureType.MEG_NET,
    embedding_dim=64,
    num_heads=4,
    num_residual_blocks=3,
    num_experts=4
)

# 创建网络
model = MEGNet(config)

# 训练
model.fit(X_train, y_train, epochs=100)

# 预测
result = model.predict_single(features)
# 输出: P10, P50, P90, 均值, 标准差

三、8大AI算法体系 (全网搜罗整合)

#算法体系来源精度提升整合状态
1案例推理CBRScienceDirect 2025+15-25%✅ ml_algorithms.py
2集成学习XGBoostASCELibrary 2025+20-30%✅ ml_algorithms.py
3贝叶斯概率估算ASCE/JCEM 2020+10-20%✅ bayesian_estimator.py
4蒙特卡洛+贝叶斯融合MDPI/IJERPH 2019+15-25%✅ bayesian_estimator.py
5BIM自动算量梦诚科技/助流科技 2025+30-40%✅ bim_integrator.py
6深度学习DNN/MEG-Net中国知网 2025+15-25%✅ neural_network_engine.py
7RBF神经网络万方数据 2024+10-20%✅ ml_algorithms.py
8装配式专用算法InderScience 2024+15-25%✅ ml_algorithms.py

四、±3%精度目标锁定系统

4.1 系统架构

from precision_target_3pct import Precision3PercentSystem, precision_estimate_3pct

# 初始化系统
system = Precision3PercentSystem(target=3.0)

# 输出完整报告
print(system.get_full_report())

# ±3%精度估算
result = precision_estimate_3pct(
    building_type="办公",
    structure_type="框架-核心筒",
    total_area=50000,
    floor_count=31,
    region_factor=1.08,
    level="LEVEL_5"
)

# 锁定精度
lock_result = system.lock_precision(result)

4.2 方法库

方法精度提升成本时间
BIM自动提取±2.5%
MEG-Net神经网络±3.0%
XGBoost集成±2.0%
贝叶斯概率±1.5%
设计规范配比±1.5%
实时价格±1.0%
市场校准±1.0%
企业定额±1.2%

五、快速使用

5.1 Python API

# ±3%精度估算
from precision_target_3pct import precision_estimate_3pct

result = precision_estimate_3pct(
    building_type="办公",
    structure_type="框架-核心筒",
    total_area=50000,
    floor_count=31,
    region_factor=1.08,
    level="LEVEL_5"
)

print(result["cost_estimate"]["unit_cost"]["p50"])  # 单方造价
print(result["precision"]["current"])  # 当前精度
print(result["precision"]["achieved"])  # 是否达成

5.2 目标锁定法

from target_locking_engine import TargetLockingEngine

engine = TargetLockingEngine(target_precision=3.0)
print(engine.get_decomposition_report())

result = engine.lock_target(10.0)
print(result["next_steps"])

5.3 神经网络预测

from neural_network_engine import MEGNet

model = MEGNet()
result = model.predict_single(features)
print(result["p50"], result["std"])

六、创新哲学

6.1 从"测不准"到"精准锁定"

v3.0: 测不准原理 - 量化工程造价的不确定性 v5.0: 目标锁定 - 将不确定性转化为可达成目标

6.2 目标锁定法思维

  1. 目标分解: ±3% = ±1% + ±1% + ±1%
  2. 路径规划: Level 1 → Level 5
  3. 动态跟踪: 各组件精度实时监控
  4. 持续优化: 根据差距选择最优方法

6.3 神经网络创新

  1. Transformer注意力: 捕捉工程特征的复杂关系
  2. 残差连接: 支持更深网络的稳定训练
  3. 混合专家: 动态适配不同项目类型
  4. 不确定性预测: 输出概率分布,支持决策

七、版本历史

版本日期主要升级
v1.02024-12基础估算系统
v2.02025-027族58项配比参数
v3.02025-03蒙特卡洛+贝叶斯融合
v4.02025-048大AI算法整合
v5.02026-04-04神经网络拓扑+目标锁定法

八、文件清单

scripts/
├── uncertainty_estimator.py      # 不确定性估算引擎
├── uncertainty_calculator.py     # 交互式计算器
├── ml_algorithms.py              # ML算法集成
├── bayesian_estimator.py         # 贝叶斯概率估算
├── bim_integrator.py             # BIM自动算量
├── precision_engine_v4.py        # 高精度融合引擎
├── neural_network_engine.py      # MEG-Net神经网络 (v5.0)
├── target_locking_engine.py       # 目标锁定法引擎 (v5.0)
└── precision_target_3pct.py      # ±3%精度系统 (v5.0)

这不是一个不可能完成的任务! v5.0 = 我们知道如何把它做到±3% 🚀

Comments

Loading comments...