Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed naming bug + updated games #24

Closed
wants to merge 69 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
e10825d
Initial commit
maxfierrog Mar 7, 2024
0c94434
Add record module to solvers, record errors, structure, utils
maxfierrog Mar 31, 2024
a583a8a
Added tests to multi-utility record
maxfierrog Mar 31, 2024
6d600be
Fixed a few bugs, added bit utils tests
maxfierrog Mar 31, 2024
49f2a26
Minor style change
maxfierrog Mar 31, 2024
f94ffe5
Merge pull request #15 from GamesCrafters/dev-database
maxfierrog Mar 31, 2024
d43243e
migrating max's game unit tests from utils.rs to a seperate test.rs file
BnjmnZmmrmn Mar 8, 2024
6a4c10c
added a blank test.rs file to db, interface, and solver subdirs. adde…
BnjmnZmmrmn Mar 8, 2024
6966ecd
added testing for parsing signed and strings
BnjmnZmmrmn Mar 9, 2024
22a28b9
added testing for parsing floats
BnjmnZmmrmn Mar 9, 2024
2970d86
added testing for parsing enumerations. finished testing for raw data…
BnjmnZmmrmn Mar 11, 2024
cde0b55
added some tests for schemabuilder and for utils functions
BnjmnZmmrmn Mar 13, 2024
9ad7c4c
Flattened test modules, changed docstrings to integration tests
maxfierrog Mar 31, 2024
0838f2a
Added abstract extensive game module, builder impl, and skelly
maxfierrog Mar 31, 2024
696cc9a
Merge pull request #16 from GamesCrafters/dev-testing
maxfierrog Apr 1, 2024
50bf3ef
Removed todo!() from unimplemented tests
maxfierrog Apr 1, 2024
fc70938
Fixed cargo fmt freakout
maxfierrog Apr 1, 2024
5c80634
Merge pull request #17 from GamesCrafters/dev-testing
maxfierrog Apr 1, 2024
f8382a5
Added BOOL attribute type
maxfierrog Apr 1, 2024
2c9b781
Renamed Solvable trait into Playable trait
ishirgarg Apr 2, 2024
4762c5e
Format Rust code using rustfmt
github-actions[bot] Apr 2, 2024
7e275f4
Added tests and errors to mock extensive game module
maxfierrog Apr 3, 2024
31634f3
Cleaned up mock game tests
maxfierrog Apr 3, 2024
26102f2
Added player count inference
maxfierrog Apr 3, 2024
5097e91
Bolstered utility entry tests
maxfierrog Apr 3, 2024
88a3224
Minor style change
maxfierrog Apr 3, 2024
094fff5
About to re-do nodes to labels instead of states
maxfierrog Apr 3, 2024
79960e5
Added record implemtation for Simple-Utility-Remoteness games with co…
ishirgarg Apr 3, 2024
35e2b03
Added zero-sum trait
ishirgarg Apr 3, 2024
0f46b0a
Added only remoteness record and puzzle solver
ishirgarg Apr 5, 2024
b4291e3
Added new utility interface structure
ishirgarg Apr 5, 2024
5a0f572
Update documentation
ishirgarg Apr 5, 2024
7250d89
Added combinatorial game trait
ishirgarg Apr 5, 2024
7123bf9
Completed mock game builder impl
maxfierrog Apr 8, 2024
0e0e81b
Merge branch 'dev-testing' into dev
maxfierrog Apr 8, 2024
40059d9
Add docstring to .edge method
maxfierrog Apr 8, 2024
328d4db
Merge branch 'dev-testing' into dev
maxfierrog Apr 8, 2024
35acbbf
Light structural changes
maxfierrog Apr 9, 2024
c5b5e87
Merge branch 'dev-testing' into dev
maxfierrog Apr 9, 2024
20cc42d
Reformatted comments to have line width 80
ishirgarg Apr 9, 2024
0efcf49
Reformatted doc comments
ishirgarg Apr 9, 2024
e34b3f1
Added sending game svg to stdout with .image()
maxfierrog Apr 9, 2024
172cc0d
Removed testing images
maxfierrog Apr 9, 2024
ea200c2
please dont hate me
maxfierrog Apr 10, 2024
7905b51
Merge branch 'dev-testing' into dev
maxfierrog Apr 10, 2024
f5b9d5c
Added support for TEST_SETTING env variable
maxfierrog Apr 10, 2024
e39aafa
Merge branch 'dev-testing' into dev
maxfierrog Apr 10, 2024
56e37d4
Fixed race condition on multithreaded test runs
maxfierrog Apr 10, 2024
6d38844
Exclude dev directory from release distributions
maxfierrog Apr 10, 2024
b5f5934
Added wiki submodule
maxfierrog Apr 10, 2024
df38549
Renamed wiki to doc
maxfierrog Apr 10, 2024
5830a4f
Sorting out submodule
maxfierrog Apr 10, 2024
818f007
Update wiki
maxfierrog Apr 10, 2024
516ec0c
Update wiki
maxfierrog Apr 10, 2024
619b64d
Fixed KVStore get method to take mut self
maxfierrog Apr 11, 2024
d64aba6
Merge branch 'dev-database' into dev
maxfierrog Apr 11, 2024
3e11788
Placed generic paramter of KVStore on put
maxfierrog Apr 11, 2024
287fc01
Merge branch 'dev-database' into dev
maxfierrog Apr 11, 2024
e69ef6d
Merge dev into dev-solver
maxfierrog Apr 11, 2024
65ea8f8
Switched to solving trait blankets, adjusted record impls and types
maxfierrog Apr 11, 2024
754ec71
Merge branch 'dev-solver' into dev
maxfierrog Apr 11, 2024
f85ca92
Updated docs
maxfierrog Apr 18, 2024
188023e
Added skeleton for example game module
maxfierrog Apr 19, 2024
74fcbb1
Fixed no starting node for first example
maxfierrog Apr 19, 2024
3968358
Added docstrings for guidance
maxfierrog Apr 19, 2024
c3b1ee5
added example tree, cyclic, and acyclic games for simple utility
BnjmnZmmrmn Apr 20, 2024
b81758f
Format Rust code using rustfmt
github-actions[bot] Apr 20, 2024
b13c14c
redid simple utility games to make them different, fixed naming issue
BnjmnZmmrmn Apr 22, 2024
ff756ca
merged autoformat
BnjmnZmmrmn Apr 22, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/push_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
toolchain: stable
- name: Test
run: cargo test --verbose
run: TEST_SETTING=0 cargo test --verbose

