Repository navigation
[Merged by Bors] - chore(MathlibTest): temporarily disable two slow library suggestion tests - #44318
Closed
marcelolynch wants to merge 2 commits into
Closed
marcelolynch wants to merge 2 commits into
marcelolynch wants to merge 2 commits into
Conversation
Disable `MathlibTest/LibrarySuggestions/sineQuaNon.lean` and `MathlibTest/symbolFrequency.lean` until lean4#15392 is fixed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
PR summary e3fb1f6a41Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (strong) |
|---|---|---|
| 390 | 2 | adaptation notes |
Current commit e3fb1f6a41
Reference commit 1b5006ca00
This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.py pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
bors merge |
mathlib-bors Bot
pushed a commit
that referenced
this pull request
Sep 29, 2026
…ests (#44318) This PR disables two tests until leanprover/lean4#15392 is fixed: - `MathlibTest/LibrarySuggestions/sineQuaNon.lean` - `MathlibTest/symbolFrequency.lean` Since v4.35.0-rc2 (lean4#15159), Lean builds the Sine Qua Non indexes on the first query in each process. With `import Mathlib`, this takes minutes on one thread. In CI, `sineQuaNon` takes about 520 s and `symbolFrequency` takes about 250 s. All the other test files finish in about 107 s. Thus these two files set the duration of the `test mathlib` step, and the test and lint job is the slowest part of CI. Each file keeps its `import Mathlib` and its original body as comments. An `#adaptation_note` gives the reason. After the toolchain bump that includes the fix (lean4#15391), uncomment the body to enable the test again. The two files compile without messages locally. Discussion: [#lean4 > lean4#15159 causes significant regression in MathlibTests](https://leanprover.zulipchat.com/#narrow/channel/270676-lean4/topic/lean4.2315159.20causes.20significant.20regression.20in.20MathlibTests/with/627571608)
Contributor
|
Build failed (retrying...): |
mathlib-bors Bot
pushed a commit
that referenced
this pull request
Sep 29, 2026
…ests (#44318) This PR disables two tests until leanprover/lean4#15392 is fixed: - `MathlibTest/LibrarySuggestions/sineQuaNon.lean` - `MathlibTest/symbolFrequency.lean` Since v4.35.0-rc2 (lean4#15159), Lean builds the Sine Qua Non indexes on the first query in each process. With `import Mathlib`, this takes minutes on one thread. In CI, `sineQuaNon` takes about 520 s and `symbolFrequency` takes about 250 s. All the other test files finish in about 107 s. Thus these two files set the duration of the `test mathlib` step, and the test and lint job is the slowest part of CI. Each file keeps its `import Mathlib` and its original body as comments. An `#adaptation_note` gives the reason. After the toolchain bump that includes the fix (lean4#15391), uncomment the body to enable the test again. The two files compile without messages locally. Discussion: [#lean4 > lean4#15159 causes significant regression in MathlibTests](https://leanprover.zulipchat.com/#narrow/channel/270676-lean4/topic/lean4.2315159.20causes.20significant.20regression.20in.20MathlibTests/with/627571608)
Contributor
|
Pull request successfully merged into master. Build succeeded: |
ooovi
pushed a commit
to ooovi/mathlib4
that referenced
this pull request
Oct 12, 2026
…ests (leanprover-community#44318) This PR disables two tests until leanprover/lean4#15392 is fixed: - `MathlibTest/LibrarySuggestions/sineQuaNon.lean` - `MathlibTest/symbolFrequency.lean` Since v4.35.0-rc2 (lean4#15159), Lean builds the Sine Qua Non indexes on the first query in each process. With `import Mathlib`, this takes minutes on one thread. In CI, `sineQuaNon` takes about 520 s and `symbolFrequency` takes about 250 s. All the other test files finish in about 107 s. Thus these two files set the duration of the `test mathlib` step, and the test and lint job is the slowest part of CI. Each file keeps its `import Mathlib` and its original body as comments. An `#adaptation_note` gives the reason. After the toolchain bump that includes the fix (lean4#15391), uncomment the body to enable the test again. The two files compile without messages locally. Discussion: [#lean4 > lean4#15159 causes significant regression in MathlibTests](https://leanprover.zulipchat.com/#narrow/channel/270676-lean4/topic/lean4.2315159.20causes.20significant.20regression.20in.20MathlibTests/with/627571608)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR disables two tests until leanprover/lean4#15392 is fixed:
MathlibTest/LibrarySuggestions/sineQuaNon.leanMathlibTest/symbolFrequency.leanSince v4.35.0-rc2 (lean4#15159), Lean builds the Sine Qua Non indexes on the first query in each process. With
import Mathlib, this takes minutes on one thread. In CI,sineQuaNontakes about 520 s andsymbolFrequencytakes about 250 s. All the other test files finish in about 107 s. Thus these two files set the duration of thetest mathlibstep, and the test and lint job is the slowest part of CI.Each file keeps its
import Mathliband its original body as comments. An#adaptation_notegives the reason. After the toolchain bump that includes the fix (lean4#15391), uncomment the body to enable the test again.The two files compile without messages locally.
Discussion: #lean4 > lean4#15159 causes significant regression in MathlibTests