Skip to content

Add structure validation - #26

Draft
C-Achard wants to merge 2 commits into
cy/project-scope-positionfrom
cy/project-validation-structure
Draft

C-Achard wants to merge 2 commits into
cy/project-scope-positionfrom
cy/project-validation-structure

Conversation

@C-Achard

@C-Achard C-Achard commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Structure validation: findings about the project's layout.

  • StructureFindingCode, the first code namespace: missing required nodes, broken or wrong-type symlink targets, wrong-type and unreadable nodes.

  • validate_project_structure, and the validation request and result models.

  • PROJECT_RESOURCE_PATH_COLLISION lands with video validation, which emits it.

  • validation's __init__ exports requests and structure only; it grows with each validation PR.

@C-Achard
C-Achard added this pull request to stack #18 November 26, 2026 15:06
@C-Achard C-Achard changed the title cy/project validation structure Add structure validation Nov 26, 2026
@C-Achard C-Achard added canonical Changes something consumers rely on: finding codes, snapshot format, written files consumer: datajoint Needed by or affects the DataJoint pipeline consumer: deeplabcut Needed by or affects DeepLabCut consumer: napari Needed by or affects napari-deeplabcut validation Discovery, validation, findings and snapshots and removed consumer: deeplabcut Needed by or affects DeepLabCut consumer: napari Needed by or affects napari-deeplabcut consumer: datajoint Needed by or affects the DataJoint pipeline labels Nov 26, 2026
@C-Achard
C-Achard force-pushed the cy/project-validation-structure branch from 739e869 to 56861f6 Compare November 30, 2026 08:14
@C-Achard
C-Achard force-pushed the cy/project-validation-structure branch 3 times, most recently from c2e21ab to 12e74fd Compare November 30, 2026 11:07
- Rename the packages to dlccore.project and add the dlccore license header
- Declare StructureFindingCode without PROJECT_RESOURCE_PATH_COLLISION, which lands with the video validation that emits it
- Export only requests and structure from validation; context and project follow with the PRs that add them
- Add two tests of tests/validation/test_finding_schema_ids.py; the others need inspect_project or video validation
- The closed-catalogue test now expects StructureFindingCode
@C-Achard
C-Achard force-pushed the cy/project-validation-structure branch from 12e74fd to 341ef11 Compare November 30, 2026 15:10
@C-Achard
C-Achard removed this pull request from stack #18 November 30, 2026 15:16
@C-Achard
C-Achard added this pull request to stack #42 November 30, 2026 15:16

This branch has not been deployed

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

Labels

canonical Changes something consumers rely on: finding codes, snapshot format, written files validation Discovery, validation, findings and snapshots

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant