(auto_lookup: Dict[str, Dict[str, str]], model_key: str, model_name: str)
| 101 | |
| 102 | |
| 103 | def 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 | |
| 108 | def build_scored_reports(blind_rows: List[Dict[str, str]], key_rows: List[Dict[str, str]]) -> List[Dict[str, object]]: |
no test coverage detected