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

Function rgb

experiments/human_eval/draw_llm_token_cost_tree.py:165–166  ·  view source on GitHub ↗
(c: tuple[int, int, int])

Source from the content-addressed store, hash-verified

163
164
165def rgb(c: tuple[int, int, int]) -> str:
166 return f"rgb({c[0]},{c[1]},{c[2]})"
167
168
169def svg_node(x: float, y: float, text: str, font_size: int, color: tuple[int, int, int]) -> list[str]:

Callers 2

svg_nodeFunction · 0.70
write_svgFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected