Title: Codegen fails to classify FunctionCalls for functions as Class Fields · Issue #222 · codegen-sh/codegen · GitHub
Open Graph Title: Codegen fails to classify FunctionCalls for functions as Class Fields · Issue #222 · codegen-sh/codegen
X Title: Codegen fails to classify FunctionCalls for functions as Class Fields · Issue #222 · codegen-sh/codegen
Description: So the following case does not seem to get classified as a FunctionCall module_cov = module_cov.get_coverage() test_result = [StratResult(src_file, self.test_input.path)] improved, failed, no_improve = await self.evaluator( ## <<< does n...
Open Graph Description: So the following case does not seem to get classified as a FunctionCall module_cov = module_cov.get_coverage() test_result = [StratResult(src_file, self.test_input.path)] improved, failed, no_impro...
X Description: So the following case does not seem to get classified as a FunctionCall module_cov = module_cov.get_coverage() test_result = [StratResult(src_file, self.test_input.path)] improved, failed, no_impro...
Opengraph URL: https://github.com/codegen-sh/codegen/issues/222
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Codegen fails to classify FunctionCalls for functions as Class Fields","articleBody":"So the following case does not seem to get classified as a FunctionCall\n```\n module_cov = module_cov.get_coverage()\n test_result = [StratResult(src_file, self.test_input.path)]\n improved, failed, no_improve = await self.evaluator( ## \u003c\u003c\u003c does not recognize this as a FunctionCall\n test_result,\n self.test_input,\n module_cov,\n self.test_input.test_file,\n n_times=n_times,\n )\n\n```\n\nDefined as follows:\n```\n self.strat: BaseStrategy = AUGMENT_STRATS[strat](self.src_repo, self.test_input)\n self.evaluator: Evaluator = AUGMENT_EVALS[evaluator](\n self.repo_name, \n self.src_repo, \n self.run_args, \n test_input, \n self.run_test,\n use_cache = self.use_cache,\n delete_last = self.delete_last\n )\n self.model_name = model\n\n```\n","author":{"url":"https://github.com/JohnPeng47","@type":"Person","name":"JohnPeng47"},"datePublished":"2025-01-30T19:32:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/222/codegen/issues/222"}
| 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:7b4550ff-16d0-04bf-b1c6-fe6becaf68de |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A1EE:1AD0A1:19CC1AE:217EC71:69909AC4 |
| html-safe-nonce | 76d4d9fdd1652a9041ace89ed12a6bf46631bcc3f238bfff74f8475d9a10e86c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUVFOjFBRDBBMToxOUNDMUFFOjIxN0VDNzE6Njk5MDlBQzQiLCJ2aXNpdG9yX2lkIjoiMTY2MTM0ODUzMzYwMzcwMzQ5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3f5fcc6b32c2fbed93d6be94162d8f002d786bda8d11cb1e5ce20fe10073f546 |
| hovercard-subject-tag | issue:2821652478 |
| 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/codegen-sh/codegen/222/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c9a5302c7dd2a67ae0142e681121f84b7a26428596e076315c7cb2b9345332ae/codegen-sh/codegen/issues/222 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c9a5302c7dd2a67ae0142e681121f84b7a26428596e076315c7cb2b9345332ae/codegen-sh/codegen/issues/222 |
| og:image:alt | So the following case does not seem to get classified as a FunctionCall module_cov = module_cov.get_coverage() test_result = [StratResult(src_file, self.test_input.path)] improved, failed, no_impro... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JohnPeng47 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/codegen-sh/codegen git https://github.com/codegen-sh/codegen.git |
| octolytics-dimension-user_id | 130597291 |
| octolytics-dimension-user_login | codegen-sh |
| octolytics-dimension-repository_id | 920229736 |
| octolytics-dimension-repository_nwo | codegen-sh/codegen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 920229736 |
| octolytics-dimension-repository_network_root_nwo | codegen-sh/codegen |
| 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 | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width