MCPcopy Create free account

hub / github.com/AFAC2024/AFAC2025 / functions

Functions3,355 in github.com/AFAC2024/AFAC2025

↓ 1 callersFunctionextract_boxed_answer
Extract the answer from inside a LaTeX \\boxed{} command
方案分享/赛题三/双人成行/code/RL/deepscaler/rewards/math_utils/utils.py:424
↓ 1 callersFunctionextract_boxed_answers
(text)
方案分享/赛题三/ljq13317046284/代码/TokenSkip-main/TokenSkip-main/data_processing/answer_extraction.py:177
↓ 1 callersFunctionextract_boxed_content
从文本中提取最后一个\boxed{}内的内容
方案分享/赛题三/ljq13317046284/代码/dpsk.py:55
↓ 1 callersFunctionextract_code_from_response
从LLM响应中提取代码
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/data_analysis/utils/extract_code.py:5
↓ 1 callersFunctionextract_cot_from_output
从output中提取思维链部分
方案分享/赛题三/ljq13317046284/代码/TokenSkip-main/TokenSkip-main/compress_afac_cot.py:28
↓ 1 callersFunctionextract_execution_code
(model_output: str, lmstyle: LMStyle, cot: bool = False)
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/utils/extraction_utils.py:49
↓ 1 callersFunctionextract_features_tool
(data_path)
方案分享/赛题一/CEDC冲冲冲/AFAC2025_track1/tool_feature_server.py:66
↓ 1 callersFunctionextract_final_answer
从回答内容中提取最终答案
方案分享/赛题三/丛雨酱/全部代码/create_reject_answer.py:104
↓ 1 callersFunctionextract_install_requires
Extracts the install_requires list from setup.py using AST parsing.
方案分享/赛题三/双人成行/code/RL/verl/tests/distro/requirements.py:24
↓ 1 callersFunctionextract_missing_data
(source_path: str, existing_pairs: set, output_path: str)
方案分享/赛题二/蛋木/code/cqbl.py:43
↓ 1 callersFunctionextract_number
Extract number from text enclosed in double square brackets. Args: text: Text containing number in [[number]] format
方案分享/赛题三/ljq13317046284/代码/TALE-main/utils/__init__.py:132
↓ 1 callersMethodextract_predicted_answer
(text)
方案分享/赛题三/ljq13317046284/代码/TALE-main/evaluator/AccEvaluator_bak.py:41
↓ 1 callersFunctionextract_program
extract the program after "```python", and before "```"
方案分享/赛题三/ljq13317046284/代码/TokenSkip-main/TokenSkip-main/eval/eval_utils.py:14
↓ 1 callersFunctionextract_question
Extract the core question by removing various prompt templates and instructions. Args: question: Original question text with tem
方案分享/赛题三/ljq13317046284/代码/TALE-main/utils/__init__.py:16
↓ 1 callersFunctionextract_questions_from_csv
(csv_file)
方案分享/赛题三/ljq13317046284/代码/self-instruct.py:111
↓ 1 callersFunctionextract_reward_from_line
(line)
方案分享/赛题三/双人成行/code/RL/verl/tests/e2e/check_results.py:20
↓ 1 callersFunctionextract_solution
(solution_str, method='strict')
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/reward_score/gsm8k.py:18
↓ 1 callersFunctionextract_solution
(solution_str)
方案分享/赛题三/双人成行/code/RL/verl/examples/data_preprocess/gsm8k.py:26
↓ 1 callersFunctionextract_solution
(solution_str)
方案分享/赛题三/双人成行/code/RL/verl/examples/data_preprocess/math_dataset.py:27
↓ 1 callersFunctionextract_test_output_code
(model_output: str, lmstyle: LMStyle = None)
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/utils/extraction_utils.py:20
↓ 1 callersMethodfetch_content
Fetch and extract the main content from a webpage. Args: url: The URL to fetch content from timeout: Request
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/tools/web_search.py:105
↓ 1 callersMethodfetch_content
Fetch and extract the main content from a webpage. Args: url: The URL to fetch content from timeout: Request
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/tool/web_search.py:111
↓ 1 callersFunctionfetch_data
(sector_type, url, max_retries=3, retry_delay=2)
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/tool/financial_deep_search/get_section_data.py:33
↓ 1 callersFunctionfetch_fund_desc
()
方案分享/赛题一/CEDC冲冲冲/AFAC2025_track1/main_roll.py:108
↓ 1 callersFunctionfetch_fund_desc
()
方案分享/赛题一/CEDC冲冲冲/AFAC2025_track1/main.py:108
↓ 1 callersFunctionfetch_index_capital_flow
获取指数资金流向数据 参数: index_code: 指数代码,默认为上证指数(000001) max_retries: 最大重试次数 retry_delay: 重试延迟时间(秒) 返回: dict: 包含
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/tool/financial_deep_search/index_capital.py:85
↓ 1 callersFunctionfetch_single_stock_capital_flow
获取单个股票的资金流向数据 参数: stock_code: 股票代码,如"000001" max_retries: 最大重试次数 retry_delay: 重试延迟时间(秒) 返回: dict: 包含单个股
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/tool/financial_deep_search/stock_capital.py:110
↓ 1 callersFunctionfill_line_values
填充折线图特征的缺失值 参数: input_file (str): 输入文件路径 返回: DataFrame: 填充缺失值后的数据
方案分享/赛题一/allin/代码文件/build_trainset.py:159
↓ 1 callersMethodfilter_and_downsample
downsample the batch according to oversample_factor samples passing the filters will be prioritized
方案分享/赛题三/双人成行/code/RL/verl/recipe/prime/prime_ray_trainer.py:500
↓ 1 callersFunctionfilter_anomalies
根据z-score过滤异常样本
方案分享/赛题一/CEDC冲冲冲/AFAC2025_track1/main_roll.py:295
↓ 1 callersFunctionfilter_anomalies
根据z-score过滤异常样本
方案分享/赛题一/CEDC冲冲冲/AFAC2025_track1/main.py:321
↓ 1 callersFunctionfilter_correct_outputs
Filter the correct outputs from the data.
方案分享/赛题三/ljq13317046284/代码/TokenSkip-main/TokenSkip-main/LLMLingua.py:26
↓ 1 callersFunctionfilter_formatted_outputs
Filter the formatted outputs from the data. Extract COT from th outputs.
方案分享/赛题三/ljq13317046284/代码/TokenSkip-main/TokenSkip-main/LLMLingua.py:40
↓ 1 callersMethodfind_answer
(text)
方案分享/赛题三/ljq13317046284/代码/TALE-main/evaluator/AccEvaluator_bak.py:18
↓ 1 callersMethodfind_answer
Extract multiple choice answer (A, B, C, or D) from text response. Args: text: The text response to analyze
方案分享/赛题三/ljq13317046284/代码/TALE-main/evaluator/AccEvaluator.py:35
↓ 1 callersFunctionfind_available_port
r"""Find an available port on the local machine.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/extras/misc.py:316
↓ 1 callersFunctionfind_diff
(short_str: str, long_str: str)
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/template.py:533
↓ 1 callersFunctionfind_material_dirs
扫描根目录,查找所有符合 'm_*' 模式的文件夹。
方案分享/赛题二/蛋木/code/relevance_marker_agent.py:194
↓ 1 callersFunctionfind_stock_reports
查找特定股票的报告
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/utils/cleanup_reports.py:107
↓ 1 callersFunctionfind_target_files
扫描根目录,查找所有符合 'm_*/batch_*.md' 模式的文件。
方案分享/赛题二/蛋木/code/feature_extract_agent.py:255
↓ 1 callersFunctionfind_target_files
扫描指定目录(可以是根目录或单个material文件夹),递归查找所有 'batch_*.md' 文件。
方案分享/赛题二/蛋木/code/relevance_marker_agent.py:180
↓ 1 callersMethodfit
The training loop of PPO. The driver process only need to call the compute functions of the worker group through RPC to construct the
方案分享/赛题三/双人成行/code/RL/verl/recipe/prime/prime_ray_trainer.py:321
↓ 1 callersMethodfit
(self)
方案分享/赛题三/双人成行/code/RL/verl/verl/trainer/fsdp_sft_trainer.py:443
↓ 1 callersFunctionfix_a_slash_b
(string)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/reward_score/math.py:125
↓ 1 callersFunctionfix_a_slash_b
(string)
方案分享/赛题三/双人成行/code/RL/verl/verl/workers/reward_manager/naive.py:415
↓ 1 callersFunctionfix_date_format
修改日期格式为xxxxxxxx格式(YYYYMMDD) 参数: input_file (str): 输入文件路径 output_file (str, optional): 输出文件路径,默认为None(覆盖原文件)
方案分享/赛题一/allin/代码文件/build_trainset.py:90
↓ 1 callersFunctionfix_fracs
(string)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/reward_score/math.py:93
↓ 1 callersFunctionfix_fracs
(string)
方案分享/赛题三/双人成行/code/RL/verl/verl/workers/reward_manager/naive.py:383
↓ 1 callersMethodfix_jinja_template
r"""Replace the jinja template in the tokenizer.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/template.py:265
↓ 1 callersMethodfix_special_tokens
r"""Add eos token and pad token to the tokenizer.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/template.py:184
↓ 1 callersFunctionfix_sqrt
(string)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/reward_score/math.py:150
↓ 1 callersFunctionfix_sqrt
(string)
方案分享/赛题三/双人成行/code/RL/verl/verl/workers/reward_manager/naive.py:440
↓ 1 callersFunctionflash_attention_forward
Patches flash attention forward to handle 3D position ids in mrope. (3, batch_size, seq_length)
方案分享/赛题三/双人成行/code/RL/verl/verl/models/transformers/qwen2_vl.py:150
↓ 1 callersFunctionfold_batch_dim
Fold a batch dim from [bsz, xxx] into [new_bsz, bsz // new_bsz, xxx]
方案分享/赛题三/双人成行/code/RL/verl/verl/protocol.py:112
↓ 1 callersMethodfoo
(self, wait_time)
方案分享/赛题三/双人成行/code/RL/verl/tests/ray/check_worker_alive/main.py:33
↓ 1 callersMethodfoo_all_to_all
(self, x, y)
方案分享/赛题三/双人成行/code/RL/verl/tests/ray/test_worker_group_basics.py:60
↓ 1 callersMethodfoo_custom
(self, x, y)
方案分享/赛题三/双人成行/code/RL/verl/tests/ray/test_worker_group_basics.py:64
↓ 1 callersMethodfoo_one_to_all
(self, x, y)
方案分享/赛题三/双人成行/code/RL/verl/tests/ray/test_worker_group_basics.py:56
↓ 1 callersMethodfoo_rank_zero
(self, x, y)
方案分享/赛题三/双人成行/code/RL/verl/tests/ray/test_worker_group_basics.py:52
↓ 1 callersMethodforecast
(self, x_enc, x_mark_enc=None, x_dec=None, x_mark_dec=None)
方案分享/赛题一/allin/代码文件/Time_Series/codes/SimpleTM/SimpleTM.py:53
↓ 1 callersFunctionformat
(reports)
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/report_sh.py:56
↓ 1 callersFunctionformat
(reports, type)
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/report_sz.py:80
↓ 1 callersFunctionformat
(html)
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/report_hk.py:81
↓ 1 callersFunctionformat
股市通k线数据格式化
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/stock_bd.py:105
↓ 1 callersFunctionformat
(data)
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/data_gjtjj.py:125
↓ 1 callersFunctionformat_execution_result
格式化执行结果为用户可读的反馈
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/data_analysis/utils/format_execution_result.py:5
↓ 1 callersFunctionformat_intervals
(prediction)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/reward_score/prime_math/grader.py:358
↓ 1 callersFunctionformat_intervals
(prediction)
方案分享/赛题三/双人成行/code/RL/code_eval/MBPP_Humaneval/eval/utils/grader.py:401
↓ 1 callersFunctionformat_prompt_self_repair
( question: str, LanguageModelStyle: LMStyle, code, result, metadata )
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/prompts/self_repair.py:175
↓ 1 callersFunctionformat_reward
(predict_str: str)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/reward_score/geo3k.py:19
↓ 1 callersFunctionformat_testcase_func_name_input
use the form of "assert func_name(input) == "
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/prompts/test_output_prediction.py:44
↓ 1 callersMethodforward
(self, *inputs, **kwargs)
方案分享/赛题三/双人成行/code/RL/verl/verl/workers/sharding_manager/megatron_vllm.py:145
↓ 1 callersMethodforward_batch
We assume: - The model takes input: (input_ids, attention_mask, position_ids). No rmpad for the input - The communication sha
方案分享/赛题三/双人成行/code/RL/verl/verl/workers/reward_model/megatron/reward_model.py:180
↓ 1 callersMethodfrom_tool_calls
Create ToolCallsMessage from raw tool calls. Args: tool_calls: Raw tool calls from LLM content: Optional message cont
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/schema.py:140
↓ 1 callersFunctionfunc_generator
(self, method_name, dispatch_fn, collect_fn, execute_fn, blocking)
方案分享/赛题三/双人成行/code/RL/verl/verl/single_controller/ray/base.py:36
↓ 1 callersMethodfunction_formatter
r"""Generate the assistant message including all the tool calls.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/tool_utils.py:73
↓ 1 callersFunctionfund_position
主函数:获取所有基金的持仓信息并保存到CSV文件 遍历基金代码列表,获取每只基金的持仓信息,并保存到对应的CSV文件中
方案分享/赛题一/allin/代码文件/Data_Acquire/fund_position.py:109
↓ 1 callersFunctiongather_from_labels
Gather the label from data. The value in label should be [0, vocab_size) Args: data: (..., vocab_size) label (torch.IntTensor) :
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/torch_functional.py:33
↓ 1 callersFunctiongen_cmd
r"""Generate CLI commands for previewing.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/webui/common.py:182
↓ 1 callersFunctiongen_loss_plot
r"""Plot loss curves in LlamaBoard.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/extras/ploting.py:49
↓ 1 callersFunctiongenerate_bellwether_result
(name)
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/data_analysis/generator/competitor_result_generator.py:41
↓ 1 callersFunctiongenerate_budget_recommendations
Generate budget recommendations based on analysis.
方案分享/赛题三/ljq13317046284/代码/TALE-main/check_afac_direct.py:156
↓ 1 callersFunctiongenerate_budget_report
Generate a comprehensive budget report.
方案分享/赛题三/ljq13317046284/代码/TALE-main/check_afac_support.py:128
↓ 1 callersFunctiongenerate_completions
(model, tokenizer, prompts, batch_size=1, stop_id_sequences=None, end_of_generation_id_sequence=None, disable_
方案分享/赛题三/ljq13317046284/代码/TokenSkip-main/TokenSkip-main/eval/utils.py:32
↓ 1 callersMethodgenerate_filename
生成报告文件名
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/utils/report_manager.py:43
↓ 1 callersFunctiongenerate_function
(name)
方案分享/赛题三/双人成行/code/RL/verl/verl/single_controller/ray/base.py:415
↓ 1 callersFunctiongenerate_ground_truth_response
Generate ground truth response given a prompt.
方案分享/赛题三/双人成行/code/RL/verl/tests/e2e/envs/digit_completion/task.py:117
↓ 1 callersFunctiongenerate_llm_features
(df, cache_path="llm_features.pkl", max_retries=5)
方案分享/赛题一/CEDC冲冲冲/AFAC2025_track1/main_roll.py:49
↓ 1 callersFunctiongenerate_llm_features
(df, cache_path="llm_features.pkl", max_retries=5)
方案分享/赛题一/CEDC冲冲冲/AFAC2025_track1/main.py:49
↓ 1 callersFunctiongenerate_markdown_table
生成 Markdown 格式表格 :param headers: 表头列表,例如 ["Name", "Age", "City"] :param rows: 二维数据列表,例如 [["Alice", 30, "New York"], ...] :param align
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/data_analysis/generator/md_table_generator.py:1
↓ 1 callersFunctiongenerate_report
(data, output_path, title_txt, data_date=None, target='', target_name='')
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/tools/create_document.py:284
↓ 1 callersFunctiongenerate_rl_dataset
(target_hdfs_path_dir, local_dir='~/data/full_hh_rlhf/rl')
方案分享/赛题三/双人成行/code/RL/verl/examples/data_preprocess/full_hh_rlhf.py:86
↓ 1 callersFunctiongenerate_rm_dataset
(target_hdfs_path_dir, local_dir='~/data/full_hh_rlh/rm')
方案分享/赛题三/双人成行/code/RL/verl/examples/data_preprocess/full_hh_rlhf.py:58
↓ 1 callersFunctiongenerate_sample_batch
Generates completions and returns both raw outputs and extracted code.
方案分享/赛题三/双人成行/code/RL/code_eval/MBPP_Humaneval/eval/Coding/human_eval/evaluate_human_eval.py:71
↓ 1 callersFunctiongenerate_sample_batch
(question_list)
方案分享/赛题三/双人成行/code/RL/code_eval/MBPP_Humaneval/eval/Coding/mbpp/evaluate_mbpp.py:34
↓ 1 callersFunctiongenerate_sft_dataset
(target_hdfs_path_dir, local_dir='~/data/full_hh_rlh/sft')
方案分享/赛题三/双人成行/code/RL/verl/examples/data_preprocess/full_hh_rlhf.py:30
↓ 1 callersFunctiongenerator_pic
(intent, theme, content)
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/data_analysis/generator/react_generator.py:6
↓ 1 callersFunctiongetIndustryKLine
(industry_name, end_date)
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/stock_bd.py:359
↓ 1 callersMethodget_agent
Get an agent by name
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/environment/base.py:43
↓ 1 callersFunctionget_agent_instructions
根据智能体名称和描述生成个性化的指令 Args: agent_name: 智能体名称 agent_description: 智能体描述 Returns: 格式化的智能体指令
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/prompt/battle.py:41
← previousnext →1,301–1,400 of 3,355, ranked by callers