Skip to content

Class: Run

How a result was produced, so it can be reproduced.

URI: [knowtation:class/Run](https://gitlab.tarkam.org/tarkam/knowtation/schema/class/Run)
 classDiagram
    class Run
    click Run href "../../classes/Run/"
      Run : dataset_hash

      Run : finished_at

      Run : id

      Run : llm_model

      Run : llm_usage





        Run --> "0..1" LLMUsage : llm_usage
        click LLMUsage href "../../classes/LLMUsage/"



      Run : policy_hash

      Run : policy_id

      Run : policy_version

      Run : prompt_version

      Run : rule_set_hash

      Run : rule_set_id

      Run : rule_set_version

      Run : rule_sets





        Run --> "*" RuleSetRef : rule_sets
        click RuleSetRef href "../../classes/RuleSetRef/"



      Run : settings

      Run : started_at

      Run : status





        Run --> "0..1" RunStatus : status
        click RunStatus href "../../enums/RunStatus/"



      Run : warnings


## Slots | Name | Cardinality and Range | Description | Inheritance | | --- | --- | --- | --- | | [id](../slots/id.md) | 1
[String](../types/String.md) | | direct | | [dataset_hash](../slots/dataset_hash.md) | 0..1
[String](../types/String.md) | | direct | | [rule_set_id](../slots/rule_set_id.md) | 0..1
[String](../types/String.md) | | direct | | [rule_set_version](../slots/rule_set_version.md) | 0..1
[String](../types/String.md) | | direct | | [rule_set_hash](../slots/rule_set_hash.md) | 0..1
[String](../types/String.md) | | direct | | [rule_sets](../slots/rule_sets.md) | *
[RuleSetRef](../classes/RuleSetRef.md) | Every rule set the run used, in order (core first) | direct | | [policy_id](../slots/policy_id.md) | 0..1
[String](../types/String.md) | | direct | | [policy_version](../slots/policy_version.md) | 0..1
[String](../types/String.md) | | direct | | [policy_hash](../slots/policy_hash.md) | 0..1
[String](../types/String.md) | | direct | | [llm_model](../slots/llm_model.md) | 0..1
[String](../types/String.md) | | direct | | [prompt_version](../slots/prompt_version.md) | 0..1
[String](../types/String.md) | | direct | | [llm_usage](../slots/llm_usage.md) | 0..1
[LLMUsage](../classes/LLMUsage.md) | LLM calls, tokens and estimated cost of the run | direct | | [settings](../slots/settings.md) | 0..1
[String](../types/String.md) | JSON-encoded run settings | direct | | [started_at](../slots/started_at.md) | 0..1
[String](../types/String.md) | | direct | | [finished_at](../slots/finished_at.md) | 0..1
[String](../types/String.md) | | direct | | [status](../slots/status.md) | 0..1
[RunStatus](../enums/RunStatus.md) | | direct | | [warnings](../slots/warnings.md) | *
[String](../types/String.md) | | direct | ## Identifier and Mapping Information ### Schema Source * from schema: https://gitlab.tarkam.org/tarkam/knowtation/schema ## Mappings | Mapping Type | Mapped Value | | --- | --- | | self | knowtation:Run | | native | knowtation:Run | ## LinkML Source ### Direct
name: Run
description: How a result was produced, so it can be reproduced.
from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
attributes:
  id:
    name: id
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    identifier: true
    domain_of:
    - Dataset
    - Resource
    - Element
    - FieldGroup
    - Proposal
    - Run
    - RuleSetRef
  dataset_hash:
    name: dataset_hash
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    domain_of:
    - Run
  rule_set_id:
    name: rule_set_id
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    domain_of:
    - Run
  rule_set_version:
    name: rule_set_version
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    domain_of:
    - Run
  rule_set_hash:
    name: rule_set_hash
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    domain_of:
    - Run
  rule_sets:
    name: rule_sets
    description: Every rule set the run used, in order (core first). Older runs have
      only the single rule_set_* fields.
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    domain_of:
    - Run
    range: RuleSetRef
    multivalued: true
    inlined_as_list: true
  policy_id:
    name: policy_id
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    domain_of:
    - Run
  policy_version:
    name: policy_version
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    domain_of:
    - Run
  policy_hash:
    name: policy_hash
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    domain_of:
    - Run
  llm_model:
    name: llm_model
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    domain_of:
    - Run
  prompt_version:
    name: prompt_version
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    domain_of:
    - Run
  llm_usage:
    name: llm_usage
    description: LLM calls, tokens and estimated cost of the run.
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    domain_of:
    - Run
    range: LLMUsage
    inlined: true
  settings:
    name: settings
    description: JSON-encoded run settings.
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    domain_of:
    - Run
  started_at:
    name: started_at
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    domain_of:
    - Run
  finished_at:
    name: finished_at
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    domain_of:
    - Run
  status:
    name: status
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    domain_of:
    - Resource
    - Proposal
    - Run
    range: RunStatus
  warnings:
    name: warnings
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    domain_of:
    - Run
    multivalued: true

### Induced
name: Run
description: How a result was produced, so it can be reproduced.
from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
attributes:
  id:
    name: id
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    identifier: true
    owner: Run
    domain_of:
    - Dataset
    - Resource
    - Element
    - FieldGroup
    - Proposal
    - Run
    - RuleSetRef
    range: string
    required: true
  dataset_hash:
    name: dataset_hash
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    owner: Run
    domain_of:
    - Run
    range: string
  rule_set_id:
    name: rule_set_id
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    owner: Run
    domain_of:
    - Run
    range: string
  rule_set_version:
    name: rule_set_version
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    owner: Run
    domain_of:
    - Run
    range: string
  rule_set_hash:
    name: rule_set_hash
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    owner: Run
    domain_of:
    - Run
    range: string
  rule_sets:
    name: rule_sets
    description: Every rule set the run used, in order (core first). Older runs have
      only the single rule_set_* fields.
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    owner: Run
    domain_of:
    - Run
    range: RuleSetRef
    multivalued: true
    inlined: true
    inlined_as_list: true
  policy_id:
    name: policy_id
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    owner: Run
    domain_of:
    - Run
    range: string
  policy_version:
    name: policy_version
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    owner: Run
    domain_of:
    - Run
    range: string
  policy_hash:
    name: policy_hash
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    owner: Run
    domain_of:
    - Run
    range: string
  llm_model:
    name: llm_model
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    owner: Run
    domain_of:
    - Run
    range: string
  prompt_version:
    name: prompt_version
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    owner: Run
    domain_of:
    - Run
    range: string
  llm_usage:
    name: llm_usage
    description: LLM calls, tokens and estimated cost of the run.
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    owner: Run
    domain_of:
    - Run
    range: LLMUsage
    inlined: true
  settings:
    name: settings
    description: JSON-encoded run settings.
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    owner: Run
    domain_of:
    - Run
    range: string
  started_at:
    name: started_at
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    owner: Run
    domain_of:
    - Run
    range: string
  finished_at:
    name: finished_at
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    owner: Run
    domain_of:
    - Run
    range: string
  status:
    name: status
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    owner: Run
    domain_of:
    - Resource
    - Proposal
    - Run
    range: RunStatus
  warnings:
    name: warnings
    from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
    rank: 1000
    owner: Run
    domain_of:
    - Run
    range: string
    multivalued: true