MCPcopy Create free account
hub / github.com/Felixgithub2017/MMCU / format_subject

Function format_subject

TestChatGPT.py:20–25  ·  view source on GitHub ↗
(subject)

Source from the content-addressed store, hash-verified

18 return valid_substrings
19
20def format_subject(subject):
21 l = subject.split("_")
22 s = ""
23 for entry in l:
24 s += " " + entry
25 return s
26
27def format_example(df, idx, include_answer=True):
28 prompt = df.iloc[idx, 0]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected