primordic/IssueDupesLite huggingface dataset:
Repository: servo/webrender

Issue #2407: WebRender doesn't respect ClearType parameters
Created: 2018-02-11T16:45:16Z
Test case:
data:text/html,abcdefghijklmnopqrstuvwxyz
ClearType enabled, Gamma: 2.2 Pixel Structure: BGR ClearType Level: 0 Enhanced Contrast: 0
WebRender off: https://i.imgur.com/bV4HjfK.png
WebRender on: https://i.imgur.com/V3xJ5IN.png
ClearType enabled, Gamma: 2.2 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 400
WebRender off: https://i.imgur.com/zYKWHE0.png
WebRender on: https://i.imgur.com/boU7srJ.png
As can be seen, WebRender gives exactly the same output in both cases.
OS: Windows 10
GPU: Nvidia GeForce GTX 970
Browser: Nightly 60.0a1 (2018-02-11) (64-bit)

Duplicate issue #2867: Google fonts are rendered too thick
Created: 2018-07-05T08:43:16Z
Google Fonts like Roboto, Droid Sans, etc are rendered too thick on Windows 10. It looks like the Cleartype settings are not being applied. The problem becomes more noticeable with smaller font sizes (<20px).
On the right: Firefox Nightly 63.0a1 (webrender)
On the left: Firefox Developer Edition 62.0b5

Test page: https://fonts.google.com/

Closing comment (2018-07-05T14:10:36Z): Could be a duplicate of #2407.
Repository: servo/webrender

Issue #1486: Texture cache gets too big
Created: 2017-07-14T22:17:17Z
When running Gecko I'll get a texture cache that's larger than 1GB while only having about 16MB of image data in my image_templates. It would be nice if the profiler reported the amount of free space in the texture cache as well as the total used.

Duplicate issue #1452: Bad texture cache behaviour with large mask images
Created: 2017-07-05T03:13:12Z
Loading matklad/fall@931293e in Gecko with webrendest turned on causes about 1GB of A8 texture cache. This is presumably from large MaskLayers.

Closing comment (2017-08-09T13:01:16Z): This isn't really actionable on webrender's side other than general improvements to the texture cache tracked by #1486. I think that most of the work related to masks and texture cache needs to happen in gecko (by not generating mask images for rounded rectangles which seems to be the issue with that link).
Repository: servo/webrender

Issue #1839: Some text has black boxes around the glyphs
Created: 2017-10-10T18:05:02Z
https://bugzilla.mozilla.org/show_bug.cgi?id=1407345
That bug has a testcase which uses mix-blend-mode, but @gankro tells me he has also seen this issue with 3d transforms.

Duplicate issue #1811: Text inside opacity has dark fringes (double-premultiplied?)
Created: 2017-10-05T06:41:53Z
data:text/html,<html style="background:lightgray"><div style="opacity:0.9; color:white">Text

Closing comment (2017-10-11T04:07:15Z): Same as #1839 (comment)
Repository: servo/webrender

Issue #3044: High GPU cache row count for relatively simple page with GIFs
Created: 2018-09-11T18:47:59Z
As revealed in the profiles from https://bugzilla.mozilla.org/show_bug.cgi?id=1447351#c14, when the user scrolls around some large animated images, there is some jank. It appears we are spending a good amount of time updating the GPU cache on the renderer thread. From the screenshot above, one can see the GPU cache rows are nearly 400, which kvark indicated is quite high for such a simple page.
https://github.com/rcoh/angle-grinder
Note that the time spent uploading the textures is a separate problem, and we can do better with animated images in general to help mitigate this. I wouldn't worry about that part of the profiles too much as a result (see comment 15 in the aforementioned bug).

Duplicate issue #2967: https://beta.observablehq.com/@redblobgames/delaunator uses a lot of memory
Created: 2018-08-11T07:51:09Z
Just ran into this on a linux/intel laptop. On this page with webrender my entire session freezes for seconds (including mouse pointer, etc).

Closing comment (2018-09-14T19:16:36Z): The page also suffers from updated display lists (due to animated images), similar to #3044
Repository: servo/webrender

Issue #848: Clean up the IPC/MPSC split
Created: 2017-02-08T11:02:05Z
Features are supposed to be additive, the two interfaces for IPC and MPSC channels are so different that code can fail to build if the other kind of channel was expected.
I think the MPSC system should always be built, and IPC be feature-gated. Why was the split needed anyway @glennw?

Duplicate issue #869: Clean up the ipc feature of webrender_traits
Created: 2017-02-12T13:41:22Z
This feature is badly implemented, because it is not additive, and relies on changing the definition of public type aliases.

Closing comment (2017-09-04T22:42:21Z): Duplicate of #848.
Repository: servo/webrender

Issue #2013: Dots can overlap in border corners.
Created: 2017-11-08T09:02:58Z
This happens if the border radius is inferior to the border width, see the reftest image added in #2007.

Duplicate issue #1932: Dotted borders render incorrectly
Created: 2017-10-25T02:38:18Z
Hi,
I've noticed dotted borders render the corners seemingly incorrectly.

---
root: 
  items: 
    - 
      bounds: [5, 5, 490, 490]
      "clip-rect": [5, 5, 490, 490]
      "clip-and-scroll": 0
      "backface-visible": true
      type: border
      width: 25
      "border-type": normal
      color: black
      style: dotted
  id: [0, 0]
pipelines: []

Closing comment (2017-11-09T09:00:44Z): The clipped corners are fixed in #2007, the remaining work (ugly overlap) is tracked in #2013.
Repository: servo/webrender

Issue #3701: Add ES2 support to webrender
Created: 2016-03-21T11:52:57Z
Currently webrender requires OpenGL 3.2, which is not supported by many embedded devices, as they use ES 2.0 (GLSL 1.2). What kind of 3.2 specific features Servo uses? Is it possible to add ES2 support?

Duplicate issue #624: OpenGL ES 2.0 Compatibility
Created: 2016-12-09T21:12:13Z
We need to evaluate a GLES2 rendering path to support older mobile phones by the Quantum Renderer.
Concerned features are:

vertex texture fetches. We might require GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS be something positive, and/or we'll need to combine our textures into a fewer number in order to fit.
instanced draws. We may need to duplicate the data per vertex and issue normal draw calls instead. This would work well with #615 for the vertex shader code would not need to be changed.
texture arrays. That may be a pain to emulate with multiple textures.

Basically, for each GLES3+ feature we use, we need to decide if we can require the appropriate GLES2 extension, or we have a workaround.

Closing comment (2020-02-18T21:59:50Z): Is this a dupe of #3701?
Repository: servo/webrender

Issue #758: Shader error on OnePlus 2
Created: 2017-01-20T11:07:27Z
Another shader error on OnePlus 2, on http://en.wikipedia.org/wiki/Rust. I'm suprised, as this is exactly the kind of error I wanted to capture with a shader validator :/
01-19 14:17:07.087 18872 18888 I Adreno  : Error: Input aClipDataIndex location or component conflict with others.
01-19 14:17:07.088 18872 18891 D RustAndroidGlueStdouterr: Failed to link shader program: Error: Input aClipDataIndex location or component conflict with others.
01-19 14:17:07.088 18872 18891 D RustAndroidGlueStdouterr: 
01-19 14:17:07.093 18872 18891 D RustAndroidGlueStdouterr: -- Program link failed - exiting -- (thread <unnamed>, at /build/servo/.cargo/git/checkouts/webrender-c3596abe1cf4f320/2251e98/webrender/src/device.rs:413)
01-19 14:17:07.093 18872 18890 D RustAndroidGlueStdouterr: ERROR:servo: -- Program link failed - exiting --
01-19 14:17:07.094 18872 18888 E Gecko   : mozalloc_abort: Redirecting call to abort() to mozalloc_abort
01-19 14:17:07.094 18872 18890 D RustAndroidGlueStdouterr: fatal runtime error: failed to initiate panic, error 9

Duplicate issue #785: attach_and_bind_shaders calls bind_attrib_location on names that don't exist in the shader
Created: 2017-01-26T15:32:31Z
e.g.  gl::bind_attrib_location(self.id, ClipAttribute::DataIndex as gl::GLuint, "aClipDataIndex"); is called on non-clip shaders.
Sotaro is seeing shader link failures on Android caused by this.
cc: @sotaroikeda

Closing comment (2017-01-26T22:27:06Z): Actually, this is dupe of #758
Repository: servo/webrender

Issue #1432: Support ANGLE with wrench
Created: 2017-06-28T18:27:44Z
This makes us closer to Gecko

Duplicate issue #2006: Support running wrench with ANGLE on Windows.
Created: 2017-11-07T16:38:38Z
It should prove handy whenever we'll get to debugging ANGLE/D3D specific bugs, and D3D11 tends to have much better tooling available than GL, for example pixel history and debugging in renderdoc.

Closing comment (2017-11-08T06:13:16Z): This is a duplicate of #1432.
Repository: shadowsocks/shadowsocks-windows

Issue #742: gui-config.json文件手动修改后能否支持自动更新到主程序
Created: 2016-09-22T07:54:02Z
请问gui-config.json文件手动修改后能否支持自动更新到主程序，我有个自定义程序会定时获取服务器账号密码然后进行更新，但是我发觉每次修改了gui-config.json文件后是无法立即生效的，重启后才能生效。

Duplicate issue #919: 程序已经启动后更新gui-config.json配置，是否可影响到代理
Created: 2016-12-01T05:45:48Z
我讲shadowsocks.exe启动后更新gui-config.json，是否可实时更新代理配置，还是需要再次重启才能

Closing comment (2016-12-02T07:21:26Z): dup #742
Repository: shadowsocks/shadowsocks-windows

Issue #523: System.Net.Sockets.SocketException
Created: 2016-04-07T01:14:50Z
[2016-04-07 09:02:42] System.Net.Sockets.SocketException (0x80004005): 提供了一个无效的参数。
在 System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
在 System.Net.Sockets.Socket.InternalBind(EndPoint localEP)
在 System.Net.Sockets.Socket.BeginConnectEx(EndPoint remoteEP, Boolean flowContext, AsyncCallback callback, Object state)
在 System.Net.Sockets.Socket.BeginConnect(EndPoint remoteEP, AsyncCallback callback, Object state)
在 Shadowsocks.Controller.TCPHandler.StartConnect()

Duplicate issue #524: System.Net.Sockets.SocketException (0x80004005): 提供了一个无效的参数。
Created: 2016-04-07T01:16:18Z
[2016-04-07 09:02:02] System.Net.Sockets.SocketException (0x80004005): 提供了一个无效的参数。
在 System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
在 System.Net.Sockets.Socket.InternalBind(EndPoint localEP)
在 System.Net.Sockets.Socket.BeginConnectEx(EndPoint remoteEP, Boolean flowContext, AsyncCallback callback, Object state)
在 System.Net.Sockets.Socket.BeginConnect(EndPoint remoteEP, AsyncCallback callback, Object state)
在 Shadowsocks.Controller.TCPHandler.StartConnect()

Closing comment (2016-04-07T01:45:10Z): dup #523
Repository: shadowsocks/shadowsocks-windows

Issue #894: 程序运行时修改自定义规则 user-rule.txt 导致程序崩溃
Created: 2016-11-18T04:06:39Z
Version(release version or AppVeyor link)
3.3.5
Environment(Operating system, .NET Framework, etc)
win7 .NET Framework 4.6.2
Steps you have tried
1.正常使用程序
2.修改user-rule.txt ，保存
What did you expect to see?
正常运行
What did you see instead?

Duplicate issue #1001: 自定义user-rule.txt的错误
Created: 2017-01-13T06:29:06Z
这里添加自定义网址以后,提示更新网址成功,其实并没有成功,必须关闭软件再打开才能起作用,请作者测试.

Closing comment (2017-01-18T00:08:32Z): Similar to #894
try Notepad++
Repository: shadowsocks/shadowsocks-windows

Issue #499: Better score calculation algorithms
Created: 2016-03-14T10:03:46Z
The version 3.0 added a new feature "Choose by statistics", but the score calculation is not reasonable. we need a better score calculation algorithms. Feel free to put forward your advice.
See #493

Duplicate issue #493: 统计配置里的分数如何计算？
Created: 2016-03-09T03:06:46Z
3.0版本的统计配置里的分数后面X的系数是正比还是反比？得分是越高越有限还是越低越优先？
比如我需要优先使用PackageLoss低的，其次使用平均AvgLatency低的，应该如何配置？

Closing comment (2016-08-10T23:59:19Z): dup #499
Repository: shadowsocks/shadowsocks-windows

Issue #334: System.Net.Sockets.SocketException (0x80004005): 提供了一个无效的参数。
Created: 2015-09-25T06:18:51Z
[2015-09-24 16:26:18] Shadowsocks (XXX.XXX.XXX.XX:80) timed out
[2015-09-24 16:26:18] System.Net.Sockets.SocketException (0x80004005): 提供了一个无效的参数。
在 System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
在 System.Net.Sockets.Socket.InternalBind(EndPoint localEP)
在 System.Net.Sockets.Socket.BeginConnectEx(EndPoint remoteEP, Boolean flowContext, AsyncCallback callback, Object state)
在 System.Net.Sockets.Socket.BeginConnect(EndPoint remoteEP, AsyncCallback callback, Object state)
在 Shadowsocks.Controller.Handler.StartConnect()
[2015-09-24 16:26:21] Shadowsocks (XXX.XXX.XXX.XX:80) timed out

Duplicate issue #657:  System.ArgumentException: 未从此类上对应的异步方法中返回 IAsyncResult 对象。
Created: 2016-08-14T07:12:42Z
[2016-08-14 15:10:40] System.Net.Sockets.SocketException (0x80004005): 提供了一个无效的参数。
   在 System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
   在 System.Net.Sockets.Socket.InternalBind(EndPoint localEP)
   在 System.Net.Sockets.Socket.BeginConnectEx(EndPoint remoteEP, Boolean flowContext, AsyncCallback callback, Object state)
   在 System.Net.Sockets.Socket.BeginConnect(EndPoint remoteEP, AsyncCallback callback, Object state)
   在 Shadowsocks.Proxy.DirectConnect.BeginConnectDest(EndPoint remoteEP, AsyncCallback callback, Object state)
   在 Shadowsocks.Controller.TCPHandler.ProxyConnectCallback(IAsyncResult ar)
[2016-08-14 15:10:40] System.ArgumentException: 未从此类上对应的异步方法中返回 IAsyncResult 对象。
参数名: asyncResult
   在 System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult, SocketError& errorCode)
   在 System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
   在 Shadowsocks.Proxy.DirectConnect.EndReceive(IAsyncResult asyncResult)
   在 Shadowsocks.Controller.TCPHandler.PipeRemoteReceiveCallback(IAsyncResult ar)

Closing comment (2016-08-14T08:24:59Z): Similar to #334
Repository: shadowsocks/shadowsocks-windows

Issue #755: can not work on windows 10 14936, the server is available on my phone
Created: 2016-09-30T03:54:50Z
Version(release version or AppVeyor link)
3.3.1
Environment(Operating system, .NET Framework, etc)
windows 10 14936
Config and error log in detail (with all sensitive info masked)
[2016-09-30 11:26:01] System.Reflection.TargetInvocationException: An exception occurred during the operation, making the result invalid.  Check InnerException for exception details. ---> System.Net.WebException: An exception occurred during a WebClient request. ---> System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream. at System.Net.ConnectStream.EndRead(IAsyncResult asyncResult) at System.Net.WebClient.DownloadBitsReadCallbackState(DownloadBitsState state, IAsyncResult result) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary() at Shadowsocks.Controller.UpdateChecker.http_DownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e)

Duplicate issue #776: Proxy settings cannot be applied correctly on Windows 10 build 14942
Created: 2016-10-11T00:29:14Z
It seems that windows changed its proxy setting interface, now it looks like this:

When I apply the proxy setting in shadowsocks, it fails to make change in system proxy settings, no idea why.

Closing comment (2016-10-11T00:30:53Z): dup #755
Repository: shadowsocks/shadowsocks-windows

Issue #330: 错误弹窗：Privoxy Error
Created: 2015-09-23T00:16:50Z
Fatal error: can't check configuration file 'C:\Users\my\AppData\Local\Temp\privoxy.conf':  (error number 2)

该问题在2.5.6版本中已经存在，2.5.8中依然有这个错误弹窗，如需提供其他信息，请留言，谢谢~

Duplicate issue #505: Fatal error: can't check configuration file 'privoxy.conf' (error number 2)
Created: 2016-03-18T08:11:35Z
如下图，经常出现。然后代理就无效了。

Closing comment (2016-03-18T09:13:35Z): dup #330
Repository: shap/shap

Issue #1460: Inconsistent usage of 'shap_value' in beeswarm
Created: 2020-09-22T21:20:43Z
Hi! Love the package, but one issue - shap_values is implemented inconsistently across the package documentation.
For example, when plotting a summary plot:
explainer = shap.TreeExplainer(model, data = X_train)
shap_values = explainer.shap_values(X_train)
shap.summary_plot(shap_values, feature_names=X_train.columns, plot_type = 'bar', plot_size = (11,7) )
But, for a beeswarm plot:
import xgboost
import shap
# train XGBoost model
X,y = shap.datasets.adult()
model = xgboost.XGBClassifier().fit(X, y)
# compute SHAP values
explainer = shap.Explainer(model, X)
shap_values = explainer(X)
shap.plots.beeswarm(shap_values)
I kept getting "local variable 'features' referenced..." error when trying to run the beeswarm plot with shap_values previously calculated; I'm guessing the beeswarm part of the package hasn't been updated? Or is it intentional...was very confusing.

