Test Puzzletron Fire import behavior - #2184
Conversation
Signed-off-by: Johannes Rausch <jrausch@nvidia.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThe pull request generalizes Puzzletron import-boundary subprocess tests and adds coverage that ChangesPuzzletron import-boundary regression coverage
Estimated code review effort: 2 (Simple) | ~10 minutes Mergeability Score: ⚪ Minimal · up to This localized test-only change consolidates import-boundary coverage without altering product behavior; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feature/puzzletron_v2 #2184 +/- ##
======================================================
Coverage 53.15% 53.15%
======================================================
Files 704 704
Lines 91506 91506
======================================================
Hits 48640 48640
Misses 42866 42866
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
What does this PR do?
Type of change: new tests
Consolidates Puzzletron optional-dependency import coverage into one focused module. It replaces source-text inspection of the dataset preparation entry point with a fresh-interpreter behavior test that verifies regular imports do not require Fire and CLI execution dispatches to
process_and_save_dataset.This preserves the existing five-case import-boundary contract while removing redundant test surface.
Testing
Existing Puzzletron unit CI covers the consolidated import-boundary test. The behavioral case also detects injected top-level Fire imports and missing CLI dispatch.
The full local Puzzletron suite was not run because its pinned NeMo AutoModel dependency was unavailable; the dedicated CI session installs that dependency.
Summary by CodeRabbit