Agent skill · Audited from source
Histogram Visualization
skill · OpenSenseNova/SenseNova-SkillsMIT licenceAudited 7 Oct 2026 · source 657860e4d389
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 657860e4d389 and found no filesystem, network or shell access and no hard-coded secrets. What it does: 执行数值型数据的分布分析与异常值检测,支持通过正则表达式从文本中提取误差项并生成高分辨率的箱线图与直方图报告。
Cite
Cite this page
ModelsAtlas. “Histogram Visualization (OpenSenseNova/SenseNova-Skills)”. Retrieved 7 Oct 2026. https://modelsatlas.com/skills/opensensenova/histogram-visualization
Trust audit
Audit 0.4.1 · source read 7 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 657860e4d389 · 7 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublisherOpenSenseNova GitHub organizationOwner of the repository this skill is read from
- Source folderOpenSenseNova/SenseNova-Skills/skills/sn-da-excel-workflow/capability/excel-data-visualization/histogram-visualizationThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict657860e4d389A new audit runs when the source changes
- Repository statusNot archivedLast push 19 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: 执行数值型数据的分布分析与异常值检测,支持通过正则表达式从文本中提取误差项并生成高分辨率的箱线图与直方图报告。
---
name: statistical-distribution-and-outlier-analysis
description: "执行数值型数据的分布分析与异常值检测,支持通过正则表达式从文本中提取误差项并生成高分辨率的箱线图与直方图报告。"
---
Step 1 加载数据并进行预处理,配置中文字体与环境参数
```python
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns
import re
# 设置中文字体,兼容不同环境
plt.rcParams['font.sans-serif'] = ['SimHei', 'WenQuanYi Zen Hei', 'DejaVu Sans']
plt.rcParams['axes.unicode_minus'] = False
# 加载数据并处理合并单元格
file_path = 'input_data.xlsx'
df = pd.read_excel(file_path)
df.ffill(inplace=True) # 处理可能的合并单元格空值
# 统一重命名列名以便于程序化处理
original_columns = df.columns.tolist()
df.columns = [f'col_{i+1}' for i in range(df.shape[1])]
print(f"数据形状: {df.shape}")
print(f"原始列映射: {dict(zip(df.columns, original_columns))}")
```
Step 2 生成多子图箱线图,直观展示各维度数据的分布特征与统计量
```python
# 计算子图布局
num_cols = len(df.columns)
rows = (num_cols + 2) // 3
fig, axes = plt.subplots(rows, 3, figsize=(18, 5 * rows))
fig.suptitle('数据分布维度分析', fontsize=16, fontweight='bold')
axes_flat = axes.flatten()
for i, column in enumerate(df.columns):
data_series = df[column].dropna()
if pd.api.types.is_numeric_dtype(data_series):
axes_flat[i].boxplot(data_series, patch_artist=True,
boxprops=dict(facecolor='lightblue', alpha=0.7),
medianprops=dict(color='red', linewidth=2))
stats = data_series.describe()
axes_flat[i].set_title(f'{column} (n={len(data_series)})', fontsize=12)
axes_flat[i].text(0.05, 0.95, f'均值: {stats["mean"]:.2f}\n中位数: {stats["50%"]:.2f}',
transform=axes_flat[i].transAxes, verticalalignment='top',
bbox=dict(boxstyle='round', facecolor='white', alpha=0.8))
axes_flat[i].grid(True, alpha=0.3)
plt.tight_layout(rect=[0, 0.03, 1, 0.95])
output_path = 'individual_boxplots.png'
plt.savefig(output_path, dpi=300, bbox_inches='tight')
plt.show()
```
Step 3 执行异常值检测算法,计算四分位距(IQR)并生成统计报告
```python
analysis_results = []
for col in df.columns:
data = df[col].dropna()
if not pd.api.types.is_numeric_dtype(data):
continue
Q1 = data.quantile(0.25)
Q3 = data.quantile(0.75)
IQR = Q3 - Q1
lower_bound = Q1 - 1.5 * IQR
upper_bound = Q3 + 1.5 * IQR
outliers = data[(data < lower_bound) | (data > upper_bound)]
analysis_results.append({
'维度': col,
'样本量': len(data),
'异常值数量': len(outliers),
'偏度': round(data.skew(), 3),
'峰度': round(data.kurtosis(), 3),
'范围': f"{data.min():.2f} ~ {data.max():.2f}"
})
report_df = pd.DataFrame(analysis_results)
print("=== 数据质量与分布报告 ===")
print(report_df.to_string(index=False))
```
Step 4 使用正则表达式从文本列中提取误差值(±模式)并进行量化分析
```python
# 假设 target_col 包含类似 "10.5 ± 0.2" 的文本
target_col = df.columns[0]
text_data = df[target_col].astype(str).str.cat(sep=' ')
# 正则表达式提取 ± 后面的数值
error_pattern = r'±(\d+\.?\d*)'
extracted_errors = [float(val) for val in re.findall(error_pattern, text_data)]
if extracted_errors:
print(f"提取到误差样本量: {len(extracted_errors)}")
print(f"误差均值: {np.mean(extracted_errors):.4f}")
else:
print("未在指定列中检测到符合 ± 模式的误差数据")
```
Step 5 绘制误差分布直方图,并标注核心统计参考线
```python
if extracted_errors:
plt.figure(figsize=(10, 6))
# 自动计算 bins 数量
n, bins, patches = plt.hist(extracted_errors, bins='auto', color='skyblue',
edgecolor='black', alpha=0.7)
# 在柱体上方标注频次
for i in range(len(n)):
if n[i] > 0:
plt.text(bins[i] + (bins[i+1]-bins[i])/2, n[i] + 0.1,
str(int(n[i])), ha='center', va='bottom', fontweight='bold')
# 添加均值参考线
mean_val = np.mean(extracted_errors)
plt.axvline(mean_val, color='red', linestyle='--', linewidth=2,
label=f'误差均值: {mean_val:.3f}')
plt.title('误差项分布特征直方图', fontsize=14)
plt.xlabel('误差量级', fontsize=12)
plt.ylabel('出现频次', fontsize=12)
plt.legend()
plt.grid(axis='y', alpha=0.3)
plt.tight_layout()
plt.savefig('error_distribution_histogram.png', dpi=300)
plt.show()
```
Step 6 导出分析摘要并生成下载链接
```python
summary_file = 'analysis_summary.csv'
report_df.to_csv(summary_file, index=False, encoding='utf_8_sig')
from IPython.display import FileLink
print("分析完成,点击下方链接下载报告:")
display(FileLink(summary_file))
display(FileLink('individual_boxplots.png'))
```Excerpt, first 4,346 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 657860e
git clone https://github.com/OpenSenseNova/SenseNova-Skills git -C SenseNova-Skills checkout 657860e4d389
The author documents no install command, so this uses the repository directly. Our verdict covers commit 657860e4d389 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
657860e4d389
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/opensensenova/histogram-visualization/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All data & analysis skills →OpenSenseNova/SenseNova-Skills
读取多工作表Excel文件,自动处理合并单元格与数据清洗,进行交叉分组统计并生成带总计行的结果表,最后绘制支持中英文字体的美化柱状图,适用于多维度数据汇总与可视化分析。
OpenSenseNova/SenseNova-Skills
对多Sheet Excel文件进行基础统计与,支持按条件筛选计算均值,以及从指定行区间提取数据去重求和,并生成结果文件与下载链接。
OpenSenseNova/SenseNova-Skills
当Excel文件总行数超过1万行时,通过转换为Parquet格式提升读取性能,提取目标指标并计算最大值,最后将结果输出为Excel并对特定行进行高亮标注。
OpenSenseNova/SenseNova-Skills
对Excel数据进行自定义分类统计、交叉分析与可视化,并基于多维度指标(如文本长度、术语密度、正则匹配等)进行综合评分与分级,适用于多类别数据分布统计及文本内容难度/质量评估场景。
OpenSenseNova/SenseNova-Skills
提取指定类别列并统计各类别数量与占比,生成高分辨率的柱状图、饼图等组合可视化报告,适用于分类数据的分布情况分析。
OpenSenseNova/SenseNova-Skills
从结构化数据中提取分类分布执行清洗与统计,生成多维度交叉分析、高分辨率对比图表及包含下载链接的完整分析报告,适用于大文件处理与嵌入式可视化场景。
Add this badge to your README
[](https://modelsatlas.com/skills/opensensenova/histogram-visualization/)
<a href="https://modelsatlas.com/skills/opensensenova/histogram-visualization/"><img src="https://modelsatlas.com/skills/opensensenova/histogram-visualization/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Histogram Visualization
What does the Histogram Visualization skill do?
Is Histogram Visualization safe to install?
What can Histogram Visualization access on my machine?
How current is this page?
Sources
- github.com/OpenSenseNova/SenseNova-Skills/tree/main/skills/sn-da — the audited source at commit 657860e4d389 and every finding aboveObserved · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Histogram Visualization skill do?
- Is Histogram Visualization safe to install?
- What can Histogram Visualization access on my machine?