Duplicate issue #1590: beeswarm_plot issue with variable usage
Created: 2020-11-16T08:11:09Z
while using 'beeswarm' plot... I got the following error:
/usr/local/lib/python3.6/dist-packages/shap/plots/_beeswarm.py in beeswarm(shap_values, max_display, order, clustering, cluster_threshold, color, axis_color, alpha, show, log_scale, color_bar, plot_size, color_bar_label)
55         #     out_names = shap_exp.output_names
56
---> 57     order = convert_ordering(order, values)
58
59
UnboundLocalError: local variable 'values' referenced before assignment
and here is my code which produced the aforementioned error:
``print('summary plot of shap values - normal')
shap.plots.beeswarm(shap_values, show=False)
# plt.savefig('Shap values_normal_%s_%s_%s_%s.png'%(typ, dataset_name, cls_method, method_name), dpi=300, bbox_inches='tight');
plt.savefig(os.path.join(shap_values_dir,
'Shap values_normal_%s_%s_%s_%s.png' % (typ, dataset_name, cls_method, method_name)),
dpi=300, bbox_inches='tight');
plt.clf()
plt.close()

Closing comment (2023-06-20T15:59:55Z): Closing as duplicate of #1460
Repository: shap/shap

Issue #1628: Installation fails on python3.6 with .tar.gz package
Created: 2020-12-07T16:57:01Z
Since the creation of numpy 1.20.0rc1, it is impossible to install shap on a linux environment.
This is because the version of numpy is not set in the setup.py file. So if numpy is not found, pip installs the latest numpy which requires python>=3.7.
This makes shap installation not working on python 3.6 when no wheels are available.
A workaround is to install a previous version of numpy before installing shap.
Steps to reproduce:

