Thanks to visit codestin.com
Credit goes to github.com

Skip to content

passagemath-latte-4ti2 - Lattice points in polyhedra with LattE integrale and 4ti2 (Python interfaces) #241

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

Open
16 of 32 tasks
mkoeppe opened this issue May 6, 2025 · 1 comment

Comments

@mkoeppe
Copy link

mkoeppe commented May 6, 2025

Submitting Author: (@mkoeppe)
All current maintainers: (@mkoeppe)
Package Name: passagemath-latte-4ti2
One-Line Description of Package: Lattice points in polyhedra with LattE integrale and 4ti2 (Python interfaces)
Repository Link: https://github.com/passagemath/passagemath/tree/main/pkgs/sagemath-latte-4ti2
Version submitted: 10.5.30
EiC: @coatless
Editor: TBD
Reviewer 1: TBD
Reviewer 2: TBD
Archive: TBD
JOSS DOI: TBD
Version accepted: TBD
Date accepted (month/day/year): TBD


Code of Conduct & Commitment to Maintain Package

Description

  • Include a brief paragraph describing what your package does:

    Python interface to LattE integrale (for the problems of counting lattice points in and integration over convex polytopes) and 4ti2 (for algebraic, geometric and combinatorial problems on linear spaces). This package is one of the modularized distribution packages of the Sage library developed by the passagemath project.

Scope

  • Please indicate which category or categories.
    Check out our package scope page to learn more about our
    scope. (If you are unsure of which category you fit, we suggest you make a pre-submission inquiry):

    • Data retrieval
    • Data extraction
    • Data processing/munging
    • Data deposition
    • Data validation and testing
    • Data visualization1
    • Workflow automation
    • Citation management and bibliometrics
    • Scientific software wrappers
    • Database interoperability

Domain Specific

  • Geospatial
  • Education

Community Partnerships

If your package is associated with an
existing community please check below:

  • For all submissions, explain how and why the package falls under the categories you indicated above. In your explanation, please address the following points (briefly, 1-2 sentences for each):

    • Who is the target audience and what are scientific applications of this package?

Mathematicians, scientists, and engineers who need to count or enumerate integer solutions to systems of linear equations and inequalities.

  • Are there other Python packages that accomplish the same thing? If so, how does yours differ?

https://github.com/alfsan/Py4ti2 is a Python interface to the 4ti2 library; I have no experience with this interface, and it is not in use in the Sage library. https://github.com/Normaliz/PyNormaliz is a Python interface to the Normaliz library, which I also help maintain, whose functionality overlaps with that of both 4ti2 and LattE integrale, and it is also in use in the Sage library.

  • If you made a pre-submission enquiry, please paste the link to the corresponding issue, forum post, or other discussion, or @tag the editor you contacted:

Technical checks

For details about the pyOpenSci packaging requirements, see our packaging guide. Confirm each of the following by checking the box. This package:

  • does not violate the Terms of Service of any service it interacts with.
  • uses an OSI approved license.
  • contains a README with instructions for installing the development version.
  • includes documentation with examples for all functions.
  • contains a tutorial with examples of its essential functions and uses.
  • has a test suite.
  • has continuous integration setup, such as GitHub Actions CircleCI, and/or others.

Publication Options

JOSS Checks
  • The package has an obvious research application according to JOSS's definition in their submission requirements. Be aware that completing the pyOpenSci review process does not guarantee acceptance to JOSS. Be sure to read their submission requirements (linked above) if you are interested in submitting to JOSS.
  • The package is not a "minor utility" as defined by JOSS's submission requirements: "Minor ‘utility’ packages, including ‘thin’ API clients, are not acceptable." pyOpenSci welcomes these packages under "Data Retrieval", but JOSS has slightly different criteria.
  • The package contains a paper.md matching JOSS's requirements with a high-level description in the package root or in inst/.
  • The package is deposited in a long-term repository with the DOI:

Note: JOSS accepts our review as theirs. You will NOT need to go through another full review. JOSS will only review your paper.md file. Be sure to link to this pyOpenSci issue when a JOSS issue is opened for your package. Also be sure to tell the JOSS editor that this is a pyOpenSci reviewed package once you reach this step.

Are you OK with Reviewers Submitting Issues and/or pull requests to your Repo Directly?

This option will allow reviewers to open smaller issues that can then be linked to PR's rather than submitting a more dense text based review. It will also allow you to demonstrate addressing the issue via PR links.

  • Yes I am OK with reviewers submitting requested changes as issues to my repo. Reviewers will then link to the issues in their submitted review.

Confirm each of the following by checking the box.

  • I have read the author guide.
  • I expect to maintain this package for at least 2 years and can help find a replacement for the maintainer (team) if needed.

Please fill out our survey

P.S. Have feedback/comments about our review process? Leave a comment here

Editor and Review Templates

The editor template can be found here.

The review template can be found here.

Footnotes

  1. Please fill out a pre-submission inquiry before submitting a data visualization package.

@coatless
Copy link

coatless commented May 7, 2025

Editor in Chief checks

Hi there! Thank you for submitting your package for pyOpenSci
review. Below are the basic checks that your package needs to pass
to begin our review. If some of these are missing, we will ask you
to work on them before the review process begins.

Please check our Python packaging guide for more information on the elements
below.

  • Installation The package can be installed from a community repository such as PyPI (preferred), and/or a community channel on conda (e.g. conda-forge, bioconda).
    • The package imports properly into a standard Python environment import package.
  • Fit The package meets criteria for fit and overlap.
  • Documentation The package has sufficient online documentation to allow us to evaluate package function and scope without installing the package. This includes:
    • User-facing documentation that overviews how to install and start using the package.
    • Short tutorials that help a user understand how to use the package and what it can do for them.
    • API documentation (documentation for your code's functions, classes, methods and attributes): this includes clearly written docstrings with variables defined using a standard docstring format.
  • Core GitHub repository Files
    • [] README The package has a README.md file with clear explanation of what the package does, instructions on how to install it, and a link to development instructions.
    • Contributing File The package has a CONTRIBUTING.md file that details how to install and contribute to the package.
    • Code of Conduct The package has a CODE_OF_CONDUCT.md file.
    • License The package has an OSI approved license.
      NOTE: We prefer that you have development instructions in your documentation too.
  • Issue Submission Documentation All of the information is filled out in the YAML header of the issue (located at the top of the issue template).
  • Automated tests Package has a testing suite and is tested via a Continuous Integration service.
  • Repository The repository link resolves correctly.
  • Package overlap The package doesn't entirely overlap with the functionality of other packages that have already been submitted to pyOpenSci.
  • Archive (JOSS only, may be post-review): The repository DOI resolves correctly.
  • Version (JOSS only, may be post-review): Does the release version given match the GitHub release (v1.0.0)?

  • Initial onboarding survey was filled out
    We appreciate each maintainer of the package filling out this survey individually. 🙌
    Thank you authors in advance for setting aside five to ten minutes to do this. It truly helps our organization. 🙌


Editor comments

Hi @mkoeppe, thanks for submitting your package!

Scope

This seems too narrow in scope to just review the latte-4ti2 extension due to the monolithic repository structure. In this case, it may make more sense to target more modules of passagemath-standard due to the linked repository symlinked into a large ecosystem setup here:

https://github.com/passagemath/passagemath/tree/main/src/sage

What are you thoughts on the best way to proceed here?

Installation Instructions

Please modify the README.md to include installation instructions for passagemath-latte-4ti2.

https://pypi.org/project/passagemath-latte-4ti2/

That is:

pip install -v --prefer-binary passagemath-latte-4ti2

README

Overall

Please make sure to incorporate

Badges for the packages current published version, documentation and test suite build. (OPTIONAL: test coverage)

A few descriptive links to any tutorials you've created for your package.

https://www.pyopensci.org/python-package-guide/documentation/repository-files/readme-file-best-practices.html

Quick-start code example

Please try to include an in-interpreter quick-start code example when possible, e.g. a better version of:

from sage.interfaces.latte import count
cdd_Hrep = 'H-representation\nbegin\n 6 4 rational\n 2 -1 0 0\n 2 0 -1 0\n 2 0 0 -1\n 2 1 0 0\n 2 0 0 1\n 2 0 1 0\nend\n'
count(cdd_Hrep, cdd=True)

This is akin to --spec "passagemath-latte-4ti2[test]" with pipx.

Documentation

The documentation linked to in the repository is the main SageMath documentation. As this is a fork of SageMath, is there plans on creating a separate the website?

https://doc.sagemath.org/html/en/index.html

Note, this separate documentation website needs to adhere to:

https://www.pyopensci.org/python-package-guide/documentation/index.html

Action

We should determine if it makes more sense to review the passagemath-standard instead of a single module. Clarity is required regarding the fork's documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: pre-review-checks
Development

No branches or pull requests

2 participants