{"kind":"task","effective_mode":"full","benchmark":{"kind":"benchmark","effective_mode":"full","slug":"scicode","formal_name":"SciCode","introduction":"SciCode evaluates the ability to solve scientific research problems through code. Problems are decomposed into subproblems; this dev import preserves the relationships between 15 parent problems and 50 subproblems.","introduction_ja":"","introduction_en":"","category":"Category not supplied","task_count":null,"acquisition_status":"Acquisition status not supplied","official_url":"https://huggingface.co/datasets/SciCode1/SciCode","indexing_mode":"noindex","profile":{"resources":[],"task_format":"","scoring":"","metric":"","size":"","answer_access":"","license":"","citation":"","maintainer":"","released":"","why_hard":"","related":[]}},"task_id":"b454c81d-d0d0-58d9-a731-b0e0acf9d493","task_key":"dev--38b5a2e7-b9f1-5c81-aa87-6c04903a3eb1--49~2e1","task_revision_id":"3","upstream_id":"49.1","short_description":"Using Newton's law $F_{i,j} = -G m_i m_j \\frac{\\vec{r}_j - \\vec{r}_i…","config":"","split":"dev","body":"{\"step_background\":\"Background\\nGravity follows an inverse square law for the magnitude of the force bewtween two masses. The gravitional force between acting on the first mass $m_1$ of masses $m_1$ and $m_2$ separated by a vector $\\\\vec{r}$ of length $r$ is:\\n\\n$$\\n\\\\vec{F_1} = - \\\\frac{G m_1 m_2}{r^2} \\\\frac{\\\\vec{r}}{r}\\n$$\\n\\nwhere $G = 6.67430\\\\times10^{−11} N m^2/kg^2$ is the gravitational constant, $\\\\frac{\\\\vec{r}}{r}$ is the unit vector pointing from mass $m_1$ to mass $m_2$.\",\"step_description_prompt\":\"Using Newton's law $F_{i,j} = -G m_i m_j \\\\frac{\\\\vec{r}_j - \\\\vec{r}_i }{|\\\\vec{r}_i - \\\\vec{r}_j|^3}$ of gravitational attraction between two bodies $i$ and $j$ of masses $m_i$ and $m_j$ at location $\\\\vec{r}_i$ and $\\\\vec{r}_j$, write a function that computes the forces acting on each particle. $G = 6.67430\\\\times10^{−11} N m^2/kg^2$ is the gravitational constant. The function shall take as input the current location of the particles as a 1D array xin of size $3*N$ for $N$ particles. The output is the 1D array of forces acting on each particles also as a $3*N$ length array.\"}","display_format":"scicode-step","language":"","answer_status":"published","assets":[],"source_url":"https://huggingface.co/datasets/SciCode1/SciCode","history":"initial import","indexing_mode":"noindex","subproblems":[],"grids":[]}