Skip to content

Add named pairwise association feature schema#2004

Merged
FlorianPfaff merged 7 commits into
mainfrom
port-named-pairwise-feature-schema-main
May 9, 2026
Merged

Add named pairwise association feature schema#2004
FlorianPfaff merged 7 commits into
mainfrom
port-named-pairwise-feature-schema-main

Conversation

@FlorianPfaff
Copy link
Copy Markdown
Owner

Adds a generic named-feature convenience layer around the existing LogisticPairwiseAssociationModel.

Changes:

  • Adds NamedPairwiseFeatureSchema, pairwise_feature_tensor, and CalibratedPairwiseAssociationModel.
  • Keeps derived feature semantics generic via explicit transforms.
  • Exports the new helpers from pyrecest.utils.
  • Adds tests for tensor construction, finite-value sanitization, schema validation, and calibrated probability/cost conversion.

This intentionally keeps Track2p/Suite2p/ROI-specific defaults and feature semantics downstream in BayesCaTrack.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 9, 2026

Test Results

     8 files  +     8       8 suites  +8   1h 14m 53s ⏱️ + 1h 14m 53s
 1 500 tests + 1 500   1 499 ✅ + 1 499      1 💤 +    1  0 ❌ ±0 
12 368 runs  +12 368  11 336 ✅ +11 336  1 032 💤 +1 032  0 ❌ ±0 

Results for commit 6b8d1e7. ± Comparison against base commit beeb334.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 9, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ COPYPASTE jscpd yes no no 35.36s
✅ JSON prettier 2 0 0 0 0.57s
✅ JSON v8r 2 0 0 2.94s
✅ MARKDOWN markdownlint 28 0 0 0 1.41s
✅ MARKDOWN markdown-table-formatter 28 0 0 0 0.41s
✅ PYTHON bandit 508 0 0 8.65s
✅ PYTHON black 508 2 0 0 13.29s
✅ PYTHON flake8 508 0 0 4.72s
✅ PYTHON isort 508 2 0 0 0.97s
✅ PYTHON mypy 508 0 0 6.95s
✅ PYTHON pylint 508 0 0 122.77s
✅ PYTHON ruff 508 2 0 0 0.09s
✅ REPOSITORY checkov yes no no 23.51s
✅ REPOSITORY gitleaks yes no no 7.4s
✅ REPOSITORY git_diff yes no no 0.05s
✅ REPOSITORY secretlint yes no no 9.5s
✅ REPOSITORY syft yes no no 3.66s
✅ REPOSITORY trivy-sbom yes no no 3.69s
✅ REPOSITORY trufflehog yes no no 22.49s
✅ YAML prettier 5 0 0 0 0.57s
✅ YAML v8r 5 0 0 6.04s
✅ YAML yamllint 5 0 0 0.59s

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.4.0 --custom-flavor-setup --custom-flavor-linters PYTHON_PYLINT,PYTHON_BLACK,PYTHON_FLAKE8,PYTHON_ISORT,PYTHON_BANDIT,PYTHON_MYPY,PYTHON_RUFF,COPYPASTE_JSCPD,JSON_V8R,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@FlorianPfaff FlorianPfaff merged commit fa29bfa into main May 9, 2026
14 of 18 checks passed
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.

1 participant