Skip to content

Submission system bug fixing - #222

Merged
franzigeiger merged 6 commits into
brain-score:masterfrom
franzigeiger:master
Jul 8, 2020
Merged

franzigeiger merged 6 commits into
brain-score:masterfrom
franzigeiger:master

Conversation

@franzigeiger

@franzigeiger franzigeiger commented Jul 3, 2020 •

Copy link
Copy Markdown
Contributor
  • Added secret manager usage
  • Reworked database access slightly. Connections are reestablished for every insert now.
  • Add advanced zip file content check: The algorithm tries to decide which of all existing folders is the correct one. deal with __MACOSX #214
  • Add error description for failed benchmarks

@franzigeiger
franzigeiger requested a review from mschrimpf July 3, 2020 09:31
@franzigeiger
franzigeiger merged commit 992bb2e into brain-score:master Jul 8, 2020
Nishant-codex pushed a commit to Nishant-codex/vision that referenced this pull request Jul 2, 2026
* Add file check, finish secret manager usage

* Add proper error message for submissions

* Add layer mapping

* Change score_model function call

* keep model object
KartikP added a commit that referenced this pull request Nov 10, 2026
`score()` read the behavior protocol from the subject's private state,
so a subject that is not a BrainScoreModel but answers by generation was
stamped behavior:readout (Contract Rule 2.2).

Changes:
- `score()` opens core's `record_measures()` around the benchmark run
and passes the record to `infer_score_protocol` and
`stamp_score_metadata`. The protocol and the optional `attrs['measure']`
come from the responses the subject returned.
- A core without `record_measures` raises an ImportError that names the
required revision.
- `requirements-v2.txt` pins core to fdeb451 (brain-score/core#222,
which adds `record_measures`; it also contains #221).

Evidence: new tests in tests/test_preflight.py send a real behavior
StreamEvent into a BufferedSession and check the stamp. Core #222 passed
its full CI, including the vision, language and unified offline suites.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants