Answer stability round 1: 0 🔴, 3 🟡; match the opener at the start of a prompt, always hand the project's rung, and say what the rung spelling carries
This commit is contained in:
@@ -34,13 +34,13 @@ class Rung:
|
||||
return Rung(model, effort)
|
||||
return Rung(family.model, effort) if effort else family
|
||||
|
||||
# The one spelling of a rung; parse reads it back.
|
||||
# The one spelling of a rung. The archive and the worker's environment store it, and parse reads it back, so a change re-routes archived chunks.
|
||||
def __str__(self) -> str:
|
||||
return f"{self.model} at {self.effort} effort" if self.effort else self.model
|
||||
|
||||
@staticmethod
|
||||
def parse(text: str) -> "Rung | None":
|
||||
"""The rung str wrote, whether or not it is on the ladder; None for any other text, such as a model run without an effort."""
|
||||
"""The rung that names an effort, which str wrote, whether or not it is on the ladder; None for any other text, such as a bare model."""
|
||||
found = WORDING.fullmatch(text)
|
||||
return Rung(found["model"], found["effort"]) if found else None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user