MetaCell / MetaCell/NetPyNE-UI

Return trials to frontend only when they are used

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

Nobody has claimed this yet.

enhancement UI
Dominant language
JavaScript
Stars
23
Forks
10
PR merge metrics
No merged PRs in 30d

Description

In the backend, an Experiment is stored together with its generated trials in memory, after an Experiment was created in the frontend.

For the Experiments list view we don't need the trials but they are still returned.

For many Experiments with large number of trials this leads to unnecessary transfer of information, slowing down the application, especially when the instance has limited resources.

We should only return (and even generate) the trials if a user opens the Experiment detail view.

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

Trace how Experiments are stored and returned for the frontend list view, then compare that flow with the Experiment detail view. Confirm where trials are generated and transferred; done means list responses avoid unused trials while opening an Experiment still generates and returns them.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend, frontend
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.