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

Function report_key

experiments/benchmark/evaluate_report_outputs.py:44–50  ·  view source on GitHub ↗
(report: Dict[str, Any])

Source from the content-addressed store, hash-verified

42
43
44def report_key(report: Dict[str, Any]) -> Optional[Tuple[str, str, str]]:
45 user_id = str(report.get("user_id") or "")
46 if not user_id:
47 return None
48 paper_id = report.get("paper_id")
49 title = report.get("title")
50 return selected_report_key(user_id, paper_id, title)
51
52
53def length_fit_score(char_count: int) -> float:

Callers 1

evaluate_reportsFunction · 0.85

Calls 2

getMethod · 0.80
selected_report_keyFunction · 0.70

Tested by

no test coverage detected