MCPcopy Create free account
hub / github.com/ResearAI/DeepReviewer-v2 / todic

Method todic

pasa/pasa/paper_node.py:28–39  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 self.extra = attrs.get("extra", {})
27
28 def todic(self):
29 return {
30 "title": self.title,
31 "arxiv_id": self.arxiv_id,
32 "depth": self.depth,
33 "child": {k: [i.todic() for i in v] for k, v in self.child.items()},
34 "abstract": self.abstract,
35 "sections": self.sections,
36 "source": self.source,
37 "select_score": self.select_score,
38 "extra": self.extra,
39 }
40
41 @staticmethod
42 def sort_paper(item):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected