brain-score / brain-score/core

Implement "__slots__" in the class Score

Open
#93 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Hi, I always get the following warning: `/.../brainscore_core/metrics/__init__.py:16: FutureWarning: xarray subclass Score should explicitly define __slots__
class Score(DataAssembly):` when using brainscore. I wonder if this could be implemented? Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading brainscore_core/metrics/__init__.py around line 16, where Score subclasses DataAssembly, and inspect how the class is defined. Done means Score explicitly defines __slots__ and the reported FutureWarning no longer appears when using brainscore.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.