Spaces:
Running
Download report.md from HuggingFriends/agentic-xrd-demo: direct link, hf CLI and curl.
- Browser
- Download file 2.93 kB
-
https://huggingface.co/spaces/HuggingFriends/agentic-xrd-demo/resolve/main/report.md
- Command line
-
hf download hf://spaces/HuggingFriends/agentic-xrd-demo/report.md
-
curl -L -o report.md https://huggingface.co/spaces/HuggingFriends/agentic-xrd-demo/resolve/main/report.md
Agentic XRD course experiment
Actual evaluation: 10 SIMPOD queries and 63 candidate structures.
The experiment evaluates closed-set single-phase retrieval with existing scientific packages. No new model was trained. Each Codex case runs in a separate directory; evaluation is external.
| Setting | Completed | Top-1 | Top-5 | SG | Mean runtime (s) |
|---|---|---|---|---|---|
| baseline | 10/10 attempted | 100.0% | 100.0% | 100.0% | 0.05 |
| agent | 10/10 attempted | 90.0% | 90.0% | 90.0% | 94.77 |
| agent_with_docs | 10/10 attempted | 90.0% | 90.0% | 90.0% | 80.64 |
Interpretation and limits
The baseline is labeled pymatgen/SciPy cosine fallback. Dara readiness and the exact blocker are recorded in results/environment.json; successful import alone is insufficient evidence of phase-search execution.
The small pilot is a feasibility experiment. Similar accuracy between a tool script and an agent does not show an algorithmic improvement. The agent comparison measures reliable use of tools, valid delivery, and execution time.
There is one stochastic agent attempt per case and no significance test. Runtime reflects provider latency and the agent's chosen calculations; the aggregate JSON also includes median runtime to show sensitivity to long cases. Treat documentation comparisons as observations from this pilot rather than a causal or population-level result.
The angle grid is recovered from the pinned Dans_Diffraction 3.0.0 generator, which samples uniform Q then converts to nonuniform 2-theta. The official tutorial's linear plotting axis differs by up to 3.57 degrees. The recovered axis was checked against the actual generator to within 1e-10 degrees. Matching interpolates onto a common uniform angular grid before smoothing.
SIMPOD is simulated data. Candidate CIFs and query patterns originate from the same structures; this is retrieval, not unknown-structure discovery. JSON only stores a space-group number and asymmetric sites, so symmetry settings/origins can be lost during reconstruction. Query eligibility is selected using an explicit consistency rule before agent execution; this selection favors reconstructable, consistent structures and limits generalization.
The reference library is a retrieval database. Duplicate structures are filtered with a stated StructureMatcher tolerance. Remaining diffraction-degenerate structures can make exact-ID scoring stricter than physical phase equivalence.
Runtime excludes shared reference-pattern preparation and includes model latency for agent cases. Baseline shared matching setup time is recorded separately. Scientific function call counts and monetary API cost are unavailable; they are not estimated from shell command counts.
All expected queries remain in scientific accuracy denominators once a setting is attempted. Mean pattern similarity is reported only for accepted outputs. Missing groups remain unavailable.