MCPcopy Create free account
hub / github.com/Agent-RL/ReCall / naive

Function naive

scripts/evaluation/run_eval.py:5–15  ·  view source on GitHub ↗
(args, config_dict)

Source from the content-addressed store, hash-verified

3import argparse
4
5def naive(args, config_dict):
6 from flashrag.pipeline import SequentialPipeline
7
8 # preparation
9 config = Config(args.config_path, config_dict)
10 all_split = get_dataset(config)
11 test_data = all_split[args.split]
12
13 pipeline = SequentialPipeline(config)
14
15 result = pipeline.run(test_data)
16
17def zero_shot(args, config_dict):
18 from flashrag.pipeline import SequentialPipeline

Callers

nothing calls this directly

Calls 4

runMethod · 0.95
ConfigClass · 0.90
get_datasetFunction · 0.90
SequentialPipelineClass · 0.90

Tested by

no test coverage detected