• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ooni / probe-cli / 7016271537
72%

Build:
DEFAULT BRANCH: master
Ran 28 Nov 2023 08:51AM UTC
Jobs 1
Files 522
Run time 31s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Nov 2023 08:47AM UTC coverage: 80.324% (+0.4%) from 79.917%
7016271537

push

github

web-flow
feat: minipipeline to analyze measurements (#1393)

This diff introduces the `minipipeline` package and command. The general
idea here is to analyze experiments results using an architecture that
matches https://github.com/ooni/data as closely as possible.

The advantage of using this architecture is that we can neatly divide
the data analysis process into three phases:

1. ingestion converts an OONI measurement into observations, which are
flat data structures;

2. analysis converts observations into an analysis structure, which is
significantly simpler than observations;

3. scoring is the process (implemented by each experiment) to turn the
analysis into top-level keys.

That is:

```mermaid
stateDiagram-v2
  state "{ingestion}" as ingestion
  MEASUREMENT --> ingestion
  ingestion --> OBSERVATIONS
  state "{analysis}" as analysis
  OBSERVATIONS --> analysis
  analysis --> ANALYSIS
  state "{scoring}" as scoring
  ANALYSIS --> scoring
  scoring --> TOP_LEVEL_KEYS
```

This diff in particular tackles points 1 and 2. We'll implement 3 for
Web Connectivity LTE in a separate diff.

The diff itself commits several observations and analysis files along
with the measurements from which they originate, which we all
collectively use to write regression tests for the `minipipeline`
package.

The motivation for implementing these changes is that I need a more
clearly defined model to address the differences between Web
Connectivity LTE and v0.4 (see also
https://github.com/ooni/probe-cli/pull/1392). Because there is already
an architectural model for implementing these changes in ooni/data, it
seems logical to borrow liberally from ooni/data.

Incidentally, this change has the benefit of making it easier, in the
future, to align ooni/probe-cli and ooni/data.

The reference issue is https://github.com/ooni/probe/issues/2634.
Implementing this change seems now a precondition for implementing extra
changes that w... (continued)

640 of 640 new or added lines in 4 files covered. (100.0%)

4 existing lines in 1 file now uncovered.

24560 of 30576 relevant lines covered (80.32%)

30.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 0 - 7016271537.1 28 Nov 2023 08:51AM UTC 0
80.32
GitHub Action Run
Source Files on build 7016271537
Detailed source file information is not available for this build.
  • Back to Repo
  • bb7dd9c1 on github
  • Prev Build on master (#6956344184)
  • Next Build on master (#7017803153)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc