Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full MDA implementation #4

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
0990608
feat: updated stopping point for exhaustive mapping
teo-lohrer-su Jan 10, 2024
b063e68
feat: add destination unreachable replies to result
teo-lohrer-su Jan 17, 2024
d79e44e
fix: add unreachable destination to links_by_ttl method
teo-lohrer-su Jan 17, 2024
bb1d058
fix: use icmp echo replies
teo-lohrer-su Jan 17, 2024
56ac697
feat: implement full mda
teo-lohrer-su Mar 8, 2024
0747c3d
feat: add sparklines to dependencies
teo-lohrer-su Mar 8, 2024
6edc656
lint: update pre-commit hooks
teo-lohrer-su Mar 13, 2024
2a0e797
fix: reset pycaracal version to 14.5
teo-lohrer-su Mar 13, 2024
871e767
lint: reformat
teo-lohrer-su Mar 13, 2024
dd49fad
fix: remove remaining print
teo-lohrer-su Mar 13, 2024
6f46b98
fix: fix links computation and mda routine
teo-lohrer-su Apr 3, 2024
e636ae0
fix: fix tests and remove sparklines
teo-lohrer-su Apr 4, 2024
88d1ba7
upd: add pytest-xdist for parallel testing
teo-lohrer-su Apr 4, 2024
49f349d
add: add fakenet classes
teo-lohrer-su Apr 4, 2024
fc1f5ff
add: add test data
teo-lohrer-su Apr 4, 2024
9735972
upd: update gitignore for .DS_Store files
teo-lohrer-su Apr 4, 2024
d64d231
del: delete .DS_Store
teo-lohrer-su Apr 4, 2024
9bbd49a
dep: add networkx as dependency
teo-lohrer-su Apr 4, 2024
b1021be
upd: remove macos from targets temporarily
teo-lohrer-su Apr 4, 2024
9f6f9e5
upd: add a simple test on lower confidence levels
teo-lohrer-su Apr 5, 2024
20bc752
upd: add option to use optimal jump
teo-lohrer-su Apr 16, 2024
e8a9b8e
upd: do not weight optimal jumps
teo-lohrer-su Apr 16, 2024
55a2ec7
upd: restore weights and add precomputed P matrix
teo-lohrer-su Apr 16, 2024
b2b2dfa
upd: larger pre-compute
teo-lohrer-su Apr 16, 2024
f26c01c
fix: remove unnecessary cache
teo-lohrer-su Apr 16, 2024
3b42785
upd: load precomputed file
teo-lohrer-su Apr 16, 2024
cde0c67
upd: change precalc
teo-lohrer-su Apr 16, 2024
aa4a17c
upd: change precalc
teo-lohrer-su Apr 16, 2024
7aea2df
fix: fix min idx
teo-lohrer-su Apr 16, 2024
88470b8
upd: update stopping point routine
teo-lohrer-su Apr 17, 2024
1315b72
upd: add quiet output format (no output)
teo-lohrer-su Apr 17, 2024
2741ea4
upd: add preparation time log
teo-lohrer-su Apr 17, 2024
9e5c287
upd: add caching for reply fetch, refactor tests
teo-lohrer-su Apr 19, 2024
30f0c9b
upd: update opti jump threshold
teo-lohrer-su Apr 19, 2024
4ec8075
upd: add missing factorial in stirling formula
teo-lohrer-su Apr 19, 2024
7a8b502
fix: fix walrus operator in stopping point
teo-lohrer-su Apr 25, 2024
19e1adb
upd: add prof/ to gitignore
teo-lohrer-su May 17, 2024
571f912
upd: update apriori prob and fix various bugs
teo-lohrer-su May 17, 2024
4e79e22
fix: fix test for new implementation
teo-lohrer-su May 29, 2024
1c3f595
upd: remove main in stopping point
teo-lohrer-su Jun 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest]
python: ["3.10", "3.x"]
steps:
- uses: actions/checkout@v2
Expand All @@ -22,7 +22,7 @@ jobs:
- name: Install package
run: poetry install
- name: Run tests
run: sudo $(poetry env info -p)/bin/pytest --cov=fast_mda_traceroute --cov-report=xml
run: sudo $(poetry env info -p)/bin/pytest -n 4 --cov=fast_mda_traceroute --cov-report=xml
- uses: codecov/codecov-action@v2

docker:
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ __pycache__/
*.py[cod]
*$py.class

# MacOS
.DS_Store

# C extensions
*.so

Expand All @@ -20,6 +23,7 @@ parts/
sdist/
var/
wheels/
prof/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
Expand Down
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
repos:
- repo: https://github.com/PyCQA/autoflake
rev: v1.4
rev: v2.3.1
hooks:
- id: autoflake
args: ["--in-place", "--remove-all-unused-imports"]

- repo: https://github.com/timothycrosley/isort
rev: 5.10.1
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
args: [--profile=black]

- repo: https://github.com/psf/black
rev: 22.3.0
rev: 24.2.0
hooks:
- id: black

- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
hooks:
- id: flake8
args: [--ignore=E501]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
exclude_types:
Expand Down
Loading
Loading