From a0e17b62bb74192ab6c836944ed71f45f8364361 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Thu, 20 Mar 2025 14:01:43 +0100 Subject: [PATCH] removed coverage from each file since now we have the file pointed by the comment, moved the coverage to the metadata --- dataset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dataset.py b/dataset.py index 60d87ff..7673a29 100644 --- a/dataset.py +++ b/dataset.py @@ -5,7 +5,6 @@ import json @dataclass class FileData: path: str - coverage: float = -1 # coverage of the file, default -1, is different if we get to the jacoco part of the pipeline content: str = "" # Not sure about this, maybe we should just keep the path and extract the contents dynamically (boh) @dataclass @@ -13,7 +12,8 @@ class Metadata: repo: str # the name of the repo, with style XXX/YYY pr_number: int merge_commit_sha: str # to checkout for the tests - comment_path : str + commented_file : str + commented_file_coverage: float = 0 successful: bool = True build_system: str = "" reason_for_failure: str = ""