MCPcopy Create free account
hub / github.com/WorldModelBench-Team/WorldModelBench / print_score

Method print_score

evaluation.py:87–90  ·  view source on GitHub ↗

Print a score with proper formatting.

(self, category: str, score: float, indent: int = 0)

Source from the content-addressed store, hash-verified

85 self.console.print(f"\n[bold blue]{text}[/bold blue]")
86
87 def print_score(self, category: str, score: float, indent: int = 0):
88 """Print a score with proper formatting."""
89 indent_str = " " * indent
90 self.console.print(f"{indent_str}[cyan]{category}:[/cyan] [yellow]{score:.2f}[/yellow]")
91
92 def create_results_table(self, category: str, scores: Dict[str, float]) -> Table:
93 """Create a rich table for displaying results."""

Callers 1

process_resultsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected