Module smartnoise_validator::utilities[][src]

Modules

array
inference

Infer ValueProperties from a public Value

json

Representation for report/json summaries

privacy
properties
serial

Serialization and deserialization between prost protobuf structs and internal representations

Functions

check_sensitivity_properties
deduplicate
expand_mechanism

Utility function for building component expansions for dp mechanisms

get_argument
get_common_value

given a vector of items, return the shared item, or None, if no item is shared

get_dependents

return the set of node ids that use each node id

get_input_properties

Retrieve the ValueProperties for each of the arguments of a component from the Release.

get_public_arguments

Retrieve the Values for each of the arguments of a component from the Release.

get_sinks

Retrieve the set of node ids in a graph that have no dependent nodes.

get_traversal

Given a computation graph, return an ordering of nodes that ensures all dependencies of any node have been visited

propagate_properties

Given an analysis and release, attempt to propagate properties across the entire computation graph.

set_node_id

Sets the node id of properties

standardize_float_argument

Given a jagged float array, conduct well-formedness checks and broadcast

take_argument

Retrieve the specified Value from the arguments to a component.