Skip to content

External Sorters improvement outline #1384

Closed

Description

@h-mayorquin

We have been changing recently the way we handle and test sorters on the repo. Terminology: internal sorters are the ones build with sorting components and external sorters are basically the rest as they require external machinery.

First, @alejoe91 created an in-code separation between internal and external sorters in . #1354
And then we are testing the external sorters with their docker images (right now only for singularity here) CI #1373

This issues it to discuss and then oultine improvements and to-do for the sorters

Here are some random issues and we can outline a to-do later.

  • Discuss a policy for which version of spikeinterface the docker images should pull, see discussion link.
  • Right now it seems that the Tridesclous is image does not have the pakcage installed, see the latest ran of the action that was created in Add manual sorter tests in singularity #1373.
  • Right now we have a dispatch for testing the sorters with singularity Add manual sorter tests in singularity #1373. Maybe that should be a weekly cron job?
  • Also I feel that the tests at Add manual sorter tests in singularity #1373 should run for the whole matrix of OS. This is one of the main purposes of the sorters so it would be really nice to test them for all OS.
  • There should be tests that use docker instead of singularity. There is an action for that. I can take care of that after I finish the following sorting component round. Should be quick.
  • Finally, the tests right now only test that no error is produced when run but there are not expected values. Do some of the sorters have deterministic algorithms (accepting seeds for example) where we can detect their expected values and actually test for that. It would be nice to avoid silent errors. If this is not an option we could create a summary with plots to at least have a visual confirmation that everything is running all right. This can be published in github summary the way that I published the profile timing of the tests.

Feel free to add anything.

Activity

  1. added
    container
    sorters
    testing
    on Mar 2, 2023
  2. h-mayorquin commented on Jul 19, 2023

    @h-mayorquin
    ContributorAuthor

    Some of this was done here:
    #1764

    Need to come back and check at some point if this issue still makes sense.

  3. zm711 commented on Feb 5, 2025

    @zm711
    Member

    Coming back to check to see if this still makes sense :)

  4. h-mayorquin commented on Feb 6, 2025

    @h-mayorquin
    ContributorAuthor

    Yeah, let's close it, hopefully we can come back to it if we get the grant to improve this and add better testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    containercontinuous integrationsorterstesting

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions