Spaces:
Sleeping
Sleeping
Commit History
-
chore: force Space rebuild
KevinIsInCoding863db8b -
docs: add unit test design documentβ
KevinIsInCoding +1: Claude Sonnet 4.6Defines testing strategy, module coverage targets, and 7-stage implementation order for Beacon's test suite. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>b720671
-
feat: structured eligibility assessment with per-criterion verdicts (#14)β
KevinIsInCoding +1: Claude Sonnet 4.6Unverified signature- Add agents/eligibility.py: two-step pipeline β bulk LLM parse of eligibility text into structured constraints, then deterministic code evaluation (Path A) for known patient fields; research LLM handles unclear criteria inline (Path B, no extra call) - Add data/criterion_keys.json: canonical key β patient/platform field mapping; extend without touching agent code - Add data/tools/{parse_criteria,parse_criteria_bulk,assess_eligibility}.json - Extend models.py: CriterionVerdict, ParsedConstraint, EligibilityCriterion, CriterionAssessment, TrialEligibilityReport - trials_api.py: extract full fields (sex, healthy_volunteers, std_ages, study_type, enrollment, conditions, keywords, interventions); remove 1000/500-char truncations; pageSize 200 β 1000 (fewer round trips) - agents/intake.py: accept onset_date/diagnosis_date (YYYY-MM) and compute months in Python β fixes LLM arithmetic drift on current date - agents/research.py: bulk parse + strip after each search; yield ("sβ¦e15864e