Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data File Testing Code Optimization #2273

Open
boerzia opened this issue Dec 25, 2024 · 1 comment
Open

Data File Testing Code Optimization #2273

boerzia opened this issue Dec 25, 2024 · 1 comment

Comments

@boerzia
Copy link

boerzia commented Dec 25, 2024

The current code for testing data and labels files has issues. Lacks proper exception handling, has duplicate code for reading TOML and JSON files, suboptimal unittest assertions, and limited code readability/documentation. Suggest refactoring for robustness and maintainability.
当前用于测试数据和标签文件的代码存在问题。缺乏适当的异常处理,读取 TOML 和 JSON 文件的代码重复,代码可读性/文档较差。因此为了健壮性和可维护性,建议进行重构。

@Lemeri123
Copy link

Assign this to me @boerzia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants