Show HN: I made a heatmap diff viewer for code reviews
13 by lawrencechen | 3 comments on Hacker News.
0github.com is a pull request viewer that color-codes every diff line/token by how much human attention it probably needs. Unlike PR-review bots, we try to flag not just by "is it a bug?" but by "is it worth a second look?" (examples: hard-coded secret, weird crypto mode, gnarly logic, ugly code). To try it, replace github.com with 0github.com in any pull-request URL. Under the hood, we split the PR into individual files, and for each file, we ask an LLM to annotate each line with a data structure that we parse into a colored heatmap. Examples: https://ift.tt/3JwDzV1 https://ift.tt/ZkHwl3h https://ift.tt/uo8w1hA https://ift.tt/jd9EPqu Notice how all the example links have a 0 prepended before github.com. This navigates you to our custom diff viewer where we handle the same URL path parameters as github.com. Darker yellows indicate that an area might require more investigation. Hover on the highlights to see the LLM's explanation. There's also a slider on the top left to adjust the "should review" threshold. Repo (MIT license): https://ift.tt/tb8ZvfH
0github.com is a pull request viewer that color-codes every diff line/token by how much human attention it probably needs. Unlike PR-review bots, we try to flag not just by "is it a bug?" but by "is it worth a second look?" (examples: hard-coded secret, weird crypto mode, gnarly logic, ugly code). To try it, replace github.com with 0github.com in any pull-request URL. Under the hood, we split the PR into individual files, and for each file, we ask an LLM to annotate each line with a data structure that we parse into a colored heatmap. Examples: https://ift.tt/3JwDzV1 https://ift.tt/ZkHwl3h https://ift.tt/uo8w1hA https://ift.tt/jd9EPqu Notice how all the example links have a 0 prepended before github.com. This navigates you to our custom diff viewer where we handle the same URL path parameters as github.com. Darker yellows indicate that an area might require more investigation. Hover on the highlights to see the LLM's explanation. There's also a slider on the top left to adjust the "should review" threshold. Repo (MIT license): https://ift.tt/tb8ZvfH 3 https://ift.tt/3mkV0tq 13 Show HN: I made a heatmap diff viewer for code reviews
13 by lawrencechen | 3 comments on Hacker News.
0github.com is a pull request viewer that color-codes every diff line/token by how much human attention it probably needs. Unlike PR-review bots, we try to flag not just by "is it a bug?" but by "is it worth a second look?" (examples: hard-coded secret, weird crypto mode, gnarly logic, ugly code). To try it, replace github.com with 0github.com in any pull-request URL. Under the hood, we split the PR into individual files, and for each file, we ask an LLM to annotate each line with a data structure that we parse into a colored heatmap. Examples: https://ift.tt/3JwDzV1 https://ift.tt/ZkHwl3h https://ift.tt/uo8w1hA https://ift.tt/jd9EPqu Notice how all the example links have a 0 prepended before github.com. This navigates you to our custom diff viewer where we handle the same URL path parameters as github.com. Darker yellows indicate that an area might require more investigation. Hover on the highlights to see the LLM's explanation. There's also a slider on the top left to adjust the "should review" threshold. Repo (MIT license): https://ift.tt/tb8ZvfH
0github.com is a pull request viewer that color-codes every diff line/token by how much human attention it probably needs. Unlike PR-review bots, we try to flag not just by "is it a bug?" but by "is it worth a second look?" (examples: hard-coded secret, weird crypto mode, gnarly logic, ugly code). To try it, replace github.com with 0github.com in any pull-request URL. Under the hood, we split the PR into individual files, and for each file, we ask an LLM to annotate each line with a data structure that we parse into a colored heatmap. Examples: https://ift.tt/3JwDzV1 https://ift.tt/ZkHwl3h https://ift.tt/uo8w1hA https://ift.tt/jd9EPqu Notice how all the example links have a 0 prepended before github.com. This navigates you to our custom diff viewer where we handle the same URL path parameters as github.com. Darker yellows indicate that an area might require more investigation. Hover on the highlights to see the LLM's explanation. There's also a slider on the top left to adjust the "should review" threshold. Repo (MIT license): https://ift.tt/tb8ZvfH 3 https://ift.tt/3mkV0tq 13 Show HN: I made a heatmap diff viewer for code reviews














Comments
Post a Comment