Skip to content

Add a QQBar interface to GAP#4952

Merged
fingolfin merged 3 commits intooscar-system:masterfrom
ThomasBreuer:TB_QQBarForGap
Jun 4, 2025
Merged

Add a QQBar interface to GAP#4952
fingolfin merged 3 commits intooscar-system:masterfrom
ThomasBreuer:TB_QQBarForGap

Conversation

@ThomasBreuer
Copy link
Copy Markdown
Member

(addresses issue #4948)

If we decide that the code should be inside the OscarInterface package then this is the occasion to start a package manual for OscarInterface.

@ThomasBreuer ThomasBreuer requested a review from fingolfin June 3, 2025 12:02
@ThomasBreuer ThomasBreuer added enhancement New feature or request package: GAP release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes labels Jun 3, 2025
Comment thread gap/pkg/OscarInterface/gap/QQBar.gi Outdated
Copy link
Copy Markdown
Member

@fingolfin fingolfin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic, that was quick.

Comment thread gap/pkg/OscarInterface/gap/QQBar.gi Outdated
Comment thread gap/pkg/OscarInterface/gap/QQBar.gi Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.87%. Comparing base (33abd3b) to head (1a371a6).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4952      +/-   ##
==========================================
- Coverage   84.88%   84.87%   -0.01%     
==========================================
  Files         697      697              
  Lines       93925    93932       +7     
==========================================
  Hits        79725    79725              
- Misses      14200    14207       +7     
Files with missing lines Coverage Δ
src/Oscar.jl 62.82% <ø> (ø)

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- assign `QQBarFieldElementMatrixType` at load time
- omit unnecessary `JuliaPointer` calls
- Do not use `Oscar_jl.eval`, it will result in error messages:
  ERROR: LoadError: InitError: Error thrown by GAP: Error, Evaluation into the closed module `Oscar` breaks incremental compilation because the side effects will not be permanent. This is likely due to some other module mutating `Oscar` with `eval` during precompilation - don't do this.
- Instead, bind the constant in question in Oscar's Julia code.
  (For that, rename `gap/pkg/OscarInterface/julia/alnuth.jl` to `gap/pkg/OscarInterface/julia/constants.jl`,
  and rename the Julia module from `Alnuth` to `OscarInterfaceConstants`.
@fingolfin fingolfin merged commit 7f0c3c7 into oscar-system:master Jun 4, 2025
34 of 35 checks passed
@ThomasBreuer ThomasBreuer deleted the TB_QQBarForGap branch June 4, 2025 13:17
@lgoettgens lgoettgens changed the title add a QQBar interface to GAP Add a QQBar interface to GAP Jun 4, 2025
@lgoettgens lgoettgens removed the enhancement New feature or request label Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: GAP release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants