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
[Merged by Bors] - chore(Probability/Kernel/CondCdf): cleanup #10635
Conversation
mo271
commented
Feb 16, 2024
•
edited
edited
- depends on: [Merged by Bors] - feat(Data/Set/Intervals/Disjoint): i[Inter|Union]_Ii[c|o]... #10298
This PR/issue depends on: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you comment on the change of imports? Does that add many files?
Co-authored-by: Rémy Degenne <remydegenne@gmail.com>
Co-authored-by: Rémy Degenne <remydegenne@gmail.com>
Co-authored-by: Rémy Degenne <remydegenne@gmail.com>
I replaced import |
I asked around how to check imports: |
All the imports that are additionally imported recursively due to this change: https://gist.github.com/mo271/3c31f22eee38698d7bd9113f4f1b4e64 This is much longer than the output of the command you suggested:
|
The command I listed gives only the files between the two files in the command. That's indeed not the same as the files additionally imported. |
Yeah let me explain, I arrived at the list in the gist with the following commands:
So this basically list all additional edges in the import graph |
by the way, I think I will propose to add functionality to the ImportGraph package to just get a list of imports as a sorted list instead of the entire graph... |
If I understand correctly, the interesting info in the list you posted is the list of files that appear in the list of edges. Those are the files imported by the new import and not the old one. But what really interest us is the difference between the list of files imported by the union of all new imports, minus the list of files imported by the union of all old imports. It might be that Mathlib.Data.Set.Intervals.Disjoint imports many more files than Mathlib.Data.Set.Image but those files might be mostly imported by other import lines anyway. |
That makes sense, calculating only the new edges by running
twice once with the new imports in place and once with only the old imports (building lake build
So the only extra file seems to be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Thanks for investigating the import issue! It would be very nice to get a bot to do that for us on PRs.
bors d+
✌️ mo271 can now approve this pull request. To approve and merge a pull request, simply reply with |
Co-authored-by: Rémy Degenne <remydegenne@gmail.com>
bors r+ |
- [x] depends on: #10298 Co-authored-by: Moritz Firsching <firsching@google.com>
Pull request successfully merged into master. Build succeeded: |
- [x] depends on: #10298 Co-authored-by: Moritz Firsching <firsching@google.com>
- [x] depends on: #10298 Co-authored-by: Moritz Firsching <firsching@google.com>
- [x] depends on: #10298 Co-authored-by: Moritz Firsching <firsching@google.com>
- [x] depends on: #10298 Co-authored-by: Moritz Firsching <firsching@google.com>