dataclasses import dataclass
tool judged 11% likely a named technique or architecture
See how it has spread across media tiers
Mentions over time
Table view
| Week | Articles | Sources |
|---|---|---|
| 2026-W40 | 3 | 2 |
| 2026-W41 | 1 | 1 |
In their words
Prompt Engineering Maturity Model Level Approach Example 1 Ad-hoc prompting "Write a summary" 2 Structured templates "Summarize in 3 bullets: {text}" 3 Few-shot + CoT Examples + "Think step by step" 4 RAG-integrated Context-aware with citations 5 Agent prompts Multi-step with tool use 6 Self-improving Prompt optimization loops Part 1: Foundational Techniques Zero-Shot Prompting # prompting/zero_sh
from dataclasses import dataclass @dataclass class CaseResult: id: str; slice: str; passed: bool; checks: list def score_case(case, output) -> CaseResult: exp = case.get("expect", {}) checks = [] if "decision" in exp: # symmetric .get on both sides checks.append(("decision", output.get("decision") == exp["decision"])) if "min_confidence" in exp: checks.append(("min_conf", output.get("confidence",
from typing import Protocol, Literal from dataclasses import dataclass @dataclass(frozen=True) class Proposal: decision_id: str capability: str action: dict # the structured, proposed change — NOT yet applied confidence: float routing: Literal["auto", "hitl_recommended", "hitl_required", "reject"] reasoning: list[str] evidence: list[dict] class Agent(Protocol): def propose(self, ctx: "Context") ->
Keep it boring and explicit: python from dataclasses import dataclass, field @dataclass class Term: source: str # as it appears in the original text target: str # how it should appear in the translation kind: str = "name" # name, place, technique, title, ...