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

Fulfillment helper refactor #1205

Merged
merged 33 commits into from
May 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
adaa78b
begin work on FulfillmentLib
0age Apr 28, 2023
3e45055
add shuffle
0age Apr 28, 2023
6ee2737
prepare to assign bundles
0age Apr 28, 2023
d647ea9
assign item references to groups
0age Apr 28, 2023
32c3c4d
bundle matchable groups into their own group
0age Apr 28, 2023
1659125
split by side and copy
0age Apr 28, 2023
50a3e16
simplify structs post-prep
0age Apr 28, 2023
4f86b9a
close the loop on prep step
0age Apr 28, 2023
964d52d
begin setting up "strategy" pattern
0age Apr 28, 2023
3d9c9e1
implement first-pass eligibility check
0age Apr 28, 2023
1418cfc
add assertion for supported strategies
0age Apr 28, 2023
114c211
set up default + fulfillAvailable case
0age Apr 29, 2023
25284dc
set up basic scaffolding for match
0age Apr 29, 2023
dd30fcf
get match "context" for easier fulfillment derivation
0age Apr 29, 2023
e774043
implement "getUncoveredComponents"
0age Apr 29, 2023
f83d192
add a few small helper fns
0age Apr 29, 2023
68738ec
include total items for allocation
0age Apr 29, 2023
b9444ba
add logic for consuming + crediting in match fulfillments
0age Apr 29, 2023
2cdb78c
pull out logic for looking for uncovered component totals
0age Apr 29, 2023
f547c3c
add a few more default functions
0age Apr 30, 2023
217b6d5
add a missing bit
0age Apr 30, 2023
28daa47
begin the swap
0age Apr 30, 2023
da4f03c
remove double logic and add some sanity checks
0age Apr 30, 2023
1672bcd
return empty fulfillments when there are no items
0age Apr 30, 2023
6cbf453
cleanup fuzz engine lib logic
0age Apr 30, 2023
f05bb04
fix issue with hash count
0age May 1, 2023
7e538a6
add back unused amounts to first item in aggregation
0age May 1, 2023
32b18d6
use new helper for fulfillAvailable as well
0age May 1, 2023
99d5bb9
remove unused imports
0age May 1, 2023
a3121fc
handle cases where fulfillments are empty
0age May 1, 2023
8017ae3
handle another odd-ball mutation edge case
0age May 1, 2023
a320a50
fix an import
0age May 2, 2023
d001f54
silence failing peripheral tests
0age May 2, 2023
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
Loading