Title: Is this an implementation bug of `dataflow_analysis`? · Issue #19 · IUCompilerCourse/python-student-support-code · GitHub
Open Graph Title: Is this an implementation bug of `dataflow_analysis`? · Issue #19 · IUCompilerCourse/python-student-support-code
X Title: Is this an implementation bug of `dataflow_analysis`? · Issue #19 · IUCompilerCourse/python-student-support-code
Description: https://github.com/IUCompilerCourse/python-student-support-code/blob/8636ea57437d9779d8fe963bd635fced5ebb34ab/dataflow_analysis.py#LL16C46-L16C46 This line is trying to get the live-after of a block with reducing on the trans_G.adjacent(...
Open Graph Description: https://github.com/IUCompilerCourse/python-student-support-code/blob/8636ea57437d9779d8fe963bd635fced5ebb34ab/dataflow_analysis.py#LL16C46-L16C46 This line is trying to get the live-after of a bloc...
X Description: https://github.com/IUCompilerCourse/python-student-support-code/blob/8636ea57437d9779d8fe963bd635fced5ebb34ab/dataflow_analysis.py#LL16C46-L16C46 This line is trying to get the live-after of a bloc...
Opengraph URL: https://github.com/IUCompilerCourse/python-student-support-code/issues/19
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Is this an implementation bug of `dataflow_analysis`?","articleBody":"https://github.com/IUCompilerCourse/python-student-support-code/blob/8636ea57437d9779d8fe963bd635fced5ebb34ab/dataflow_analysis.py#LL16C46-L16C46\r\n\r\nThis line is trying to get the live-after of a block with reducing on the `trans_G.adjacent(node)` and the `adjacent` in fact return every node which included in an edge use `node` as its beginning, once we called on `trans_G`, will get all the nodes that are represented before the node in the CFG. But what we actually want is to get the nodes after the current `node` in CFG.\r\n\r\nhttps://github.com/IUCompilerCourse/python-student-support-code/blob/8636ea57437d9779d8fe963bd635fced5ebb34ab/dataflow_analysis.py#L20\r\n\r\nThis line also has perhaps an implementation error for similar reasons.\r\n\r\nDon't know if that's bugs or I implemented wrong CFGs.","author":{"url":"https://github.com/Lysanleo","@type":"Person","name":"Lysanleo"},"datePublished":"2023-06-06T07:04:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/19/python-student-support-code/issues/19"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9f1a6e93-561e-fa52-f1a1-eac463ad65a8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B0EE:12A9AF:508158:673610:696B0E11 |
| html-safe-nonce | 72262c71d94335bdbcc19a1571995a5decef7f5ba903fcf0fdc5f7f7dc30620a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEVFOjEyQTlBRjo1MDgxNTg6NjczNjEwOjY5NkIwRTExIiwidmlzaXRvcl9pZCI6IjIwNjkzODU4NjcxMjg2NzE3NjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f9e102a9c1dde11c48d028849566e2eda09916235d5694747fb70d637de30143 |
| hovercard-subject-tag | issue:1743222308 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IUCompilerCourse/python-student-support-code/19/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dec4dd1abd1f178c651a3a1612510f287f1d412e9ac40bdca4f9f5a4ac56487a/IUCompilerCourse/python-student-support-code/issues/19 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dec4dd1abd1f178c651a3a1612510f287f1d412e9ac40bdca4f9f5a4ac56487a/IUCompilerCourse/python-student-support-code/issues/19 |
| og:image:alt | https://github.com/IUCompilerCourse/python-student-support-code/blob/8636ea57437d9779d8fe963bd635fced5ebb34ab/dataflow_analysis.py#LL16C46-L16C46 This line is trying to get the live-after of a bloc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lysanleo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/IUCompilerCourse/python-student-support-code git https://github.com/IUCompilerCourse/python-student-support-code.git |
| octolytics-dimension-user_id | 21162179 |
| octolytics-dimension-user_login | IUCompilerCourse |
| octolytics-dimension-repository_id | 398082704 |
| octolytics-dimension-repository_nwo | IUCompilerCourse/python-student-support-code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 398082704 |
| octolytics-dimension-repository_network_root_nwo | IUCompilerCourse/python-student-support-code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width