-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfuture_algorithms.py
More file actions
39 lines (30 loc) · 1.26 KB
/
Copy pathfuture_algorithms.py
File metadata and controls
39 lines (30 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
"""Compatibility identifiers for hosted algorithms not yet publicly supported.
These identifiers let the SDK parse a hosted catalog and preserve run history without
implying that the package provides a supported local executor, cookbook, or release
commitment. Promote an entry only when its public contract and end-to-end evidence
are ready.
"""
from __future__ import annotations
from dataclasses import dataclass
from enum import StrEnum
class FutureHostedAlgorithmSlug(StrEnum):
MAPO = "mapo"
OHCO = "ohco"
ONLINE_REFLEXION = "online-reflexion"
MARL_PROMPTOPT = "marl-promptopt"
@dataclass(frozen=True, slots=True)
class FutureHostedAlgorithm:
slug: FutureHostedAlgorithmSlug
summary: str
FUTURE_HOSTED_ALGORITHMS: tuple[FutureHostedAlgorithm, ...] = (
FutureHostedAlgorithm(FutureHostedAlgorithmSlug.MAPO, "Private hosted compatibility lane."),
FutureHostedAlgorithm(FutureHostedAlgorithmSlug.OHCO, "Private hosted compatibility lane."),
FutureHostedAlgorithm(
FutureHostedAlgorithmSlug.ONLINE_REFLEXION,
"Gated hosted compatibility lane pending release evidence.",
),
FutureHostedAlgorithm(
FutureHostedAlgorithmSlug.MARL_PROMPTOPT,
"Research executable; not a public hosted product lane.",
),
)