MCPcopy Create free account

hub / github.com/RUC-NLPIR/WebThinker / functions

Functions400 in github.com/RUC-NLPIR/WebThinker

↓ 1 callersFunctionget_web_page_reader_instruction
(query, document)
demo/prompts.py:84
↓ 1 callersFunctionget_webpage_to_reasonchain_instruction
(prev_reasoning, search_query, document)
scripts/prompts/prompts.py:202
↓ 1 callersFunctionget_wizard_question_template_answer
(question: CodeGenerationProblem)
scripts/lcb_runner/prompts/code_generation.py:124
↓ 1 callersFunctionget_wizard_question_template_answer
( question: TestOutputPredictionProblem, testcase_input: str )
scripts/lcb_runner/prompts/test_output_prediction.py:119
↓ 1 callersFunctionget_write_section_instruction
(question, previous_thoughts, relevant_documents, section_name, task, current_article)
scripts/prompts/prompts_report.py:163
↓ 1 callersFunctioninit_env
()
demo/run_demo.py:13
↓ 1 callersMethodinsert_output
(self, output_list: list[str], code_list: list[str])
scripts/lcb_runner/benchmarks/code_generation.py:78
↓ 1 callersMethodinsert_output
(self, output_list: list[str], pred_list: list[str])
scripts/lcb_runner/benchmarks/test_output_prediction.py:32
↓ 1 callersFunctionis_main
Return if the caller is main. Equilavent to ``__name__ == '__main__'``.
scripts/lcb_runner/pyext/pyext-0.7/pyext.py:464
↓ 1 callersMethodis_success
(self)
scripts/lcb_runner/utils/multiprocess.py:79
↓ 1 callersFunctionllm_evaluate_equivalence_batch
Evaluate multiple answer pairs concurrently using LLM
scripts/evaluate/evaluate.py:124
↓ 1 callersFunctionllm_evaluate_equivalence_single
Evaluate a single pair of answers using LLM
scripts/evaluate/evaluate.py:66
↓ 1 callersFunctionload_code_generation_dataset_not_fast
(release_version="release_v1")
scripts/lcb_runner/benchmarks/code_generation.py:131
↓ 1 callersFunctionload_lora_adapter
Load a LoRA adapter with the specified name and path
scripts/run_web_thinker_report.py:875
↓ 1 callersFunctionload_lora_adapter
Load a LoRA adapter with the specified name and path
scripts/run_web_thinker.py:656
↓ 1 callersFunctionlower
(text)
scripts/evaluate/evaluate.py:193
↓ 1 callersFunctionmain
()
scripts/run_naive_rag.py:552
↓ 1 callersFunctionmain
()
scripts/run_web_thinker_report.py:1112
↓ 1 callersFunctionmain
()
scripts/run_naive_rag_report.py:377
↓ 1 callersFunctionmain
()
scripts/run_search_o1.py:778
↓ 1 callersFunctionmain
()
scripts/run_web_thinker.py:894
↓ 1 callersFunctionmain
()
scripts/run_direct_gen.py:418
↓ 1 callersFunctionmain
()
scripts/lcb_runner/runner/custom_evaluator.py:15
↓ 1 callersFunctionmain
()
scripts/lcb_runner/runner/main.py:18
↓ 1 callersFunctionmain_async
()
scripts/run_naive_rag.py:145
↓ 1 callersFunctionmain_async
()
scripts/run_web_thinker_report.py:903
↓ 1 callersFunctionmain_async
()
scripts/run_naive_rag_report.py:271
↓ 1 callersFunctionmain_async
()
scripts/run_search_o1.py:559
↓ 1 callersFunctionmain_async
()
scripts/run_web_thinker.py:684
↓ 1 callersFunctionmain_async
()
scripts/run_direct_gen.py:220
↓ 1 callersFunctionmake_cot_output_prompt
(s)
scripts/lcb_runner/prompts/code_execution.py:7
↓ 1 callersFunctionmake_direct_output_prompt
(s)
scripts/lcb_runner/prompts/code_execution.py:38
↓ 1 callersFunctionmodify_function
(f, globals={}, name=None, code=None, defaults=None, closure=None)
scripts/lcb_runner/pyext/pyext-0.7/pyext.py:81
↓ 1 callersFunctiononly_int_check
(val)
scripts/lcb_runner/evaluation/testing_util.py:71
↓ 1 callersFunctionparse_args
()
scripts/run_naive_rag.py:38
↓ 1 callersFunctionparse_args
()
scripts/run_web_thinker_report.py:92
↓ 1 callersFunctionparse_args
()
scripts/run_naive_rag_report.py:55
↓ 1 callersFunctionparse_args
()
scripts/run_search_o1.py:48
↓ 1 callersFunctionparse_args
()
scripts/run_web_thinker.py:84
↓ 1 callersFunctionparse_args
()
scripts/run_direct_gen.py:22
↓ 1 callersFunctionparse_args
()
scripts/evaluate/evaluate_report.py:13
↓ 1 callersFunctionparse_assert_statement
Parse a Python assert statement and extract the expected output from the right side of the '==' operator as a string. :param statement:
scripts/lcb_runner/evaluation/compute_test_output_prediction_metrics.py:9
↓ 1 callersFunctionparse_function_name_from_starter_code
starter_code : str
scripts/lcb_runner/prompts/test_output_prediction.py:53
↓ 1 callersFunctionparse_query_plan
Parse the query plan response to extract sub-queries
scripts/run_naive_rag.py:129
↓ 1 callersMethodparse_urls
发送URL列表到解析服务器并获取解析结果 Args: urls: 需要解析的URL列表 Returns: 解析结果列表
scripts/utils/test_webparser.py:15
↓ 1 callersFunctionpass_at_k
(n, c, k)
scripts/lcb_runner/evaluation/compute_code_execution_metrics.py:21
↓ 1 callersFunctionprepare_init_prompt
(query, env)
demo/run_logit.py:18
↓ 1 callersFunctionprocess_single_sequence
Process a single sequence through its entire reasoning chain with MAX_TOKENS limit
scripts/run_web_thinker_report.py:433
↓ 1 callersFunctionprocess_single_sequence
Process a single question through RAG pipeline
scripts/run_naive_rag_report.py:163
↓ 1 callersFunctionprocess_single_sequence
Process a single sequence through its entire reasoning chain
scripts/run_search_o1.py:402
↓ 1 callersFunctionprocess_single_sequence
Process a single sequence through its entire reasoning chain with MAX_TOKENS limit
scripts/run_web_thinker.py:417
↓ 1 callersFunctionprocess_urls
()
scripts/search/bing_search.py:606
↓ 1 callersFunctionprocess_urls
()
demo/bing_search.py:574
↓ 1 callersMethodquit
Forces all other calls to return False. Equilavent of a ``break`` statement.
scripts/lcb_runner/pyext/pyext-0.7/pyext.py:295
↓ 1 callersFunctionread_test_questions
(test_path)
scripts/evaluate/evaluate_report.py:187
↓ 1 callersFunctionreliability_guard
This disables various destructive functions and prevents the generated code from interfering with the test (e.g. fork bomb, killing other pro
scripts/lcb_runner/evaluation/utils_execute.py:189
↓ 1 callersFunctionreliability_guard
This disables various destructive functions and prevents the generated code from interfering with the test (e.g. fork bomb, killing other pro
scripts/lcb_runner/evaluation/testing_util.py:678
↓ 1 callersFunctionremove_articles
(text)
scripts/evaluate/evaluate.py:186
↓ 1 callersFunctionremove_punc
(text)
scripts/evaluate/evaluate.py:190
↓ 1 callersMethodreset
(self)
demo/settings.py:125
↓ 1 callersMethodrun_main
(self, benchmark: list, format_prompt: callable)
scripts/lcb_runner/runner/base_runner.py:173
↓ 1 callersMethodrun_main_repair
(self, benchmark: list, format_prompt: callable)
scripts/lcb_runner/runner/base_runner.py:123
↓ 1 callersFunctionrun_search_chain
(env, new_step)
demo/run_logit.py:342
↓ 1 callersMethodrun_single
Run the model for a single prompt and return the output Static method to be used in multiprocessing Calls the _run_single met
scripts/lcb_runner/runner/base_runner.py:40
↓ 1 callersFunctionrun_tasks_in_parallel
Args: func: The function to run. The function must accept a single argument. tasks: A list of tasks i.e. arguments to func.
scripts/lcb_runner/utils/multiprocess.py:193
↓ 1 callersFunctionrun_tasks_in_parallel_iter
Args: func: The function to run. The function must accept a single argument. tasks: A list of tasks i.e. arguments to func.
scripts/lcb_runner/utils/multiprocess.py:98
↓ 1 callersFunctionrun_test
if test(generated_code) is not None it'll try to run the code. otherwise it'll just return an input and output pair.
scripts/lcb_runner/evaluation/testing_util.py:83
↓ 1 callersMethodsave_cache
(self)
scripts/lcb_runner/runner/base_runner.py:30
↓ 1 callersFunctionsave_caches
()
scripts/run_web_thinker_report.py:968
↓ 1 callersFunctionsave_caches
()
scripts/run_search_o1.py:607
↓ 1 callersFunctionsave_caches
()
scripts/run_web_thinker.py:749
↓ 1 callersFunctionstring_int_check
(val)
scripts/lcb_runner/evaluation/testing_util.py:75
↓ 1 callersFunctionswallow_io
()
scripts/lcb_runner/evaluation/utils_execute.py:134
↓ 1 callersFunctiontest
()
scripts/lcb_runner/runner/parser.py:135
↓ 1 callersFunctiontest
()
scripts/lcb_runner/prompts/code_generation.py:406
↓ 1 callersFunctiontest
()
scripts/lcb_runner/prompts/self_repair.py:321
↓ 1 callersFunctiontest_output_metrics
( samples, generations, k_list=[1, 5], )
scripts/lcb_runner/evaluation/compute_test_output_prediction_metrics.py:78
↓ 1 callersFunctiontime_limit
(seconds)
scripts/lcb_runner/evaluation/utils_execute.py:121
↓ 1 callersFunctiontrack_progress
(task)
scripts/run_naive_rag.py:119
↓ 1 callersFunctiontrack_progress
(task)
scripts/run_web_thinker_report.py:1059
↓ 1 callersFunctiontrack_progress
(task)
scripts/run_naive_rag_report.py:338
↓ 1 callersFunctiontrack_progress
(task)
scripts/run_search_o1.py:743
↓ 1 callersFunctiontrack_progress
(task)
scripts/run_web_thinker.py:857
↓ 1 callersFunctiontrack_progress
(task)
scripts/run_direct_gen.py:207
↓ 1 callersFunctiontrack_progress
(task)
scripts/evaluate/evaluate.py:163
↓ 1 callersFunctionunload_lora_adapter
Unload a LoRA adapter with the specified name
scripts/run_web_thinker_report.py:890
↓ 1 callersFunctionunload_lora_adapter
Unload a LoRA adapter with the specified name
scripts/run_web_thinker.py:671
↓ 1 callersMethodupdate_click
(self, url)
demo/settings.py:140
↓ 1 callersFunctionwhite_space_fix
(text)
scripts/evaluate/evaluate.py:188
↓ 1 callersFunctionwrite_str_or_json
(prompt)
scripts/lcb_runner/prompts/self_repair.py:322
Method__call__
(self, *args, **kwargs)
scripts/lcb_runner/pyext/pyext-0.7/pyext.py:242
Method__call__
(self, *args)
scripts/lcb_runner/pyext/pyext-0.7/pyext.py:291
Method__enter__
(self)
scripts/lcb_runner/pyext/pyext-0.7/pyext.py:303
Method__enter__
(self)
scripts/lcb_runner/evaluation/testing_util.py:58
Method__exit__
(self, *args)
scripts/lcb_runner/pyext/pyext-0.7/pyext.py:305
Method__exit__
(self, *args)
scripts/lcb_runner/evaluation/testing_util.py:65
Method__hash__
(self)
scripts/lcb_runner/lm_styles.py:46
Method__init__
初始化Web解析器客户端 Args: base_url: API服务器的基础URL,默认为本地测试服务器
scripts/utils/test_webparser.py:6
Method__init__
初始化Web解析器客户端 Args: base_url: API服务器的基础URL,默认为本地测试服务器
scripts/search/bing_search.py:60
Method__init__
初始化速率限制器 Args: rate_limit: 在时间窗口内允许的最大请求数 time_window: 时间窗口大小(秒),默认60秒
scripts/search/bing_search.py:471
← previousnext →201–300 of 400, ranked by callers