dsh-ota-review-check 0.2.2 → 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 +21 -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 +11 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
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
|
+
|
|
17
|
+
## 0.2.3
|
|
18
|
+
|
|
19
|
+
- Correct the severity and basis-kind cells in `## What it does` so they
|
|
20
|
+
match the rule pack. The upgrade pass of 2026-10-07 changed the packs and
|
|
21
|
+
left this table showing the previous basis kind, so the README disagreed
|
|
22
|
+
with the plugin about what a rule does.
|
|
23
|
+
|
|
3
24
|
## 0.2.2
|
|
4
25
|
|
|
5
26
|
- 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-ota-review-check — Verificación del registro de respuestas a reseñas en línea
|
|
2
2
|
|
|
3
|
+
[](https://dsh.market/)
|
|
4
|
+
|
|
3
5
|
`dsh-ota-review-check` lee un registro de reseñas en línea con sus respuestas —la cabecera del establecimiento más una fila por reseña— y comprueba la completitud y el cierre de ese mismo registro: que cada reseña registre su contenido o una puntuación, que una reseña respondida lleve fecha de respuesta y autor de la respuesta, que la respuesta no sea anterior a la reseña, que una reseña sin responder quede dentro del plazo que el propio registro declara, que el tipo de problema proceda del vocabulario de su institución y que los números de reseña sean únicos.
|
|
4
6
|
|
|
7
|
+
## Cómo se ve la salida
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
Salida real de este plugin sobre su propio fixture de prueba `OT-001` — 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-ota-review-check — ऑनलाइन समीक्षा उत्तर रजिस्टर की जाँच
|
|
2
2
|
|
|
3
|
+
[](https://dsh.market/)
|
|
4
|
+
|
|
3
5
|
`dsh-ota-review-check` ऑनलाइन समीक्षा और उत्तर का एक रजिस्टर पढ़ता है — प्रॉपर्टी हेडर और प्रत्येक समीक्षा की एक पंक्ति — और उसी रजिस्टर की पूर्णता तथा बंद-लूप (closed loop) की जाँच करता है: क्या प्रत्येक समीक्षा में उसका विवरण या स्कोर दर्ज है, क्या उत्तर दी गई समीक्षा में उत्तर की तिथि और उत्तर देने वाले का नाम दर्ज है, क्या उत्तर समीक्षा से पहले नहीं है, क्या बिना उत्तर वाली समीक्षा रजिस्टर में लिखी समय-सीमा के भीतर है, क्या समस्या-प्रकार आपकी संस्था की अपनी शब्दावली से लिया गया है, और क्या समीक्षा क्रमांक अद्वितीय हैं।
|
|
4
6
|
|
|
7
|
+
## आउटपुट कैसा दिखता है
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
इस प्लगइन का अपने ही `OT-001` टेस्ट फ़िक्स्चर पर वास्तविक आउटपुट — कोई नकली चित्र नहीं। नियम-पैक उद्धरण नहीं गढ़ता, इसलिए हर निष्कर्ष लागू किए गए खंड का नाम और यह भी बताता है कि उसका मूल पाठ इस बार प्राप्त नहीं हुआ।
|
|
12
|
+
|
|
5
13
|
## यह किन सवालों का जवाब देता है
|
|
6
14
|
|
|
7
15
|
| आपका सवाल | इसका जवाब |
|
package/README-pt.md
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
# dsh-ota-review-check — Verificação do registo de respostas a avaliações em linha
|
|
2
2
|
|
|
3
|
+
[](https://dsh.market/)
|
|
4
|
+
|
|
3
5
|
`dsh-ota-review-check` lê um registo de avaliações em linha com as respetivas respostas —o cabeçalho do estabelecimento mais uma linha por avaliação— e verifica a completude e o fecho desse próprio registo: se cada avaliação regista o seu conteúdo ou uma pontuação, se uma avaliação respondida traz data de resposta e autor da resposta, se a resposta não é anterior à avaliação, se uma avaliação sem resposta cai dentro do prazo que o próprio registo declara, se o tipo de problema vem do vocabulário da sua instituição e se os números de avaliação são únicos.
|
|
4
6
|
|
|
7
|
+
## Como é a saída
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
Saída real deste plugin sobre o seu próprio fixture de teste `OT-001` — 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-ota-review-check — 在线点评回复台账核对
|
|
2
2
|
|
|
3
|
+
[](https://dsh.market/)
|
|
4
|
+
|
|
3
5
|
`dsh-ota-review-check` 读取一份在线点评回复台账——门店表头加每条点评一行——核对这份台账自身的齐备与闭环:每条点评是否记录了内容或评分、已回复的点评是否记录了回复日期与回复人、回复是否早于点评、未回复的点评是否落在台账自己写明的回复期限之内、问题类型是否取自本机构自己的分类口径、点评编号是否唯一。
|
|
4
6
|
|
|
7
|
+
## 实际输出长什么样
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
本插件对自己 `OT-001` 测试夹具的**真实输出**,不是示意图。规则库不伪造引文,因此每条发现都会同时写明所引条款,以及该条款原文本次未取得。
|
|
12
|
+
|
|
5
13
|
## 它回答什么问题
|
|
6
14
|
|
|
7
15
|
| 你会问 | 它怎么答 |
|
package/README.md
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
# dsh-ota-review-check — Online review and reply register check
|
|
2
2
|
|
|
3
|
+
[](https://dsh.market/)
|
|
4
|
+
|
|
3
5
|
`dsh-ota-review-check` reads one online review-and-reply register — the property header plus one row per review — and checks that register's own completeness and closed loop: that each review records its content or a score, that a replied review carries a reply date and a reply author, that the reply does not precede the review, that an unreplied review falls inside the deadline the register itself states, that the problem category comes from your institution's own vocabulary, and that review numbers are unique.
|
|
4
6
|
|
|
7
|
+
## What it looks like
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
Real output from this plugin over its own `OT-001` 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 |
|
|
@@ -71,13 +79,12 @@ per review — applies a versioned rule pack, and returns a report.
|
|
|
71
79
|
| Rule | Check | Severity | Basis kind |
|
|
72
80
|
|---|---|---|---|
|
|
73
81
|
| `OT-001` | the review records content or a score | warn | principle |
|
|
74
|
-
| `OT-002` | a replied review carries a reply date |
|
|
82
|
+
| `OT-002` | a replied review carries a reply date | info | local |
|
|
75
83
|
| `OT-003` | an unreplied review falls inside the recorded deadline | info | local |
|
|
76
|
-
| `OT-004` | the reply does not precede the review |
|
|
77
|
-
| `OT-005` | a replied review names the replier |
|
|
84
|
+
| `OT-004` | the reply does not precede the review | info | local |
|
|
85
|
+
| `OT-005` | a replied review names the replier | info | local |
|
|
78
86
|
| `OT-006` | the problem category comes from your vocabulary (off by default) | info | local |
|
|
79
87
|
| `OT-007` | review numbers are unique | warn | principle |
|
|
80
|
-
|
|
81
88
|
## Install
|
|
82
89
|
|
|
83
90
|
```sh
|