Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
hyerinshelly committed Jul 25, 2024
1 parent cf52e9c commit 48b488b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
9 changes: 8 additions & 1 deletion src/main/scala/fhetest/Checker/ExceptionMsgKeyword.scala
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ def mapLibConfigArgument2Keywords(
argName: LibConfigArgumentName,
): Set[String] = {
val commonKeywords =
Set(" parameters", "ring dimension", " ringdim", " primes", " overflow")
Set(
" parameters",
"ring dimension",
" ringdim",
" primes",
" overflow",
" transparent",
)
val modSizeKeywords = Set(" moduli", " bit_sizes", "bit length")
val uniqueKeywords = argName match {
case "Scheme" => Set("scheme")
Expand Down
3 changes: 1 addition & 2 deletions src/main/scala/fhetest/Command.scala
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,7 @@ case object CmdTest extends BackendCommand("test") {
val noFilterOpt = config.noFilterOpt
val generator = Generate(encType, genStrategy, validFilter, noFilterOpt)
val programs = generator(genCount)
// val backendList = List(Backend.SEAL, Backend.OpenFHE) // commented out for evaluation
val backendList = List(Backend.OpenFHE) // tmp: for evaluation
val backendList = List(Backend.SEAL, Backend.OpenFHE)
val encParamsOpt = config.libConfigOpt.map(_.encParams)
val toJson = config.toJson
val sealVersion = config.sealVersion.getOrElse(SEAL_VERSIONS.head)
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/fhetest/Generate/ValidFilter.scala
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ object ValidFilter {
else if (scheme == Scheme.BFV) List(ScalingTechnique.NORESCALE)
else
List(
ScalingTechnique.NORESCALE,
// ScalingTechnique.NORESCALE, // v1.2.0
ScalingTechnique.FIXEDMANUAL,
ScalingTechnique.FIXEDAUTO,
ScalingTechnique.FLEXIBLEAUTO,
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/fhetest/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ val OPENFHE_DIR = s"$WORKSPACE_DIR/OpenFHE"

val SEAL_VERSIONS = List("4.1.1", "4.1.0", "4.0.0", "3.7.3", "3.7.2")
val OPENFHE_VERSIONS =
List("1.1.4", "1.1.2", "1.0.4", "1.0.3", "1.0.2", "1.0.1")
List("1.2.0", "1.1.4", "1.1.2", "1.0.4", "1.0.3", "1.0.2", "1.0.1")

0 comments on commit 48b488b

Please sign in to comment.