MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / debug_msg

Method debug_msg

AgentBench.old/src/tasks/card_game/logic/src/fish.cpp:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20void Fish::debug_msg(std::string str){
21 return;
22 debugger.open("debug_info.txt", std::ios::out | std::ios::app);
23 debugger << str << std::endl;
24 debugger.close();
25}
26
27Json::Value skill_to_json(std::string type, std::vector<Fish*> targets, int player, int value, bool is_skill) {
28 Json::Value json_skill, json_targets;

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected