Class: Rafflesia::FoldSegmentBenchmarkGate
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldSegmentBenchmarkGate
- Defined in:
- lib/rafflesia/proteins/fold_segment_benchmark_gate.rb
Constant Summary collapse
- HASH_ATTRS =
{ max_blocks_per_query: :max_blocks_per_query, max_object_bytes_per_query: :max_object_bytes_per_query, max_object_reads_per_query: :max_object_reads_per_query, max_segments_per_query: :max_segments_per_query, min_byte_reduction_fraction: :min_byte_reduction_fraction, min_recall_at_1: :min_recall_at_1, min_recall_at_10: :min_recall_at_10, min_recall_at_100: :min_recall_at_100, min_routing_score_coverage: :min_routing_score_coverage, min_segment_reduction_fraction: :min_segment_reduction_fraction, passed: :passed, reasons: :reasons, require_adaptive_routing: :require_adaptive_routing, require_exact_verification: :require_exact_verification, require_routing: :require_routing, require_zero_materialization: :require_zero_materialization }.freeze
Instance Attribute Summary collapse
-
#max_blocks_per_query ⇒ Object
Returns the value of attribute max_blocks_per_query.
-
#max_object_bytes_per_query ⇒ Object
Returns the value of attribute max_object_bytes_per_query.
-
#max_object_reads_per_query ⇒ Object
Returns the value of attribute max_object_reads_per_query.
-
#max_segments_per_query ⇒ Object
Returns the value of attribute max_segments_per_query.
-
#min_byte_reduction_fraction ⇒ Object
Returns the value of attribute min_byte_reduction_fraction.
-
#min_recall_at_1 ⇒ Object
Returns the value of attribute min_recall_at_1.
-
#min_recall_at_10 ⇒ Object
Returns the value of attribute min_recall_at_10.
-
#min_recall_at_100 ⇒ Object
Returns the value of attribute min_recall_at_100.
-
#min_routing_score_coverage ⇒ Object
Returns the value of attribute min_routing_score_coverage.
-
#min_segment_reduction_fraction ⇒ Object
Returns the value of attribute min_segment_reduction_fraction.
-
#passed ⇒ Object
Returns the value of attribute passed.
-
#reasons ⇒ Object
Returns the value of attribute reasons.
-
#require_adaptive_routing ⇒ Object
Returns the value of attribute require_adaptive_routing.
-
#require_exact_verification ⇒ Object
Returns the value of attribute require_exact_verification.
-
#require_routing ⇒ Object
Returns the value of attribute require_routing.
-
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldSegmentBenchmarkGate
constructor
A new instance of FoldSegmentBenchmarkGate.
Constructor Details
#initialize(json) ⇒ FoldSegmentBenchmarkGate
Returns a new instance of FoldSegmentBenchmarkGate.
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_gate.rb', line 45 def initialize(json) super() hash = self.class.normalize(json) @max_blocks_per_query = hash[:max_blocks_per_query] @max_object_bytes_per_query = hash[:max_object_bytes_per_query] @max_object_reads_per_query = hash[:max_object_reads_per_query] @max_segments_per_query = hash[:max_segments_per_query] @min_byte_reduction_fraction = hash[:min_byte_reduction_fraction] @min_recall_at_1 = hash[:min_recall_at_1] @min_recall_at_10 = hash[:min_recall_at_10] @min_recall_at_100 = hash[:min_recall_at_100] @min_routing_score_coverage = hash[:min_routing_score_coverage] @min_segment_reduction_fraction = hash[:min_segment_reduction_fraction] @passed = hash[:passed] @reasons = (hash[:reasons] || []) @require_adaptive_routing = hash[:require_adaptive_routing] @require_exact_verification = hash[:require_exact_verification] @require_routing = hash[:require_routing] @require_zero_materialization = hash[:require_zero_materialization] end |
Instance Attribute Details
#max_blocks_per_query ⇒ Object
Returns the value of attribute max_blocks_per_query.
27 28 29 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_gate.rb', line 27 def max_blocks_per_query @max_blocks_per_query end |
#max_object_bytes_per_query ⇒ Object
Returns the value of attribute max_object_bytes_per_query.
27 28 29 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_gate.rb', line 27 def max_object_bytes_per_query @max_object_bytes_per_query end |
#max_object_reads_per_query ⇒ Object
Returns the value of attribute max_object_reads_per_query.
27 28 29 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_gate.rb', line 27 def max_object_reads_per_query @max_object_reads_per_query end |
#max_segments_per_query ⇒ Object
Returns the value of attribute max_segments_per_query.
27 28 29 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_gate.rb', line 27 def max_segments_per_query @max_segments_per_query end |
#min_byte_reduction_fraction ⇒ Object
Returns the value of attribute min_byte_reduction_fraction.
27 28 29 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_gate.rb', line 27 def min_byte_reduction_fraction @min_byte_reduction_fraction end |
#min_recall_at_1 ⇒ Object
Returns the value of attribute min_recall_at_1.
27 28 29 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_gate.rb', line 27 def min_recall_at_1 @min_recall_at_1 end |
#min_recall_at_10 ⇒ Object
Returns the value of attribute min_recall_at_10.
27 28 29 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_gate.rb', line 27 def min_recall_at_10 @min_recall_at_10 end |
#min_recall_at_100 ⇒ Object
Returns the value of attribute min_recall_at_100.
27 28 29 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_gate.rb', line 27 def min_recall_at_100 @min_recall_at_100 end |
#min_routing_score_coverage ⇒ Object
Returns the value of attribute min_routing_score_coverage.
27 28 29 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_gate.rb', line 27 def min_routing_score_coverage @min_routing_score_coverage end |
#min_segment_reduction_fraction ⇒ Object
Returns the value of attribute min_segment_reduction_fraction.
27 28 29 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_gate.rb', line 27 def min_segment_reduction_fraction @min_segment_reduction_fraction end |
#passed ⇒ Object
Returns the value of attribute passed.
27 28 29 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_gate.rb', line 27 def passed @passed end |
#reasons ⇒ Object
Returns the value of attribute reasons.
27 28 29 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_gate.rb', line 27 def reasons @reasons end |
#require_adaptive_routing ⇒ Object
Returns the value of attribute require_adaptive_routing.
27 28 29 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_gate.rb', line 27 def require_adaptive_routing @require_adaptive_routing end |
#require_exact_verification ⇒ Object
Returns the value of attribute require_exact_verification.
27 28 29 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_gate.rb', line 27 def require_exact_verification @require_exact_verification end |
#require_routing ⇒ Object
Returns the value of attribute require_routing.
27 28 29 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_gate.rb', line 27 def require_routing @require_routing end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
27 28 29 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_gate.rb', line 27 def require_zero_materialization @require_zero_materialization end |