issue_comments
8 rows where author_association = "MEMBER" and issue = 519490511 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- Tests for module-level functions with units · 8 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 554370601 | https://github.com/pydata/xarray/pull/3493#issuecomment-554370601 | https://api.github.com/repos/pydata/xarray/issues/3493 | MDEyOklzc3VlQ29tbWVudDU1NDM3MDYwMQ== | keewis 14808389 | 2019-11-15T14:04:41Z | 2019-11-15T14:49:32Z | MEMBER | ahh, now this
We didn't go back & forth re fixtures yet. I'll also investigate the overlap, but I think it's only partial. |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Tests for module-level functions with units 519490511 | |
| 554222017 | https://github.com/pydata/xarray/pull/3493#issuecomment-554222017 | https://api.github.com/repos/pydata/xarray/issues/3493 | MDEyOklzc3VlQ29tbWVudDU1NDIyMjAxNw== | max-sixty 5635139 | 2019-11-15T05:46:14Z | 2019-11-15T05:46:14Z | MEMBER | Overall the tests are great, and the breadth of coverage is impressive. That's more important than their form! The way I was thinking about leveraging existing tests is that there are a) some tests that test existing functions at least run on pint-backed arrays and b) some tests that test whether the units work correctly when used in xarray Any opportunities to use existing code would be on (a). In the above linked
Yes, there's some repetition. Did we go back & forth before re putting some of the duplicated setup in fixtures? That could cut down some boilerplate if there's a lot of overlap (though if there's only partial overlap, also increase complication, as you point out) |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Tests for module-level functions with units 519490511 | |
| 554113722 | https://github.com/pydata/xarray/pull/3493#issuecomment-554113722 | https://api.github.com/repos/pydata/xarray/issues/3493 | MDEyOklzc3VlQ29tbWVudDU1NDExMzcyMg== | keewis 14808389 | 2019-11-14T22:36:51Z | 2019-11-14T22:36:51Z | MEMBER | hmm... well, I certainly agree the tests are often quite verbose (maybe too verbose) and sometimes also test functionality of pint (e.g. when incompatible, compatible and identical units are tried). I didn't check, but I don't remember any overlaps with tests from To reduce the code, it might be worth to only test compatible units. We could also try to use helper functions for data creation, but while that reduces the code it also makes understanding it a little bit harder. If Reusing tests from |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Tests for module-level functions with units 519490511 | |
| 554034633 | https://github.com/pydata/xarray/pull/3493#issuecomment-554034633 | https://api.github.com/repos/pydata/xarray/issues/3493 | MDEyOklzc3VlQ29tbWVudDU1NDAzNDYzMw== | max-sixty 5635139 | 2019-11-14T19:09:55Z | 2019-11-14T19:09:55Z | MEMBER | I was predominately suggesting that as a way of saving your time & code on the margin ( As from any time or code savings, I think that it's not strictly necessary to test |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Tests for module-level functions with units 519490511 | |
| 553996209 | https://github.com/pydata/xarray/pull/3493#issuecomment-553996209 | https://api.github.com/repos/pydata/xarray/issues/3493 | MDEyOklzc3VlQ29tbWVudDU1Mzk5NjIwOQ== | keewis 14808389 | 2019-11-14T17:36:14Z | 2019-11-14T17:37:10Z | MEMBER | thanks for reviewing, @max-sixty I did not plan to add tests for I don't think inheritance will help much, but that example could definitely be used as a reference / inspiration. |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Tests for module-level functions with units 519490511 | |
| 553681522 | https://github.com/pydata/xarray/pull/3493#issuecomment-553681522 | https://api.github.com/repos/pydata/xarray/issues/3493 | MDEyOklzc3VlQ29tbWVudDU1MzY4MTUyMg== | max-sixty 5635139 | 2019-11-14T01:28:07Z | 2019-11-14T01:28:07Z | MEMBER | While it won't cover all the use cases, check out https://github.com/pydata/xarray/blob/master/xarray/tests/test_variable.py#L1819 when you get a chance; it's possible that inheriting from that test with a pint array might give you some tests for free |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Tests for module-level functions with units 519490511 | |
| 553680619 | https://github.com/pydata/xarray/pull/3493#issuecomment-553680619 | https://api.github.com/repos/pydata/xarray/issues/3493 | MDEyOklzc3VlQ29tbWVudDU1MzY4MDYxOQ== | max-sixty 5635139 | 2019-11-14T01:24:15Z | 2019-11-14T01:24:15Z | MEMBER | Thanks a lot as ever @keewis ! |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Tests for module-level functions with units 519490511 | |
| 552154627 | https://github.com/pydata/xarray/pull/3493#issuecomment-552154627 | https://api.github.com/repos/pydata/xarray/issues/3493 | MDEyOklzc3VlQ29tbWVudDU1MjE1NDYyNw== | keewis 14808389 | 2019-11-10T01:54:38Z | 2019-11-10T13:48:51Z | MEMBER | this should be ready for review and merge, unless anyone wants tests for I will add tests for Edit: the failing |
{
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Tests for module-level functions with units 519490511 |
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 2