Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,30 @@ research-community provider target *args="":
# Alias for repo-specific entity research.
research-entity provider target *args="": (research-community provider target args)

# Edison Scientific deep research (PaperQA3) for one community record.
# target = filename stem, CommunityMech id, or YAML path.
# Examples:
# just research-community-edison Yogurt_TwoSpecies_Starter_Culture --dry-run
# just research-community-edison CommunityMech:000164 --job literature-high
research-community-edison target *args="":
uv run --extra dev python scripts/research_community_edison.py \
--target {{target}} \
--template {{templates_dir}}/community_mechanism_research.md \
--out-dir {{research_dir}}/communities \
{{args}}

# Edison deep research for a batch of communities (JSON list of stems/ids/paths).
research-community-edison-batch batch *args="":
uv run --extra dev python scripts/research_community_edison.py \
--batch {{batch}} \
--template {{templates_dir}}/community_mechanism_research.md \
--out-dir {{research_dir}}/communities \
{{args}}

# Retroactively backfill Edison provenance sidecars (no re-billing).
enrich-edison-response *args="":
uv run --extra dev python scripts/enrich_edison_response.py {{args}}

# List available deep-research-client providers.
research-providers:
#!/usr/bin/env bash
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ dev = [
"mypy>=1.0.0",
"pre-commit>=3.0.0",
"deep-research-client[cyberian]>=0.2.4; python_version >= '3.12'",
# Used by scripts/research_community_edison.py — drives the Edison
# Scientific SDK directly (PaperQA is not a registered DRC provider).
"edison-client>=0.11.0; python_version >= '3.12'",
"python-dotenv>=1.0.0",
"types-PyYAML>=6.0.0",
"types-requests>=2.31.0",
"types-tqdm>=4.66.0",
Expand Down
Loading
Loading