Closed SichangHe closed 8 months ago
16960 ASes appear in ASRelDB but not IRR. 20468 ASes appear in IRR but not ASRelDB. Total: 95911 ASes.
16960 ASes appear in ASRelDB but not IRR.
Wild. Do you mean ~17K ASes have no import/export rules, or that there are no aut-num
objects at all?
Wild. Do you mean ~17K ASes have no import/export rules, or that there are no
aut-num
objects at all?
No aut-num
in IRR databases we use.
I realized a potential problem, @cunha. We are using the AS Relationship DB from 2013, which is probably outdated.
Maybe we should update to one of CAIDA's other DBs such as as-relationships?
No longer latest stats after fixing default
.
Covered by #95.
I realized a potential problem, @cunha. We are using the AS Relationship DB from 2013, which is probably outdated.
Maybe we should update to one of CAIDA's other DBs such as as-relationships?
We should definitely be using a newer database. Something to match the IRR datasets we're using. Did you do this at one point?
No, we are not using databases from 2013. It is just under that folder. It has been undated regularly since and we have been using the July 2023 one.
Sounds good. Just checking.
-1 for neighbor if no data in AS Relationship DB. -1 for import/export if no data in IRR.
Polars output.
```elixir shape: (95_911, 4) ┌─────────┬──────────┬────────┬────────┐ │ aut_num ┆ neighbor ┆ import ┆ export │ │ --- ┆ --- ┆ --- ┆ --- │ │ u64 ┆ i32 ┆ i32 ┆ i32 │ ╞═════════╪══════════╪════════╪════════╡ │ 37591 ┆ 2 ┆ -1 ┆ -1 │ │ 204753 ┆ 1 ┆ 3 ┆ 3 │ │ 9689 ┆ 2 ┆ 1 ┆ 1 │ │ 62685 ┆ 4 ┆ -1 ┆ -1 │ │ … ┆ … ┆ … ┆ … │ │ 262378 ┆ 7 ┆ 1 ┆ 1 │ │ 139330 ┆ 1 ┆ 0 ┆ 0 │ │ 265651 ┆ 1 ┆ -1 ┆ -1 │ │ 17077 ┆ 10 ┆ 8 ┆ 8 │ └─────────┴──────────┴────────┴────────┘ shape: (9, 5) ┌────────────┬───────────────┬────────────┬───────────┬───────────┐ │ describe ┆ aut_num ┆ neighbor ┆ import ┆ export │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ f64 ┆ f64 ┆ f64 ┆ f64 │ ╞════════════╪═══════════════╪════════════╪═══════════╪═══════════╡ │ count ┆ 95911.0 ┆ 95911.0 ┆ 95911.0 ┆ 95911.0 │ │ null_count ┆ 0.0 ┆ 0.0 ┆ 0.0 ┆ 0.0 │ │ mean ┆ 125671.693403 ┆ 10.15602 ┆ 4.122249 ┆ 4.008946 │ │ std ┆ 112437.127515 ┆ 102.243572 ┆ 52.110393 ┆ 48.272178 │ │ min ┆ 1.0 ┆ -1.0 ┆ -1.0 ┆ -1.0 │ │ 25% ┆ 34821.0 ┆ 1.0 ┆ 0.0 ┆ 0.0 │ │ 50% ┆ 62122.0 ┆ 1.0 ┆ 1.0 ┆ 1.0 │ │ 75% ┆ 205279.5 ┆ 3.0 ┆ 2.0 ┆ 2.0 │ │ max ┆ 6.131644e6 ┆ 9628.0 ┆ 5724.0 ┆ 5344.0 │ └────────────┴───────────────┴────────────┴───────────┴───────────┘ ```as_neighbors_vs_rules.csv