Skip to content

Update reference submission to handle all batch sizes#26

Open
Lance-Bai wants to merge 7 commits into
code-perspective:mainfrom
Lance-Bai:main
Open

Update reference submission to handle all batch sizes#26
Lance-Bai wants to merge 7 commits into
code-perspective:mainfrom
Lance-Bai:main

Conversation

@Lance-Bai

Copy link
Copy Markdown
Collaborator

The commands work with ./harness/run_submission 1 and ./harness/run_submission 2 is avaliable

@andreea-alexandru

Copy link
Copy Markdown
Collaborator

Can you please add a README file for the submission, explaining what it does and how it achieves security like here https://github.com/fhe-benchmarking/fetch-by-similarity/tree/main/submission?

Also, can you also please push the measurements folder?

@code-perspective code-perspective self-requested a review June 20, 2026 17:11

@code-perspective code-perspective left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning all the binaries.

Looks good. Minor nits.

if num_chunks != 8 {
return Err("expected 8 chunks of 16 bits".into());
}
// if num_chunks != 8 {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe remove commented out code.

println!("Transciphering keys saved to {}", ciphertext_upload_dir);
} else {
return Err(Box::from(format!("Unexpected size {}", size)));
}

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about adding an else block for error handling?

else {
    return Err(Box::from(format!("Unexpected size {}", size)));
}

@andreea-alexandru andreea-alexandru self-requested a review June 25, 2026 21:47

@andreea-alexandru andreea-alexandru left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please resolve these comments made in the PR, so that we have a clean base to address the rest of the issues without conflicts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants