Class: Rafflesia::FoldCollectionBenchmarkSummary

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/proteins/fold_collection_benchmark_summary.rb

Constant Summary collapse

HASH_ATTRS =
{
  benchmark_id: :benchmark_id,
  byte_reduction_fraction: :byte_reduction_fraction,
  calibration_id: :calibration_id,
  calibration_object_id: :calibration_object_id,
  collection_id: :collection_id,
  eligible_query_count: :eligible_query_count,
  max_segments: :max_segments,
  mean_hit_overlap_fraction: :mean_hit_overlap_fraction,
  min_routed_score_coverage: :min_routed_score_coverage,
  nprobe: :nprobe,
  object_read_reduction_fraction: :object_read_reduction_fraction,
  passed: :passed,
  query_count: :query_count,
  recall_at_1: :recall_at_1,
  recall_at_10: :recall_at_10,
  recall_at_100: :recall_at_100,
  recommended_max_segments: :recommended_max_segments,
  recommended_routing_mode: :recommended_routing_mode,
  recommended_target_score_coverage: :recommended_target_score_coverage,
  require_adaptive_routing: :require_adaptive_routing,
  require_routing: :require_routing,
  routed_exact_hit_count: :routed_exact_hit_count,
  routed_exact_materialized_bytes: :routed_exact_materialized_bytes,
  routed_exact_object_bytes: :routed_exact_object_bytes,
  routed_exact_object_read_count: :routed_exact_object_read_count,
  routed_exact_verified: :routed_exact_verified,
  routed_materialized_bytes: :routed_materialized_bytes,
  routed_range_bytes_fetched: :routed_range_bytes_fetched,
  routed_range_read_count: :routed_range_read_count,
  routed_selected_block_bytes: :routed_selected_block_bytes,
  routing_mode: :routing_mode,
  segment_count: :segment_count,
  segment_reduction_fraction: :segment_reduction_fraction,
  target_score_coverage: :target_score_coverage
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ FoldCollectionBenchmarkSummary

Returns a new instance of FoldCollectionBenchmarkSummary.



81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 81

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @benchmark_id = hash[:benchmark_id]
  @byte_reduction_fraction = hash[:byte_reduction_fraction]
  @calibration_id = hash[:calibration_id]
  @calibration_object_id = hash[:calibration_object_id]
  @collection_id = hash[:collection_id]
  @eligible_query_count = hash[:eligible_query_count]
  @max_segments = hash[:max_segments]
  @mean_hit_overlap_fraction = hash[:mean_hit_overlap_fraction]
  @min_routed_score_coverage = hash[:min_routed_score_coverage]
  @nprobe = hash[:nprobe]
  @object_read_reduction_fraction = hash[:object_read_reduction_fraction]
  @passed = hash[:passed]
  @query_count = hash[:query_count]
  @recall_at_1 = hash[:recall_at_1]
  @recall_at_10 = hash[:recall_at_10]
  @recall_at_100 = hash[:recall_at_100]
  @recommended_max_segments = hash[:recommended_max_segments]
  @recommended_routing_mode = hash[:recommended_routing_mode]
  @recommended_target_score_coverage = hash[:recommended_target_score_coverage]
  @require_adaptive_routing = hash[:require_adaptive_routing]
  @require_routing = hash[:require_routing]
  @routed_exact_hit_count = hash[:routed_exact_hit_count]
  @routed_exact_materialized_bytes = hash[:routed_exact_materialized_bytes]
  @routed_exact_object_bytes = hash[:routed_exact_object_bytes]
  @routed_exact_object_read_count = hash[:routed_exact_object_read_count]
  @routed_exact_verified = hash[:routed_exact_verified]
  @routed_materialized_bytes = hash[:routed_materialized_bytes]
  @routed_range_bytes_fetched = hash[:routed_range_bytes_fetched]
  @routed_range_read_count = hash[:routed_range_read_count]
  @routed_selected_block_bytes = hash[:routed_selected_block_bytes]
  @routing_mode = hash[:routing_mode]
  @segment_count = hash[:segment_count]
  @segment_reduction_fraction = hash[:segment_reduction_fraction]
  @target_score_coverage = hash[:target_score_coverage]
end

Instance Attribute Details

#benchmark_idObject

Returns the value of attribute benchmark_id.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def benchmark_id
  @benchmark_id
end

#byte_reduction_fractionObject

Returns the value of attribute byte_reduction_fraction.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def byte_reduction_fraction
  @byte_reduction_fraction
end

#calibration_idObject

Returns the value of attribute calibration_id.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def calibration_id
  @calibration_id
end

#calibration_object_idObject

Returns the value of attribute calibration_object_id.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def calibration_object_id
  @calibration_object_id
end

#collection_idObject

Returns the value of attribute collection_id.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def collection_id
  @collection_id
end

#eligible_query_countObject

Returns the value of attribute eligible_query_count.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def eligible_query_count
  @eligible_query_count
end

#max_segmentsObject

Returns the value of attribute max_segments.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def max_segments
  @max_segments
end

#mean_hit_overlap_fractionObject

Returns the value of attribute mean_hit_overlap_fraction.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def mean_hit_overlap_fraction
  @mean_hit_overlap_fraction
end

#min_routed_score_coverageObject

Returns the value of attribute min_routed_score_coverage.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def min_routed_score_coverage
  @min_routed_score_coverage
end

#nprobeObject

Returns the value of attribute nprobe.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def nprobe
  @nprobe
end

#object_read_reduction_fractionObject

Returns the value of attribute object_read_reduction_fraction.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def object_read_reduction_fraction
  @object_read_reduction_fraction
end

#passedObject

Returns the value of attribute passed.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def passed
  @passed
end

#query_countObject

Returns the value of attribute query_count.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def query_count
  @query_count
end

#recall_at_1Object

Returns the value of attribute recall_at_1.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def recall_at_1
  @recall_at_1
end

#recall_at_10Object

Returns the value of attribute recall_at_10.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def recall_at_10
  @recall_at_10
end

#recall_at_100Object

Returns the value of attribute recall_at_100.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def recall_at_100
  @recall_at_100
end

Returns the value of attribute recommended_max_segments.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def recommended_max_segments
  @recommended_max_segments
end

Returns the value of attribute recommended_routing_mode.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def recommended_routing_mode
  @recommended_routing_mode
end

Returns the value of attribute recommended_target_score_coverage.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def recommended_target_score_coverage
  @recommended_target_score_coverage
end

#require_adaptive_routingObject

Returns the value of attribute require_adaptive_routing.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def require_adaptive_routing
  @require_adaptive_routing
end

#require_routingObject

Returns the value of attribute require_routing.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def require_routing
  @require_routing
end

#routed_exact_hit_countObject

Returns the value of attribute routed_exact_hit_count.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def routed_exact_hit_count
  @routed_exact_hit_count
end

#routed_exact_materialized_bytesObject

Returns the value of attribute routed_exact_materialized_bytes.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def routed_exact_materialized_bytes
  @routed_exact_materialized_bytes
end

#routed_exact_object_bytesObject

Returns the value of attribute routed_exact_object_bytes.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def routed_exact_object_bytes
  @routed_exact_object_bytes
end

#routed_exact_object_read_countObject

Returns the value of attribute routed_exact_object_read_count.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def routed_exact_object_read_count
  @routed_exact_object_read_count
end

#routed_exact_verifiedObject

Returns the value of attribute routed_exact_verified.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def routed_exact_verified
  @routed_exact_verified
end

#routed_materialized_bytesObject

Returns the value of attribute routed_materialized_bytes.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def routed_materialized_bytes
  @routed_materialized_bytes
end

#routed_range_bytes_fetchedObject

Returns the value of attribute routed_range_bytes_fetched.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def routed_range_bytes_fetched
  @routed_range_bytes_fetched
end

#routed_range_read_countObject

Returns the value of attribute routed_range_read_count.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def routed_range_read_count
  @routed_range_read_count
end

#routed_selected_block_bytesObject

Returns the value of attribute routed_selected_block_bytes.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def routed_selected_block_bytes
  @routed_selected_block_bytes
end

#routing_modeObject

Returns the value of attribute routing_mode.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def routing_mode
  @routing_mode
end

#segment_countObject

Returns the value of attribute segment_count.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def segment_count
  @segment_count
end

#segment_reduction_fractionObject

Returns the value of attribute segment_reduction_fraction.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def segment_reduction_fraction
  @segment_reduction_fraction
end

#target_score_coverageObject

Returns the value of attribute target_score_coverage.



45
46
47
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45

def target_score_coverage
  @target_score_coverage
end