@@ -510,28 +510,28 @@ class TestDefaultScorers:
510510
511511 def test_pipeline_tick_uses_batch (self ):
512512 """pipeline('tick') auto-attaches BatchScorer."""
513- pipe = pipeline ("tick" )
513+ pipe = pipeline ("tick" , api_key = "test" )
514514 assert pipe .scorer .scoring_method == "batch"
515515
516516 def test_pipeline_rlcf_uses_weighted (self ):
517517 """pipeline('rlcf_direct') auto-attaches WeightedScorer."""
518- pipe = pipeline ("rlcf_direct" )
518+ pipe = pipeline ("rlcf_direct" , api_key = "test" )
519519 assert pipe .scorer .scoring_method == "weighted"
520520
521521 def test_pipeline_rocketeval_uses_normalized (self ):
522522 """pipeline('rocketeval') auto-attaches NormalizedScorer."""
523- pipe = pipeline ("rocketeval" )
523+ pipe = pipeline ("rocketeval" , api_key = "test" )
524524 assert pipe .scorer .scoring_method == "normalized"
525525
526526 def test_pipeline_corpus_level_uses_batch (self ):
527527 """Corpus-level pipeline() auto-attaches BatchScorer."""
528528 for gen_name in ["feedback" , "checkeval" , "interacteval" ]:
529- pipe = pipeline (gen_name )
529+ pipe = pipeline (gen_name , api_key = "test" )
530530 assert pipe .scorer .scoring_method == "batch" , f"{ gen_name } should use batch"
531531
532532 def test_from_preset_also_auto_attaches_scorer (self ):
533533 """from_preset= also auto-attaches default scorer."""
534- pipe = ChecklistPipeline (from_preset = "rlcf_direct" )
534+ pipe = ChecklistPipeline (from_preset = "rlcf_direct" , api_key = "test" )
535535 assert pipe .scorer .scoring_method == "weighted"
536536
537537 def test_generator_string_no_auto_scorer (self ):
0 commit comments