From ac1db917dc50e372806780bc0ab2cc0570d8ca54 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Tue, 8 Sep 2026 20:25:26 -0700 Subject: Remove dead autoplay/autoplayer trees, land GNUmakefile/eval_tune companions - Remove autoplay/ and autoplayer/ entirely: old opponent-automation scrapers/harnesses (child_process.cc test scaffolding, compiled a.out binaries and a .dSYM bundle, saved book/position files, macOS ._-prefixed resource-fork cruft) that predate this repo's current tooling and were never referenced by anything still in use. - GNUmakefile: add DIAG_NO_QSEARCH_FUTILITY/CALIBRATE_QSEARCH_FUTILITY profile flags and testrecogn.o to the TEST=1 object list. Both are companions to already-committed work that never got their own build support committed: search.c's qsearch-futility calibration harness needs the two profile flags to be buildable at all, and testrecogn.c (added alongside the recogn.c bugfix, now committed here too) needs to be in TEST=1's OBJS to actually compile/link. - eval_tune/match_play.py, eval_tune/test_vs_head.sh: real fixes found and applied earlier this session -- match_play.py's opening-book leak (games weren't actually book-free), missing --hash/--cpus (games ran on the 64k-entry/single-cpu memset-zero defaults instead of this project's normal 256m/1cpu), a shared-logfile race across concurrent match workers, and a report-parsing deadlock on engine resignation. test_vs_head.sh reverted to comparing against head_reference/typhoon + the live working-tree binary -- it had been pointed at a since-deleted, long-stale one-off comparison binary (typhoon_allbitboards) since 92fc412, silently invalidating every "vs head" self-play check run through it since Sep 4. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01Ka9o3S2eKqh4jNfmxVZ6fH --- src/autoplay/child_process.h | 53 -------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 src/autoplay/child_process.h (limited to 'src/autoplay/child_process.h') diff --git a/src/autoplay/child_process.h b/src/autoplay/child_process.h deleted file mode 100644 index 6c03ecd..0000000 --- a/src/autoplay/child_process.h +++ /dev/null @@ -1,53 +0,0 @@ -// child_process.h -- description - -#ifndef _CHILD_PROCESS_H_ -#define _CHILD_PROCESS_H_ - -#include -#include -#include -#include -#include -using namespace std; - -namespace util { - -class ChildProcess { - public: - explicit ChildProcess(const char *commandline) - : commandline_(strdup(commandline)), - name_(NULL), - running_(false), - pid_(-1), - to_(NULL), - from_(NULL), - child_ready_(false) {} - virtual ~ChildProcess() { - Stop(); - free(commandline_); - commandline_ = NULL; - } - - virtual void Start(); - virtual void Stop(); - void Send(char *line); - void Receive(char *line, int size); - bool Poll(); - void Flush(); - - private: - void ParseCommandline(vector *args); - char *commandline_; - char *name_; - bool running_; - pid_t pid_; - int write_pipe_[2]; - int read_pipe_[2]; - FILE *to_; - FILE *from_; - volatile bool child_ready_; -}; - -} // namespace - -#endif /* _CHILD_PROCESS_H_ */ -- cgit v1.3