Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to provide code examples where unary_union() is replaced with union_all() #1992

Closed
Chavana-Bryant opened this issue Oct 23, 2024 · 2 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@Chavana-Bryant
Copy link

Type: Bug

No matter how I changed my prompt, the result was always the same, the code said it made the replacement but was exactly the same, see example below: If your code looks something like this: from shapely.geometry import Polygon
from shapely.ops import unary_union

polygons = [Polygon([(0, 0), (1, 1), (1, 0)]), Polygon([(1, 1), (2, 2), (2, 1)])]
result = unary_union(polygons)
You should update it to: from shapely.geometry import Polygon
from shapely.ops import unary_union

polygons = [Polygon([(0, 0), (1, 1), (1, 0)]), Polygon([(1, 1), (2, 2), (2, 1)])]
result = unary_union(polygons)

Extension version: 0.21.2
VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs Intel(R) Xeon(R) Silver 4208 CPU @ 2.10GHz (32 x 2095)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 255.70GB (228.46GB free)
Process Argv --crash-reporter-id 60f628e3-c14e-4f3a-8194-ba05f1cacfde
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
bdiig495:31013172
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31102340
nativerepl2:31139839
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-t:31132770
nativeloc1:31134641
wkspc-ranged-t:31151552
cf971741:31144450
autoexpandse:31146404
iacca1:31156133
notype1cf:31157160
5fd0e150:31155592
dwcopilot:31162478
icondisabled:31158250

@github-actions github-actions bot added the triage-needed Issues needing to be assigned to the prospective feature owner label Oct 23, 2024
@vs-code-engineering vs-code-engineering bot removed the triage-needed Issues needing to be assigned to the prospective feature owner label Oct 23, 2024
@aiday-mar
Copy link

Hi thanks for filing this issue. I am not quite sure I understand. Do you think next time you see this issue, you could click on the report an issue icon next to the result and file the issue on GitHub? The issue filed this way will contain the necessary information for us to fix the issue. It would also be helpful if you could add a screen recording of the issue.

@aiday-mar aiday-mar added the info-needed Issue requires more information from poster label Oct 23, 2024
Copy link

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 31, 2024
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Dec 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants