Class: Rafflesia::CorpuReleaseBenchmarkData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CorpuReleaseBenchmarkData
- Defined in:
- lib/rafflesia/datasets/corpu_release_benchmark_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ backend: :backend, calibrated_query_profile_rows: :calibrated_query_profile_rows, calibrated_query_profiles_path: :calibrated_query_profiles_path, corpus: :corpus, engine: :engine, family: :family, gates: :gates, kind: :kind, object_store_root: :object_store_root, ok: :ok, planner_delta: :planner_delta, planner_delta_artifact_path: :planner_delta_artifact_path, query_count: :query_count, query_profile_audit: :query_profile_audit, query_profile_rows: :query_profile_rows, query_profiles_path: :query_profiles_path, rows: :rows, sequence_planner_calibration_path: :sequence_planner_calibration_path, source: :source, structure_pair_geometry_comparison: :structure_pair_geometry_comparison, structure_pair_geometry_evidence_jsonl_path: :structure_pair_geometry_evidence_jsonl_path, structure_pair_geometry_evidence_tsv_path: :structure_pair_geometry_evidence_tsv_path, structure_pair_geometry_summary_path: :structure_pair_geometry_summary_path }.freeze
Instance Attribute Summary collapse
-
#backend ⇒ Object
Returns the value of attribute backend.
-
#calibrated_query_profile_rows ⇒ Object
Returns the value of attribute calibrated_query_profile_rows.
-
#calibrated_query_profiles_path ⇒ Object
Returns the value of attribute calibrated_query_profiles_path.
-
#corpus ⇒ Object
Returns the value of attribute corpus.
-
#engine ⇒ Object
Returns the value of attribute engine.
-
#family ⇒ Object
Returns the value of attribute family.
-
#gates ⇒ Object
Returns the value of attribute gates.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#object_store_root ⇒ Object
Returns the value of attribute object_store_root.
-
#ok ⇒ Object
Returns the value of attribute ok.
-
#planner_delta ⇒ Object
Returns the value of attribute planner_delta.
-
#planner_delta_artifact_path ⇒ Object
Returns the value of attribute planner_delta_artifact_path.
-
#query_count ⇒ Object
Returns the value of attribute query_count.
-
#query_profile_audit ⇒ Object
Returns the value of attribute query_profile_audit.
-
#query_profile_rows ⇒ Object
Returns the value of attribute query_profile_rows.
-
#query_profiles_path ⇒ Object
Returns the value of attribute query_profiles_path.
-
#rows ⇒ Object
Returns the value of attribute rows.
-
#sequence_planner_calibration_path ⇒ Object
Returns the value of attribute sequence_planner_calibration_path.
-
#source ⇒ Object
Returns the value of attribute source.
-
#structure_pair_geometry_comparison ⇒ Object
Returns the value of attribute structure_pair_geometry_comparison.
-
#structure_pair_geometry_evidence_jsonl_path ⇒ Object
Returns the value of attribute structure_pair_geometry_evidence_jsonl_path.
-
#structure_pair_geometry_evidence_tsv_path ⇒ Object
Returns the value of attribute structure_pair_geometry_evidence_tsv_path.
-
#structure_pair_geometry_summary_path ⇒ Object
Returns the value of attribute structure_pair_geometry_summary_path.
Instance Method Summary collapse
-
#initialize(json) ⇒ CorpuReleaseBenchmarkData
constructor
A new instance of CorpuReleaseBenchmarkData.
Constructor Details
#initialize(json) ⇒ CorpuReleaseBenchmarkData
Returns a new instance of CorpuReleaseBenchmarkData.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 59 def initialize(json) super() hash = self.class.normalize(json) @backend = hash[:backend] @calibrated_query_profile_rows = hash[:calibrated_query_profile_rows] @calibrated_query_profiles_path = hash[:calibrated_query_profiles_path] @corpus = hash[:corpus] @engine = hash[:engine] @family = hash[:family] @gates = (hash[:gates] || []).map { |item| item ? Rafflesia::CorpuReleaseBenchmarkGate.new(item) : nil } @kind = hash[:kind] @object_store_root = hash[:object_store_root] @ok = hash[:ok] @planner_delta = hash[:planner_delta] ? Rafflesia::CorpuReleasePlannerDeltaArtifact.new(hash[:planner_delta]) : nil @planner_delta_artifact_path = hash[:planner_delta_artifact_path] @query_count = hash[:query_count] @query_profile_audit = hash[:query_profile_audit] ? Rafflesia::BiosearchQueryProfileAuditRunData.new(hash[:query_profile_audit]) : nil @query_profile_rows = hash[:query_profile_rows] @query_profiles_path = hash[:query_profiles_path] @rows = (hash[:rows] || []).map { |item| item ? Rafflesia::CorpuReleaseBenchmarkRow.new(item) : nil } @sequence_planner_calibration_path = hash[:sequence_planner_calibration_path] @source = hash[:source] ? Rafflesia::CorpuReleaseSourceSnapshot.new(hash[:source]) : nil @structure_pair_geometry_comparison = hash[:structure_pair_geometry_comparison] ? Rafflesia::CorpuReleaseStructurePairGeometryComparison.new(hash[:structure_pair_geometry_comparison]) : nil @structure_pair_geometry_evidence_jsonl_path = hash[:structure_pair_geometry_evidence_jsonl_path] @structure_pair_geometry_evidence_tsv_path = hash[:structure_pair_geometry_evidence_tsv_path] @structure_pair_geometry_summary_path = hash[:structure_pair_geometry_summary_path] end |
Instance Attribute Details
#backend ⇒ Object
Returns the value of attribute backend.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def backend @backend end |
#calibrated_query_profile_rows ⇒ Object
Returns the value of attribute calibrated_query_profile_rows.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def calibrated_query_profile_rows @calibrated_query_profile_rows end |
#calibrated_query_profiles_path ⇒ Object
Returns the value of attribute calibrated_query_profiles_path.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def calibrated_query_profiles_path @calibrated_query_profiles_path end |
#corpus ⇒ Object
Returns the value of attribute corpus.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def corpus @corpus end |
#engine ⇒ Object
Returns the value of attribute engine.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def engine @engine end |
#family ⇒ Object
Returns the value of attribute family.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def family @family end |
#gates ⇒ Object
Returns the value of attribute gates.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def gates @gates end |
#kind ⇒ Object
Returns the value of attribute kind.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def kind @kind end |
#object_store_root ⇒ Object
Returns the value of attribute object_store_root.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def object_store_root @object_store_root end |
#ok ⇒ Object
Returns the value of attribute ok.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def ok @ok end |
#planner_delta ⇒ Object
Returns the value of attribute planner_delta.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def planner_delta @planner_delta end |
#planner_delta_artifact_path ⇒ Object
Returns the value of attribute planner_delta_artifact_path.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def planner_delta_artifact_path @planner_delta_artifact_path end |
#query_count ⇒ Object
Returns the value of attribute query_count.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def query_count @query_count end |
#query_profile_audit ⇒ Object
Returns the value of attribute query_profile_audit.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def query_profile_audit @query_profile_audit end |
#query_profile_rows ⇒ Object
Returns the value of attribute query_profile_rows.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def query_profile_rows @query_profile_rows end |
#query_profiles_path ⇒ Object
Returns the value of attribute query_profiles_path.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def query_profiles_path @query_profiles_path end |
#rows ⇒ Object
Returns the value of attribute rows.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def rows @rows end |
#sequence_planner_calibration_path ⇒ Object
Returns the value of attribute sequence_planner_calibration_path.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def sequence_planner_calibration_path @sequence_planner_calibration_path end |
#source ⇒ Object
Returns the value of attribute source.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def source @source end |
#structure_pair_geometry_comparison ⇒ Object
Returns the value of attribute structure_pair_geometry_comparison.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def structure_pair_geometry_comparison @structure_pair_geometry_comparison end |
#structure_pair_geometry_evidence_jsonl_path ⇒ Object
Returns the value of attribute structure_pair_geometry_evidence_jsonl_path.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def structure_pair_geometry_evidence_jsonl_path @structure_pair_geometry_evidence_jsonl_path end |
#structure_pair_geometry_evidence_tsv_path ⇒ Object
Returns the value of attribute structure_pair_geometry_evidence_tsv_path.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def structure_pair_geometry_evidence_tsv_path @structure_pair_geometry_evidence_tsv_path end |
#structure_pair_geometry_summary_path ⇒ Object
Returns the value of attribute structure_pair_geometry_summary_path.
34 35 36 |
# File 'lib/rafflesia/datasets/corpu_release_benchmark_data.rb', line 34 def structure_pair_geometry_summary_path @structure_pair_geometry_summary_path end |