Class: SamplingStrategySpec
Specification of a sampling-loop strategy.
URI: mellea:SamplingStrategySpec
classDiagram
class SamplingStrategySpec
click SamplingStrategySpec href "../SamplingStrategySpec/"
ModelElement <|-- SamplingStrategySpec
click ModelElement href "../ModelElement/"
SamplingStrategySpec : coverage_scope
SamplingStrategySpec --> "*" CoverageScopeEnum : coverage_scope
click CoverageScopeEnum href "../CoverageScopeEnum/"
SamplingStrategySpec : description
SamplingStrategySpec : element_kind
SamplingStrategySpec --> "0..1" ElementKindEnum : element_kind
click ElementKindEnum href "../ElementKindEnum/"
SamplingStrategySpec : id
SamplingStrategySpec : loop_budget_hint
SamplingStrategySpec : may_trigger_repair
SamplingStrategySpec : module_path
SamplingStrategySpec : name
SamplingStrategySpec : package_kind
SamplingStrategySpec --> "0..1" PackageKindEnum : package_kind
click PackageKindEnum href "../PackageKindEnum/"
SamplingStrategySpec : selection_policy
SamplingStrategySpec : source_file
SamplingStrategySpec : tags
Inheritance
- NamedElement
- ModelElement
- SamplingStrategySpec
- ModelElement
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| selection_policy | 0..1 String |
Slot describing the selection policy | direct |
| loop_budget_hint | 0..1 Integer |
Slot describing the loop budget hint | direct |
| may_trigger_repair | 0..1 Boolean |
Slot describing the may trigger repair | direct |
| id | 1 Uriorcurie |
Stable identifier for a schema element | NamedElement |
| name | 1 String |
Human-readable name | NamedElement |
| description | 0..1 String |
Narrative description of the element | NamedElement |
| module_path | 0..1 PythonDottedPath |
Python module path where this element is defined | NamedElement |
| source_file | 0..1 RepositoryRelativePath |
Source file relative to repository root | NamedElement |
| package_kind | 0..1 PackageKindEnum |
Package bucket | NamedElement |
| element_kind | 0..1 ElementKindEnum |
Kind of Python declaration | NamedElement |
| coverage_scope | * CoverageScopeEnum |
Where this element surfaces (source/API/CLI/example/test) | NamedElement |
| tags | * String |
Free-form classification tags | NamedElement |
In Subsets
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/mellea
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | mellea:SamplingStrategySpec |
| native | mellea:SamplingStrategySpec |
| related | nexus:Action, gist_linkml:Behavior, mcp:ModelPreferences |
| close | mcp:SamplingCapability |
LinkML Source
Direct
name: SamplingStrategySpec
description: Specification of a sampling-loop strategy.
in_subset:
- core_runtime
from_schema: https://w3id.org/lmodel/mellea
close_mappings:
- mcp:SamplingCapability
related_mappings:
- nexus:Action
- gist_linkml:Behavior
- mcp:ModelPreferences
is_a: ModelElement
slots:
- selection_policy
- loop_budget_hint
- may_trigger_repair
Induced
name: SamplingStrategySpec
description: Specification of a sampling-loop strategy.
in_subset:
- core_runtime
from_schema: https://w3id.org/lmodel/mellea
close_mappings:
- mcp:SamplingCapability
related_mappings:
- nexus:Action
- gist_linkml:Behavior
- mcp:ModelPreferences
is_a: ModelElement
attributes:
selection_policy:
name: selection_policy
description: Slot describing the selection policy.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: SamplingStrategySpec
domain_of:
- SamplingStrategySpec
range: string
loop_budget_hint:
name: loop_budget_hint
description: Slot describing the loop budget hint.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: SamplingStrategySpec
domain_of:
- SamplingStrategySpec
range: integer
may_trigger_repair:
name: may_trigger_repair
description: Slot describing the may trigger repair.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: SamplingStrategySpec
domain_of:
- RequirementSpec
- SamplingStrategySpec
range: boolean
id:
name: id
description: Stable identifier for a schema element.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
slot_uri: schema:identifier
identifier: true
owner: SamplingStrategySpec
domain_of:
- NamedElement
range: uriorcurie
required: true
name:
name: name
description: Human-readable name.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
slot_uri: schema:name
owner: SamplingStrategySpec
domain_of:
- NamedElement
range: string
required: true
description:
name: description
description: Narrative description of the element.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
slot_uri: schema:description
owner: SamplingStrategySpec
domain_of:
- NamedElement
range: string
module_path:
name: module_path
description: Python module path where this element is defined.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: SamplingStrategySpec
domain_of:
- NamedElement
range: PythonDottedPath
source_file:
name: source_file
description: Source file relative to repository root.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: SamplingStrategySpec
domain_of:
- NamedElement
range: RepositoryRelativePath
package_kind:
name: package_kind
description: Package bucket.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: SamplingStrategySpec
domain_of:
- NamedElement
range: PackageKindEnum
element_kind:
name: element_kind
description: Kind of Python declaration.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: SamplingStrategySpec
domain_of:
- NamedElement
range: ElementKindEnum
coverage_scope:
name: coverage_scope
description: Where this element surfaces (source/API/CLI/example/test).
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: SamplingStrategySpec
domain_of:
- NamedElement
range: CoverageScopeEnum
multivalued: true
tags:
name: tags
description: Free-form classification tags.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: SamplingStrategySpec
domain_of:
- NamedElement
range: string
multivalued: true