What XERJ indexed
Snapshot
The whole repository at commit 64393d93d3 (2026-10-24). Physica is 3 commits ahead.
Selected work

“Probe the cache using hwloc instead of hand-written code”. 8 files, 331 lines in cmake.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-27. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: approach only
autodiffgpu-accelerationlinear-algebramolecular-dynamicsphysicsmachine-learning
Example questions
- How does Physica implement autodiff?
- Where does Physica handle “Probe the cache using hwloc instead of hand-written code”?
- What does cmake do in Physica?
Inside the indexed corpus
- 1,402 files, 23.0 MB in total, about 16.8 KB per file.
- The selected commit changed 8 of those files (0.6%).
- Languages by size: C++ 80.4%, Cuda 18.6%, CMake 0.8%, Python 0.1%, C 0%.
- On GitHub since 2024-04-28, last push 2026-10-31, 2,702 commits on Physica.
- The pin is 3 commits behind Physica; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported GPL-3.0 for NewSigma/Physica on 2026-10-31, and the LICENSE file at commit 64393d93d3 was reviewed as GPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Weibo He (@NewSigma) has 1 selected repository on the hub.
Using XERJ with Physica
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones NewSigma/Physica at the pinned commit and indexes it on your machine.
Search the GitHub repository NewSigma/Physica with XERJ (https://hub.xerj.org/corpus/newsigma--physica). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/NewSigma/Physica Physica && git -C Physica checkout 64393d93d324df0cca43420e362a9b4488a3035e 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./Physica --url http://127.0.0.1:9200 --prefix physica --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: GPL-3.0. Read it for the approach only, do not copy code.
Related
Weibo HeAI, prompts and agents corporaadalflowllm-coursecognitaikelaiah/mathlib-fpne-app-research/ll-masifverse4/100-days-of-computational-chemistry
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.