--- name: research-talent-scout description: Use when finding cohorts of graduate researcher candidates by graduation year, degree, institution, venue, or authorship thresholds, especially when results require indexed filtering before selective public-profile enrichment. Also use when populating that index from the OpenAlex or Semantic Scholar public APIs. --- # Research Talent Scout Use a local evidence-backed index for fast candidate discovery. Treat results as research leads for human review, not hiring decisions. ## Required workflow 1. Read `references/compliance.md`, `references/evidence-policy.md`, `references/schema.md`, `references/venue-policy.yaml`, and `references/handoff.md`. 2. Parse the user's years, degrees, thresholds, venues, publication categories, institutions, and acceptable graduation states. 3. Interpret “more than N” with `--strictly-greater`; do not silently convert it to “at least N.” 4. When the local index does not cover the request, populate it from OpenAlex or Semantic Scholar with `scripts/fetch_records.py`, then import. Those rows keep `graduation_state` as `unknown`. A caller-supplied `--degree` or `--graduation-year` is an index label, not a confirmed fact. Do not collect email addresses from these APIs. 5. Query the local SQLite index before considering broader live discovery. 6. Return `confirmed` and `likely_needs_verification` candidates separately. 7. Preserve qualifying publication links, graduation evidence, verification timestamps, coverage, and warnings. 8. When public-profile enrichment is requested and `researcher-recruiting-skill` is available, create exactly one `candidate_enrichment_batch` containing only qualifying candidates and merge its result by stable candidate ID. 9. If coverage is incomplete or stale, report the gap. Do not block the indexed result on broad live-web discovery. 10. Never convert inferred dates, ambiguous identities, or snippets into confirmed facts. ## Commands Initialize an index: ```bash python3 scripts/init_index.py --db ``` Import normalized JSONL records: ```bash python3 scripts/import_records.py --db --input ``` Populate the index from a public scholarly API. This does not confirm graduation year and does not collect email. `OPENALEX_API_KEY` is needed for real OpenAlex use (bearer token, not an argv flag). `S2_API_KEY` is optional and is sent as `x-api-key`. Default pauses are 0.2s for OpenAlex and 1.1s for Semantic Scholar; HTTP 429 and 503 are retried up to three times. ```bash python3 scripts/fetch_records.py \ --source openalex \ --venue NeurIPS \ --year 2024 \ --degree phd \ --output python3 scripts/fetch_records.py \ --source semanticscholar \ --author-id \ --degree phd \ --output ``` Query the index: ```bash python3 scripts/query_candidates.py \ --db \ --graduation-years 2027,2028 \ --degree-threshold phd=5,masters=3 \ --strictly-greater \ --venues ACL,ICML,ICLR,NeurIPS,EMNLP,CVPR,AAAI,ICCV,MLSys,OSDI,EuroSys,ASPLOS,ISCA,SC,PPoPP \ --categories main_first,co_first,findings,workshop,short,demo \ --graduation-states confirmed,likely_needs_verification ``` Render query JSON as Chinese Markdown: ```bash python3 scripts/export_results.py --input ``` ## Output rules - Do not rank candidates or claim that a candidate should be hired. - State the index scope and freshness with every result. - Link every qualifying paper and confirmed graduation field to public professional evidence. - Keep ambiguous same-name people separate and surface identity warnings. - Use `unknown` explicitly instead of guessing.