ooni / ooni/explorer

Show Top ASes by default on MAT

Open
#969 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
92
Forks
45
PR merge metrics
No merged PRs in 30d

Description

On Mat, we can easily be overwhelmed with the number of ASes in a large country like Brazil.

It would be better if it showed only the top ASes by default.

In my analysis of blocking of X in Brazil I had to manually select the top ASes to have a screenshot that was meaningful to people:
image

From: https://explorer.ooni.org/chart/mat?test_name=web_connectivity&axis_x=measurement_start_day&since=2024-09-11&until=2024-09-19&time_grain=day&probe_cc=BR&probe_asn=AS28573%2CAS26599%2CAS26615%2CAS7738%2CAS27699&axis_y=probe_asn&domain=x.com
(still needs AS names though)

You can get Top ASes from the Cloudflare Radar API.

This will also save you computing in your database.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the MAT chart and reviewing how AS selections are represented. Check the Cloudflare Radar API for top-AS data and determine how AS names are obtained. Done means MAT defaults to a manageable set of named top ASes while preserving meaningful charts and reducing unnecessary database computation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.