made some entries to the dataset default to ""

This commit is contained in:
Karma Riuk
2025-03-14 11:59:21 +01:00
parent d845ce9171
commit 242d7f6a77

View File

@ -5,7 +5,7 @@ import json
@dataclass @dataclass
class FileData: class FileData:
path: str path: str
content: str # Not sure about this, maybe we should just keep the path and extract the contents dynamically (boh) content: str = "" # Not sure about this, maybe we should just keep the path and extract the contents dynamically (boh)
@dataclass @dataclass
class Metadata: class Metadata:
@ -13,8 +13,8 @@ class Metadata:
pr_number: int pr_number: int
merge_commit_sha: str # to checkout for the tests merge_commit_sha: str # to checkout for the tests
successful: bool successful: bool
reason_for_failure: str reason_for_failure: str = ""
last_cmd_error_msg: str last_cmd_error_msg: str = ""
@dataclass @dataclass
class DatasetEntry: class DatasetEntry: