├── .formatter.exs ├── .github └── workflows │ └── elixir.yml ├── .gitignore ├── .tool-versions ├── LICENSE ├── README.md ├── VERSION ├── lib ├── match_engine.ex └── match_engine │ ├── geo.ex │ ├── levenshtein.ex │ ├── query.ex │ ├── score.ex │ └── scoring.ex ├── mix.exs ├── mix.lock └── test ├── fixture └── regio.json ├── match_engine ├── geo_test.exs ├── levenshtein_test.exs ├── query_test.exs └── scoring_test.exs ├── match_engine_test.exs └── test_helper.exs /.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}"] 3 | ] 4 | -------------------------------------------------------------------------------- /.github/workflows/elixir.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botsquad/match_engine/HEAD/.github/workflows/elixir.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botsquad/match_engine/HEAD/.gitignore -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | elixir 1.18.4-otp-27 2 | erlang 27.3.4.1 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botsquad/match_engine/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botsquad/match_engine/HEAD/README.md -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 1.6.1 -------------------------------------------------------------------------------- /lib/match_engine.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botsquad/match_engine/HEAD/lib/match_engine.ex -------------------------------------------------------------------------------- /lib/match_engine/geo.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botsquad/match_engine/HEAD/lib/match_engine/geo.ex -------------------------------------------------------------------------------- /lib/match_engine/levenshtein.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botsquad/match_engine/HEAD/lib/match_engine/levenshtein.ex -------------------------------------------------------------------------------- /lib/match_engine/query.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botsquad/match_engine/HEAD/lib/match_engine/query.ex -------------------------------------------------------------------------------- /lib/match_engine/score.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botsquad/match_engine/HEAD/lib/match_engine/score.ex -------------------------------------------------------------------------------- /lib/match_engine/scoring.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botsquad/match_engine/HEAD/lib/match_engine/scoring.ex -------------------------------------------------------------------------------- /mix.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botsquad/match_engine/HEAD/mix.exs -------------------------------------------------------------------------------- /mix.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botsquad/match_engine/HEAD/mix.lock -------------------------------------------------------------------------------- /test/fixture/regio.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botsquad/match_engine/HEAD/test/fixture/regio.json -------------------------------------------------------------------------------- /test/match_engine/geo_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botsquad/match_engine/HEAD/test/match_engine/geo_test.exs -------------------------------------------------------------------------------- /test/match_engine/levenshtein_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botsquad/match_engine/HEAD/test/match_engine/levenshtein_test.exs -------------------------------------------------------------------------------- /test/match_engine/query_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botsquad/match_engine/HEAD/test/match_engine/query_test.exs -------------------------------------------------------------------------------- /test/match_engine/scoring_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botsquad/match_engine/HEAD/test/match_engine/scoring_test.exs -------------------------------------------------------------------------------- /test/match_engine_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/botsquad/match_engine/HEAD/test/match_engine_test.exs -------------------------------------------------------------------------------- /test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | --------------------------------------------------------------------------------