use Setting to store repo_grade and care Setting when init_projects_from_commit