Class: Rafflesia::CorpuReleaseStructurePairGeometryComparison
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CorpuReleaseStructurePairGeometryComparison
- Defined in:
- lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb
Constant Summary collapse
- HASH_ATTRS =
{ baseline: :baseline, baseline_only_hit_count: :baseline_only_hit_count, baseline_variant: :baseline_variant, candidate_parameter_observations: :candidate_parameter_observations, corpus: :corpus, delta: :delta, evidence_jsonl_path: :evidence_jsonl_path, evidence_tsv_path: :evidence_tsv_path, family: :family, kind: :kind, pair_geometry: :pair_geometry, pair_geometry_only_hit_count: :pair_geometry_only_hit_count, pair_geometry_variant: :pair_geometry_variant, query_count: :query_count, recovered_query_count: :recovered_query_count, regressed_query_count: :regressed_query_count, release_id: :release_id, rollout_observations: :rollout_observations, summary_path: :summary_path, unchanged_recall_query_count: :unchanged_recall_query_count }.freeze
Instance Attribute Summary collapse
-
#baseline ⇒ Object
Returns the value of attribute baseline.
-
#baseline_only_hit_count ⇒ Object
Returns the value of attribute baseline_only_hit_count.
-
#baseline_variant ⇒ Object
Returns the value of attribute baseline_variant.
-
#candidate_parameter_observations ⇒ Object
Returns the value of attribute candidate_parameter_observations.
-
#corpus ⇒ Object
Returns the value of attribute corpus.
-
#delta ⇒ Object
Returns the value of attribute delta.
-
#evidence_jsonl_path ⇒ Object
Returns the value of attribute evidence_jsonl_path.
-
#evidence_tsv_path ⇒ Object
Returns the value of attribute evidence_tsv_path.
-
#family ⇒ Object
Returns the value of attribute family.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#pair_geometry ⇒ Object
Returns the value of attribute pair_geometry.
-
#pair_geometry_only_hit_count ⇒ Object
Returns the value of attribute pair_geometry_only_hit_count.
-
#pair_geometry_variant ⇒ Object
Returns the value of attribute pair_geometry_variant.
-
#query_count ⇒ Object
Returns the value of attribute query_count.
-
#recovered_query_count ⇒ Object
Returns the value of attribute recovered_query_count.
-
#regressed_query_count ⇒ Object
Returns the value of attribute regressed_query_count.
-
#release_id ⇒ Object
Returns the value of attribute release_id.
-
#rollout_observations ⇒ Object
Returns the value of attribute rollout_observations.
-
#summary_path ⇒ Object
Returns the value of attribute summary_path.
-
#unchanged_recall_query_count ⇒ Object
Returns the value of attribute unchanged_recall_query_count.
Instance Method Summary collapse
-
#initialize(json) ⇒ CorpuReleaseStructurePairGeometryComparison
constructor
A new instance of CorpuReleaseStructurePairGeometryComparison.
Constructor Details
#initialize(json) ⇒ CorpuReleaseStructurePairGeometryComparison
Returns a new instance of CorpuReleaseStructurePairGeometryComparison.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 53 def initialize(json) super() hash = self.class.normalize(json) @baseline = hash[:baseline] ? Rafflesia::CorpuReleaseStructurePairGeometryBenchmarkMetrics.new(hash[:baseline]) : nil @baseline_only_hit_count = hash[:baseline_only_hit_count] @baseline_variant = hash[:baseline_variant] @candidate_parameter_observations = hash[:candidate_parameter_observations] || {} @corpus = hash[:corpus] @delta = hash[:delta] ? Rafflesia::CorpuReleaseStructurePairGeometryBenchmarkDelta.new(hash[:delta]) : nil @evidence_jsonl_path = hash[:evidence_jsonl_path] @evidence_tsv_path = hash[:evidence_tsv_path] @family = hash[:family] @kind = hash[:kind] @pair_geometry = hash[:pair_geometry] ? Rafflesia::CorpuReleaseStructurePairGeometryBenchmarkMetrics.new(hash[:pair_geometry]) : nil @pair_geometry_only_hit_count = hash[:pair_geometry_only_hit_count] @pair_geometry_variant = hash[:pair_geometry_variant] @query_count = hash[:query_count] @recovered_query_count = hash[:recovered_query_count] @regressed_query_count = hash[:regressed_query_count] @release_id = hash[:release_id] @rollout_observations = hash[:rollout_observations] || {} @summary_path = hash[:summary_path] @unchanged_recall_query_count = hash[:unchanged_recall_query_count] end |
Instance Attribute Details
#baseline ⇒ Object
Returns the value of attribute baseline.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def baseline @baseline end |
#baseline_only_hit_count ⇒ Object
Returns the value of attribute baseline_only_hit_count.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def baseline_only_hit_count @baseline_only_hit_count end |
#baseline_variant ⇒ Object
Returns the value of attribute baseline_variant.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def baseline_variant @baseline_variant end |
#candidate_parameter_observations ⇒ Object
Returns the value of attribute candidate_parameter_observations.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def candidate_parameter_observations @candidate_parameter_observations end |
#corpus ⇒ Object
Returns the value of attribute corpus.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def corpus @corpus end |
#delta ⇒ Object
Returns the value of attribute delta.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def delta @delta end |
#evidence_jsonl_path ⇒ Object
Returns the value of attribute evidence_jsonl_path.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def evidence_jsonl_path @evidence_jsonl_path end |
#evidence_tsv_path ⇒ Object
Returns the value of attribute evidence_tsv_path.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def evidence_tsv_path @evidence_tsv_path end |
#family ⇒ Object
Returns the value of attribute family.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def family @family end |
#kind ⇒ Object
Returns the value of attribute kind.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def kind @kind end |
#pair_geometry ⇒ Object
Returns the value of attribute pair_geometry.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def pair_geometry @pair_geometry end |
#pair_geometry_only_hit_count ⇒ Object
Returns the value of attribute pair_geometry_only_hit_count.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def pair_geometry_only_hit_count @pair_geometry_only_hit_count end |
#pair_geometry_variant ⇒ Object
Returns the value of attribute pair_geometry_variant.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def pair_geometry_variant @pair_geometry_variant end |
#query_count ⇒ Object
Returns the value of attribute query_count.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def query_count @query_count end |
#recovered_query_count ⇒ Object
Returns the value of attribute recovered_query_count.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def recovered_query_count @recovered_query_count end |
#regressed_query_count ⇒ Object
Returns the value of attribute regressed_query_count.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def regressed_query_count @regressed_query_count end |
#release_id ⇒ Object
Returns the value of attribute release_id.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def release_id @release_id end |
#rollout_observations ⇒ Object
Returns the value of attribute rollout_observations.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def rollout_observations @rollout_observations end |
#summary_path ⇒ Object
Returns the value of attribute summary_path.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def summary_path @summary_path end |
#unchanged_recall_query_count ⇒ Object
Returns the value of attribute unchanged_recall_query_count.
31 32 33 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_comparison.rb', line 31 def unchanged_recall_query_count @unchanged_recall_query_count end |