Skip to content
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

More conformance tests, fix some corner cases #1883

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

fingolfin
Copy link
Member

@fingolfin fingolfin commented Oct 8, 2024

No description provided.

@fingolfin fingolfin marked this pull request as draft October 8, 2024 06:49
@fingolfin
Copy link
Member Author

This reports what looks like a genuine issue but I did not yet have time to look into it. Specifically fpRelPowerSeriesRingElem.conformance_tests fails with

  Expression: base_ring_type(R) == typeof(base_ring(R))
   Evaluated: zzModRing == fpField

@lgoettgens

This comment was marked as off-topic.

@lgoettgens
Copy link
Collaborator

I cherry-picked #1884 on top of this branch to see what failure CI runs into next

@lgoettgens
Copy link
Collaborator

The next failure is due to a wrong neg! method in #1869. This branch would need to get rebased for us to even be able to fix it.

@fingolfin fingolfin force-pushed the mh/conformance-more branch 2 times, most recently from 2c7f642 to 8c52790 Compare October 8, 2024 16:58
src/flint/fmpz_mod.jl Outdated Show resolved Hide resolved
@fingolfin fingolfin force-pushed the mh/conformance-more branch 3 times, most recently from 0b10ec8 to 2b6c23f Compare October 8, 2024 20:02
Copy link

codecov bot commented Oct 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.65%. Comparing base (e2c1ddf) to head (e7e611e).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1883      +/-   ##
==========================================
+ Coverage   87.25%   87.65%   +0.39%     
==========================================
  Files          97       97              
  Lines       35753    35759       +6     
==========================================
+ Hits        31197    31343     +146     
+ Misses       4556     4416     -140     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fingolfin fingolfin marked this pull request as ready for review October 8, 2024 23:37
src/Nemo.jl Outdated Show resolved Hide resolved

Syy, yy = polynomial_ring(Native.GF(ZZRingElem(36893488147419103363)), "y")
T2, z2 = Native.finite_field(yy^2 + 1, "z")
test_Field_interface_recursive(T2)
Copy link
Collaborator

Choose a reason for hiding this comment

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

why did you remove the above tests?

Copy link
Member Author

Choose a reason for hiding this comment

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

I removed them because they seemed to be redundant: they all test a FqPolyRepField, just constructed in different ways. But we already test the constructors elsewhere, and for testing the ring conformance, it shouldn't matter how we constructed the field.

@fingolfin fingolfin changed the title More conformance tests More conformance tests, fix some corner cases Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants