issue_comments
10 rows where issue = 945226829 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- Add option to pass callable assertion failure message generator · 10 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
881969320 | https://github.com/pydata/xarray/pull/5607#issuecomment-881969320 | https://api.github.com/repos/pydata/xarray/issues/5607 | IC_kwDOAMm_X840kcio | shoyer 1217238 | 2021-07-17T22:39:02Z | 2021-07-17T22:39:02Z | MEMBER |
I'm mostly thinking of the precedent from the standard library's unittest library and numpy.testing. It does indeed add a bit of expense to add a custom message, but I guess it's generally acceptable for testing? If not, I would kind of expect to add support for callables in those libraries first. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add option to pass callable assertion failure message generator 945226829 | |
881967812 | https://github.com/pydata/xarray/pull/5607#issuecomment-881967812 | https://api.github.com/repos/pydata/xarray/issues/5607 | IC_kwDOAMm_X840kcLE | max-sixty 5635139 | 2021-07-17T22:25:54Z | 2021-07-17T22:25:54Z | MEMBER | @naught101 to what extent do you think your wants are idiosyncratic vs. better overall? To the extent this is for things that would make the function better for all, then one option is to implement them; e.g. add Possibly that reduces the opportunity to experiment though? People could probably monkey-patch the function in their own environments if they want. And I think we can also be fairly liberal about merging changes given the output is read by people. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add option to pass callable assertion failure message generator 945226829 | |
881943840 | https://github.com/pydata/xarray/pull/5607#issuecomment-881943840 | https://api.github.com/repos/pydata/xarray/issues/5607 | IC_kwDOAMm_X840kWUg | github-actions[bot] 41898282 | 2021-07-17T18:54:01Z | 2021-07-17T18:54:01Z | CONTRIBUTOR | Unit Test Results6 files 6 suites 53m 43s :stopwatch: 16 172 tests 14 421 :heavy_check_mark: 1 731 :zzz: 20 :x: 90 228 runs 81 957 :heavy_check_mark: 8 151 :zzz: 120 :x: For more details on these failures, see this check. Results for commit fe39e36e. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add option to pass callable assertion failure message generator 945226829 | |
881859823 | https://github.com/pydata/xarray/pull/5607#issuecomment-881859823 | https://api.github.com/repos/pydata/xarray/issues/5607 | IC_kwDOAMm_X840kBzv | naught101 167164 | 2021-07-17T08:51:12Z | 2021-07-17T08:51:12Z | NONE | @shoyer That would either not work, or be needlessly expensive, I think. The message generation might be expensive (e.g. if I want a sum or mean of the differences). With a call back it only happens if it is needed. With a pre-computed message it would be computed every time.. Correct me if I'm wrong. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add option to pass callable assertion failure message generator 945226829 | |
881556130 | https://github.com/pydata/xarray/pull/5607#issuecomment-881556130 | https://api.github.com/repos/pydata/xarray/issues/5607 | IC_kwDOAMm_X840i3qi | shoyer 1217238 | 2021-07-16T16:04:42Z | 2021-07-16T16:04:42Z | MEMBER | I think the more standard way to handle this is to add an argument for supplying an auxiliary |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add option to pass callable assertion failure message generator 945226829 | |
881170326 | https://github.com/pydata/xarray/pull/5607#issuecomment-881170326 | https://api.github.com/repos/pydata/xarray/issues/5607 | IC_kwDOAMm_X840hZeW | naught101 167164 | 2021-07-16T04:37:24Z | 2021-07-16T11:35:40Z | NONE | @TomNicholas My particular use case is that have datasets that are large enough that I can't see the full diff, so might miss major changes. I'm wanting to pass in something like I know I could set the tolerances higher, but the changes are not numerical errors, and I want to see them before updating the test data that they are comparing against. Entirely possible that there are better ways to do this, of course :) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add option to pass callable assertion failure message generator 945226829 | |
881269881 | https://github.com/pydata/xarray/pull/5607#issuecomment-881269881 | https://api.github.com/repos/pydata/xarray/issues/5607 | IC_kwDOAMm_X840hxx5 | max-sixty 5635139 | 2021-07-16T08:23:52Z | 2021-07-16T08:23:52Z | MEMBER |
Whether or not we merge this, I would be a +1 on improving the output of the canonical function better, such that we can see differences easily. I would also imagine we can iterate on those without worrying about backward-compat, given this is generating output for people. As an example, printing the result of the exact statement above for large arrays, maybe also with dimension values, would be great! |
{ "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add option to pass callable assertion failure message generator 945226829 | |
880886578 | https://github.com/pydata/xarray/pull/5607#issuecomment-880886578 | https://api.github.com/repos/pydata/xarray/issues/5607 | MDEyOklzc3VlQ29tbWVudDg4MDg4NjU3OA== | keewis 14808389 | 2021-07-15T17:36:08Z | 2021-07-15T18:10:44Z | MEMBER |
|
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add option to pass callable assertion failure message generator 945226829 | |
880889091 | https://github.com/pydata/xarray/pull/5607#issuecomment-880889091 | https://api.github.com/repos/pydata/xarray/issues/5607 | MDEyOklzc3VlQ29tbWVudDg4MDg4OTA5MQ== | max-sixty 5635139 | 2021-07-15T17:40:11Z | 2021-07-15T17:40:11Z | MEMBER | (if we do this we should make it kwarg-only) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add option to pass callable assertion failure message generator 945226829 | |
880810763 | https://github.com/pydata/xarray/pull/5607#issuecomment-880810763 | https://api.github.com/repos/pydata/xarray/issues/5607 | MDEyOklzc3VlQ29tbWVudDg4MDgxMDc2Mw== | TomNicholas 35968931 | 2021-07-15T15:53:20Z | 2021-07-15T15:53:20Z | MEMBER | Thanks for this suggestion @naught101 - can you give an example use case for this within the xarray codebase? Or are you just making a general suggestion of something we might find useful? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add option to pass callable assertion failure message generator 945226829 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] ( [html_url] TEXT, [issue_url] TEXT, [id] INTEGER PRIMARY KEY, [node_id] TEXT, [user] INTEGER REFERENCES [users]([id]), [created_at] TEXT, [updated_at] TEXT, [author_association] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [issue] INTEGER REFERENCES [issues]([id]) ); CREATE INDEX [idx_issue_comments_issue] ON [issue_comments] ([issue]); CREATE INDEX [idx_issue_comments_user] ON [issue_comments] ([user]);
user 6