testilo 33.4.0 → 33.5.0
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/README.md +4 -10
- package/compare.js +4 -2
- package/package.json +1 -1
- package/procs/compare/tcp40/index.js +2 -2
- package/procs/digest/tdp40/index.js +1 -1
- package/procs/digest/tdp41/index.html +59 -0
- package/procs/digest/tdp41/index.js +111 -0
- package/procs/score/tic41.js +8732 -0
- package/reconcile.js +18 -0
- package/reports/digested/style.css +9 -0
package/reconcile.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
reconcile.js
|
|
3
|
+
Creates a reconciliation report from a scored report.
|
|
4
|
+
Arguments:
|
|
5
|
+
0. Reconciling function.
|
|
6
|
+
1. Scored report.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
// ########## FUNCTIONS
|
|
10
|
+
|
|
11
|
+
// Reconciles the tools in the scored report and returns a reconciliation report.
|
|
12
|
+
exports.reconcile = async (reconciler, report) => {
|
|
13
|
+
// Create a reconciliation report.
|
|
14
|
+
const reconciliation = await reconciler(report);
|
|
15
|
+
console.log(`Report ${report.id} tools reconciled`);
|
|
16
|
+
// Return the reconciliation report.
|
|
17
|
+
return reconciliation;
|
|
18
|
+
};
|
|
@@ -29,6 +29,9 @@ caption {
|
|
|
29
29
|
font-weight: 700;
|
|
30
30
|
font-style: italic;
|
|
31
31
|
}
|
|
32
|
+
.center {
|
|
33
|
+
text-align: center;
|
|
34
|
+
}
|
|
32
35
|
code {
|
|
33
36
|
font-family: sans-serif;
|
|
34
37
|
color: #832703;
|
|
@@ -78,9 +81,15 @@ input {
|
|
|
78
81
|
legend {
|
|
79
82
|
font-weight: 700;
|
|
80
83
|
}
|
|
84
|
+
.num {
|
|
85
|
+
font-family: monospace;
|
|
86
|
+
}
|
|
81
87
|
pre {
|
|
82
88
|
white-space: break-spaces;
|
|
83
89
|
}
|
|
90
|
+
.right {
|
|
91
|
+
text-align: right;
|
|
92
|
+
}
|
|
84
93
|
.secondCellRight td:nth-child(2) {
|
|
85
94
|
text-align: right;
|
|
86
95
|
}
|