Skip to content

Bug commit analysis#8

Open
acharyadarshan wants to merge 4 commits intomainfrom
bug-commit-analysis
Open

Bug commit analysis#8
acharyadarshan wants to merge 4 commits intomainfrom
bug-commit-analysis

Conversation

@acharyadarshan
Copy link
Copy Markdown
Collaborator

improvements to the CLI usability and overall code maintenance. The key changes include the integration of the Fire library for parsing CLI inputs and formatting outputs, alongside the removal of the format.py script.

Comment thread src/plot.py Outdated

plt.figure(figsize=(10, 8))
sns.barplot(x='CommitCount', y='RepoName', data=top_20_by_commit_count, palette='viridis')
plt.title('Top 20 Repositories by Commit Count')
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

don't put titles on plots, it is the job of the caption

Comment thread src/plot.py Outdated

def generate_charts(df_path, bug_chart_path, commit_chart_path):
df = pd.read_csv(df_path)
top_20_by_bug_count = df.nlargest(20, 'BugCount')
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

could you make histograms of all instead of only top 20?

Comment thread src/plot.py Outdated
plt.xlabel('Commit Count')
plt.ylabel('Repository')
plt.tight_layout()
plt.savefig(commit_chart_path)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

please save to PDF format as they are vector graphic files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants