@@ -93,8 +93,24 @@ With `-f; --fix` option enables to fix issues automatically:
9393` ` ` shell
9494# Fix issues automatically
9595t4sanity < DATA_ROOT> --fix
96+
97+ >>>Sanity checking...: 1it [00:00, 9.70it/s]
98+
99+ === DatasetID: dataset1 ===
100+ ...
101+ REC007: --> FIXED🎉
102+ - All categories either must have an ' index' set or all have a ' null' index.
103+ ...
104+
105+ +-----------+---------+--------+--------+---------+----------+-------+
106+ | DatasetID | Version | Passed | Failed | Skipped | Warnings | Fixed |
107+ +-----------+---------+--------+--------+---------+----------+-------+
108+ | dataset1 | 0 | 49 | 0 | 2 | 3 | 1 |
109+ +-----------+---------+--------+--------+---------+----------+-------+
96110` ` `
97111
112+ The generated report contains failure or warning reasons, but it' s considered as passed if the fix was successful.
113+
98114### Exit Status Logic
99115
100116`t4sanity` CLI returns the exit code based on the following conditions:
@@ -129,7 +145,7 @@ Then a JSON file named `result.json` will be generated as follows:
129145 "severity": "<WARNING/ERROR: str>",
130146 "description": "<Description: str>",
131147 "status": "<PASSED/FAILED/SKIPPED: str>",
132- " reasons" : " <[<Reason1>, <Reason2>, ...]: [str; N] | null>" , // Failed or skipped reasons, null if passed
148+ "reasons": "<[<Reason1>, <Reason2>, ...]: [str; N] | null>",
133149 "fixed": "<Fixed: bool>"
134150 },
135151 ]
0 commit comments