File size: 2,063 Bytes
a7841c5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
============================= test session starts ==============================
platform linux -- Python 3.11.2, pytest-8.4.1, pluggy-1.6.0
rootdir: /tests
plugins: json-ctrf-0.3.5
collected 1 item

../tests/test_outputs.py .                                               [100%]

=============================== warnings summary ===============================
../usr/local/lib/python3.11/dist-packages/_pytest/cacheprovider.py:475
  /usr/local/lib/python3.11/dist-packages/_pytest/cacheprovider.py:475: PytestCacheWarning: could not create cache path /tests/.pytest_cache/v/cache/nodeids: [Errno 30] Read-only file system: '/tests/pytest-cache-files-fq10ms_k'
    config.cache.set("cache/nodeids", sorted(self.cached_nodeids))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
==================================== PASSES ====================================
_________________________________ test_rubric __________________________________
----------------------------- Captured stdout call -----------------------------
{
  "reward": 0.72,
  "stages": {
    "scene": {
      "earned": 0.34,
      "available": 0.34,
      "feedback": []
    },
    "vertical": {
      "earned": 0.17,
      "available": 0.25,
      "feedback": [
        "Make the squash slower than the spring and remove sudden height jumps."
      ]
    },
    "sideways": {
      "earned": 0,
      "available": 0.2,
      "feedback": [
        "Move the entire row half a spacing to the right on each hop.",
        "Keep the row still while squashing; move it during spring-back.",
        "Ease the sideways movement rather than jumping between positions."
      ]
    },
    "colour": {
      "earned": 0.1,
      "available": 0.1,
      "feedback": []
    },
    "delivery": {
      "earned": 0.11,
      "available": 0.11,
      "feedback": []
    }
  }
}
=========================== short test summary info ============================
PASSED ../tests/test_outputs.py::test_rubric
======================== 1 passed, 1 warning in 24.88s =========================