Skip to content

Commit

Permalink
Implemented changes for call_sandboxed
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Ricci committed Feb 4, 2025
1 parent 57e6ccc commit a93c402
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
6 changes: 3 additions & 3 deletions howso/custom_codes.amlg
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
series_data series_data
series_row_index series_row_index
feat_index_map feat_index_map
) op_limit !sandboxedMemoryLimit !sandboxedOpcodeDepthLimit)
) op_limit !sandboxedMemoryLimit !sandboxedOpcodeDepthLimit (false))
)
))

Expand Down Expand Up @@ -238,7 +238,7 @@
series_data series_data
series_row_index series_row_index
feat_index_map feat_index_map
) op_limit !sandboxedMemoryLimit !sandboxedOpcodeDepthLimit)
) op_limit !sandboxedMemoryLimit !sandboxedOpcodeDepthLimit (false))
))
derived_features
)
Expand Down Expand Up @@ -367,7 +367,7 @@
(assign (assoc
output_value
(get_value
(call_sandboxed new_feature_transform_processed (assoc feature_values_map feature_values_map) op_limit !sandboxedMemoryLimit !sandboxedOpcodeDepthLimit)
(call_sandboxed new_feature_transform_processed (assoc feature_values_map feature_values_map) op_limit !sandboxedMemoryLimit !sandboxedOpcodeDepthLimit (false))
)
))

Expand Down
2 changes: 1 addition & 1 deletion howso/derive_features.amlg
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
feature_index_map feature_index_map
!featureDateTimeMap !featureDateTimeMap
!ConvertDateToEpoch !ConvertDateToEpoch
) (* (size series_data) !sandboxedComputeLimit) !sandboxedMemoryLimit !sandboxedOpcodeDepthLimit)
) (* (size series_data) !sandboxedComputeLimit) !sandboxedMemoryLimit !sandboxedOpcodeDepthLimit ) (false))
)
))

Expand Down
4 changes: 2 additions & 2 deletions howso/derive_utilities.amlg
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
(call_sandboxed parsed_code (assoc
case (retrieve_from_entity case features)
feat_index_map feat_index_map
) op_limit !sandboxedMemoryLimit !sandboxedOpcodeDepthLimit)
) op_limit !sandboxedMemoryLimit !sandboxedOpcodeDepthLimit (false))
)
)
case_ids
Expand Down Expand Up @@ -317,7 +317,7 @@
)
(call_sandboxed parsed_code (assoc
evaluated_map evaluated_map
) (* (size evaluated_map) !sandboxedComputeLimit) !sandboxedMemoryLimit !sandboxedOpcodeDepthLimit)
) (* (size evaluated_map) !sandboxedComputeLimit) !sandboxedMemoryLimit !sandboxedOpcodeDepthLimit (false))
)
)
))
Expand Down
1 change: 1 addition & 0 deletions howso/io.amlg
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@
!sandboxedComputeLimit
!sandboxedMemoryLimit
!sandboxedOpcodeDepthLimit
(false)
)
)

Expand Down
4 changes: 2 additions & 2 deletions howso/synthesis_bounds.amlg
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
(not
(call_sandboxed parsed_code
(assoc data_map data_map)
(* (size context_features) !sandboxedComputeLimit) !sandboxedMemoryLimit !sandboxedOpcodeDepthLimit
(* (size context_features) !sandboxedComputeLimit) !sandboxedMemoryLimit !sandboxedOpcodeDepthLimit (false)
)
)
(assign (assoc out_of_bounds (true) ))
Expand Down Expand Up @@ -393,7 +393,7 @@
(not
(call_sandboxed parsed_code
(assoc data_map data_map)
(* (size context_features) !sandboxedComputeLimit) !sandboxedMemoryLimit !sandboxedOpcodeDepthLimit
(* (size context_features) !sandboxedComputeLimit) !sandboxedMemoryLimit !sandboxedOpcodeDepthLimit (false)
)
)
(assign (assoc out_of_bounds (true) ))
Expand Down
1 change: 1 addition & 0 deletions howso/synthesis_validation.amlg
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
!sandboxedComputeLimit
!sandboxedMemoryLimit
!sandboxedOpcodeDepthLimit
(false)
)
)

Expand Down

0 comments on commit a93c402

Please sign in to comment.