You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context: I am trying to put some numbers on the contents of the last Octoverse and some assertions that I find there:
The open source home automation project home-assistant/core hits the top contributors list again. The project’s been on the top list nearly every year since 2018 (with the exception of 2021).
Linux distribution NixOS/nixpkgs has been on the top list of open source projects by contributor for the last two years.
Generated SQL 1
SELECTge.repo_nameAS repo_name,
COUNT(DISTINCT ge.actor_id) AS contributors
FROM
github_events ge
WHEREge.type='PullRequestEvent'ANDge.action='opened'AND YEAR(ge.created_at) = YEAR(CURRENT_DATE()) -1GROUP BYge.repo_nameORDER BY
contributors DESCLIMIT5
Chart:
{
"chartName": "BarChart",
"title": "Top 5 Projects with the Most Contributors in the Last Year",
"x": "repo_name",
"y": "contributors"
}
SELECTgr.repo_name,
COUNT(DISTINCT ge.actor_login) AS contributors
FROM
github_events ge
INNER JOIN github_repos gr ONge.repo_id=gr.repo_idWHEREge.type='PullRequestEvent'ANDge.action='closed'AND YEAR(ge.created_at) = YEAR(CURDATE()) -1GROUP BYgr.repo_nameORDER BY
contributors DESCLIMIT20
The text was updated successfully, but these errors were encountered:
Hi, I have some problems with the question c8cbf94d-4a9d-4fe8-82ce-e852084470ea projects with the most contributors in the last year (errorType = none):
By just adding "20" in front of the above question, the generated SQL is quite different, and probably closer to the expected result than the above one: https://ossinsight.io/explore/?id=7c96df5f-7d3d-45d4-b802-89076f3fb109.
Context: I am trying to put some numbers on the contents of the last Octoverse and some assertions that I find there:
Generated SQL 1
Chart:
Result:
Generated SQL 2
The text was updated successfully, but these errors were encountered: