Every file of the repository outside src/ (the package itself), by directory. The examples are described in Examples, and the benchmark scripts in Reproducing the benchmarks. tools/docs_coverage.rb, part of the gate, checks that every file is named in this manual. Ignored by git: output/ (results of the examples and benchmarks), data/ and raw/ (downloaded programs and data), example_higher/data/ and example_higher/output/, archive/ (old files kept locally), docs/build/, and the Manifest.toml files of the package and the examples.
| File | Contents |
|---|
Project.toml | The package: name, version, dependencies, compat bounds |
README.md | Overview, installation, the main functions |
LICENSE | The MIT license |
AGENTS.md | Instructions for coding agents working on the repository |
.gitignore | What git ignores (above) |
.JuliaFormatter.toml | The formatting style (JuliaFormatter, always_for_in) |
.git-blame-ignore-revs | Formatting-only commits, for git blame |
.github/workflows/CI.yml | Tests on GitHub Actions, and the documentation build |
.github/workflows/CompatHelper.yml | Pull requests for new versions of the dependencies |
.github/workflows/TagBot.yml | Tags a release once General registers it |
.github/dependabot.yml | Updates of the GitHub actions used |
| File | Contents |
|---|
docs/make.jl | Builds this manual with Documenter (julia --project=docs docs/make.jl) |
docs/Project.toml, docs/Manifest.toml | The environment of the manual |
docs/review-2026-11.md | The code review of November 2026: the defects found and their fixes |
docs/src/index.md | The front page: overview, point types, the main functions |
docs/src/installation.md, docs/src/quickstart.md | Installing, and a first example |
docs/src/algorithms.md | The implemented algorithms, by function |
docs/src/continuous.md | The ways to compute the continuous Fréchet distance, and which to use |
docs/src/dimensions.md | Curves in any dimension: the point types |
docs/src/variants.md | The variants of the Fréchet distance, with links to their pages |
docs/src/performance.md | The comparisons with the other implementations, in short, with links to them |
docs/src/decide.md, docs/src/exact.md | The decision procedure, the bisection, and the exact distance, with their benchmarks |
docs/src/frechet_discrete.md, docs/src/sweep.md | The discrete Fréchet distance and dynamic time warping; the sweep distance |
docs/src/simplification.md, docs/src/morphing.md | Simplification; morphings |
docs/src/high_dimensional.md, docs/src/hilbert.md | High-dimensional curves against Fred; curves in Hilbert spaces |
docs/src/cg.md, docs/src/low_level.md | Geometric helpers; the lower-level functions |
docs/src/examples.md, docs/src/reproduce.md, docs/src/repository.md | The examples; reproducing the benchmarks; this page |
docs/src/changelog.md | The changes, by version |
The test suite (julia --project -e 'using Pkg; Pkg.test()', or tools/test).
| File | Contents |
|---|
test/runtests.jl | Runs every test file; each is a module that runs alone and seeds its random generators |
test/oracle.jl | Independent reference implementations (no shared code) the tests compare with |
test/agreement.jl | Agreement checks against the oracles on random and adversarial pairs |
test/test_agreement.jl | Runs those checks |
test/test_basics.jl | Smoke tests on small fixed inputs |
test/test_contract.jl | The input contract of the public functions: too few vertices, element types and dimensions, parameters |
test/test_decide.jl | frechet_c_decide_exact against the oracle, frechet_c_compute, exact boundary cases, point types |
test/test_exact.jl | frechet_c_compute_exact: the kinetic sweep, the oracle, exact values, independence of the random sample |
test/test_hilbert.jl | Curves in a HilbertSpace against the same computations on coordinates |
test/test_point_types.jl | Vector-point and matrix curves against static points |
test/test_duplicates.jl | Repeated consecutive vertices |
test/test_errors.jl | The library throws instead of exiting the process |
test/test_hygiene.jl | Type aliases are constants; morphing validation checks every coordinate |
test/test_morphing_events.jl | Morphings do not cut corners between events |
test/test_primitives.jl | Zero-length segments in the distance primitives and range functions |
test/test_range.jl | Range functions with any upper bound; tight tolerances |
test/test_review.jl | Regression tests for the defects of the code review of 2026-11 |
test/test_silence.jl | The library writes nothing to stdout |
test/test_termination.jl | Computations that once looped forever (simplifying zero-width curves), run in a fresh process under a time limit |
test/test_aqua.jl | Package quality checks (Aqua.jl) |
test/snapshots/golden.jl, test/snapshots/golden_ext.jl | Dump plain-number snapshots of the results of the main functions |
test/snapshots/compare.jl, test/snapshots/compare.rb | Compare two snapshots, or a git revision with the working tree, bit for bit |
The development workflow (each script has --help).
| File | Contents |
|---|
tools/check, tools/gate | The quality gate: tools/lint, the checks of tools/settings.rb, tools/test |
tools/lint | Static checks: julia-audit and julia-static-analysis (syntax, formatting) |
tools/test | The test suite |
tools/docs_coverage.rb | Every file outside src/ is named in this manual (run by the gate) |
tools/build, tools/install | Build and install the artifacts (none: this is a package) |
tools/snapshot, tools/commit | A local checkpoint commit; a commit after the gate |
tools/bump, tools/release | A version bump; commit, bump, push |
tools/publish | Registers a released version in the General registry |
tools/settings.rb | The settings of the workflow for this repository |
tools/tooling.rb, tools/language.rb, tools/tmp_space.rb | The shared code of the scripts: the workflow, the Julia-specific steps, temporary files |
Curves in high dimensions, with their own environment (example_higher/Project.toml, activated by QuickEnv). Run from the root of the repository; data go to example_higher/data/, results to example_higher/output/. More in example_higher/README.md, High-dimensional curves: comparison with Fred and Curves in Hilbert spaces.
| File | Contents |
|---|
example_higher/README.md | The examples, their results, and how to run them |
example_higher/Project.toml | Their environment |
example_higher/download.rb, example_higher/trials.txt | Downloads the 41 CMU motion-capture trials listed (with their activity) |
example_higher/mocap.jl | Reads the motion-capture files into curves in ℝ^46 |
example_higher/compare_two.jl | Five distances between two trials, and the order they must satisfy |
example_higher/distance_matrix.jl | All-pairs distances of the trials and their nearest neighbours |
example_higher/prepare_pems.rb, example_higher/prepare_kth.rb | Download the traffic and video data and write their curves |
example_higher/prepare_kth_all.rb | The whole KTH database as curves (frames at 40 × 30 pixels) |
example_higher/download_hydraulic.rb | Downloads the hydraulic test rig data |
example_higher/curves.jl, example_higher/fred_curves.py | All-pairs distances of a prepared set, with FrechetDist and with Fred |
example_higher/hydraulic.jl, example_higher/fred_hydraulic.py | The same for the hydraulic curves (ℝ^6000) |
example_higher/exact_curves.jl | The exact distances of a set, and the errors of the others against them |
example_higher/check_frechet.jl | An independent check of the distances (textbook Alt–Godau, no shared code) |
example_higher/point_types.jl | Static against vector points, per dimension |
example_higher/hilbert_timing.jl, example_higher/hilbert_accuracy.jl | Coordinates against a Hilbert space of the same points: time, and agreement |
example_higher/kth_classify.jl | Action classification on KTH by nearest neighbours under distances between clips |
example_higher/mcnemar.rb | McNemar's exact test between two classifiers |