MCPcopy Create free account
hub / github.com/agentscope-ai/Trinity-RFT / is_json_file

Function is_json_file

trinity/buffer/storage/queue.py:24–25  ·  view source on GitHub ↗
(path: str)

Source from the content-addressed store, hash-verified

22
23
24def is_json_file(path: str) -> bool:
25 return path.endswith(".json") or path.endswith(".jsonl")
26
27
28class PriorityFunction(ABC):

Callers 2

_init_input_storageMethod · 0.90
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected