Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
24
def
is_json_file(path: str) -> bool:
25
return
path.endswith(
".json"
) or path.endswith(
".jsonl"
)
26
27
28
class
PriorityFunction(ABC):
Callers
2
_init_input_storage
Method · 0.90
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected