SYMBOL INDEX (54 symbols across 4 files) FILE: analysis/eval_self_reflect.py function preprocess_box_response_for_qwen_prompt (line 13) | def preprocess_box_response_for_qwen_prompt(sequence, answer): function preprocess_box_response_for_r1 (line 32) | def preprocess_box_response_for_r1(sequence, answer): function main (line 48) | def main( function collect_results (line 218) | def collect_results( FILE: analysis/math_grader.py function mathd_normalize_answer (line 36) | def mathd_normalize_answer(answer: Optional[str]) -> Optional[str]: function _strip_string (line 189) | def _strip_string(string): function normalize_final_answer (line 412) | def normalize_final_answer(final_answer: str) -> str: function repeatness (line 449) | def repeatness(s: str): class timeout (line 492) | class timeout: method __init__ (line 493) | def __init__(self, seconds=1, error_message="Timeout"): method handle_timeout (line 497) | def handle_timeout(self, signum, frame): method __enter__ (line 500) | def __enter__(self): method __exit__ (line 504) | def __exit__(self, type, value, traceback): function latex_eval (line 508) | def latex_eval(latex): function numeric_equal (line 514) | def numeric_equal(prediction: float, reference: float): function symbolic_equal (line 524) | def symbolic_equal(a, b): function _is_latex_equal (line 580) | def _is_latex_equal(str1, str2): function is_latex_equal (line 600) | def is_latex_equal(given_answer: str, ground_truth: str) -> bool: function is_value_equal (line 653) | def is_value_equal(given_answer: str, ground_truth: str) -> bool: function _sympy_parse (line 674) | def _sympy_parse(expr: str): function _parse_latex (line 686) | def _parse_latex(expr: str) -> str: function _is_float (line 704) | def _is_float(num: str) -> bool: function _is_int (line 712) | def _is_int(x: float) -> bool: function _is_frac (line 719) | def _is_frac(expr: str) -> bool: function _str_is_int (line 723) | def _str_is_int(x: str) -> bool: function _str_to_int (line 732) | def _str_to_int(x: str) -> bool: function _inject_implicit_mixed_number (line 738) | def _inject_implicit_mixed_number(step: str): function _strip_properly_formatted_commas (line 748) | def _strip_properly_formatted_commas(expr: str): function _normalize (line 759) | def _normalize(expr: str) -> str: function count_unknown_letters_in_expr (line 832) | def count_unknown_letters_in_expr(expr: str): function should_allow_eval (line 839) | def should_allow_eval(expr: str): function are_equal_under_sympy (line 855) | def are_equal_under_sympy(ground_truth_normalized: str, given_normalized... function split_tuple (line 869) | def split_tuple(expr: str): function last_boxed_only_string (line 888) | def last_boxed_only_string(string): function remove_boxed (line 916) | def remove_boxed(s): function extract_boxed_answer (line 926) | def extract_boxed_answer(solution: str) -> str: function grade_answer_sympy (line 933) | def grade_answer_sympy(given_answer: str, ground_truth: str) -> bool: function grade_answer_mathd (line 973) | def grade_answer_mathd(given_answer: str, ground_truth: str) -> bool: function extract_answer (line 983) | def extract_answer(passage: str) -> str: function grade (line 989) | def grade(model_answer: str, gt_answer: str, fast: bool = True): function boxed_reward_fn (line 1005) | def boxed_reward_fn(model_response, gt_answer, fast=False): function answer_tag_reward_fn (line 1025) | def answer_tag_reward_fn(model_response, gt_answer, fast=False): function answer_tag_reward_fn_for_orz (line 1052) | def answer_tag_reward_fn_for_orz(model_response, gt_answer, fast=False): FILE: training/countdown.py function extract_solution (line 12) | def extract_solution(solution_str): function validate_equation (line 26) | def validate_equation(equation_str, available_numbers): function evaluate_equation (line 42) | def evaluate_equation(equation_str): function compute_score (line 57) | def compute_score(solution_str, ground_truth, format_score=0.1, score=1.0): class CountdownOracle (line 114) | class CountdownOracle(RewardOracleBase, PreferenceOracleBase): method __init__ (line 117) | def __init__(self) -> None: method get_reward (line 120) | def get_reward( method compare (line 136) | def compare( FILE: training/zero_countdown.py class ZeroMathActor (line 8) | class ZeroMathActor(PPOActor): method __init__ (line 9) | def __init__(self, ipc_server, vllm_args, args: PPOArgs) -> None: function run_ppo (line 33) | def run_ppo(args: PPOArgs):