google / google/heir

Add/Improve Debugging Features

Open
#1,266 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
MLIR
Stars
906
Forks
171
Avg merge
4d 12h
Merged PRs (30d)
32

Description

Ideas/Tasks around improving the ability of developers to debug the programs they write using HEIR.

* Plaintext Execution Mode (i.e., run only arithmetization, then run resulting program in plaintext space Z_p, as discussed in the last office hours)
* "Decrypt-after-each" mode (kind of automating a common form of "printf() debugging")
* add secret_key as argument for eval
* after each HE operation (or maybe at granularity of each secret.generic after secret-distribute-generic?), decrypt the resulting ciphertext.
* compare the decrypted result with the expected plaintext result
* Report any deviations
* #1143

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.