Skip to content

Some example's ground_truth_code do not pass the tests in dev set #43

@John-Boccio

Description

@John-Boccio

The following problems from the dev set do not pass the tests:

Problem 78.3:

Traceback (most recent call last):                                                                          scicode.py:230
                               File "/app/test.py", line 121, in <module>                                                                                             
                                 assert np.allclose(pendulum_analysis(g, L, beta, A, alpha, initial_state, t0, tf, min_dt, max_dt, num_timesteps),                    
                             target)                                                                                                                                  
                               File "/usr/local/lib/python3.10/site-packages/numpy/core/numeric.py", line 2241, in allclose                                           
                                 res = all(isclose(a, b, rtol=rtol, atol=atol, equal_nan=equal_nan))                                                                  
                               File "/usr/local/lib/python3.10/site-packages/numpy/core/numeric.py", line 2351, in isclose                                            
                                 return within_tol(x, y, atol, rtol)                                                                                                  
                               File "/usr/local/lib/python3.10/site-packages/numpy/core/numeric.py", line 2332, in within_tol                                         
                                 return less_equal(abs(x-y), atol + rtol * abs(y))                                                                                    
                             ValueError: operands could not be broadcast together with shapes (10001,2) (2,2)

Problem 70.8:

Traceback (most recent call last):                                                                          scicode.py:230
                               File "/app/test.py", line 224, in <module>                                                                                             
                                 assert np.allclose(probabilities_3nu(hamiltonian, L), target)

Problem 51.4: Timeout

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions