[FEATURE] Validate performance results files input to compare package
See original GitHub issueIs your feature request related to a problem? Please describe.
Currently reading of performance file by compare
package does not perform any validation, so the CLI could crash with cryptic errors if file is corrupted.
Describe the solution you’d like
Use zod
or other hight quality library to parse/validate contents of the results file. This will require defining schemas for header and entry rows and should be configured to work with TypeScript. In case of error the information about the incorrect line should be displayed.
Describe alternatives you’ve considered Write validation by hand, but that would be too not worth the tradeoff of additional deps
Additional context N/A
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:8 (8 by maintainers)
Top Results From Across the Web
[FEATURE] Validate performance results files input to compare ...
Currently reading of performance file by compare package does not perform any validation, so the CLI could crash with cryptic errors if file...
Read more >What is Data Validation? How It Works and Why It's Important
You can compare data values and structure against your defined rules to verify that all the necessary information is within the required quality...
Read more >A Comprehensive Guide on How to Monitor Your Models in ...
The most effective way to gauge the functional performance of your model in production is to monitor the prediction of the model and...
Read more >Comparison of Two Data Sets using Python - Medium
Details : datacompy takes two dataframes as input and gives us a human-readable report containing statistics that lets us know the similarities ...
Read more >Benchmarking in Golang: Improving function performance
Improve your Golang application's performance by running benchmarks with built-in tools like the testing package and the go tool.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ShaswatPrabhat I am back and will check your PR today. Thank you for both contribution and panience 🙂
Re other contributors: we also got @thymikee but he is usually even more busy than I am.
@ShaswatPrabhat go ahead 👍