astrodbtoolkit / astrodbtoolkit/astrodb_utils

Write tests related to the `adopted` column

Open
#32 0 comments 0 reactions 0 assignees View on GitHub
low priority tests
Dominant language
Python
Stars
0
Forks
10
PR merge metrics
No merged PRs in 30d

Description

[Condensed from https://github.com/SIMPLE-AstroDB/SIMPLE-db/issues/84]

Tests should fail if there are multiple measurements set as 'adopted'. That is, if set to false/null they would not trigger a failure, just when you have 2 or more entries set to true.

[On hold until a table with an adopted column is added to the template database: https://github.com/astrodbtoolkit/astrodb-template-db/issues/37)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing test suite and how tables with an `adopted` column are represented. The issue is on hold until astrodb-template-db issue 37 adds a suitable table; once available, add coverage showing that two or more `true` measurements fail while zero or one `true` measurement passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
databases, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.