Skip to content

Correctness check#132

Merged
Essoz merged 4 commits intomainfrom
correctness_check
Aug 2, 2025
Merged

Correctness check#132
Essoz merged 4 commits intomainfrom
correctness_check

Conversation

@YinjieZhao22
Copy link
Copy Markdown
Collaborator

No description provided.

@YinjieZhao22 YinjieZhao22 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
Copy Markdown
Collaborator

Essoz commented Jul 30, 2025

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

Copy link
Copy Markdown

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

Comment thread .github/workflows/correctness_checks.yml
Comment thread traincheck/onlinechecker/streamhandler_filesystem.py
@YinjieZhao22
Copy link
Copy Markdown
Collaborator Author

@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
Copy Markdown
Collaborator

Essoz commented Aug 2, 2025

Thanks!

@Essoz Essoz deleted the correctness_check branch August 2, 2025 05:20
@YinjieZhao22 YinjieZhao22 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