MCPcopy Create free account
hub / github.com/SalesforceAIResearch/perfcodegen / round_exist

Method round_exist

src/prompt.py:44–54  ·  view source on GitHub ↗
(self, rd, name)

Source from the content-addressed store, hash-verified

42 print(r["instruction"])
43
44 def round_exist(self, rd, name):
45 if name == "base":
46 return True
47 for t in self.templates[name]:
48 if t["rd"] == rd:
49 return True
50
51 if self.templates[name][-1]["repeat"] and rd > self.templates[name][-1]["rd"]:
52 return True
53
54 return False
55
56 def gen_code(self, rd, name):
57 if name == "base":

Callers 3

update_historyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected