from typing import *
from dataclasses import dataclass
@dataclass
class PromptSample:
prompt: str
code: str
extra: dict = None
PromptDataset = Iterable[PromptSample]
class LabelSample:
label: int
LabelDataset = Iterable[LabelSample]