MCPcopy Create free account
hub / github.com/AkaliKong/MiniOneRec / parse_sid

Function parse_sid

rl_gpr.py:86–87  ·  view source on GitHub ↗
(sid)

Source from the content-addressed store, hash-verified

84
85 # Parse semantic IDs for HEPO
86 def parse_sid(sid):
87 return re.findall(r'\[.*?\]', sid)
88
89 item2id_parts = {}
90 for name in item_name:

Callers 2

trainFunction · 0.85
hepo_rewardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected