Skip to content

Construct FiniteSkeletalDiscreteCategory from a single integer argument - #1871

Open
TKuh wants to merge 3 commits into
homalg-project:masterfrom
TKuh:finite_skeletal_cat
Open

Construct FiniteSkeletalDiscreteCategory from a single integer argument#1871
TKuh wants to merge 3 commits into
homalg-project:masterfrom
TKuh:finite_skeletal_cat

Conversation

@TKuh

@TKuh TKuh commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

And not from a list of GAP objects. This streamlines it with SkeletaFinSets.

Additionally, set overhead := false in an example, to (hopefully) increase the code coverage.

TKuh added 3 commits August 4, 2026 21:45
so that the actual installed function for IsEqualForMorphisms
is executed and not just its redirect function.
@codecov

codecov Bot commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.73684% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 80.77%. Comparing base (9c6986f) to head (e259749).

Files with missing lines Patch % Lines
CAP/gap/FiniteSkeletalDiscreteCategory.gi 92.85% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1871   +/-   ##
=======================================
  Coverage   80.76%   80.77%           
=======================================
  Files         589      589           
  Lines       86321    86326    +5     
=======================================
+ Hits        69720    69726    +6     
+ Misses      16601    16600    -1     
Flag Coverage Δ
ActionsForCAP 64.04% <ø> (ø)
AdditiveClosuresForCAP 80.70% <ø> (ø)
AttributeCategoryForCAP 90.45% <ø> (ø)
CAP 86.37% <94.73%> (+<0.01%) ⬆️
CartesianCategories 84.25% <ø> (ø)
CompilerForCAP 95.39% <ø> (ø)
ComplexesAndFilteredObjectsForCAP 73.56% <ø> (ø)
FreydCategoriesForCAP 83.16% <ø> (ø)
GeneralizedMorphismsForCAP 61.73% <ø> (ø)
GradedModulePresentationsForCAP 44.78% <ø> (ø)
GroupRepresentationsForCAP 73.85% <ø> (ø)
GroupsAsCategoriesForCAP 90.90% <ø> (ø)
HomologicalAlgebraForCAP 73.21% <ø> (ø)
InternalExteriorAlgebraForCAP 93.09% <ø> (ø)
LinearAlgebraForCAP 56.00% <ø> (ø)
LinearClosuresForCAP 36.36% <ø> (ø)
ModulePresentationsForCAP 75.05% <ø> (ø)
ModulesOverLocalRingsForCAP 90.70% <ø> (ø)
MonoidalCategories 90.14% <ø> (ø)
ToricSheaves 21.79% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

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

@mohamed-barakat mohamed-barakat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't like this PR because

  • it is downgrading an existing functionality
  • the numbering is not compatible with SkeletalFinSets but with SkeletalFinSets1.

As you see from the PR, the body of the implementation did not change, so you can use it to create three different constructors, or one constructor with internals depending on the input:

  1. the old behavior with an input list
  2. n means [ 0 .. n-1 ]
  3. n means [ 1 .. n ]

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