Repository navigation
P438 add dataset data-quality inspector (#438) - #439
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 34bfe440b4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| if scenario.ground_support is not None and scenario_path is not None: | ||
| try: | ||
| ground = inspect_ground_support(scenario_path) |
There was a problem hiding this comment.
Validate ground support against the supplied scenario
For programmatic callers that modify a loaded Scenario before inspecting it, this call checks a different scenario: inspect_ground_support() reloads the YAML and uses its ground-support reference and block IDs instead of those in the supplied model. Consequently, changing scenario.ground_support.summary_sha256 to an incorrect digest still produces no error if the on-disk reference is valid, and changed block lists produce incorrect coverage findings. Inspect the supplied scenario's reference and blocks, using scenario_path only to resolve relative evidence paths.
Useful? React with 👍 / 👎.
Summary
Closes the dataset-inspection roadmap item with a reusable data-quality pass.
fhops.scenario.data_qualityfor machine availability and ground-support findings.fhops dataset inspect-qualitywith table/JSON output and--fail-on-warning.fhops validate; invalid pinned ground-support evidence exits non-zero.Verification
pytest: 1417 passed, 219 skippedruff format,ruff check,mypy src, pre-commit-WCloses #438.