Repository navigation
test(looper): give the verify_calibration_dataset double its owner (#6406/#6422 follow-up) - #6466
Merged
Merged
Conversation
…6406/#6422 follow-up) #6422 moved verify_calibration_dataset to LoopProcessor, where it reads calibration_dataset_owner; the #6406 test still called it on a bare SimpleNamespace and failed with AttributeError on main. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tests/test_looper_processor_capabilities.py::test_gptq_never_inherits_previous_calibrationfails on main withAttributeError: 'types.SimpleNamespace' object has no attribute 'calibration_dataset_owner'. #6406 added the test, callingGPTQProcessor.verify_calibration_dataseton a bareSimpleNamespace. #6422 then made that method the sharedLoopProcessor.verify_calibration_dataset, which readsself.calibration_dataset_owner. Each PR passed on its own; together they leave this test stale. Test-only fix; no production change.What Changed
calibration_dataset_owner=GPTQProcessor.calibration_dataset_owner. TheValueErrorassertion also pins the owner-specific message (GPTQProcessor's calibration_dataset must be provided), so the test still proves the GPTQ arm raises without a dataset and returns True with one.Tests
Measured Impact
Not applicable (test-only).
Model Support / Module Plan
Not applicable.
AWQ onboarding safety
Not applicable.
Logic Flow Documentation
Not applicable: test-only.
Review Requirements
Kernel Accuracy Requirements
Notes
Follow-up to #6406 and #6422, both of which I authored.
🤖 Generated with Claude Code