CITCOM-project / CITCOM-project/CausalTestingFramework

Parallel test execution

Open
#192 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature
Dominant language
Python
Stars
20
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
The JSON frontend currently executes test suites in a for loop. For large datasets, this can be quite slow. It would be good if we could execute tests in parallel to speed things up a bit, although it is desirable to preserve the order in which results are presented.

I believe the easiest way to do this would be to have the msg object be returned, and then we could just use multiprocessing and pool.map.

Contributor guide

Open the contributing guide

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

No file or test is named; start by locating the JSON frontend's loop over test suites and tracing how the msg object is produced and consumed. Check existing test-execution tests, if present, then verify parallel execution preserves result order and does not change results for large datasets.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.