Skip to content

feat: add DB status#166

Merged
ktro2828 merged 3 commits into
mainfrom
feat/sanity/status
Aug 17, 2025
Merged

feat: add DB status#166
ktro2828 merged 3 commits into
mainfrom
feat/sanity/status

Conversation

@ktro2828

@ktro2828 ktro2828 commented Aug 15, 2025

Copy link
Copy Markdown
Collaborator

What

This PR adds DBStatus enum to DBException for displaying status information.
This is used in t4sanity command.

In the case of any exceptions occurred:

>>>Sanity checking...: 2it [00:00, 18.61it/s]
⚠️  Encountered some exceptions!!
+--------------------------------------+---------+--------+------------------------------------------------------------------------------------------------+
|              DatasetID               | Version | status |                                            Message                                             |
+--------------------------------------+---------+--------+------------------------------------------------------------------------------------------------+
| 4ea652e7-76d5-4240-adb5-9d4ecac25eae |    2    | ERROR  | bbox must be (xmin, ymin, xmax, ymax) and xmin <= xmax && ymin <= ymax: (1532, 198, 1440, 265) |
| 70891309-ca8b-477b-905a-5156ffb3df65 |    1    |   OK   |                                                                                                |
+--------------------------------------+---------+--------+------------------------------------------------------------------------------------------------+

In the case of no exception occurred:

>>>Sanity checking...: 1it [00:00,  9.70it/s]
✅ No exceptions occurred!!

@github-actions github-actions Bot added the new-feature New feature or request label Aug 15, 2025
@github-actions

github-actions Bot commented Aug 15, 2025

Copy link
Copy Markdown
Contributor

☂️ Python Coverage

current status: ❌

Overall Coverage

Lines Covered Coverage Threshold Status
2302 1562 68% 50% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
t4_devkit/common/sanity.py 0% 🔴
t4_devkit/tier4.py 17% 🔴
TOTAL 8% 🔴

updated for commit: 4ff53a4 by action🐍

@ktro2828 ktro2828 force-pushed the feat/sanity/status branch from 68b04ab to f92389c Compare August 17, 2025 21:41
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
@ktro2828 ktro2828 force-pushed the feat/sanity/status branch from f92389c to 5a58280 Compare August 17, 2025 21:52
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Aug 17, 2025
@ktro2828 ktro2828 merged commit f2e028a into main Aug 17, 2025
5 checks passed
@ktro2828 ktro2828 deleted the feat/sanity/status branch August 17, 2025 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation new-feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant