Skip to content

Add query constraints#35

Merged
gloriachin merged 13 commits into
NCATSTranslator:mainfrom
yjzhang:main
May 18, 2026
Merged

Add query constraints#35
gloriachin merged 13 commits into
NCATSTranslator:mainfrom
yjzhang:main

Conversation

@yjzhang
Copy link
Copy Markdown
Collaborator

@yjzhang yjzhang commented May 18, 2026

In translator_query.py, added two new functions:

  • build_query_json was based on TCT.build_query_json, but now it allows an optional attribute_constraints argument.
  • build_attribute_constraints for building attribute constraints.

@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 7.40741% with 25 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@e11165e). Learn more about missing BASE report.

Files with missing lines Patch % Lines
TCT/translator_query.py 9.09% 20 Missing ⚠️
TCT/TCT_pathfinder.py 0.00% 3 Missing ⚠️
TCT/TCT_neighborhood_finder.py 0.00% 2 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #35   +/-   ##
=======================================
  Coverage        ?   16.11%           
=======================================
  Files           ?       16           
  Lines           ?     2302           
  Branches        ?        0           
=======================================
  Hits            ?      371           
  Misses          ?     1931           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 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.

@gloriachin gloriachin merged commit d514809 into NCATSTranslator:main May 18, 2026
4 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.

3 participants