make sure to clean the pip cache
create a new empty virtual env
""" pip install -v shap ""

Expected Result:
Shap must be compiled and installed (from .tar.gz package)
Observed result:
Running setup.py (path:/tmp/pip-wheel-fh2iiiel/shap_8a7e7a78d4bf4aec86b2fa60bd274ee2/setup.py) egg_info for package shap Created temporary directory: /tmp/pip-pip-egg-info-fm5rvl3w Running command python setup.py egg_info Python version >= 3.7 required. WARNING: The C extension could not be compiled, sklearn tree models not supported. Searching for numpy Reading https://pypi.org/simple/numpy/ Downloading https://files.pythonhosted.org/packages/81/46/ecc1ea3e5819eb0d83306a8f468693785c94ed5467fcbb6f2529abf0102f/numpy-1.20.0rc1.zip#sha256=98f4e754f1c3db7ca53e53b1ef6474703b167af75f3784f99b1fe4dd936ea77f Best match: numpy 1.20.0rc1 Processing numpy-1.20.0rc1.zip Writing /tmp/easy_install-q_cshyza/numpy-1.20.0rc1/setup.cfg Running numpy-1.20.0rc1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-q_cshyza/numpy-1.20.0rc1/egg-dist-tmp-6ipj6psy Python version >= 3.7 required. ERROR: Failed to build! ERROR: No .egg-info directory found in /tmp/pip-pip-egg-info-fm5rvl3w

Duplicate issue #1633: [URGENT] pip install fails on Ubuntu. No files/directories in /tmp/pip-build-JsrgB4/shap/pip-egg-info (from PKG-INFO)
Created: 2020-12-08T20:10:44Z
No files/directories in /tmp/pip-build-JsrgB4/shap/pip-egg-info (from PKG-INFO)

Closing comment (2020-12-09T07:50:54Z): You should see an error : Python version >= 3.7 required.
This is related to #1628.
A workaround is to install numpy before installing shap.
Repository: shap/shap

Issue #1970: Calling beeswarm multiple times on same shap_values produce different graphs
Created: 2021-04-30T14:12:30Z
I am using the latest version 0.39.0.
Using this code snippet:
import shap

explainer = shap.Explainer(model)
shap_values = explainer(X)
shap.plots.beeswarm(shap_values, max_display=15)

If I run the beeswarm cell in jupyter notebook again, I get a completely different graph.
Also, if I change the shap_values to a DataFrame, then plot a beeswarm and then start doing operations on the DataFrame, the data is completely different than if I don't run the beeswarm.  The beeswarm is modifying the numpy array somehow.
shap_values_df = pd.DataFrame(shap_values.values, columns=X.columns)
but if I call copy, then this problem for the dataframe doesn't occur:
shap_values_df = pd.DataFrame(shap_values.values.copy(), columns=X.columns)

Duplicate issue #2533: shap.plots.beeswarm(shap_values) -> SHAP value should be initialized
Created: 2022-05-03T11:53:23Z
explainer = shap.Explainer(my_model)
shap_values = explainer(x_test)

shap.plots.beeswarm(shap_values, max_display=21) #-> 1st run
shap.plots.beeswarm(shap_values, max_display=21) #-> 2nd run - SHAP value was changed.. 
shap.plots.beeswarm(shap_values, max_display=21) #-> 3rd run - SHAP value was changed.. 

when I use ploting function (beeswarm), it seems no problem at first.
but when I run the same code at notebook right after,
the results were changed.
Version:
shap 0.40.0

Closing comment (2023-07-03T01:07:01Z): Duplicate of #1970
Repository: shap/shap

Issue #1970: Calling beeswarm multiple times on same shap_values produce different graphs
Created: 2021-04-30T14:12:30Z
I am using the latest version 0.39.0.
Using this code snippet:
import shap

explainer = shap.Explainer(model)
shap_values = explainer(X)
shap.plots.beeswarm(shap_values, max_display=15)

If I run the beeswarm cell in jupyter notebook again, I get a completely different graph.
Also, if I change the shap_values to a DataFrame, then plot a beeswarm and then start doing operations on the DataFrame, the data is completely different than if I don't run the beeswarm.  The beeswarm is modifying the numpy array somehow.
shap_values_df = pd.DataFrame(shap_values.values, columns=X.columns)
but if I call copy, then this problem for the dataframe doesn't occur:
shap_values_df = pd.DataFrame(shap_values.values.copy(), columns=X.columns)

Duplicate issue #2207: Shap values are corrupted when 2x Beeswarm plot is executed
Created: 2021-10-05T12:46:05Z
It seems that using shap.plots.beeswarm(shap_values) manipulates the shap values itself.
If you're run the same command twice, it results in 2 way diffrent plots. For Summary plot I haven't this issue.
In my case for one random feature the shap values increased significantly.

Closing comment (2021-10-13T18:26:25Z): duplicate of #1970
short term solution is to deep copy the Explanation:
import copy
shap.plots.beeswarm(copy.deepcopy(shap_values))
Repository: shap/shap

Issue #915: question (please answer)
Created: 2019-11-27T18:13:18Z
Dear all,
In order to get the input contributions to 2 hidden layers NN output and the NN is NOT ### convolutional NN
e = shap.DeepExplainer(model, background)
Does the above line set the reference activation for every neuron in the network?
shap_values = e.shap_values(x_test[1:5])
and this line gets the contributions in the 3D list shap_values? It has the contributions of every input feature in every input instance to each of the output neurons, is that correct?
And there are no more code lines required in the code.
Do I understand correctly?
Looking forward for an answer.
Thanks

Duplicate issue #908: question
Created: 2019-11-22T17:10:52Z
Dear all,
In order to get the input contributions to 2 hidden layers NN output and the NN is NOT ### convolutional NN
e = shap.DeepExplainer(model, background)
Does the above line set the reference activation for every neuron in the network?
shap_values = e.shap_values(x_test[1:5])
and this line gets the contributions in the 3D list shap_values? It has the contributions of every input feature in every input instance to each of the output neurons, is that correct?
And there are no more code lines required in the code.
Do I understand correctly?
Looking forward for an answer.
Thanks

Closing comment (2019-11-29T06:51:26Z): Duplicate of #915
Repository: shap/shap

Issue #1970: Calling beeswarm multiple times on same shap_values produce different graphs
Created: 2021-04-30T14:12:30Z
I am using the latest version 0.39.0.
Using this code snippet:
import shap

explainer = shap.Explainer(model)
shap_values = explainer(X)
shap.plots.beeswarm(shap_values, max_display=15)

If I run the beeswarm cell in jupyter notebook again, I get a completely different graph.
Also, if I change the shap_values to a DataFrame, then plot a beeswarm and then start doing operations on the DataFrame, the data is completely different than if I don't run the beeswarm.  The beeswarm is modifying the numpy array somehow.
shap_values_df = pd.DataFrame(shap_values.values, columns=X.columns)
but if I call copy, then this problem for the dataframe doesn't occur:
shap_values_df = pd.DataFrame(shap_values.values.copy(), columns=X.columns)

Duplicate issue #1961: Plot modified at each execution
Created: 2021-04-26T14:27:59Z
I want to explain a random forest model rf with inputs df X_rf.
Here is the code I execute :
explainer = shap.Explainer(rf, X_rf)
shap_out = explainer(X_rf)

Each time I generate a beeswarm plot (shap.plots.beeswarm(shap_out, max_display = 20)), I obtain a different output, with different features represented and, more worryingly, different values for these features.
Thanks a lot for your help.

Closing comment (2023-07-03T01:09:21Z): Closing as duplicate of #1970
Repository: shap/shap

Issue #1233: explainer.expected_value Type Inconsistencies
Created: 2020-05-26T14:06:48Z
Hey SHAP team,
First off, thanks for all that you do in providing this amazing package!
This is a relatively minor question/possible bug:
I am using a shap.TreeExplainer on a sklearn random forest and when I instantiate a TreeExplainer using feature_pertubation='interventional' then explainer.expected_value is a float (which is what I would expect). In contrast, when I instatiate a TreeExplainer using feature_pertubation='tree_path_dependent' then explainer.expected_value a numpy.ndarray with length 1. In this case to get the expected value, I would have to do explainer.expected_value[0].
This is really easy to work around, via
exp_val = explainer.expected_value
if isinstance(exp_val, np.ndarray):
    exp_val = exp_val[0]

but it would be nice if this wasn't necessary. Is this expected? Is there a reason for this inconsistency?

Duplicate issue #1261: LinearExplainer and TreeExplainer have different outputs dtypes for regression
Created: 2020-06-09T22:50:08Z
The output of LinearExplainer (using Linear Regression models) produces a np.float as the expected_value while TreeExplainer produces a np.array with a single value.
i.e.
explainer = shap.LinearExplainer(lm, X_train)
type(explainer.expected_value)

numpy.float64

and
explainer = shap.TreeExplainer(decisiontree_regressor)
type(explainer.expected_value)

numpy.ndarray

Closing comment (2020-06-13T04:29:24Z): I realize now that this is a duplicate/similar to #1233 . It would probably be best to choose one, and I recommend we conform to using single-value np.arrays (since it will generalize better to other cases, such as binary and multiclass classification).
Repository: shoelace-style/shoelace

Issue #388: color picker cursor behaviour
Created: 2021-03-27T12:31:12Z
Windows 10.
Chrome: Version 89.0.4389.90 (Official Build) (64-bit)
Erratic positioning of circular color selection indicator on color picker:
Area: (https://shoelace.style/components/color-picker )
Issue
If I click on the large color selection region, I’d expect the circular color selection indicator to appear under the cursor.  This is not the case, although it is when I double click.
The native color picker demonstrates the standard behaviour (single click and the circle moves to the cursor):
(https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/color)

Duplicate issue #389: color picker slider issue
Created: 2021-03-27T12:42:43Z
Windows 10.
Chrome: Version 89.0.4389.90 (Official Build) (64-bit)
Erratic positioning of circular color selection indicator on color picker:
Area: (https://shoelace.style/components/color-picker )
Issue
Open the above link.
Click on the round color swatch to open the color picker.
Click on the large color area.
The circular color selection indicator is now active.
Now drag the slider below the color selection area.
Flickering and dancing of the color selection indicator will be apparent.
The color picker circular selector dances erratically when the sliders below the large color selection area are dragged from left to right.
Native behaviour suggests that repositioning the circle, when the sliders move, is not necessary.  Native color picker behaviour would be the expected behaviour.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/color

Closing comment (2021-03-30T13:05:53Z): This was related to #388 and has been resolved in a04fc7c.
Repository: shoelace-style/shoelace

Issue #1441: Some typo in Documentation
Created: 2023-07-11T11:17:30Z
Color tokens are reversed. 900 is dark and 50 is clear
Source: https://shoelace.style/tokens/color/index.html#theme-tokens

"More design tokens" values have only one dash when css vars
Source: https://shoelace.style/tokens/more/index.html#form-inputs

Duplicate issue #1490: Color Tokens in docs
Created: 2023-08-07T09:53:40Z
Describe the bug
Theme Tokens and Primitives are presented reversed in the dark mode in the documentation.
To Reproduce
Steps to reproduce the behavior:

Go to https://shoelace.style/tokens/color#theme-tokens
See error

Screenshots

Browser / OS

OS: [Linux]
Browser: [Chrome]

Closing comment (2023-08-07T14:11:35Z): Duplicate of #1441. See my response here. #1441 (comment)
Repository: shoelace-style/shoelace

Issue #101: Date & Time Picker
Created: 2020-07-17T07:21:47Z
Is your feature request related to a problem? Please describe.
I need a way to pick a date and a time. A lot of Frameworks I know (including Bootstrap!) are lacking this Feature, even though it's quite an essential Component.
Describe the solution you'd like
AntDesign has a very neat implementation, maybe that can be a starting point.
Describe alternatives you've considered
None

Duplicate issue #467: <sl-datepicker>
Created: 2021-06-17T18:31:06Z
@claviska I working to a new calendar lit component, without external dependencies, and with a small footprint (2kb not gziped). I completed most of the main features and now I working to integrate the component with this library.
Calendar features:

 Single date selection
 Set minimum date
 Set maximum date
 Highlight current day
 Set disable days
 Multiple display modes: inline-horizontal, inline-vertical, drop down

Library integration:

 Methods and properties
 Theme and style token integration
 Custom CSS parts
 Events definition
 Form integration

This is how the sl-calendar look now:

  
    
    

    simplescreenrecorder-2021-06-17_20.02.25.mp4

Closing comment (2022-02-15T13:18:20Z): Closing as a duplicate of #101.
Repository: shoelace-style/shoelace

Issue #413: Typography / core element stylesheet
Created: 2021-04-12T14:21:48Z
This is a proposal to offer an optional extension to the base stylesheet that will apply light DOM styles to core HTML elements, much like Tailwind's typography plugin.
This will give users a simple, opt-in way to achieve consistent styling throughout their app without requiring them to style everything from scratch using Shoelace's design tokens.
The proposed stylesheet will cover things like:

Basic CSS reset
Fonts / line heights / etc.
Headings
Paragraphs
Lists
Tables
Form control layouts (e.g. left-aligned labels; see #968)
Visually hidden utility class (for various uses, including hiding form labels but allowing screen readers to announce them; #728)
etc.

To emphasize — these will not be components, but a light DOM stylesheet that users can opt into. The stylesheet will set default styles for core HTML elements like this:
h1 {
  font-family: var(--sl-heading-font-family);
  font-weight: var(--sl-heading-font-weight);
  ...
}
Additional design tokens (such as the ones shown above) will be added to base.css to facilitate this objective. Actual tokens needed are TBD, as is the name of the new stylesheet.
I don't think anyone will be opposed to this, but feel free to post your thoughts below. To support the feature, use 👍  below.

Duplicate issue #542: page styling
Created: 2021-09-27T02:09:08Z
Shoelace is great, but there doesn't seem to be an easy/obvious way to say "style the whole page to match shoelace".
What I did was copy the body{} declaration from https://shoelace.style/, but it's not clear to me if any of the css is necessary or sufficient.
Maybe the docs should give guidance on this somewhere in the Usage section?
Maybe there could be a class that I can attach to <html> or <body> to style the whole page?

Closing comment (2021-09-27T03:42:35Z): Duplicate of #413. Please follow that issue to track this planned feature’s progress.
Repository: shoelace-style/shoelace

Issue #17: Any plans for nav bars?
Created: 2017-08-04T02:25:33Z
I'm very much still learning cutting edge CSS like variables and grid so I was wondering if you have any plans on incorporating some nav bar examples, much like Bootstrap's, of course. Thanks for sharing this project and keep up the great work!

Duplicate issue #1569: Navbar component
Created: 2023-09-18T11:14:43Z
Hi,
Yes, I know that there are already issues about the "navbar" component (created about 6 years ago 👴🏻).
#518
#17
But the answer I see each time is "Each navbar can be different, any developer can do it".
Yes, BUT, the reason why we want to use a library, is to not spend a lot of times on these kinds of components.
I tried with existing solutions, something like this:
<sl-card class="card-basic">
  <sl-avatar label="Avatar with an image icon">
    <sl-icon slot="icon" name="image"></sl-icon>
  </sl-avatar>
  
  <sl-button>Click me</sl-button>
</sl-card>


<style>
  .card-basic {
    width: 100%;
  }
</style>

But it is absolutely not a navbar 😄

We don't have any "container", "link" components, or something to help us to "align left" some items. Off course, we can do it by CSS, but in this case, why do we need to use Shoelace?
However, I respect the choice of code maintainer and congratulate you for this work.
For reasons of limitations I would not use this library, but I hope that over time it will evolve

Closing comment (2023-09-18T13:02:45Z): As a component, my comment still stands about navbars. However, you'll be happy to know we're working on additional non-component features that will help with navbars while preventing "Bootstrap Syndrome."
We're hoping to have this available, along with a suite of other tools that make Shoelace easier to build with, early in the new year.
That said, I'm closing this as a duplicate of #17 because we're not building this as a component, but as a series of patterns/utilities that we're tracking on our internal backlog.
Repository: shoelace-style/shoelace

Issue #1174: The drop down menu of an <sl-select> in a <sl-dialog> is cropped and positioned above
Created: 2023-02-03T04:04:17Z
Describe the bug
The drop down menu of an <sl-select> in a <sl-dialog> is cropped and positioned above.
To Reproduce

Create an <sl-dialog> that is not too large and contains an <sl-select>.
Click the <sl-select> to choose an option.

Demo
https://codepen.io/rogerta/pen/YzjdBEK?editors=1000
Screenshots
See codepen.
Browser / OS

OS: Ubuntu 22.04.1 LTS
Browser: Chrome
Browser version:  108.0.5359.124 (Official Build) (64-bit)

Additional information
Let me know if I'm doing something incorrectly or if there is a simple workaround.  Thanks.

Duplicate issue #1580: <sl-details> covers the popup menu of <sl-select>
Created: 2023-09-26T10:17:25Z
Describe the bug
When I put  in   the dropdown popup menu is covered by .
To Reproduce
Steps to reproduce the behavior:

Go to demo

Demo
https://codepen.io/Pawe-wiek/pen/poqLmXB?editors=1000
Screenshots

Browser / OS

OS: [Linux]
Browser: [Chrome]
Browser version: 112.0.5615.165

Additional information

Closing comment (2023-09-26T10:31:14Z): Please use the hoist attribute on <sl-select>.
https://shoelace.style/components/select#properties
Duplicate of #1174.
Repository: shoelace-style/shoelace

Issue #127: Combobox / autocomplete
Created: 2020-07-20T18:51:46Z
Is your feature request related to a problem? Please describe.
I'm looking for incremental search for tags input.
Describe the solution you'd like
For inspiration, autocomplete in Evergreen and Fluent UI.
Describe alternatives you've considered
https://shoelace.style/components/select?id=help-text seems to focus on the option that starts with the typed character, but the search appears to stop there.

Duplicate issue #203: Search thru options in sl-select
Created: 2020-09-05T19:19:53Z
Is your feature request related to a problem? Please describe.
In selects with hundreds of options it would be great to have a search feature to ease usage
Describe the solution you'd like
In a pre web-component world we used e.g. https://harvesthq.github.io/chosen/ to achieve this kind of functionality

Closing comment (2020-09-06T17:05:23Z): Yep, this is a dupe of #127.
Repository: shoelace-style/shoelace

Issue #127: Combobox / autocomplete
Created: 2020-07-20T18:51:46Z
Is your feature request related to a problem? Please describe.
I'm looking for incremental search for tags input.
Describe the solution you'd like
For inspiration, autocomplete in Evergreen and Fluent UI.
Describe alternatives you've considered
https://shoelace.style/components/select?id=help-text seems to focus on the option that starts with the typed character, but the search appears to stop there.

Duplicate issue #236: Typeahead support
Created: 2020-10-03T22:45:43Z
I really like the select component from the library, but can we also support typeahead, which is almost similar to select, but it has the ability to type in the input and filter the results or call the API to load the data on type

Closing comment (2020-10-03T22:54:29Z): Duplicate of #127. I’ve updated the title so it’s easier to find.
Repository: shoelace-style/shoelace

Issue #328: Code Completion in Jetbrains IntelliJ (WebStorm/PhpStorm)
Created: 2021-02-10T19:59:05Z
Is your feature request related to a problem? Please describe.
Unfortunately I cannot get any auto-completion features to work with Jetbrains Intellij (Webstorm). This makes using shoelace components quite the hassle. Has anyone of you experience with setting this up?
Describe the solution you'd like
I am looking for a way to have IntelliJ's autocomplete suggest the Web Components Shoelace offers. I would like it to offer me <sl-button>  when entering <sl-b in a HTML file.
Issue created for documentation as suggested by @claviska on Discord 👋
Best regards
Xyz3R

Duplicate issue #396: Intellisense setup for Webstorm
Created: 2021-04-03T19:54:44Z
I would like to see either instructions or an addon to allow intellisense to work for shoelace library inside of Jetbrains IDE Webstorm

Closing comment (2021-04-03T19:56:08Z): Sounds like this might be a dupe of #328
Repository: siderolabs/talos

Issue #3306: OpenID Connect (OIDC) authentication support
Created: 2021-03-15T17:15:27Z
Feature Request
Description
We use oidc to map LDAP/Active directory users/groups to RBAC resources for kubernetes auth.
https://kubernetes.io/docs/reference/access-authn-authz/authentication/#openid-connect-tokens
Would be nice if we could do the same for Talos API, even if it's not as granular as RBAC (admin only).

Duplicate issue #5192: Talos API: Support OIDC
Created: 2022-03-24T14:28:31Z
Feature Request
On a fresh install, talosconfig contains a 10 year valid certificate, signed by the CA from machine.ca.crt.
While it's possible to create a shorter-living and more restricted talosconfig, by picking a shorter --crt-ttl and a more restricted role via --roles:
❯ talosctl config new

Usage:
  talosctl config new [<path>] [flags]

Flags:
      --crt-ttl duration   certificate TTL (default 87600h0m0s)
  -h, --help               help for new
      --roles strings      roles (default [os:admin])

Global Flags:
      --context string       Context to be used in command
  -e, --endpoints strings    override default endpoints in Talos configuration
  -n, --nodes strings        target the specified nodes
      --talosconfig string   The path to the Talos configuration file

… there's no OIDC support in Talos API.

Closing comment (2022-04-11T10:11:02Z): Seems to be a dup of #3306 ?
Repository: siderolabs/talos

Issue #10332: disk images and UEFI/BIOS mode
Created: 2025-02-11T09:00:42Z
Low-level
In the imager profile, support configuration for the bootloader in the disk images - GRUB or systemd-boot.
For Talos < 1.10 images, use GRUB for !SecureBoot images (keep same defaults).
arm64
There is no BIOS boot on arm64, so we can make disk images to be sd-boot always on arm64.

Neet to verify with SBCs, but should be good for bare-metal arm64.

amd64
Configurable boot loader in the Image Factory
Seems ugly, but we could in theory have /metal.raw.zst (GRUB, dual-boot) and /metal-uefi.raw.zst (systemd-boot, UEFI only).
The only downside is that it looks ugly.
Dual-boot disk iamge.
For Talos 1.10+, we could create a dual boot GRUB/systemd-boot disk image:

make both BOOT (xfs, GRUB) and EFI (systemd-boot, vfat) partitions big enough
install GRUB in BIOS mode only
install sd-boot to EFI partition

On the first boot, Talos should be able to detect such a dual-boot disk image, and wipe the "other" unused bootloader (i.e. if booted in UEFI mode, wipe GRUB). This would prevent a suprise fallback if the machine UEFI/BIOS setting is changed later, and Talos boots into the initially installed image.

Duplicate issue #10331: disk images and UEFI/BIOS mode
Created: 2025-02-11T09:00:36Z

Closing comment (2025-02-12T13:16:13Z): Dup of #10332?
Repository: siderolabs/talos

Issue #10214: Switch default installer to empty schematic from factory
Created: 2025-01-23T18:32:01Z
Feature Request
In Talos change default installer image in the generate machine config step to use factory.talos.dev empty schematic installer instead of ghcr.io/siderolabs/installer image.
Description

Duplicate issue #10213: Default installer image from factory
Created: 2025-01-23T18:31:23Z
Feature Request
In Talos change default installer image in the generate machine config step to use factory.talos.dev empty schematic installer instead of ghcr.io/siderolabs/installer image.
Description

Closing comment (2025-01-23T18:34:13Z): Duplicate of #10214
Repository: siderolabs/talos

Issue #2395: notarize/sign `talosctl` in releases for OS X
Created: 2020-08-03T15:26:42Z
Feature Request
This should allow OS X users to run talosctl much more easily.
Description
Some pointers e.g. here https://www.kencochrane.com/2020/08/01/build-and-sign-golang-binaries-for-macos-with-github-actions/
It should be automatable.

Duplicate issue #6125: talosctl cannot be opened because the developer cannot be verified.
Created: 2022-08-22T13:05:43Z
Bug Report
Description
When trying to run talosctl on a macOS machine you'll be faced with a pop-up stating "talosctl cannot be opened because the developer cannot be verified.". This only give the option of not running the tool or deleting it.
imo asking users to bypass security features that has been intentionally made hard to bypass is not a good solution.
Especially not for a software project that supposedly aims to provide a hardened product.
Logs

Environment

Talos version: v1.1.0
Kubernetes version: N/A
Platform: macOS 12.5.1

Closing comment (2022-08-22T18:35:26Z): Duplicate of #2395
Repository: siderolabs/talos

Issue #5823: Talos v1.1.0 crashes during boot on Proxmox
Created: 2022-06-27T21:12:10Z
Bug Report
Description
I have an old installation of Talos v0.14 on Proxmox that works. Today I tried to create a new VM with Talos v1.1.0 and it cannot boot. It crashes and reboots forever.
To ensure this is an issue with the new VM configuration, I swapped the ISO on the crashing VM with the v0.14 ISO and it worked.
The problem persists after I shut down all other VMs on the proxmox node.
Hint for those who would like to connect to a serial console on Proxmox: Add a Serial Port 0 in the Hardware section of the VM. Log in as root on the host and run qm terminal <VMID>.
Logs
talos-proxmox-crash.log
Environment

Talos version: v1.1.0
Platform: Proxmox

Duplicate issue #5797: Proxmox VM reboot with talos 1.1
Created: 2022-06-23T16:59:10Z
Bug Report
Description
reboot on proxmox vm
Logs
Environment
Proxmox

Talos version: 1.1
Kubernetes version: [kubectl version --short]
Platform:

Closing comment (2022-06-28T15:05:48Z): Duplicate of #5823
Repository: sigma67/ytmusicapi

Issue #315: [Documentation] Package ytmusicapi with pyinstaller
Created: 2022-11-11T19:43:47Z
Hi,
If you want to package ytmusicapi with pyinstaller,
you have to manually include locales directory on your build with option --add-data :
pyinstaller foo.py [...] --add-data "venv/lib/python3.10/site-packages/ytmusicapi/locales:ytmusicapi/locales

Else your build with throw this error
Traceback (most recent call last):
  File "ytmusicapi/ytmusic.py", line 105, in __init__
StopIteration
[95748] Failed to execute script 'youtube-dl' due to unhandled exception!

It should be usefull to add a section (or a FAQ) for this on documentation.

Duplicate issue #465: pyinstaller support
Created: 2023-10-26T14:11:10Z
Hello and thanks for using ytmusicapi! Please fill out the issue template below. Issues not following this template will be closed without comment. If you have a question only, please use GitHub discussions or gitter (linked in README).
**Describe the bug**
When Compiled with `pyinstaller` PATH is relative wrong

**To Reproduce**
Steps to reproduce the behavior:
1. compile any app that uses this by using pyinstaller `pyinstaller --onefile file.py`

**Additional context**
The path should be relative. idk how to fix

Closing comment (2023-10-26T14:12:45Z): Duplicate #315  #250
I am dumb
Repository: sigma67/ytmusicapi

Issue #650: Incorrect track count for playlists with 1000+ songs
Created: 2024-09-28T21:16:48Z
Hello all,
This is an issue with the regex in the playlist mixin. It causes only the first group to be returned. For example if the playlist had 3647 songs it would return 3 due to how re.search(r"\d+", song_count_text) is used.
To Reproduce
Steps to reproduce the behavior:

Find a playlist with 1000+ songs
Use the YTMusic.get_playlist() function
Print the trackCount object.
It should return only the first digit

Additional context
from ytmusicapi import YTMusic

# Initialize YouTube Music API
ytmusic = YTMusic()

PLAYLIST_ID = "XXXXXX"

# Call get_playlist
playlist = ytmusic.get_playlist(PLAYLIST_ID)

#Print trackCount to the console
print(playlist["trackCount"])

Duplicate issue #658: trackCount dictionary key from YTMusic.get_playlist returns 1 
Created: 2024-10-07T14:05:28Z
Thank you so much for the ytmusicapi, I used it for a script that removes the currently playing song from a playlist.
For one of my playlists (it is working as expected for all the others) the trackCount dictionary key from YTMusic.get_playlist returns 1.
To reproduce:
from ytmusicapi.ytmusic import YTMusic

playlistId = <'id_string'>
playlist = ytmusic.get_playlist(playlistId,None)
trackCount = playlist.get('trackCount')
trackCount always equals 1 for this playlist, even if I specify a value instead of "None" for the number of tracks to retrieve info for.
I can retrieve the proper track count by using:
trackinfo = playlist.get('tracks')
trackCount = len(trackinfo)
I'm not sure why this playlist behaves differently than the others.  It may helpful to note that the playlist was created over a year ago, has over 1000 tracks, and the playlistId end with an underscore.

Closing comment (2024-10-07T16:57:58Z): this has been fixed already, duplicate of #650