MCPcopy Create free account
hub / github.com/RUC-NLPIR/SmartSearch / load_json

Method load_json

scripts/data_construction/query_refinement.py:89–91  ·  view source on GitHub ↗
(self, input_file)

Source from the content-addressed store, hash-verified

87 json.dump(evaluated_data, f, indent=4)
88
89 def load_json(self, input_file):
90 with open(input_file, 'r') as f:
91 return json.load(f)
92
93if __name__ == "__main__":
94 parser = argparse.ArgumentParser(description="Evaluate search results")

Callers 1

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected