Skip to content

Commit

Permalink
Updated bits index function, encodings tests, test cases (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkowalski authored Feb 27, 2024
1 parent 632540e commit d3ea93f
Show file tree
Hide file tree
Showing 6 changed files with 344 additions and 11 deletions.
12 changes: 9 additions & 3 deletions bin/e2e/e2e.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,18 @@ async fn main() -> eyre::Result<()> {
let uniqueness_check_result =
serde_json::from_str::<UniquenessCheckResult>(&message_body)?;

// Check that signup id and serial id match expected values
assert_eq!(uniqueness_check_result.signup_id, element.signup_id);
assert_eq!(uniqueness_check_result.serial_id, next_serial_id);

// If there are matches, check that the distances match the expected values
if !uniqueness_check_result.matches.is_empty() {
// If there should be matches, check that the distances match the expected values
if !element.matched_with.is_empty() {
assert_eq!(
uniqueness_check_result.matches.len(),
element.matched_with.len(),
"Wrong number of matches for signup_id: {}",
element.signup_id
);

for (i, distance) in
uniqueness_check_result.matches.iter().enumerate()
{
Expand Down
17 changes: 17 additions & 0 deletions bin/e2e/two_code_sequence_no_rotations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{
"signup_id": "0",
"iris_code": "2om6m4m6gBMgAgF0X+ybmgEwV2zf6qAXdszbqBJFdX7Ozbqom6iAMgIBEyAyRX7NuDIFdXTf7JogRXRX7f/s38m6iJEyAyRFd93+zbqAEiB2X+3pugEyEzIFds/tuIIDJUV/7PqJupqJuqgTIiAVdF/s27oAAVds3bqgBXbs26ASRVV+zt+7qIugATISABMBOgA6iSAyRXV+3+i6ABdlV23/7N+JuoiBMgMkRXfd/sm6gAIFdl/t6KgRMgEyBXZN7bqBIgRFf+zqibICm5uomzIgF2Rf7N26ogF2Rs3/6EX/6JugEkdXZMzf6bqIkgIBMiBXzfqIshEwNkV0/s+ougAXZXZN/+zJq6qKoTASIFV3/d/ouiASVXfd//qokTZVdkV+zf26gSAWRX3/qoEyJFff6JuqATJFd039+6iDIBNkV03f7OibqAATV2Rk3+26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1dFd339/s/N/N7f7N+omoiboCAhMiAAEXdVd23f7P3f7N/+3+xWRX7N3biBMkXfqIioiCCZuyAAAwV1duxVV+zd/v7uRWRHRXZkVXbd/+3+ybqgEBds36i6iam6i6qiAgARdkVXRXRX/d/fzfzeT+zfuJqpuyASAyIgADAXRVd13/3d/+zf/M3sV0V2zd3+ibqombqJqIqomZogABEBJHZERV/uz/yXZFdkRUV2ZFV3Tf/t3826qBIFbN+oiom5uqiqIgIBV3R0V0V2V1/t/+3+383s27qKibuouBMgIAEyAWRVdVf93//d3/zN/kVXfs39/qi6qIkyiaioiLqaIAIhISASASVXX9+oASV3Ze3FdkRVd0VX7d/d+qiSAXTf6oqLibuoqiICAFdkVldlV13f7N/t/t/N7Lm6iom7qKiTICATIgEiBXVVf9/939/s/f7N3+zd/f+omqiIIgMgIAm6ugASISEgEgMgF1ffigFld03uybogAXZEV3X9/+3omgE0RX7fz4mbqqgAAyBVdFdFdlft3+zf7f/P3ey4moqJm6iosgAhMyIAIgNkVXf9/f//7Q==",
"mask_code": "//////////////////////z//////////////////////8zM///////////8z//M/////////////M/P/////P////MzMzAAADMwAP///////////////////////8zM////////////////////////////////////////////////////////////////////////////////////////////////MzMAAAAzMzP//8zP////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8zMzAAAAAzMzMwAAAP////////////////////////////////////////////////////////////////////////////////////////////////////////////////////MzMwAAAAAzMzAAAAAzMz////////////////////////////////////////////////////////////////////////////////////////////////////////////////8zMzMAAAAAADAAAAAAAAAzMzMAAAAM////////////////////////////////////////////////////////////////////////////////////////////////////////MzMzAAAAAAAAAAAAAAAAAAAAAAAAAAADMz/////////////////////////////////////////////////////////////////////////////////////////////////zMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMzP///////////////////////////////////////////////////////////////////////////////////////////8zAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMzP///////////////////////////////////////////////////////////////////////////////////////8zMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMzP//////////////////////////////////////////////////////////////////////////////////////zMzMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMzP/////////////////////////////////////////////////////////////////////////////////////MzMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMzP///////////////////////////////////////////////////////////////////////////////////MzMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADMzP/////////////////////////////////////////////////////////////////////////////////MzMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzM/////////////////////////////////////////////////////////////////////////////////8zMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMzM///////////////////////////////////////////////////////////////////////////////8zMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzMz/////////////////////////////////////////////////////////////////////////////zMzMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzMz///w==",
"matched_with": []
},
{
"signup_id": "1",
"iris_code": "ibqIuouomyABMyAgG4mom4moIBMiITMiRXds3+32RXdk7N/+iJqgASBkVX7f+qiTASV2RX/+37qLIAF1fsm6iSAROom6IAF1dkVf//7N32RXTf7N/s3/zbogE2RV/f6ouqATMs26iJuKiZsgATIgATKJqJuJICASiiAzIkV3fN/ldlV3bM3f6qiaACATZkV+3/qIEwFkdkV//t36iyABdX7N+om6iACZMiABVXdkXf/+iJsgF0V83fqBds3boBdkX/36qLIAF17d+ombqomTIAEyIBMgAbqLibqIMgMgMldF/t6AF2RVd+zN/s26qoMgEkZFft/6gFdFdERVduzd+okiAXVs3/qIuqIAEzIiAFVXZN3++oiDIBNldX3+R2Xd3+ibIFftm6ggAVZN/7qJuyIDEyCJuqiTIBE2Tem6iBITBHZf/u6LqBMgF3dkRXbN//qboDIDdXTf9kV3XfzNd3bN37qIMgFX7N+qiooCABMxIgBFd2Td/LqIgyAzZFd1dldt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AgMgE6iJqKoBMgARE2ZEdlVf7N/t/+zezfqJqoIiIFVVd3ZVX/3f/f7PZEV0VXZVX/3+36qKiZqKqJuqioiyAAIgABVXdk3//s37qbqIMgIgVVfu3+iam6gyABdFdF7N+IiaADIDJFfsmbqoiTIAARMiRXV0V/7f7f7s3826iboAAgVXdVd3/d3/36iqggABMkV0VVd93////ouqiqi4uoqJqgAAIiABFXdVX/7N36i6qAIAMFdd/ouqipMgEgBGRXZN3fi6mgEyACBXZPy7qIm6AgEyAkV1dFV/3/3+7N/9momiAABVV2VV//3d+qqoqgAAADIFdVdVVV39//zeiIioqLqKiqqAACIgABJFV1X/39/tupqDIBRXzbqJqoISIBMkZkV2zf3oupsBMgAgEyVk+qiIqAIBIgNVdXRVdd/9/N7f35upIgBkVXd1Xf/f2bqogAAAACAyBXVXVVVVXd/8/siZqoiKiqiqiIIiIAACBFd1///Q==",
"mask_code": "////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////z////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////Mz//Mz///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////zAMwAAMwAAAAMzM///zMz/////////////////////////////////////////////////////////////////////////////////////////////////////////////MzMAAAAAAAAAAAAAAAAAAAAAAzM//////////////////////////////////////////////////////////////////////////////////////////////////////M8zMzAAAAAAAAAAAAAAAAAAAAAAAAAAADM////////////////////////////////////////////////////////////////////////////////////////////////zMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADMzMADP////////////////////////////////////////////////////////////////////////////////////////8zMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM///////////////////////////////////////////////////////////////////////////////////8zMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADM///////////////////////////////////////////////////////////////////////////////8zMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADMz////////////////////////////////////////////////////////////////////////////MzMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMzP/////////////////////////////////////////////////////////////////////////MzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADMz///////////////////////////////////////////////////////////////////////zMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADMz//////////////////////////////////////////////////////////////////////MzMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADMz///////////////////////////////MzMzMz///////////////////////////////8zMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzMzP/////////////////////////8zMAAAAAAAAAMz////////////////////////////MzMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMzMw==",
"matched_with": [],
"_comment": {
"distance_to_signup_id_0": 0.47833602212491355
}
}
]
19 changes: 19 additions & 0 deletions bin/e2e/two_codes_sequence_with_rotations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[
{
"signup_id": "0",
"iris_code": "2om6m4m6gBMgAgF0X+ybmgEwV2zf6qAXdszbqBJFdX7Ozbqom6iAMgIBEyAyRX7NuDIFdXTf7JogRXRX7f/s38m6iJEyAyRFd93+zbqAEiB2X+3pugEyEzIFds/tuIIDJUV/7PqJupqJuqgTIiAVdF/s27oAAVds3bqgBXbs26ASRVV+zt+7qIugATISABMBOgA6iSAyRXV+3+i6ABdlV23/7N+JuoiBMgMkRXfd/sm6gAIFdl/t6KgRMgEyBXZN7bqBIgRFf+zqibICm5uomzIgF2Rf7N26ogF2Rs3/6EX/6JugEkdXZMzf6bqIkgIBMiBXzfqIshEwNkV0/s+ougAXZXZN/+zJq6qKoTASIFV3/d/ouiASVXfd//qokTZVdkV+zf26gSAWRX3/qoEyJFff6JuqATJFd039+6i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qigEyC6ibqIqaqJuqqCIgASV1dFd339/s/N/N7f7N+omoiboCAhMiAAEXdVd23f7P3f7N/+3+xWRX7N3biBMkXfqIioiCCZuyAAAwV1duxVV+zd/v7uRWRHRXZkVXbd/+3+ybqgEBds36i6iam6i6qiAgARdkVXRXRX/d/fzfzeT+zfuJqpuyASAyIgADAXRVd13/3d/+zf/M3sV0V2zd3+ibqombqJqIqomZogABEBJHZERV/uz/yXZFdkRUV2ZFV3Tf/t3826qBIFbN+oiom5uqiqIgIBV3R0V0V2V1/t/+3+383s27qKibuouBMgIAEyAWRVdVf93//d3/zN/kVXfs39/qi6qIkyiaioiLqaIAIhISASASVXX9+oASV3Ze3FdkRVd0VX7d/d+qiSAXTf6oqLibuoqiICAFdkVldlV13f7N/t/t/N7Lm6iom7qKiTICATIgEiBXVVf9/939/s/f7N3+zd/f+omqiIIgMgIAm6ugASISEgEgMgF1ffigFld03uybogAXZEV3X9/+3omgE0RX7fz4mbqqgAAyBVdFdFdlft3+zf7f/P3ey4moqJm6iosgAhMyIAIgNkVXf9/f//7Q==",
"mask_code": "//////////////////////z//////////////////////8zM///////////8z//M/////////////M/P/////P////MzMzAAADMwAP///////////////////////8zM////////////////////////////////////////////////////////////////////////////////////////////////MzMAAAAzMzP//8zP////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8zMzAAAAAzMzMwAAAP////////////////////////////////////////////////////////////////////////////////////////////////////////////////////MzMwAAAAAzMzAAAAAzMz////////////////////////////////////////////////////////////////////////////////////////////////////////////////8zMzMAAAAAADAAAAAAAAAzMzMAAAAM////////////////////////////////////////////////////////////////////////////////////////////////////////MzMzAAAAAAAAAAAAAAAAAAAAAAAAAAADMz/////////////////////////////////////////////////////////////////////////////////////////////////zMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMzP///////////////////////////////////////////////////////////////////////////////////////////8zAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMzP///////////////////////////////////////////////////////////////////////////////////////8zMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMzP//////////////////////////////////////////////////////////////////////////////////////zMzMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMzP/////////////////////////////////////////////////////////////////////////////////////MzMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMzP///////////////////////////////////////////////////////////////////////////////////MzMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADMzP/////////////////////////////////////////////////////////////////////////////////MzMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzM/////////////////////////////////////////////////////////////////////////////////8zMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMzM///////////////////////////////////////////////////////////////////////////////8zMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzMz/////////////////////////////////////////////////////////////////////////////zMzMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzMz///w==",
"matched_with": []
},
{
"signup_id": "1",
"iris_code": "ibqIuouomyABMyAgG4mom4moIBMiITMiRXds3+32RXdk7N/+iJqgASBkVX7f+qiTASV2RX/+37qLIAF1fsm6iSAROom6IAF1dkVf//7N32RXTf7N/s3/zbogE2RV/f6ouqATMs26iJuKiZsgATIgATKJqJuJICASiiAzIkV3fN/ldlV3bM3f6qiaACATZkV+3/qIEwFkdkV//t36iyABdX7N+om6iACZMiABVXdkXf/+iJsgF0V83fqBds3boBdkX/36qLIAF17d+ombqomTIAEyIBMgAbqLibqIMgMgMldF/t6AF2RVd+zN/s26qoMgEkZFft/6gFdFdERVduzd+okiAXVs3/qIuqIAEzIiAFVXZN3++oiDIBNldX3+R2Xd3+ibIFftm6ggAVZN/7qJuyIDEyCJuqiTIBE2Tem6iBITBHZf/u6LqBMgF3dkRXbN//qboDIDdXTf9kV3XfzNd3bN37qIMgFX7N+qiooCABMxI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V2RX7N/bqLIAEkVk/s36iboAAgMgE6iJqKoBMgARE2ZEdlVf7N/t/+zezfqJqoIiIFVVd3ZVX/3f/f7PZEV0VXZVX/3+36qKiZqKqJuqioiyAAIgABVXdk3//s37qbqIMgIgVVfu3+iam6gyABdFdF7N+IiaADIDJFfsmbqoiTIAARMiRXV0V/7f7f7s3826iboAAgVXdVd3/d3/36iqggABMkV0VVd93////ouqiqi4uoqJqgAAIiABFXdVX/7N36i6qAIAMFdd/ouqipMgEgBGRXZN3fi6mgEyACBXZPy7qIm6AgEyAkV1dFV/3/3+7N/9momiAABVV2VV//3d+qqoqgAAADIFdVdVVV39//zeiIioqLqKiqqAACIgABJFV1X/39/tupqDIBRXzbqJqoISIBMkZkV2zf3oupsBMgAgEyVk+qiIqAIBIgNVdXRVdd/9/N7f35upIgBkVXd1Xf/f2bqogAAAACAyBXVXVVVVXd/8/siZqoiKiqiqiIIiIAACBFd1///Q==",
"mask_code": "////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////z////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////Mz//Mz///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////zAMwAAMwAAAAMzM///zMz/////////////////////////////////////////////////////////////////////////////////////////////////////////////MzMAAAAAAAAAAAAAAAAAAAAAAzM//////////////////////////////////////////////////////////////////////////////////////////////////////M8zMzAAAAAAAAAAAAAAAAAAAAAAAAAAADM////////////////////////////////////////////////////////////////////////////////////////////////zMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADMzMADP////////////////////////////////////////////////////////////////////////////////////////8zMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM///////////////////////////////////////////////////////////////////////////////////8zMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADM///////////////////////////////////////////////////////////////////////////////8zMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADMz////////////////////////////////////////////////////////////////////////////MzMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMzP/////////////////////////////////////////////////////////////////////////MzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADMz///////////////////////////////////////////////////////////////////////zMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADMz//////////////////////////////////////////////////////////////////////MzMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADMz///////////////////////////////MzMzMz///////////////////////////////8zMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzMzP/////////////////////////8zMAAAAAAAAAMz////////////////////////////MzMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMzMw==",
"matched_with": [
{
"distance": 0.3352968352968353,
"serial_id": 0
}
]
}
]
9 changes: 9 additions & 0 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ services:
dockerfile: Dockerfile
ports:
- 8080:8080
depends_on:
- coordinator_db
- localstack
participant_0:
restart: always
hostname: participant
Expand All @@ -57,6 +60,9 @@ services:
build:
context: .
dockerfile: Dockerfile
depends_on:
- participant_0_db
- localstack
participant_1:
restart: always
hostname: participant
Expand All @@ -74,6 +80,9 @@ services:
- 'AWS_ACCESS_KEY_ID=test'
- 'AWS_SECRET_ACCESS_KEY=test'
- 'AWS_DEFAULT_REGION=us-east-1'
depends_on:
- participant_1_db
- localstack
build:
context: .
dockerfile: Dockerfile
Expand Down
Loading

0 comments on commit d3ea93f

Please sign in to comment.