Skip to content

Conversation

@ZoroZhao
Copy link
Collaborator

No description provided.

@ZoroZhao ZoroZhao requested review from Essoz and removed request for Essoz July 30, 2025 16:36
@Essoz Essoz requested a review from Copilot July 30, 2025 22:12
@Essoz
Copy link
Collaborator

Essoz commented Jul 30, 2025

@ZoroZhao Hi Yinjie, there seems to be correctness check failures. Can you investigate the root cause?

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a correctness checking system for TrainCheck, including CI automation and improved error handling. The changes add validation assertions, adjust logging levels for better debugging, and establish automated correctness verification.

  • Adds assertion for null-check validation in function call processing
  • Changes logging level from warning to debug for missing tensor values
  • Implements GitHub Actions workflow for automated correctness checks

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
traincheck/onlinechecker/streamhandler_filesystem.py Adds assertion to validate pre_record exists before processing post records
traincheck/invariant/consistency_transient_vars.py Changes log level from warning to debug for missing tensor values
README.md Adds correctness check badge to documentation
.github/workflows/correctness_checks.yml Creates CI workflow for automated correctness validation

@ZoroZhao
Copy link
Collaborator Author

ZoroZhao commented Aug 2, 2025

@ZoroZhao Hi Yinjie, there seems to be correctness check failures. Can you investigate the root cause?

I have fixed this. The reason is related to the order of os.listdir in different os.

@Essoz Essoz merged commit df52322 into main Aug 2, 2025
2 of 6 checks passed
@Essoz
Copy link
Collaborator

Essoz commented Aug 2, 2025

Thanks!

@Essoz Essoz deleted the correctness_check branch August 2, 2025 05:20
@ZoroZhao ZoroZhao restored the correctness_check branch August 4, 2025 03:31
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

Successfully merging this pull request may close these issues.

3 participants