Gotdot 4.1 Bug Fixes
I was surprised that when the Godot team released version 4.1 of the Game Engine, they boosted that they had fixed over 900 bugs. When you ship software with that many bugs, I think it's a sign of underlying problems in the development process.
Here's a basic breakdown of the issues marked as bugs and what they affect.
import pandas as pd
import ast
df = pd.read_csv('./github_issues.csv')
# Function to convert string representation of list to list and join with colon
def process_labels(label_str):
if pd.isnull(label_str): # Check if the value is NaN
return label_str
label_list = ast.literal_eval(label_str) # Convert string to list
return ':'.join(label_list) # Join list with colon
# Apply the function to the Labels column
df['Labels'] = df['Labels'].apply(process_labels)
# Now, your Labels column is in the format 'label1:label2:label3' instead of ['label1', 'label2', 'label3']
df
filtered_df = df[(~df['Labels'].str.contains('archived', na=False)) & (df['Labels'].str.contains('bug', na=False)) & (df['State'] == 'closed') & (df['Milestone'] == '4.1')]
filtered_df
df_labels = filtered_df['Labels'].str.get_dummies(sep=':')
# Convert the binary values to boolean values
df_labels = df_labels.astype(bool)
labeled_df = pd.concat([filtered_df, df_labels], axis=1)
labeled_df
ignored_labels = ['bug', 'topic']
labels = []
for x in filtered_df['Labels'].values:
for l in x.split(":"):
if l not in labels:
if l not in ignored_labels:
labels.append(l)
labels