MCPcopy Create free account

hub / github.com/anvix9/basis_research_agents / functions

Functions339 in github.com/anvix9/basis_research_agents

↓ 1 callersFunctionphilpapers_id
()
core/keys.py:76
↓ 1 callersFunctionphilpapers_key
()
core/keys.py:79
↓ 1 callersFunctionpretty_theme
Return a human-readable label for a raw theme tag.
export_seminal.py:80
↓ 1 callersFunctionpretty_theme
Return a human-readable label for a raw theme tag.
tools/export_seminal.py:80
↓ 1 callersFunctionprint_expansion_report
Print a readable expansion report to terminal.
core/concept_mapper.py:800
↓ 1 callersMethodprint_run_summary
Print summary of all API calls made in this run.
core/rate_limiter.py:186
↓ 1 callersMethodprint_source_done
Print completion line for a source.
core/rate_limiter.py:182
↓ 1 callersMethodprint_source_start
Print a header when starting a new source query.
core/rate_limiter.py:170
↓ 1 callersFunctionprint_summary
(papers: list[dict])
export_seminal.py:343
↓ 1 callersFunctionprint_summary
(papers: list[dict])
tools/export_seminal.py:343
↓ 1 callersFunctionrate_relevance
Use LLM to rate relevance. Returns (rating, reason).
agents/social.py:748
↓ 1 callersFunctionrun_import
(input_path: Path, dry_run: bool = False, verbose: bool = True)
tools/import_conceptnet.py:165
↓ 1 callersFunctionrun_pipeline
(problem: str, run_id: str = None, resume: bool = False)
main.py:118
↓ 1 callersFunctionsearch_claude_web
Use Anthropic API with web_search tool to verify a reference. Returns a dict with title, authors, year, abstract, url if found. Falls bac
tools/eval_references.py:221
↓ 1 callersFunctionsearch_openalex
Search OpenAlex for a paper by title.
tools/eval_references.py:200
↓ 1 callersFunctionsearch_semantic_scholar
Search Semantic Scholar for a paper by title.
tools/eval_references.py:175
↓ 1 callersMethodset_client_info
(self, client_info: OAuthClientInformationFull)
core/consensus_mcp.py:131
↓ 1 callersFunctionshow_stats
()
tools/import_conceptnet.py:351
↓ 1 callersFunctionslugify
Convert a title to a URL-safe Jekyll slug.
export_seminal.py:246
↓ 1 callersFunctionslugify
Convert a title to a URL-safe Jekyll slug.
tools/export_seminal.py:246
↓ 1 callersMethodstart
(self)
core/consensus_mcp.py:237
↓ 1 callersMethodupdate_status
Update a node's status.
core/argument_tree.py:353
↓ 1 callersFunctionverify_claim
Verify a source's claim using the best available method.
tools/eval_claims.py:301
↓ 1 callersFunctionverify_claim_internal
Basic keyword overlap check between claim and stored abstract.
tools/eval_claims.py:245
↓ 1 callersFunctionverify_claim_with_claude
Use Claude with web search to verify a claim about a source.
tools/eval_claims.py:168
↓ 1 callersFunctionverify_source
Verify a single source against live APIs.
tools/eval_references.py:301
Method__init__
(self)
core/llm.py:83
Method__init__
(self, run_id: str = "")
core/rate_limiter.py:68
Method__init__
(self, path: Path = TOKEN_FILE)
core/consensus_mcp.py:106
Method__init__
(self)
core/consensus_mcp.py:196
Method__init__
(self, run_id: str)
core/argument_tree.py:145
Function_callback_handler
()
core/consensus_mcp.py:256
Function_doi_url
(doi: Optional[str])
core/references.py:155
Function_ensure_trailing_slash
Add trailing slash if URL is set and doesn't already have one.
core/consensus_mcp.py:71
Function_fix_bracket
(match)
agents/scribe.py:556
Function_from_json
(value: Optional[str])
core/database.py:291
Method_get_token_endpoint
(self)
core/consensus_mcp.py:93
Function_redirect_handler
(url: str)
core/consensus_mcp.py:250
Method_serve
(self)
core/consensus_mcp.py:218
Methodadd_source_to_node
Append a source_id to an existing node.
core/argument_tree.py:369
Functionanthropic
()
core/keys.py:82
Functionarchive_dead_link
Move a dead source to dead_links table.
core/database.py:413
Functionbreak0
Break 0 — Theme confirmation. Returns the human's instructions as a string.
core/breaks.py:323
Functionbreak0
Break 0 — Theme confirmation. Returns the human's instructions as a string.
agents/breaks.py:333
Functionbreak1
Break 1 — Ground truth validation. Returns the human's instructions as a string.
core/breaks.py:337
Functionbreak1
Break 1 — Ground truth validation. Returns the human's instructions as a string.
agents/breaks.py:347
Functionbreak2
Break 2 — Trajectory evaluation. Returns the human's instructions as a string.
core/breaks.py:353
Functionbreak2
Break 2 — Trajectory evaluation. Returns the human's instructions as a string.
agents/breaks.py:363
Functionbuild_manifest
Pull every source for a run and convert to CitableSource objects.
core/references.py:210
Functioncall
Convenience function — use this in agents.
core/llm.py:314
Functioncmd_bank
Show seminal bank proposals.
main.py:507
Functioncmd_collect
Run Social passive collection.
main.py:445
Functioncmd_keys
Show API key status.
main.py:543
Functioncmd_recheck
Run link health check.
main.py:458
Functioncmd_run
(args)
main.py:425
Functioncmd_runs
List recent runs.
main.py:525
Functioncmd_status
Show run status.
main.py:472
Functioncmd_test
Test a single source handler with a query and show the raw response.
main.py:549
Functioncollect
Mode 1: Passive collector. Scans all themes in the config and saves to database. Run twice a week via cron. Returns summary.
agents/social.py:958
Functionconsensus_mcp_status
Consensus uses MCP OAuth — check db/consensus_tokens.json for token status.
core/keys.py:94
Functioncore
()
core/keys.py:73
Functioncount
Count rows in a table.
core/database.py:348
Functioncreate_run
(run_id: str, problem: str)
core/database.py:368
Methoddo_GET
(self)
core/consensus_mcp.py:224
Methoddo_POST
(self)
core/consensus_mcp.py:226
Functionexpand
Main entry point. Fully expands a problem into its conceptual territory. Returns: { "raw_terms": [...], "expanded_concepts":
core/concept_mapper.py:594
Functionextract_cite_keys
Find [Key] or [Key1, Key2] markers. Return unique valid keys in order.
core/references.py:294
Functionextract_relation
Extract relation label from URI. /r/IsA -> /r/IsA (keep as-is for clarity)
tools/import_conceptnet.py:108
Functionfind_unknown_cite_keys
Return key-shaped tokens inside [...] that are NOT in valid_keys. These are likely LLM hallucinations; caller should redact.
core/references.py:309
Functionformat_apa
Format a source in APA 7th edition style.
tools/generate_references.py:81
Functionformat_chicago
Format a source in Chicago style.
tools/generate_references.py:120
Functionformat_manifest_for_prompt
Compact representation the LLM can consume.
core/references.py:264
Functionformat_simple
Simple format: Author (Year). Title.
tools/generate_references.py:158
Functionget_artifacts
(run_id: str)
core/database.py:568
Methodget_branch
Get a subtree starting from a specific node.
core/argument_tree.py:433
Functionget_directions
(run_id: str)
core/database.py:552
Functionget_evaluations
(run_id: str, verdict: str = None)
core/database.py:516
Functionget_expansion
Retrieve a cached expansion for a run.
core/concept_mapper.py:787
Functionget_gaps
(run_id: str, significance: str = None)
core/database.py:445
Functionget_implications
(run_id: str, strength: str = None)
core/database.py:465
Functionget_proposals
(run_id: str, status: str = None)
core/database.py:486
Functionget_run
(run_id: str)
core/database.py:377
Functionget_seminal_bank
(status: str = "pending_review")
core/database.py:585
Functionget_source_config
(config: dict, source_id: str)
core/utils.py:61
Functionget_sources_by_type
(source_type: str, run_id: str = None)
core/database.py:406
Functionget_synthesis
(run_id: str)
core/database.py:537
Functionget_themes
(config: dict)
core/utils.py:57
Methodget_tokens
(self)
core/consensus_mcp.py:119
Functiongoogle_books
()
core/keys.py:85
Functioninit_db
Initialize database — create all tables if they don't exist.
core/database.py:267
Functioninsert_artifact
(artifact: dict)
core/database.py:560
Functioninsert_direction
(direction: dict)
core/database.py:546
Functioninsert_evaluation
(evaluation: dict)
core/database.py:497
Functioninsert_gap
(gap: dict)
core/database.py:436
Functioninsert_implication
(imp: dict)
core/database.py:456
Functioninsert_proposal
(proposal: dict)
core/database.py:476
Functioninsert_seminal_proposal
(proposal: dict)
core/database.py:576
Functioninsert_synthesis
(synthesis: dict)
core/database.py:527
Methodlog_message
(self, *args)
core/consensus_mcp.py:223
Functionmark_break_done
(run_id: str, break_num: int)
core/database.py:389
← previousnext →201–300 of 339, ranked by callers