# Push formatting commit even if compilation/testing fails. This does not
# push a commit if no formatting is required.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
with:
toolchain: stable
- name: Test
run: cargo test --verbose
run: TEST_SETTING=0 cargo test --verbose

check_format:
runs-on: ubuntu-latest
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@

# Profiling output
flamegraph.svg

# MacOS desktop attributes file
.DS_Store

# Development data
/dev
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "doc"]
path = doc
url = [email protected]:GamesCrafters/GamesmanNova.wiki.git
82 changes: 74 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ repository = "https://github.com/GamesCrafters/GamesmanNova"
keywords = ["game", "solver", "strong-solver", "research"]
edition = "2021"
readme = "README.md"
exclude = ["/.github"]
exclude = ["/.github", "/dev"]

[[bin]]
name = "nova"
path = "src/main.rs"
test = true
name = "nova"
bench = true
test = true

[profile.release]
lto = "fat"
codegen-units = 1
debug = true
lto = "fat"

[dependencies]
clap = { version = "^4", features = ["derive"] }
Expand All @@ -30,3 +30,8 @@ colored = "^2"
anyhow = "^1"
bitvec = "^1"
regex = "^1"

[dev-dependencies]
strum_macros = "0.26"
petgraph = "^0"
strum = "0.26"
1 change: 1 addition & 0 deletions doc
Submodule doc added at e5a27e
2 changes: 1 addition & 1 deletion src/database/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
//! under which all database implementations' errors can be grouped into).
//!
//! #### Authorship
//!
//! - Max Fierro, 2/24/2024 ([email protected])

use std::{error::Error, fmt};
Expand Down Expand Up @@ -106,6 +105,7 @@ impl fmt::Display for DatabaseError {
table,
} => {
let rule = match data {
Datatype::BOOL => "of exactly 1 bit",
Datatype::DPFP => "of exactly 64 bits",
Datatype::SPFP => "of exactly 32 bits",
Datatype::SINT => "greater than 1 bit",
Expand Down
4 changes: 2 additions & 2 deletions src/database/lsmt/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
//! # LSM-Tree Database
//! # Log-Structured Merge Tree Database
//!
//! ...
//! TBD
Loading
Loading