@mark1russell7/guidebook-preparedness 0.3.0 → 0.3.1
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/build/index.d.ts +6 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +54 -14
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/src/data/media.ts +34 -1
- package/src/data/sources.ts +2 -0
package/build/index.d.ts
CHANGED
|
@@ -46,7 +46,12 @@ export declare const MEDIUM_LOSSES: Readonly<Partial<Record<MediumKind, {
|
|
|
46
46
|
readonly yearlyLoss: number;
|
|
47
47
|
readonly unit: string;
|
|
48
48
|
}>>>;
|
|
49
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* The kinds with no cited rate. A plan of copies cannot use them until a source gives a rate.
|
|
51
|
+
* - `optical`: the study of NIST and the Library of Congress gives a time to 5% failure, not a yearly rate. The units `media.optical.*` give its facts.
|
|
52
|
+
* An aging disc fails more frequently when it is old, so a constant yearly rate from that time is not a safe bound.
|
|
53
|
+
* - `flash` and `paper`: no open source with a rate was found on 2026-11-22.
|
|
54
|
+
*/
|
|
50
55
|
export declare const MEDIUM_GAPS: readonly MediumKind[];
|
|
51
56
|
/**
|
|
52
57
|
* The 12 cases of v1. A case is a kind of event. The codes come from the event taxonomy of the alerts project.
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/data/sources.ts","../src/data/steps.ts","../src/data/gaps.ts","../src/data/coverage.ts","../src/data/rules.ts","../src/data/chart.ts","../src/data/topics.ts","../src/data/bundles.ts","../src/data/media.ts","../src/index.ts"],"mappings":";;;;;qBAOa;;qBAKA,kBAAkB;;qBCyClB,qBAAqB;;qBAkgBrB,oBAAoB;;qBA6MpB,gBAAgB;;qBCxvBhB,eAAe;;;;;qBCLf;;qBCEA,gBAAgB;;qBCsBhB;;qBAKA,iBAAiB;;qBC9BjB;;qBAyDA,iBAAiB;;qBCvDjB;;;;;;qBAOA;;qBAKA,kBAAkB;;qBCblB,sBAAsB;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/data/sources.ts","../src/data/steps.ts","../src/data/gaps.ts","../src/data/coverage.ts","../src/data/rules.ts","../src/data/chart.ts","../src/data/topics.ts","../src/data/bundles.ts","../src/data/media.ts","../src/index.ts"],"mappings":";;;;;qBAOa;;qBAKA,kBAAkB;;qBCyClB,qBAAqB;;qBAkgBrB,oBAAoB;;qBA6MpB,gBAAgB;;qBCxvBhB,eAAe;;;;;qBCLf;;qBCEA,gBAAgB;;qBCsBhB;;qBAKA,iBAAiB;;qBC9BjB;;qBAyDA,iBAAiB;;qBCvDjB;;;;;;qBAOA;;qBAKA,kBAAkB;;qBCblB,sBAAsB;;qBA8CtB,eAAe,SAAS,QAAQ,OAAO;WAAuB;WAA6B;;;;;;;;qBAW3F,sBAAsB;;;;;qBC7CtB;;;;;qBAmBA;;qBAGA;;qBAGA;;qBAGA,eAAe"}
|
package/build/index.js
CHANGED
|
@@ -509,6 +509,10 @@ const SOURCES = [
|
|
|
509
509
|
checked: CHECKED,
|
|
510
510
|
by: "Backblaze"
|
|
511
511
|
},
|
|
512
|
+
{
|
|
513
|
+
...federal("nist-lc-optical", "NIST and the Library of Congress", "NIST/Library of Congress (LC) Optical Disc Longevity Study: Final Report", "https://www.loc.gov/preservation/resources/rt/NIST_LC_OpticalDiscLongevity.pdf"),
|
|
514
|
+
checked: "2026-11-22"
|
|
515
|
+
},
|
|
512
516
|
{
|
|
513
517
|
...federal("ready-nd-flyer", "Ready.gov", "Nuclear Detonation Safety: Food, Drinking Water and Medicine", "https://www.ready.gov/sites/default/files/2023-01/ready-gov_nuclear-detonation-safety_flyer1.pdf"),
|
|
514
518
|
checked: "2026-11-22"
|
|
@@ -6170,19 +6174,50 @@ const BUNDLES = [
|
|
|
6170
6174
|
];
|
|
6171
6175
|
// src/data/media.ts
|
|
6172
6176
|
/** The fact units of the rates. */
|
|
6173
|
-
const MEDIA_UNITS = [
|
|
6174
|
-
|
|
6175
|
-
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6177
|
+
const MEDIA_UNITS = [
|
|
6178
|
+
{
|
|
6179
|
+
id: "media.hdd.afr",
|
|
6180
|
+
use: "fact",
|
|
6181
|
+
text: "The lifetime annualized failure rate of all the hard drives of Backblaze is 1.41%, to 2026-06-30.",
|
|
6182
|
+
source: "backblaze-hdd-2026q2",
|
|
6183
|
+
locator: "The lifetime table, the row Totals"
|
|
6184
|
+
},
|
|
6185
|
+
{
|
|
6186
|
+
id: "media.ssd.afr",
|
|
6187
|
+
use: "fact",
|
|
6188
|
+
text: "The lifetime annualized failure rate of all the SSD boot drives of Backblaze is 0.90%, from Q4 2018 to Q2 2023.",
|
|
6189
|
+
source: "backblaze-ssd-2023",
|
|
6190
|
+
locator: "The section of the lifetime rates"
|
|
6191
|
+
},
|
|
6192
|
+
{
|
|
6193
|
+
id: "media.optical.life",
|
|
6194
|
+
use: "fact",
|
|
6195
|
+
text: "The NIST and Library of Congress study defines the life expectancy of a disc as the time to 5% failure (95% survival), with 95% confidence, at 25 °C and 50% RH.",
|
|
6196
|
+
source: "nist-lc-optical",
|
|
6197
|
+
locator: "Section 5, Life Expectancy"
|
|
6198
|
+
},
|
|
6199
|
+
{
|
|
6200
|
+
id: "media.optical.cdr",
|
|
6201
|
+
use: "fact",
|
|
6202
|
+
text: "All 7 CD-R products of the study had a life expectancy of more than 30 years. 5 of them had more than 45 years.",
|
|
6203
|
+
source: "nist-lc-optical",
|
|
6204
|
+
locator: "Section 5, Recordable CD, and Fig. 5"
|
|
6205
|
+
},
|
|
6206
|
+
{
|
|
6207
|
+
id: "media.optical.dvd",
|
|
6208
|
+
use: "fact",
|
|
6209
|
+
text: "Of the 15 recordable DVD products of the study, 7 had a life expectancy of more than 45 years, 4 had 30 to 45 years, 2 had 15 to 30 years and 2 had less than 15 years.",
|
|
6210
|
+
source: "nist-lc-optical",
|
|
6211
|
+
locator: "Section 5, Recordable and rewritable DVD, and Fig. 6"
|
|
6212
|
+
},
|
|
6213
|
+
{
|
|
6214
|
+
id: "media.optical.limits",
|
|
6215
|
+
use: "fact",
|
|
6216
|
+
text: "The study modeled only temperature and relative humidity. It did not model light, corrosive gases, contaminants, mishandling or the playback device.",
|
|
6217
|
+
source: "nist-lc-optical",
|
|
6218
|
+
locator: "Section 1, Introduction"
|
|
6219
|
+
}
|
|
6220
|
+
];
|
|
6186
6221
|
/** The yearly loss of each kind with a cited rate, and the unit of the rate. */
|
|
6187
6222
|
const MEDIUM_LOSSES = {
|
|
6188
6223
|
hdd: {
|
|
@@ -6194,7 +6229,12 @@ const MEDIUM_LOSSES = {
|
|
|
6194
6229
|
unit: "media.ssd.afr"
|
|
6195
6230
|
}
|
|
6196
6231
|
};
|
|
6197
|
-
/**
|
|
6232
|
+
/**
|
|
6233
|
+
* The kinds with no cited rate. A plan of copies cannot use them until a source gives a rate.
|
|
6234
|
+
* - `optical`: the study of NIST and the Library of Congress gives a time to 5% failure, not a yearly rate. The units `media.optical.*` give its facts.
|
|
6235
|
+
* An aging disc fails more frequently when it is old, so a constant yearly rate from that time is not a safe bound.
|
|
6236
|
+
* - `flash` and `paper`: no open source with a rate was found on 2026-11-22.
|
|
6237
|
+
*/
|
|
6198
6238
|
const MEDIUM_GAPS = [
|
|
6199
6239
|
"flash",
|
|
6200
6240
|
"optical",
|