RECODE-H / annotations /annotation_21 /function_info.json
mcy98's picture
Upload folder using huggingface_hub
2d13eb2 verified
Raw History Blame Contribute Delete
1.61 kB
[
{
"function_name": "get_r_score",
"file_path": "src.calibrated_thresh.py",
"function_calls": [
{
"function_call_name": "sorted",
"functionality": "Return a new sorted list from the items in iterable.",
"input": "iterable of floats (subclaim scores with noise)",
"output": "sorted list of scores",
"location_or_namespace": "builtins"
},
{
"function_call_name": "np.mean",
"functionality": "Compute the arithmetic mean along the specified axis.",
"input": "list of booleans indicating entailed subclaims",
"output": "float (fraction of entailed subclaims)",
"location_or_namespace": "numpy"
}
]
},
{
"function_name": "compute_threshold",
"file_path": "src.calibrated_thresh.py",
"function_calls": [
{
"function_call_name": "get_r_score",
"functionality": "",
"input": "entry, confidence_method, a",
"output": "float r_score",
"location_or_namespace": "src.calibrated_thresh.py"
},
{
"function_call_name": "ceil",
"functionality": "Return the ceiling of x as an Integral.",
"input": "float (quantile index expression)",
"output": "int (ceiling of quantile index)",
"location_or_namespace": "math"
},
{
"function_call_name": "sorted",
"functionality": "Return a new sorted list from the items in iterable.",
"input": "list of r_scores",
"output": "sorted list of scores",
"location_or_namespace": "builtins"
}
]
}
]