Commit Graph

126 Commits

Author SHA1 Message Date
milo c0a06ecd00 create dedicated Rating type to replace awkward (bool,i32) pair 2024-02-22 18:53:47 -05:00
milo a6f893e448 get rid of some useless pub(crate) syntax 2024-02-22 18:25:42 -05:00
milo 938bed05fc minor code cleanup particularly in TransTable 2024-02-22 18:21:52 -05:00
milo 096957cce3 update versions of deps; remove num_cpus() dep 2024-02-22 17:56:21 -05:00
tali 75f2eafc4c all the tidepool config file to be JSON 2023-04-16 20:24:52 -04:00
tali c8c2573e30 half-assed fix for newlines in tidepool 2023-04-16 20:11:36 -04:00
tali 6e7d6213aa fix bug with handling early exits by breaking out of the correct loop 2023-04-16 19:56:37 -04:00
tali 0ab1cf2200 tidepool::main spring cleaning 2023-04-16 19:56:37 -04:00
tali 4ad8f38341 move "is_terminal" and "is_better" logic from node.rs into bot.rs 2023-04-16 19:15:55 -04:00
tali 9067459eb1 output bot metrics data in tidepool with "-M" flag 2023-04-16 19:09:33 -04:00
tali 52d339747a add instrumenting support to Bot, returns basic info about algorithm 2023-04-16 19:04:47 -04:00
tali 1784647146 recognize clearing the bottom matrix row in evaluator 2023-04-16 18:33:34 -04:00
tali 082fa62add fix lints in fish benches 2023-04-16 17:59:10 -04:00
tali a9b86e03c4 fix lints in fish 2023-04-16 17:59:10 -04:00
tali e673198704 some inconsequential refactors to tidepool::main 2023-04-16 17:48:35 -04:00
tali cf9fd27ca0 add comment about copy_queue (non-)usage 2023-04-16 16:38:13 -04:00
tali 04dddcdaa8 drop useless TODO 2023-04-16 15:54:57 -04:00
tali 73467f4627 reduce default number of iters since deduplication is in effect 2023-04-16 15:37:01 -04:00
tali 0fb79906be implement a node transposition table 2023-04-16 15:37:00 -04:00
tali 588d673ad0 panic if queue is too big 2023-04-16 15:35:53 -04:00
tali e15637f0dd add benchmark for think() 2023-04-16 15:35:53 -04:00
tali bd840d5705 refactor how suggestion-updates are propagated to Bot and logged 2023-04-16 15:35:50 -04:00
tali 7bb551b362 iteration counter is stored in the Bot, and incr for each evaluation 2023-04-16 03:12:55 -04:00
tali 27e5394a8c more placement info in Node fmt::Debug 2023-04-16 03:12:55 -04:00
tali 51c8d72711 fix reexport of heuristic functions so they can be used by benches 2023-04-16 03:12:55 -04:00
tali 78f4c80e8e remove useless TODO 2023-04-16 03:01:47 -04:00
tali 6a08775a83 add weights configuration to tidepool config 2023-04-15 18:30:26 -04:00
tali 3445f9e44a add Features and Weights types to fish::eval 2023-04-15 18:25:27 -04:00
tali 32f66bb423 create Evaluator type that manages ratings; compute score relative to root 2023-04-15 18:24:48 -04:00
tali df1913d8f3 impl Display for Queue, impl Debug for Node 2023-04-15 17:29:10 -04:00
tali e439e1cb73 add Output::did_complete() to clarfiy some comparisons 2023-04-15 17:19:43 -04:00
tali 60cde45eea use casts instead of transmute in mino::Mat::new() 2023-04-14 20:27:44 -04:00
tali 5e069cf3ff refactor flood fill to use a more optimal algorithm 2023-04-14 20:27:44 -04:00
tali 5f653db2c9 add criterion benchmarking support, plus some benches 2023-04-14 18:53:21 -04:00
tali 84ba4d8145 shrimplify: find_locations() is not generic 2023-04-14 18:31:30 -04:00
tali ac487eec38 make Queue::new() a const fn 2023-04-14 17:33:38 -04:00
tali 82311fc9b6 panic=abort 2023-04-14 15:31:51 -04:00
tali d2e315d73b implement multithreaded runner for tidepool 2023-04-14 15:29:40 -04:00
tali 8b60c03232 add SummaryStats util type to tidepool 2023-04-14 15:28:20 -04:00
tali 517a64156a add fancy progress bar :D 2023-04-14 13:25:29 -04:00
tali 04197d4256 fix comment in downstacking.rs that was being treated as a doctest 2023-04-13 20:27:14 -04:00
tali da6885466c cargo update 2023-04-13 20:27:14 -04:00
tali cd73e8c592 more sophisticated syncronization in tidepool, enables graceful C-c 2023-04-13 20:27:14 -04:00
tali d1af51e204 make the output JSON for rotations more compact 2023-04-13 20:16:54 -04:00
tali a76f03687a move tracking # pieces into Simul 2023-04-13 20:16:54 -04:00
tali e62270cd42 very slight improvements to tidepool::sim 2023-04-13 20:16:51 -04:00
tali 66bb54a48c remove all of the old cli impl from fish/, fumen-utils/ 2023-04-13 15:30:29 -04:00
tali fdae258965 create fumen-replay script for use with tidepool data 2023-04-13 15:30:29 -04:00
tali 2a083b1cf5 rewrite sim.rs in javascript for tidepool-utils 2023-04-13 15:25:17 -04:00
tali 059c059fdd create tidepool-utils js package, with prng impl 2023-04-13 14:38:05 -04:00