MCPcopy Create free account
hub / github.com/FastMAS/KVCOMM / generate_star_graph

Function generate_star_graph

experiments/run_humaneval.py:246–251  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

244 return adj_matrix
245
246 def generate_star_graph(n):
247 matrix = [[0] * n for _ in range(n)]
248 for i in range(n):
249 for j in range(i + 1, n):
250 matrix[i][j] = 1
251 return matrix
252
253 if mode == "DirectAnswer":
254 fixed_spatial_masks = [[0]]

Callers 1

get_kwargsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected