1 view
jordan-gibbs/hyperresearch
Agent-driven research knowledge base. Agents collect, search, and synthesize web research into a persistent, searchable wiki.
Python★ 2,740+153 that day#12 on trending
3.79%duplicated code · 1,091 of 28,795 lines
98clones in code
108code files of 294 scanned
6.01%duplicated over all files · 223 clones
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 1 generated file: src/hyperresearch/indexgen/__init__.py.
Largest clones in the code
- 10 lines in 9 placespython59 tokenssrc/hyperresearch/cli/archive.py:110–119src/hyperresearch/cli/assets.py:20–29src/hyperresearch/cli/citecheck_cmd.py:29–38src/hyperresearch/cli/embed_cmd.py:24–33src/hyperresearch/cli/graph.py:304–313and 4 more
110from hyperresearch.core.vault import Vault, VaultError 111 112try: 113 vault = Vault.discover() 114except VaultError as e: 115 if json_output: 116 output(error(str(e), "NO_VAULT"), json_mode=True) 117 else: 118 console.print(f"[red]Error:[/] {e}") 119 raise typer.Exit(1) - 11 lines in 8 placespython60 tokenssrc/hyperresearch/cli/assets.py:19–29src/hyperresearch/cli/assets.py:80–90src/hyperresearch/cli/embed_cmd.py:58–68src/hyperresearch/cli/git_cmd.py:33–43src/hyperresearch/cli/import_cmd.py:20–30and 3 more
19"""List downloaded assets (images, screenshots, PDFs).""" 20from hyperresearch.core.vault import Vault, VaultError 21 22try: 23 vault = Vault.discover() 24except VaultError as e: 25 if json_output: 26 output(error(str(e), "NO_VAULT"), json_mode=True) 27 else: 28 console.print(f"[red]Error:[/] {e}")First 10 of 11 lines.
- 10 lines in 8 placespython52 tokenssrc/hyperresearch/core/hooks.py:129–138src/hyperresearch/core/hooks.py:347–356src/hyperresearch/core/hooks.py:623–632src/hyperresearch/core/hooks.py:750–759src/hyperresearch/core/hooks.py:1371–1380and 3 more
129depth packet becomes a weak draft section. 130 131## Inputs (from the parent agent) 132 133The spawn prompt may end with a `## Run directives` block — posture 134(register / domain notes / inference depth) auto-selected for this run 135in step 1. It is BINDING and wins wherever it adjusts a default in this 136prompt. No block = this prompt's defaults apply unchanged. 137 138- **research_query**: the user's original question, verbatim. GOSPEL.347reading of the evidence. 348 349## Inputs (from the parent agent) 350 351The spawn prompt may end with a `## Run directives` block — posture 352(register / domain notes / inference depth) auto-selected for this run 353in step 1. It is BINDING and wins wherever it adjusts a default in this 354prompt. No block = this prompt's defaults apply unchanged. 355 356- **locus**: the full locus object from the loci-analyst output (name,
7 more
- 10 lines in 7 placespython54 tokens
- 6 lines in 5 placespython55 tokens
- 11 lines in 4 placespython59 tokens
- 22 lines in 2 placespython168 tokens
- 11 lines in 3 placespython71 tokens
- 23 lines in 2 placespython136 tokens
- 22 lines in 2 placespython134 tokens
Largest clones over all files, tests and data included
- 183 lines in 2 placesmarkdowndocs and examples2,882 tokenssrc/hyperresearch/skills/hyperresearch.md:105–287tests/fixtures/golden_prompts/skills/hyperresearch.md:105–287
105 For a standard run, pass the installed gear (`<< p.name >>`) unless the user asked for something else. 106 Pass `--budget <usd>` when the user set a spend ceiling. This scaffolds `research/runs/<vault_tag>/` (with `temp/`) and writes `run.json` — the run manifest… 107 1083. **Persist the query file.** Write the verbatim canonical query to `research/runs/<vault_tag>/query.md`: 109 ```markdown 110 --- 111 vault_tag: <slug> 112 created: <ISO-8601 timestamp> 113 source: prompt.txt | user-prompt 114 ---First 10 of 183 lines.
- 152 lines in 2 placesmarkdowndocs and examples994 tokenssrc/hyperresearch/skills/hyperresearch-16-readability-audit.md:15–166tests/fixtures/golden_prompts/skills/hyperresearch-16-readability-audit.md:15–166
15# Step 16 — Readability audit & selective apply (FINAL STEP) 16 17**Tier gate:** Runs for ALL tiers. Every report gets a readability audit, regardless of tier — readability is the dimension where small structural changes (par… 18 19**Goal:** improve the report's visual structure, paragraph rhythm, and scannability without changing substantive content. The recommender writes a JSON list of… 20 21**Why split recommender + orchestrator-applied:** an Edit-based reformatter (V7-style) sometimes makes changes that hurt the argument — converting a flowing pa… 22 23--- 24First 10 of 152 lines.
- 61 lines in 2 placesmarkdowndocs and examples982 tokenssrc/hyperresearch/skills/hyperresearch-2-width-sweep.md:16–76tests/fixtures/golden_prompts/skills/hyperresearch-2-width-sweep.md:16–76
16**Goal:** achieve comprehensive topical coverage — every atomic item from the decomposition must have at least 3 supporting sources by the end of this step. Ta… 17 18--- 19 20## Recover state 21 22Read these inputs: 23- `research/runs/<vault_tag>/scaffold.md` — vault_tag (in Run config), modality 24- `research/runs/<vault_tag>/prompt-decomposition.json` — atomic items, sub_questions, entities, pipeline_tier 25- `research/runs/<vault_tag>/temp/coverage-matrix.md` — verbatim query phrases mapped to atomic itemsFirst 10 of 61 lines.
- 39 lines in 2 placesmarkdowndocs and examples667 tokens
- 74 lines in 2 placesmarkdowndocs and examples649 tokens
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| python | 98 | 27,977 | 98 | 1,091 | 3.9% |
| bash | 9 | 644 | 0 | 0 | 0% |
| perl | 1 | 174 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| python | 159 | 43,653 | 163 | 1,707 | 3.91% |
| markdown | 49 | 8,586 | 46 | 1,382 | 16.1% |
| yaml | 43 | 578 | 6 | 51 | 8.82% |
| bash | 19 | 754 | 4 | 29 | 3.85% |
| text | 13 | 310 | 3 | 90 | 29.03% |
| json | 7 | 155 | 1 | 11 | 7.1% |
| toml | 2 | 189 | 0 | 0 | 0% |
| perl | 1 | 174 | 0 | 0 | 0% |
| sql | 1 | 22 | 0 | 0 | 0% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Sep 12, 2026 | #12 | 2,740 (+153) | 294 | 54,421 | 223 | 6.01% | 3.79% | — | 1367c9b |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.