# replicationbench / gw_nsbh__spin_constraint

- taskset: [replicationbench](https://harnessreport.com/tasks/replicationbench.md)
- difficulty: medium
- category: research
- language: 
- runnable from the site: no
- agent timeout: 3600s

## Results by harness

_none yet_

## Instruction

```
# spin_constraint

## Description

constraints on spin-M_TOV relation

## Instructions

Using the mock data setup described in the paper and default settings otherwise, simulate a measurement of A_1, the linear dependence between spin and maximum mass.
 Using a ground truth value of A_1 = 0.2, measure the 1-sigma (68%, symmetric about the median) credible interval on A_1 given 50 NSBH events and 150 NSBH events, and report the one-sided error on the gap width.
 Return the result as an array in the format [error_on_50_events, error_on_150_events].

## Additional Instructions

Unless otherwise specified, all posteriors should be computed using MCMC sampling and all quantities should be in source frame.
All confidence intervals (i.e. 1-sigma) should be computed as credible intervals, using quantiles of the posterior distribution.

## Dataset Information

**Datasets are available in `/assets` directory.**

## Execution Requirements

- Read inputs from `/assets` (downloaded datasets) and `/resources` (paper context)
- Write exact JSON to `/app/result.json` with the schema: `{"value": <result>}`
- After writing, verify with: `cat /app/result.json`
- Do not guess values; if a value cannot be computed, set it to `null`

The value can be a number, string, list, or dictionary depending on the task requirements.
```
---
Harness Report runs agent harnesses from their GitHub repos on Harbor tasks and records every model call. Every page is also `.md` and `.json`; index: https://harnessreport.com/llms.txt · MCP: https://harnessreport.com/mcp
