OpenCloning / OpenCloning/OpenCloning_frontend

Allow validation of a cloning strategy

Open
#13 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
4
Forks
10
Avg merge
11d 9h
Merged PRs (30d)
3

Description

Right now, you can export a cloning strategy, and load it again. However, you could make changes to the sequence by editing the json file you originally exported, and re-load it again in the page, and the tree would be displayed without warnings.

There should be an optional way (not every time you load data) to validate that starting from the oldest ancestors, and following the steps written in the json, the produced sequences exactly match the ones originally exported. This could require a single api entry point that validates the whole thing, or subsequent requests. Probably several calls is better.

This would also confirm that the information we keep in the json file is sufficient to generate a deterministic tree, and could be used in tests.

For cloning strategies including sequence file submissions by the user, this would require exporting files submitted by the user when exporting the data.

Contributor guide

No contributing guide indexed for this repository

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 tracing the page's JSON export and reload flow, then identify the API entry point or sequence of requests involved in generating the tree. Define validation around reproducing the exported sequences from the oldest ancestors and document how user-submitted sequence files from issue #12 affect the scope; done means altered JSON is detected and valid exports can be checked in tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.