Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
697 commits
Select commit Hold shift + click to select a range
f188b8c
delegate pseudoharmonics to Game:: Edge::from(action, node) ?
krukah Nov 3, 2024
5699f7d
preparing pure functions for outgoing Edge generation
krukah Nov 4, 2024
d18fc6f
Game::apply -> Game; more consts moved
krukah Nov 4, 2024
84c31a0
node -> sizes -> actions -> actions games -> edges data complete
krukah Nov 4, 2024
894459b
sweet nothings
krukah Nov 4, 2024
89e5ff7
impl From<Vec<Edge>> for Path
krukah Nov 4, 2024
7e876bc
impl From<Vec<Edge>> for Path
krukah Nov 5, 2024
6cc7e9e
move progress
krukah Nov 5, 2024
7212780
game with tests and hands in action::draw(h) variatns
krukah Nov 9, 2024
5246029
absolute garbage performance bc bucket generation, but it works
krukah Nov 9, 2024
84fad09
put Bucket back into Data
krukah Nov 9, 2024
6c3cf17
remove all the runtime Bucket building in Nodes
krukah Nov 9, 2024
b041589
chill w minimzer logs
krukah Nov 9, 2024
d98fe9e
sweet nothings
krukah Nov 9, 2024
599d1b4
calculate futures and history -- need to fix Path from Vec<Edge> tho
krukah Nov 9, 2024
291fbe9
checkpoint before revamping Explorer children
krukah Nov 10, 2024
ca953ca
totally gutting some parts of this action abstraction, WIP
krukah Nov 11, 2024
1cfe76c
building some child opotions consistently
krukah Nov 11, 2024
c411d5f
idk where i'm going but i'm getting somewhere
krukah Nov 12, 2024
b0f3d4c
just need to remove bucket from Data
krukah Nov 12, 2024
277d517
first class Branch citizenry, partition writes once to Tree
krukah Nov 15, 2024
87f2197
huge checkpoint at 4a here. many optim to make but we're sampling
krukah Nov 15, 2024
bbc91eb
non interactive ProgressBar
krukah Nov 15, 2024
626d036
sweet nothings
krukah Nov 15, 2024
1023757
pretty readme and animatinos
krukah Nov 16, 2024
5e86244
README
krukah Nov 16, 2024
6cfff0f
ignore analysis
krukah Nov 16, 2024
c4e8c02
rm analysis fr
krukah Nov 16, 2024
11f39ef
node bucket generation optimizations
krukah Nov 16, 2024
cb0cbd7
default hyperparams
krukah Nov 16, 2024
ca41a67
nothings
krukah Nov 16, 2024
093e18e
sweet nothings
krukah Nov 17, 2024
cb9db7f
impl Arbitrary, 1 struct/file, tighten up call hierarchies
krukah Nov 18, 2024
2bce4d3
skip training if we have local pgcopies
krukah Nov 18, 2024
6ec3913
nothings
krukah Nov 18, 2024
90d20de
stilll compiling, WIP
krukah Nov 24, 2024
425b029
rename gameplay module
krukah Nov 24, 2024
1c60f3d
compilation checkpoint; sinkhorn defomed as struct impl Coupling
krukah Nov 24, 2024
c673e94
heuristic greedy transport plan impl Coupling
krukah Nov 24, 2024
83913aa
testing metric persistence
krukah Nov 25, 2024
c297db5
fix disjoint support in arbitrary metric generation
krukah Nov 25, 2024
85e09d9
impl Arbitrary for Encoding, Isomorphism
krukah Nov 25, 2024
5899ed1
headstart on eager River equity calcs
krukah Nov 25, 2024
72189d6
don't touch private parts
krukah Nov 25, 2024
1913f73
correct up to numerical instability
krukah Nov 25, 2024
40b4ab6
potentials exist in exponent space
krukah Nov 25, 2024
54b7631
thermodynamical interpretation of sinkhorn algo !! i love physics
krukah Nov 26, 2024
3e222eb
wasserstein would be proud of this oen
krukah Nov 26, 2024
2403720
emd test suite
krukah Nov 26, 2024
94cab0a
triangle inequality
krukah Nov 27, 2024
2134d2f
convert from obs to abs, rather than use iso
krukah Nov 27, 2024
6dca190
emd benchmarks
krukah Nov 27, 2024
5f6b6cf
optimal tranpsort literature
krukah Nov 27, 2024
daeef90
river encoding again
krukah Nov 27, 2024
ba5dd86
imprpoved hyperparams
krukah Nov 27, 2024
a07ed82
sinkhorn parametrization in lib.rs
krukah Nov 27, 2024
fca562e
more thought to triangle inequality
krukah Nov 27, 2024
69a7f76
more thought to kmeans
krukah Nov 27, 2024
e4c3e6a
whatever
krukah Nov 29, 2024
4ceaae3
printer friendly
krukah Nov 29, 2024
a7eba31
tokio & clap
krukah Nov 29, 2024
b770b80
welcome, analysis module.
krukah Nov 29, 2024
2516a77
sweet nothings
krukah Nov 29, 2024
16a74e8
better edge case handling for persistence streets
krukah Nov 29, 2024
3a64bec
upload SQL script in analysis.rs
krukah Nov 30, 2024
1827feb
we're rocking w.r.t. my personal filepath in analysis.rs rn
krukah Nov 30, 2024
e76a3f1
shortdeck const fn n_isomorphisms
krukah Nov 30, 2024
29934ad
ugly edge case handling of preflop metric being saved
krukah Nov 30, 2024
a000da8
Abs::from Hole::from Obs
krukah Nov 30, 2024
998441c
break up analysis SQL queries
krukah Nov 30, 2024
7e07dc1
weird preflop encoder persistence (WIP)
krukah Nov 30, 2024
f84e1d5
trying to fix preflop abstractions
krukah Nov 30, 2024
fb07cb4
TryFrom<&str> everyone
krukah Dec 1, 2024
53580aa
cli has good error handling
krukah Dec 1, 2024
e104377
analysis querying is coming together
krukah Dec 1, 2024
afc1fa6
some more analysis features
krukah Dec 1, 2024
e3c6299
let's gooo queries are working
krukah Dec 2, 2024
91f3d2f
more analysis
krukah Dec 2, 2024
a692dd9
dumb mistake in sampler
krukah Dec 2, 2024
4288728
precompute preflop encoding
krukah Dec 3, 2024
efffe41
archive: preflop encoder persistence code
krukah Dec 3, 2024
3225283
correct changes
krukah Dec 3, 2024
b5521de
need to clean up abstraction tagging
krukah Dec 3, 2024
25e3b82
sweet nothings
krukah Dec 3, 2024
57bd589
path agnosticity
krukah Dec 3, 2024
8af3a2f
fixing sinkhorn tests by increasing tolerane
krukah Dec 3, 2024
82c2e8d
belong to the streets
krukah Dec 4, 2024
453bb48
observation equivalence serach
krukah Dec 5, 2024
3507548
kmeans stuff
krukah Dec 8, 2024
1fe7fa8
decouple cluster from saving from inner generation
krukah Dec 8, 2024
1fa47c1
define n river quity buckets as global kmeans constant
krukah Dec 21, 2024
7155d03
isomorphism iterator
krukah Dec 21, 2024
94417a5
abstraction defined by Street, Index now
krukah Dec 21, 2024
6902ae3
kmeans impl ready to take over from layer
krukah Dec 21, 2024
2fe68df
loading save load traits
krukah Dec 21, 2024
95d322d
street const fns
krukah Dec 22, 2024
02a3771
decouple layer = kmeans_histograms + lookup + transitions
krukah Dec 22, 2024
1258f5f
random histogram accounts for consistency between Abstraction streets
krukah Dec 22, 2024
78aa444
ensure consistency in randomly generated Sampler streets
krukah Dec 22, 2024
144a622
rename
krukah Dec 22, 2024
e9968f6
allow for arbitrary Metric persistence test to pass
krukah Dec 22, 2024
7927511
kmeans++ initialization encapsulated incredibly well
krukah Dec 23, 2024
9bc695c
abstraction from str
krukah Dec 23, 2024
3d4afdf
get some stuff saved
krukah Dec 23, 2024
bcf92d0
tracking long running progrss
krukah Dec 23, 2024
e564038
impl Save::name()
krukah Dec 23, 2024
d180e38
name in Save
krukah Dec 23, 2024
7819003
enhanced postgres upload
krukah Dec 23, 2024
fec360c
impl Save for Blueprint
krukah Dec 23, 2024
c431660
weird bit manipulations instead of proper type refactor
krukah Dec 23, 2024
e7ec48b
somethin
krukah Dec 23, 2024
32b36c6
solver persistence
krukah Dec 23, 2024
226022f
arbitrary Hand
krukah Dec 24, 2024
1ec793d
enhanced analysis queries
krukah Dec 24, 2024
4d6b9e8
sweet nothings
krukah Dec 24, 2024
1c4f3fe
git ignore next js bullshit
krukah Dec 25, 2024
096899b
n_children encapsulated by Street
krukah Dec 25, 2024
1248f26
deprecate old kmeans auxilliary structs
krukah Dec 25, 2024
f2d1b6b
pruning unused histogram logic, CFR param modifiation
krukah Dec 26, 2024
aa8864b
upload module
krukah Dec 26, 2024
7d2804f
random path + path tests
krukah Dec 27, 2024
a1c7d5a
encapsulate future (Edge, Game) generation in Node
krukah Dec 27, 2024
591d6e9
impl Arbitrary for Edge, Odds
krukah Dec 27, 2024
d956bf3
consistent bucket node future continuation paths
krukah Dec 27, 2024
8204460
fix filter of Edge::Draw in Path Vec<Edge> bijection
krukah Dec 27, 2024
6b2b41e
blueprint training observabilityu
krukah Dec 27, 2024
af8be83
commentary to self
krukah Dec 27, 2024
73ec8d2
test patches
krukah Dec 27, 2024
fb03ef5
training run with parameters as in lib.rs
krukah Dec 27, 2024
0fb880c
parallelized equity calc
krukah Dec 28, 2024
225a7ff
handle empty centroid case
krukah Dec 28, 2024
680ed6d
change sinkhorn parameters
krukah Dec 29, 2024
aa1baf1
file path naming convention
krukah Dec 29, 2024
8310fe5
store epochs in profile disk serialization format
krukah Dec 29, 2024
676d40f
abstraction table gets derived quantities
krukah Dec 30, 2024
edd9a4d
.ignore updates
krukah Dec 30, 2024
d4685d8
Save Path Done
krukah Dec 30, 2024
71bcb2d
sweet nothings
krukah Dec 31, 2024
f1d0788
sinkhorn parametrization
krukah Dec 31, 2024
1e1baf4
changed my mind, we're just not gonna prevent against empty clusters …
krukah Jan 1, 2025
6ecfa9a
CLI APLI
krukah Jan 1, 2025
26bf75c
sweet nothings
krukah Jan 2, 2025
16695d3
auxiliary quantity calculations for abstraction table
krukah Jan 4, 2025
6f0c5ed
abstraction str bijection test
krukah Jan 4, 2025
44bc437
serialization stuff
krukah Jan 4, 2025
b915401
good upload logic in SQL, hierarchical recursive calculations solved
krukah Jan 5, 2025
17c3836
expanded CLI query API
krukah Jan 5, 2025
04b2ef8
even better CLI features
krukah Jan 5, 2025
d29f7a0
api histogram aggregation fix
krukah Jan 6, 2025
bd2aee5
new crates
krukah Jan 20, 2025
6052b31
api and request response skeleton
krukah Jan 20, 2025
6290771
route handling solved; impl ap layer
krukah Jan 20, 2025
94233a2
outline api skeletons
krukah Jan 20, 2025
2657e0f
set street backend ecapcity
krukah Jan 20, 2025
76902bf
server compatibility
krukah Jan 20, 2025
655db54
implemented queries
krukah Jan 20, 2025
a5f126f
db connection logic shared in lib.rs
krukah Jan 22, 2025
750c45c
optimized SQL for random observation selection
krukah Jan 22, 2025
bca7519
memoria
krukah Jan 22, 2025
4c57b9f
upload logs
krukah Jan 22, 2025
33ede3f
arbitrary permutatinos
krukah Jan 22, 2025
0330df6
fixing upload and observation shuffling
krukah Jan 22, 2025
4b4b5b2
improved upload logic
krukah Jan 23, 2025
c8289a7
fix street n_isomorphism constants
krukah Jan 23, 2025
5218d89
punctuality
krukah Jan 26, 2025
44e0059
api updates
krukah Jan 26, 2025
0f65703
optimized log N sibling abstraction lookup
krukah Jan 26, 2025
ea55a1c
shuffleObs randomization
krukah Jan 27, 2025
a3c26ec
(abs, position) indexing
krukah Feb 2, 2025
a55572c
hist wrt obs
krukah Feb 7, 2025
dd79d83
api changes
krukah Feb 8, 2025
6122cc5
endpoitns
krukah Feb 8, 2025
6d98d46
fixing very subtle evaluator bug on full houses and kickers
krukah Feb 9, 2025
a635bc8
fancy upload logic
krukah Feb 9, 2025
1d7bfed
nothing
krukah Feb 9, 2025
4b8a948
prevent shortdeck module name collision in eval tests
krukah Feb 9, 2025
2b54214
some new emd calcs for turn
krukah Feb 9, 2025
7d6860a
postgres in docker; no preflop abstraction
krukah Feb 11, 2025
de84790
wotever
krukah Feb 14, 2025
df94022
parameter changes
krukah Feb 15, 2025
695a466
Merge branch 'main' into pgdocker
krukah Feb 15, 2025
08d6a5c
temp removal of everything but client
krukah Feb 16, 2025
d8f45c3
hand/deck::contains(), game::is_legal()
krukah Feb 16, 2025
a8f3826
history 1.0
krukah Feb 16, 2025
bdbb052
sweat
krukah Feb 16, 2025
bca71f9
history impl + Ply -> Next
krukah Feb 16, 2025
a7f2571
game::n()
krukah Feb 17, 2025
b0a47a6
history with perfect recall
krukah Feb 17, 2025
d315d39
recall
krukah Feb 17, 2025
212b93e
recall
krukah Feb 17, 2025
c6d4896
more renames
krukah Feb 17, 2025
fa75242
carried over api changes
krukah Feb 19, 2025
85271ea
vacuum after COPY FROM upload
krukah Feb 19, 2025
f036908
blueprint save mechanics
krukah Feb 20, 2025
95787d8
nothings (not sweet)
krukah Feb 20, 2025
3ecdde0
i cooked here, ngl
krukah Feb 20, 2025
ed380d5
notes on upload file
krukah Feb 20, 2025
53c124f
changed hyperparams
krukah Feb 20, 2025
35f8da6
Update README: Add detailed description for `analysis` section
krukah Feb 20, 2025
1213b42
closer to real blueprint lookup. smaller-scoped function signatures t…
krukah Feb 21, 2025
ad12865
game::post()
krukah Feb 21, 2025
6d27a46
recall pseudoharmonics and choies
krukah Feb 21, 2025
354162a
From<Vec<Row>> for Policy
krukah Feb 21, 2025
4cf8df2
Recall association with abstraction is well encapsulated
krukah Feb 21, 2025
b888f9b
blueprint lookup is api-compatible
krukah Feb 21, 2025
ff7e625
rename
krukah Feb 21, 2025
7ee56ff
even better encapsu
krukah Feb 21, 2025
a38a852
request response cycle for policy lookup
krukah Feb 21, 2025
96dfde1
sweet nothings
krukah Feb 21, 2025
5241476
consistent Save implementation, no metadata in flags anymore
krukah Feb 21, 2025
93cc0f9
upload truncation right before insertion
krukah Feb 21, 2025
f1398dc
sweet nothings
krukah Feb 21, 2025
c64279a
SQL changes
krukah Feb 23, 2025
6189e81
COPY IN from binary stream in memory
krukah Feb 23, 2025
d03c4bc
sweet nothings
krukah Feb 23, 2025
72d94f7
database stream patches
krukah Feb 24, 2025
30f5684
test patches
krukah Feb 24, 2025
2ebe3a1
sigh typo
krukah Feb 24, 2025
0abc706
ignore tests on GH actions because filepaths are probably weird, i co…
krukah Feb 24, 2025
215a588
sweet nothings
krukah Feb 25, 2025
ffadb17
sweet nothings
krukah Feb 25, 2025
e257a10
zero allocation for disk -> memory -> remote PG copy
krukah Feb 26, 2025
e438fac
sweet nothings
krukah Mar 6, 2025
b8bd6ba
fine tuning stage for CFR
krukah Mar 6, 2025
7f447f3
sweet nothings
krukah Mar 7, 2025
69c5a67
rwLock for profile updates
krukah Mar 6, 2025
edb0c20
going further down lock road
krukah Mar 7, 2025
8db1031
compile-ready wasm
krukah Mar 10, 2025
08f1d77
[squashme] Initial Skeleton Commit
Drazcmd Mar 19, 2025
3329671
[squashme] Cargo fmt
Drazcmd Mar 19, 2025
2529825
Improve tests + types
Drazcmd Mar 22, 2025
45983ce
Small readability cleanup
Drazcmd Mar 22, 2025
8b748f2
Add action_abstraction input + TODOs
Drazcmd Mar 22, 2025
93ccc0e
Remaining setup prior to fixing the return type
Drazcmd Mar 22, 2025
1a934cd
Add explicit todo! to fn
Drazcmd Mar 22, 2025
7412bf9
Add missing semicolon
Drazcmd Mar 22, 2025
3cb18cb
Reordered translate_action to make pot_size come first
Drazcmd Mar 22, 2025
d967073
Add missing commas
Drazcmd Mar 22, 2025
70a0cec
Add more input validation
Drazcmd Mar 22, 2025
2bb5e19
Remove some extraneous commenting
Drazcmd Mar 22, 2025
60f5108
Tweak spacing
Drazcmd Mar 22, 2025
e693789
Actually adding a comment back in here - just, clarified
Drazcmd Mar 22, 2025
4403acb
Mark where all the validation + early returns end
Drazcmd Mar 22, 2025
d79d913
Error string cleanup
Drazcmd Mar 22, 2025
9646216
Add+use TranslatedAction struct return type
Drazcmd Mar 23, 2025
655e431
Final testing + comment/docstring cleanup
Drazcmd Mar 23, 2025
b9acfd4
Tweak name since there's a gotcha here
Drazcmd Mar 23, 2025
bf80c7c
Oops missing paren
Drazcmd Mar 23, 2025
4c5bf02
Avoid cargo fmt messing with other directories
Drazcmd Mar 23, 2025
99b7a9e
Revert "Avoid cargo fmt messing with other directories"
Drazcmd Mar 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*
!Cargo.toml
!Cargo.lock
!benches/
!pgcopy/
!src/
17 changes: 17 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Rust
on:
push:
branches: ["main"]
jobs:
build-test-bench:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build
- name: Test
run: cargo test --quiet --lib
- name: Test Shortdeck
run: cargo test --quiet --lib --features shortdeck
- name: Benchmark
run: cargo bench --quiet --message-format short
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
/target
/pgcopy
/data
/analysis
/.vscode

.cursorrules
.DS_Store
.todo
.env
.swp

*.log
*.png
*.gif
*.sh

react/.next/
react/build/
react/dist/
react/node_modules/
37 changes: 0 additions & 37 deletions .vscode/launch.json

This file was deleted.

Loading