SciCatProject / SciCatProject/backend

Missing fallback to datasets default at dataset creation

Open
#154 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
27
Forks
37
Avg merge
17h 32m
Merged PRs (30d)
38

Description

Issue Name

Missing fallback to datasets default at dataset creation

Summary

This part hasn't been ported to the new backend

Steps to Reproduce

Look in the code for defaults, e.g. IN=medium,AV=low,CO=low

Expected Behaviour

Fallback to defaults should be implemented in the new be

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 by comparing the new dataset-creation path with common/models/dataset.js, especially lines 279-444, and locate how defaults such as IN=medium, AV=low, and CO=low are handled. Implement the missing fallback in the new backend and verify that dataset creation uses those defaults when values are absent.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.