dsh-hazplan-check 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README-es.md +8 -0
- package/README-hi.md +8 -0
- package/README-pt.md +8 -0
- package/README-zh.md +8 -0
- package/README.md +8 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.4
|
|
4
|
+
|
|
5
|
+
- Add a demo card to the README: one terminal shot of this plugin's real output
|
|
6
|
+
over its own test fixture, plus the DSH Market badge.
|
|
7
|
+
|
|
8
|
+
The card is generated by running this repository's check core over a committed
|
|
9
|
+
fixture and rendering the report it returned, so the findings, rule ids, cited
|
|
10
|
+
documents and "not obtained" notes are the plugin's own output rather than an
|
|
11
|
+
artist's impression. In a family whose claim is that it never fabricates a
|
|
12
|
+
citation, a hand-drawn screenshot would undercut the thing being demonstrated.
|
|
13
|
+
|
|
14
|
+
Added to all five READMEs together, which `check:readmes` requires.
|
|
15
|
+
|
|
16
|
+
|
|
3
17
|
## 0.2.3
|
|
4
18
|
|
|
5
19
|
- Rework the README first screen. The H1 now names what the plugin checks rather
|
package/README-es.md
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
# dsh-hazplan-check — Verificación de la completitud de los elementos de una hoja de trabajo HAZOP y de la coherencia en la derivación de las desviaciones
|
|
2
2
|
|
|
3
|
+
[](https://dsh.market/)
|
|
4
|
+
|
|
3
5
|
`dsh-hazplan-check` lee una hoja de trabajo HAZOP —filas organizadas según los propios nombres de columna de la hoja, en chino o en inglés, más una cabecera opcional que declara el 分析对象— y comprueba la completitud y la trazabilidad interna de esa misma hoja: que cada fila rellene las columnas que exige su plantilla (`偏差` y `原因` por defecto), que cada fila registre su `节点`, que los `引导词` procedan de las tablas 1 y 2 de la norma o de la lista que el estudio declaró de antemano, que cada fila deje ver de qué elemento proviene la desviación, que el `风险等级` salga del vocabulario de riesgo de su organización, que la hoja identifique el objeto de análisis y que cada `偏差` sea literalmente el `工艺参数` leído a través de su `引导词`; toda comprobación que no pueda ejecutarse por falta de una columna se informa en `skipped` en lugar de pasar en silencio.
|
|
4
6
|
|
|
7
|
+
## Cómo se ve la salida
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
Salida real de este plugin sobre su propio fixture de prueba `HZ-004` — no es un montaje. El paquete de reglas no inventa citas, así que cada hallazgo nombra la cláusula aplicada y advierte que su texto no se obtuvo.
|
|
12
|
+
|
|
5
13
|
## Qué responde
|
|
6
14
|
|
|
7
15
|
| Usted pregunta | Qué responde |
|
package/README-hi.md
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
# dsh-hazplan-check — HAZOP वर्कशीट के तत्वों की पूर्णता और विचलन व्युत्पत्ति की संगति की जाँच
|
|
2
2
|
|
|
3
|
+
[](https://dsh.market/)
|
|
4
|
+
|
|
3
5
|
`dsh-hazplan-check` एक HAZOP वर्कशीट पढ़ता है — शीट के अपने कॉलम नामों पर आधारित पंक्तियाँ (चीनी या अंग्रेज़ी नाम, दोनों चलते हैं), साथ में विश्लेषण-वस्तु बताने वाला वैकल्पिक हेडर — और उसी शीट की पूर्णता तथा आंतरिक अनुरेखणीयता की जाँच करता है: क्या हर पंक्ति अपने टेम्पलेट में माँगे गए कॉलम भरती है (डिफ़ॉल्ट रूप से `偏差` और `原因`), क्या हर पंक्ति में `节点` दर्ज है, क्या `引导词` मानक की तालिका 1 और तालिका 2 से या अध्ययन द्वारा पहले घोषित सूची से लिए गए हैं, क्या हर पंक्ति से दिखता है कि विचलन किस तत्व से आया, क्या `风险等级` आपके संस्थान की जोखिम-शब्दावली से है, क्या शीट विश्लेषण-वस्तु को पहचानती है, और क्या हर `偏差` शब्दशः अपने `引导词` के माध्यम से पढ़ा गया `工艺参数` है; किसी कॉलम के अभाव में जो जाँच चल नहीं सकती, वह चुपचाप पास होने के बजाय `skipped` में दर्ज होती है।
|
|
4
6
|
|
|
7
|
+
## आउटपुट कैसा दिखता है
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
इस प्लगइन का अपने ही `HZ-004` टेस्ट फ़िक्स्चर पर वास्तविक आउटपुट — कोई नकली चित्र नहीं। नियम-पैक उद्धरण नहीं गढ़ता, इसलिए हर निष्कर्ष लागू किए गए खंड का नाम और यह भी बताता है कि उसका मूल पाठ इस बार प्राप्त नहीं हुआ।
|
|
12
|
+
|
|
5
13
|
## यह किन सवालों का जवाब देता है
|
|
6
14
|
|
|
7
15
|
| आपका सवाल | इसका जवाब |
|
package/README-pt.md
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
# dsh-hazplan-check — Verificação da completude dos elementos de uma folha de trabalho HAZOP e da coerência na derivação dos desvios
|
|
2
2
|
|
|
3
|
+
[](https://dsh.market/)
|
|
4
|
+
|
|
3
5
|
`dsh-hazplan-check` lê uma folha de trabalho HAZOP —linhas organizadas pelos próprios nomes de coluna da folha, em chinês ou em inglês, mais um cabeçalho opcional que declara o 分析对象— e verifica a completude e a rastreabilidade interna dessa mesma folha: se cada linha preenche as colunas exigidas pelo seu modelo (`偏差` e `原因` por omissão), se cada linha regista o seu `节点`, se os `引导词` vêm das tabelas 1 e 2 da norma ou da lista que o estudo declarou antecipadamente, se cada linha deixa ver de que elemento veio o desvio, se o `风险等级` sai do vocabulário de risco da sua organização, se a folha identifica o objeto de análise e se cada `偏差` é literalmente o `工艺参数` lido através do seu `引导词`; qualquer verificação que não possa correr por falta de uma coluna é reportada em `skipped` em vez de passar em silêncio.
|
|
4
6
|
|
|
7
|
+
## Como é a saída
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
Saída real deste plugin sobre o seu próprio fixture de teste `HZ-004` — não é uma simulação. O pacote de regras não inventa citações, por isso cada achado nomeia a cláusula aplicada e avisa que o seu texto não foi obtido.
|
|
12
|
+
|
|
5
13
|
## O que ele responde
|
|
6
14
|
|
|
7
15
|
| Você pergunta | O que ele responde |
|
package/README-zh.md
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
# dsh-hazplan-check — HAZOP 分析表要素齐备性与偏差推导一致性核对
|
|
2
2
|
|
|
3
|
+
[](https://dsh.market/)
|
|
4
|
+
|
|
3
5
|
`dsh-hazplan-check` 读取一份 HAZOP 分析表——按表格自身的列名组织的行(中英文列名均可),加上可选的、写明分析对象的表头——核对这份表格自身的齐备与可追溯:每行是否填了模板要求的栏目(默认 `偏差` 与 `原因`)、每行是否写明 `节点`、`引导词` 是否取自标准表1与表2或本分析事先声明的清单、每行是否看得出偏差来自哪个要素、`风险等级` 是否出自本机构的风险档位、表头能否识别分析对象、以及每个 `偏差` 是否字面上等于 `工艺参数` 与 `引导词` 的组合;因缺列而无法执行的核对会出现在 `skipped` 里,而不是静默通过。
|
|
4
6
|
|
|
7
|
+
## 实际输出长什么样
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
本插件对自己 `HZ-004` 测试夹具的**真实输出**,不是示意图。规则库不伪造引文,因此每条发现都会同时写明所引条款,以及该条款原文本次未取得。
|
|
12
|
+
|
|
5
13
|
## 它回答什么问题
|
|
6
14
|
|
|
7
15
|
| 你会问 | 它怎么答 |
|
package/README.md
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
# dsh-hazplan-check — HAZOP worksheet element completeness and deviation derivation consistency check
|
|
2
2
|
|
|
3
|
+
[](https://dsh.market/)
|
|
4
|
+
|
|
3
5
|
`dsh-hazplan-check` reads one HAZOP worksheet — rows keyed by the sheet's own column names, in Chinese or English, plus an optional header naming the 分析对象 — and checks that same sheet's completeness and internal traceability: that every row fills the fields your template requires (`偏差` and `原因` by default), that each row records its `节点`, that `引导词` come from the standard's tables 1 and 2 or from the list the study declared beforehand, that each row shows which element its deviation came from, that `风险等级` come from your own risk vocabulary, that the sheet names its analysis subject, and that every `偏差` is literally the `工艺参数` read through its `引导词`; a check that cannot run for want of a column is reported in `skipped` rather than passing silently.
|
|
4
6
|
|
|
7
|
+
## What it looks like
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
Real output from this plugin over its own `HZ-004` test fixture — not a mock-up. The rule pack ships no invented quotations, so a finding names both the clause it applied and the fact that the clause text was not obtained.
|
|
12
|
+
|
|
5
13
|
## What it answers
|
|
6
14
|
|
|
7
15
|
| You ask | What it answers |
|