Add data source LU1 (Luxembourg STATEC)
Adds the Luxembourg national statistical office (STATEC, dissemination platform LUSTAT) as data source LU1.
LU1 is the service's own SDMX agency id — every dataflow and structure is maintained under it — so a bare Client("LU1").dataflow() works without an explicit agency_id.
I'm Dinh Nguyen-Xuan, from the Statistics Department of the International Monetary Fund. I really appreciate the sdmx1 package and am exploring ways to help enhance it.
PR checklist
- [x] Checks all ✅
- [x] Update documentation
- [x] Update doc/whatsnew.rst
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 98.27%. Comparing base (5468692) to head (18743dc).
:warning: Report is 9 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #283 +/- ##
==========================================
- Coverage 99.04% 98.27% -0.77%
==========================================
Files 116 116
Lines 9503 9507 +4
==========================================
- Hits 9412 9343 -69
- Misses 91 164 +73
| Files with missing lines | Coverage Δ | |
|---|---|---|
| sdmx/tests/test_source.py | 100.00% <100.00%> (ø) |
|
| sdmx/tests/test_sources.py | 93.33% <100.00%> (-3.05%) |
:arrow_down: |
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Thanks for identifying this new source, and I'm glad to hear the package is useful for you and that you're interested to make further contributions!
FYI, while I have not yet made a specific decision to prohibit contributions created using ‘AI’ tools, I will very likely do so in the near future, probably by adopting a code of conduct that makes clear why their use is not acceptable.
Please keep in mind that the best way to support volunteer maintainers of useful open-source packages (such as me) is to remember and respect that we have limited time, and show that respect by thinking about how your actions (including, but not limited to, your choice to use ‘AI’ tools) affect others.
In this case:
- There is a PR #282, seemingly a duplicate of this one, that was closed without comment, and without explaining why this new one was needed (instead of rewriting the original branch).
- You used Copilot to generate several hundred words of comments and suggested changes to your code.
- You wrote several hundred words of comments in ‘reply’ to Copilot.
I have not read through (2) and (3) in detail, as I sense that would be a waste of my time. I sense from a quick skim that your replies (3) are rejecting the Copilot outputs (2), so there is no actual effect on the code; the changes in the original commits are the ones that I should actually review. Puzzling over (1) also consumed some of my time.
If my finite time was wasted looking at the Copilot output or your prompts to it, I would be left with less or no time to actually interact with the human contributor, i.e. you. Likewise, when you spend time writing ‘to’ Copilot, you are sacrificing time you could spend communicating with me.
For a contrasting example of good practice, see #225 opened by (I believe) a colleague of yours. Notice that there are several long comments from both him and I, in which we think about the information that we need to share with the other person and how best to do that. Unlike reading AI output, this kind of communication is valuable and a productive use of time.
In any case, I will try to review and merge this PR.
However, please:
- Don't use Copilot or similar tools in the future.
- If "exploring ways to help enhance [sdmx1]" means "vibe-coding" or other use of coding agents or AI tools—don't do that, as they won't be accepted.
- On the other hand, if you have in mind specific areas (or existing issues) where you'd like to contribute your own work, please let me know which those are, and I will gladly help you get started.
Thanks for identifying this new source, and I'm glad to hear the package is useful for you and that you're interested to make further contributions!
FYI, while I have not yet made a specific decision to prohibit contributions created using ‘AI’ tools, I will very likely do so in the near future, probably by adopting a code of conduct that makes clear why their use is not acceptable.
Please keep in mind that the best way to support volunteer maintainers of useful open-source packages (such as me) is to remember and respect that we have limited time, and show that respect by thinking about how your actions (including, but not limited to, your choice to use ‘AI’ tools) affect others.
In this case:
- There is a PR Add data source LU1 (Luxembourg STATEC) #282, seemingly a duplicate of this one, that was closed without comment, and without explaining why this new one was needed (instead of rewriting the original branch).
- You used Copilot to generate several hundred words of comments and suggested changes to your code.
- You wrote several hundred words of comments in ‘reply’ to Copilot.
I have not read through (2) and (3) in detail, as I sense that would be a waste of my time. I sense from a quick skim that your replies (3) are rejecting the Copilot outputs (2), so there is no actual effect on the code; the changes in the original commits are the ones that I should actually review. Puzzling over (1) also consumed some of my time.
If my finite time was wasted looking at the Copilot output or your prompts to it, I would be left with less or no time to actually interact with the human contributor, i.e. you. Likewise, when you spend time writing ‘to’ Copilot, you are sacrificing time you could spend communicating with me.
For a contrasting example of good practice, see #225 opened by (I believe) a colleague of yours. Notice that there are several long comments from both him and I, in which we think about the information that we need to share with the other person and how best to do that. Unlike reading AI output, this kind of communication is valuable and a productive use of time.
In any case, I will try to review and merge this PR.
However, please:
- Don't use Copilot or similar tools in the future.
- If "exploring ways to help enhance [sdmx1]" means "vibe-coding" or other use of coding agents or AI tools—don't do that, as they won't be accepted.
- On the other hand, if you have in mind specific areas (or existing issues) where you'd like to contribute your own work, please let me know which those are, and I will gladly help you get started.
Thank you very much for your time, and I sincerely apologize for the confusion.
When I opened PR #282, I didn't realize GitHub would automatically trigger a Copilot review. I was confused by the automated output, which is why I closed the original PR and tried opening a new one. When Copilot popped up again on the new PR, I honestly had no idea how to turn it off. I figured it must be a required check for the sdmx1 repo, so I just did my best to reply to its comments.
I have since reconfigured my GitHub settings, so Copilot will not generate automated reviews on my pull requests moving forward. I apologize again for the extra noise. I haven't been active on GitHub for a while and wasn't caught up on these new AI integration features. I completely agree with your stance on AI-generated content and deeply respect your time as a maintainer.
To avoid any further issues, I will make sure to open an issue to provide context and discuss any bugs or features with you before submitting a new PR. Thank you also for letting me know about my colleague’s contributions to the repository; I will be sure to coordinate with him on related issues in the future.
Thank you again for your patience and for your work on this package.
When I opened PR https://github.com/khaeru/sdmx/pull/282, I didn't realize GitHub would automatically trigger a Copilot review. I was confused by the automated output, which is why I closed the original PR and tried opening a new one. When Copilot popped up again on the new PR, I honestly had no idea how to turn it off. I figured it must be a required check for the sdmx1 repo, so I just did my best to reply to its comments.
I have since reconfigured my GitHub settings, so Copilot will not generate automated reviews on my pull requests moving forward. I apologize again for the extra noise. I haven't been active on GitHub for a while and wasn't caught up on these new AI integration features. I completely agree with your stance on AI-generated content and deeply respect your time as a maintainer.
OK, thanks for explaining. I'm aware that Microsoft (GitHub) have been very aggressive about automatically enabling both (a) permissions on repos to receive/accept Copilot reviews and (b) individual contributors' accounts to generate/request such reviews. They do not make it obvious or easy to turn these off. I will also see if there is anything I can do in the sdmx1 settings to prevent them.