dsh-hs-classify 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 +13 -0
- package/README.md +4 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.4
|
|
4
|
+
|
|
5
|
+
- Correct the citation-status sentence in the standard-scope note, which still
|
|
6
|
+
said every excerpt admitted the clause text was not obtained after a batch
|
|
7
|
+
of rules had been given verbatim text and marked `direct`.
|
|
8
|
+
|
|
9
|
+
## 0.2.3
|
|
10
|
+
|
|
11
|
+
- Correct the severity and basis-kind cells in `## What it does` so they
|
|
12
|
+
match the rule pack. The upgrade pass of 2026-10-07 changed the packs and
|
|
13
|
+
left this table showing the previous basis kind, so the README disagreed
|
|
14
|
+
with the plugin about what a rule does.
|
|
15
|
+
|
|
3
16
|
## 0.2.2
|
|
4
17
|
|
|
5
18
|
- Rework the README first screen. The H1 now names what the plugin checks rather
|
package/README.md
CHANGED
|
@@ -40,11 +40,10 @@ be classified under.
|
|
|
40
40
|
> A register with a structurally perfect code for the wrong goods passes this plugin. That is the documented
|
|
41
41
|
> limit, stated in the header, in `HC-002`'s note, and in the troubleshooting section.
|
|
42
42
|
>
|
|
43
|
-
> **
|
|
43
|
+
> **The rule pack states its citation status rule by rule.** **1 of its 6 rules quote verbatim clause text** and are marked `direct`; the remaining 5 state in the `excerpt` field itself that the text was not obtained, and stay at `warn` or `info`. Where a rule still carries that note, treat it as a lead rather than as a citation. The
|
|
44
44
|
> regime lives in 《中华人民共和国进出口税则》— whose codes are ten digits, the first six being the WCO
|
|
45
|
-
> Harmonized System — and 《中华人民共和国进出口关税条例》.
|
|
46
|
-
>
|
|
47
|
-
> `warn` or `info`. **When the texts are in hand, replace each `excerpt` with the real clause and raise `kind`
|
|
45
|
+
> Harmonized System — and 《中华人民共和国进出口关税条例》. For the rules whose text the verification pass could not retrieve, the pack states the gap in the
|
|
46
|
+
> `excerpt` field itself rather than paraphrasing it, and those rules stay at `warn` or `info`. **When the texts are in hand, replace each `excerpt` with the real clause and raise `kind`
|
|
48
47
|
> to `direct`.** The ten-digit assumption is a `pattern` in the rule pack, so an annual tariff change needs a
|
|
49
48
|
> rule-pack edit, not a code change.
|
|
50
49
|
|
|
@@ -66,11 +65,10 @@ item — applies a versioned rule pack, and returns a report.
|
|
|
66
65
|
|---|---|---|---|
|
|
67
66
|
| `HC-001` | the commodity code is ten digits | warn | principle |
|
|
68
67
|
| `HC-002` | chapter, heading and subheading are successive prefixes | warn | principle |
|
|
69
|
-
| `HC-003` | a classification basis is recorded | warn |
|
|
68
|
+
| `HC-003` | a classification basis is recorded | warn | direct |
|
|
70
69
|
| `HC-004` | the tariff version is declared | warn | principle |
|
|
71
70
|
| `HC-005` | item numbers are unique | warn | principle |
|
|
72
71
|
| `HC-006` | the description holds no unreplaced placeholder | warn | principle |
|
|
73
|
-
|
|
74
72
|
## Install
|
|
75
73
|
|
|
76
74
|
```sh
|