ML4GW / ML4GW/aframe

Set up a mock GraceDB

Open Beginner friendly
#458 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

online-overhaul
Dominant language
Python
Stars
18
Forks
28
Avg merge
2d 2h
Merged PRs (30d)
7

Description

Add a MockGraceDb fixture to online/tests/conftest.py to enable unit testing of event_creation_subprocess, amplfi_subprocess, and pastro_subprocess without live GraceDB access.

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

Start with online/tests/conftest.py and inspect how event_creation_subprocess, amplfi_subprocess, and pastro_subprocess access GraceDB. Add the MockGraceDb fixture there, then run the related unit tests and confirm they no longer require live GraceDB access.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
74/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.