Class: Rafflesia::FoldSearchBenchmarkGate
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldSearchBenchmarkGate
- Defined in:
- lib/rafflesia/proteins/fold_search_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, min_byte_reduction_fraction: :min_byte_reduction_fraction, min_hit_overlap_fraction: :min_hit_overlap_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, passed: :passed, reasons: :reasons, require_exact_verification: :require_exact_verification, 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.
-
#min_byte_reduction_fraction ⇒ Object
Returns the value of attribute min_byte_reduction_fraction.
-
#min_hit_overlap_fraction ⇒ Object
Returns the value of attribute min_hit_overlap_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.
-
#passed ⇒ Object
Returns the value of attribute passed.
-
#reasons ⇒ Object
Returns the value of attribute reasons.
-
#require_exact_verification ⇒ Object
Returns the value of attribute require_exact_verification.
-
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldSearchBenchmarkGate
constructor
A new instance of FoldSearchBenchmarkGate.
Constructor Details
#initialize(json) ⇒ FoldSearchBenchmarkGate
Returns a new instance of FoldSearchBenchmarkGate.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_gate.rb', line 37 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] @min_byte_reduction_fraction = hash[:min_byte_reduction_fraction] @min_hit_overlap_fraction = hash[:min_hit_overlap_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] @passed = hash[:passed] @reasons = (hash[:reasons] || []) @require_exact_verification = hash[:require_exact_verification] @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.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_gate.rb', line 23 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.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_gate.rb', line 23 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.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_gate.rb', line 23 def max_object_reads_per_query @max_object_reads_per_query end |
#min_byte_reduction_fraction ⇒ Object
Returns the value of attribute min_byte_reduction_fraction.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_gate.rb', line 23 def min_byte_reduction_fraction @min_byte_reduction_fraction end |
#min_hit_overlap_fraction ⇒ Object
Returns the value of attribute min_hit_overlap_fraction.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_gate.rb', line 23 def min_hit_overlap_fraction @min_hit_overlap_fraction end |
#min_recall_at_1 ⇒ Object
Returns the value of attribute min_recall_at_1.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_gate.rb', line 23 def min_recall_at_1 @min_recall_at_1 end |
#min_recall_at_10 ⇒ Object
Returns the value of attribute min_recall_at_10.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_gate.rb', line 23 def min_recall_at_10 @min_recall_at_10 end |
#min_recall_at_100 ⇒ Object
Returns the value of attribute min_recall_at_100.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_gate.rb', line 23 def min_recall_at_100 @min_recall_at_100 end |
#passed ⇒ Object
Returns the value of attribute passed.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_gate.rb', line 23 def passed @passed end |
#reasons ⇒ Object
Returns the value of attribute reasons.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_gate.rb', line 23 def reasons @reasons end |
#require_exact_verification ⇒ Object
Returns the value of attribute require_exact_verification.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_gate.rb', line 23 def require_exact_verification @require_exact_verification end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_gate.rb', line 23 def require_zero_materialization @require_zero_materialization end |