refactor(compressors): consolidate pipeline and improve mask handling

This commit is contained in:
2026-03-26 19:00:13 +08:00
parent 90d5a8f08a
commit 968819e113
11 changed files with 302 additions and 121 deletions

View File

@@ -7,7 +7,6 @@ from compressors import (
BinarySign,
HashCompressor,
HashPipeline,
SAMHashPipeline,
VideoPositiveMask,
bits_to_hash,
create_pipeline_from_config,
@@ -257,10 +256,6 @@ class TestHashPipeline:
pipeline = HashPipeline(hash_bits=256)
assert pipeline.hash_bits == 256
def test_pipeline_alias(self):
"""Verify SAMHashPipeline is alias for HashPipeline."""
assert SAMHashPipeline is HashPipeline
class TestConfigIntegration:
"""Test suite for config integration with pipeline."""