Coder Social home page Coder Social logo

philippedeb / susie Goto Github PK

View Code? Open in Web Editor NEW
24.0 4.0 1.0 4.07 MB

Susie checks GitHub repositories for sustainability and provides interesting knowledge for developers regarding sustainable software development.

Home Page: https://philippedeb.github.io/susie/

License: GNU Affero General Public License v3.0

HTML 0.36% CSS 5.75% TypeScript 93.23% Handlebars 0.66%
github-api github-statistics inclusive-language repository-mining software-development susie sustainability sustainable-software website github-repository-search

susie's People

Contributors

dependabot[bot] avatar izagorac avatar merelanne avatar philippedeb avatar sebastien1999 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

madjarx

susie's Issues

๐Ÿ› [BUG] - Broken colors in Contributors table and piechart

Description

For big repositories, the colors in the Contributors metric break (missing/black) in the table and piechart. This happens due to the colors being mapped to contributors before sorting, which results in indexing problems when later converting to a top-n contributor and "Other" category. To fix this issue, colors should be mapped after these categories have been formed and % should be used to prevent any out-of-index bugs.

Reproduction URL

https://philippedeb.github.io/susie/dashboard?search=github.com/streamlit/streamlit

Reproduction steps

1. Go to 'https://philippedeb.github.io/susie'
2. Search for a big repository with many contributors, e.g. 'github.com/streamlit/streamlit'
3. Scroll down to 'Contributors' and click the piechart dropdown
4. Broken colors in table and piechart are visible (missing or black)

Screenshots

image

๐Ÿ› [BUG] - Searchbar button on mobile [iPhone] not working

Description

When searching for a repository on mobile [iPhone, Safari], submitting a query using the search button does not work. Most likely, the state has not been updated to the text that just has been inputted. It only seems to work when Enter/Return on the keyboard is hit, then the keyboard closes and it searches immediately. The expected behaviour would be to also be able to hit the search button in the GUI while typing and then going to the dashboard.

Reproduction URL

https://philippedeb.github.io/susie/

Reproduction steps

1. Go to 'https://philippedeb.github.io/susie/'
2. Click on 'Enter Github Repository URL' [searchbar input field in Analysis tool]
3. Type a repository, e.g. 'https://www.github.com/philippedeb/susie', do not close keyboard
4. Click the Search icon (don't hit 'Return' on keyboard, this works)
5. Warning will show up: 'The URL must be in the format ...' instead of going to the dashboard

Screenshots

No response

Logs

No response

Browsers

Safari

OS

No response

๐Ÿ’ก [REQUEST] - Developer Geolocation analysis

Description

Using geolocation data from GitHub comments can provide an indication of the contributor diversity working on a repository. A high diversity of contributors can lead to a more inclusive product.

Reference Issues

None

Implementation PR

None

๐Ÿ’ก [REQUEST] - Code of Conduct

Description

The repo needs a code of conduct before it goes open source. This should be added in CODE_OF_CONDUCT.md in the .github folder.

Reference Issues

Duplicate of #34, that one is closed because it didn't use this template.

Implementation PR

No response

๐Ÿ’ก [REQUEST] - Experimental Section

Description

Instead of having experimental metrics (e.g. suboptimal accuracy or non-evident purposes) in the dashboard, which may influence end-users to believe the site is less credible, it could be split up as follows:

  • Dashboard, only the prominent metrics are listed
  • Button 'See experimental metrics' at the bottom - expands to show the dashboard as per usual with everything, but end-users are more aware of the distinction

Important: also reflect this update on the section menu sidebar

Implementation PR

#51

๐Ÿ’ก [REQUEST] - Improve Sentiment Analysis

Description

The sentiment analysis is fundamental and not specified towards the language used in GitHub issues. Most of the time it will not consider the context of a word which results in inaccurate scores. Additionally, it only takes the issue title as input and does not look at comments or descriptions which can say a lot about the sentiment around an issue and thus about the individual sustainability of the developers working on the issue.

It would be an idea to get the data of the comments and descriptions as well as create a better ML model that gives more accurate sentiment scores.

Reference Issues

#40

Implementation PR

No response

๐Ÿ’ก [REQUEST] - Dockerfile Analysis

Description

Dockerfiles can give us quite some insight into energy consumption. Interesting aspects are:

  • Image size
  • Resource utilization
  • Image build time
  • Dependencies

Reference Issues

None

Implementation PR

None yet

Feature: Implement Language Inclusivity Checks

  • Check slides for inclusivity checks in programming
  • Implement one initial check for inclusivity -> check master/main branch
  • Implement checks for branches
  • Implement checks for commits
  • Implement checks for pull requests
  • Implement checks for issues
  • Implement a "since" date option for commits and issues when fetching the data
  • Implement a way to fetch a certain amount of commits based on pages
  • Check possible other sources for inclusivity checks

๐Ÿ› [BUG] - Inclusive language in this repository

Description

In the contributing guidelines, we use some non-inclusive language

Reproduction URL

https://github.com/philippedeb/susie

Reproduction steps

1. Go to https://philippedeb.github.io/susie/
2. Enter https://github.com/philippedeb/susie in the search bar
3. Click on search
4. See which word is the problem and what suggestions are made to replace it

Screenshots

afbeelding

Logs

No response

Browsers

Firefox

OS

Windows

๐Ÿ’ก [REQUEST] - Change from npm to pnpm

Description

I'd suggest changing to the more efficient pnpm in favor of npm, since this project is (also) about environmental impact.

Reference Issues

No response

Implementation PR

No response

๐Ÿ› [BUG] - Not detecting issue template .yml files

Description

Currently, Susie only detects .md files for Issue templates, but the new way to have issue templates in GitHub is using .yml files. This even means that the issue templates in Susie's own repo are not detected.

Reproduction URL

https://github.com/philippedeb/susie

Reproduction steps

1. Go to https://philippedeb.github.io/susie/
2. Enter https://github.com/philippedeb/susie in the search bar
3. Click on search
4. See that the issue template is not detected

Screenshots

Screenshot of the problem when analysing Susie itself

Logs

No response

Browsers

Firefox

OS

Windows

Add Changelog

~ CHANGELOG.md

Add a release when we go open source!

๐Ÿ’ก [REQUEST] - State of the art home page

Description

The current home page is rather simple, yet functional. The home page should be designed similarly to state-of-the-art websites in the field of sustainability. Nature color palette, earthy font, etc.

Reference Issues

No response

Implementation PR

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.