MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / auto_for_model

Function auto_for_model

experiments/human_eval/aggregate_model_human_eval.py:103–105  ·  view source on GitHub ↗
(auto_lookup: Dict[str, Dict[str, str]], model_key: str, model_name: str)

Source from the content-addressed store, hash-verified

101
102
103def auto_for_model(auto_lookup: Dict[str, Dict[str, str]], model_key: str, model_name: str) -> Dict[str, str]:
104 row = auto_lookup.get(model_key) or auto_lookup.get(model_name) or {}
105 return {field: str(row.get(field) or "") for field in AUTO_FIELDS}
106
107
108def build_scored_reports(blind_rows: List[Dict[str, str]], key_rows: List[Dict[str, str]]) -> List[Dict[str, object]]:

Callers 1

aggregate_model_scoresFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected