AllenInstitute / AllenInstitute/AllenSDK

last trial mismatch between session.trials and session.stimulus_presentations

Open
#893 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

behavior braintv
Dominant language
Jupyter Notebook
Stars
398
Forks
163
PR merge metrics
No merged PRs in 30d

Description

Discovered in the course of dealing with issue #802

image

The stimulus_presentations dataframe doesn't seem to have entries corresponding to some or all of the stimuli that would have been shown on the last trial.

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 reviewing issue #802 and tracing how session.trials and session.stimulus_presentations are produced. Compare their final-trial entries for the affected session data and identify the expected correspondence. Done means the missing last-trial stimulus entries are restored or the mismatch is explicitly handled, with a regression test covering it.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.