@@ -483,7 +483,7 @@ def test_build_result_generates_clients_with_sequences(
483483 normalized ,
484484 language = "en" ,
485485 vaccine_reference = default_vaccine_reference ,
486- ignore_agents = [],
486+ replace_unspecified = [],
487487 )
488488
489489 assert len (result .clients ) == 3
@@ -508,14 +508,14 @@ def test_build_result_sorts_clients_deterministically(
508508 normalized ,
509509 language = "en" ,
510510 vaccine_reference = default_vaccine_reference ,
511- ignore_agents = [],
511+ replace_unspecified = [],
512512 )
513513
514514 result2 = preprocess .build_preprocess_result (
515515 normalized ,
516516 language = "en" ,
517517 vaccine_reference = default_vaccine_reference ,
518- ignore_agents = [],
518+ replace_unspecified = [],
519519 )
520520
521521 ids1 = [c .client_id for c in result1 .clients ]
@@ -569,7 +569,7 @@ def test_build_result_sorts_by_school_then_name(
569569 normalized ,
570570 language = "en" ,
571571 vaccine_reference = default_vaccine_reference ,
572- ignore_agents = [],
572+ replace_unspecified = [],
573573 )
574574
575575 # Expected order: Apple/Chloe/Jones, Apple/Diana/Jones, Zebra/Alice/Smith, Zebra/Bob/Smith
@@ -595,7 +595,7 @@ def test_build_result_maps_vaccines_correctly(
595595 normalized ,
596596 language = "en" ,
597597 vaccine_reference = default_vaccine_reference ,
598- ignore_agents = [],
598+ replace_unspecified = [],
599599 )
600600
601601 # Should have DTaP expanded to component diseases
@@ -637,7 +637,7 @@ def test_build_result_handles_missing_board_name_with_warning(
637637 normalized ,
638638 language = "en" ,
639639 vaccine_reference = default_vaccine_reference ,
640- ignore_agents = [],
640+ replace_unspecified = [],
641641 )
642642
643643 # Should still process - at least one client
@@ -660,16 +660,16 @@ def test_build_result_french_language_support(
660660 normalized ,
661661 language = "fr" ,
662662 vaccine_reference = default_vaccine_reference ,
663- ignore_agents = [],
663+ replace_unspecified = [],
664664 )
665665
666666 assert len (result .clients ) == 1
667667 assert result .clients [0 ].language == "fr"
668668
669- def test_build_result_handles_ignore_agents (
669+ def test_build_result_handles_replace_unspecified (
670670 self , default_vaccine_reference
671671 ) -> None :
672- """Verify ignore_agents filters out unspecified vaccines.
672+ """Verify replace_unspecified filters out unspecified vaccines.
673673
674674 Real-world significance:
675675 - Input may contain "Not Specified" vaccine agents
@@ -682,7 +682,7 @@ def test_build_result_handles_ignore_agents(
682682 normalized ,
683683 language = "en" ,
684684 vaccine_reference = default_vaccine_reference ,
685- ignore_agents = ["Not Specified" , "unspecified" ],
685+ replace_unspecified = ["Not Specified" , "unspecified" ],
686686 )
687687
688688 assert len (result .clients ) == 1
@@ -708,7 +708,7 @@ def test_build_result_detects_duplicate_client_ids(
708708 normalized ,
709709 language = "en" ,
710710 vaccine_reference = default_vaccine_reference ,
711- ignore_agents = [],
711+ replace_unspecified = [],
712712 )
713713
714714 # Should have 2 clients (no deduplication)
@@ -744,7 +744,7 @@ def test_build_result_detects_multiple_duplicate_client_ids(
744744 normalized ,
745745 language = "en" ,
746746 vaccine_reference = default_vaccine_reference ,
747- ignore_agents = [],
747+ replace_unspecified = [],
748748 )
749749
750750 # Should have 5 clients (no deduplication)
@@ -776,7 +776,7 @@ def test_build_result_no_warning_for_unique_client_ids(
776776 normalized ,
777777 language = "en" ,
778778 vaccine_reference = default_vaccine_reference ,
779- ignore_agents = [],
779+ replace_unspecified = [],
780780 )
781781
782782 # Should have 3 unique clients
0 commit comments