Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Restructure CI output #374

Closed
wants to merge 7 commits into from
Closed

Conversation

leoebfolsom
Copy link
Contributor

@leoebfolsom leoebfolsom commented Jan 28, 2023

Restructuring CI output to resemble the Datafold app diff overview.

BEFORE:
Screenshot 2023-01-30 at 9 39 20 AM

AFTER:
Screenshot 2023-01-30 at 9 10 54 AM

@leoebfolsom leoebfolsom changed the title initial commit Restructure CI output Jan 28, 2023
@@ -100,11 +102,67 @@ def __iter__(self):
self.result_list.append(i)
yield i

for sign, values in self.result_list:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this replace the behavior of get_stats_string() instead? Or maybe be an additional method like get_stats_tables_string()?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it can replace get_stats_string(). I don't think there's any drawback at all to fully replacing the existing string_output since it is not structured (and therefore depended on by some downstream system)--it's just a string.

I will refactor this, and I'm very open to suggestions/recommendations, but I'm going to try to settle on a good design of the output before optimizing the code.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dlawin moved the logic into get_stats_string 👍 (still could be optimized from here)

@williebsweet williebsweet self-requested a review January 30, 2023 14:28
@williebsweet
Copy link
Contributor

@leoebfolsom this seems like a duplicate of #381. Can we close this?

@leoebfolsom
Copy link
Contributor Author

@williebsweet yes it's a duplicate, closing, ty

@leoebfolsom leoebfolsom closed this Feb 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants