/ challenges-old / string
Sign in
challenges-old / string

Add string-pluck-v1 challenge, solution schema, and scoring tools

Test tools · #1 · push by owner · main · ddfc839 · .mochi/workflows/test.yml ·
test 1m 18sRaw log
Runner
Job test on ubuntu-latest
Checking out challenges/string at ddfc8399
Container started from catthehacker/ubuntu:act-latest
▸ Post actions/setup-python@v5
OCI runtime exec failed: exec failed: unable to start container process: exec: "node": executable file not found in $PATH: unknown
The post step completed with exit code 127.
Cleaning up the job container
actions/checkout@v40s
▸ actions/checkout@v4
Using mochi's built-in checkout (actions/checkout@v4)
challenges/string is already checked out at ddfc8399 (mochi checks out before the job starts)
actions/setup-python@v545s
▸ actions/setup-python@v5
Downloading actions/setup-python@v5 (a26af69be951)
▾ Installed versions
Version 3.12 was not found in the local cache
(node:23) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Version 3.12 is available for downloading
Download from "https://github.com/actions/python-versions/releases/download/3.12.14-31661455385/python-3.12.14-linux-24.04-x64.tar.gz"
Extract downloaded archive
[command]/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /mochi/temp/74e81126-3dcf-4be0-9832-177cedf2b1c6 -f /mochi/temp/ac7f70d5-3a21-4ca5-b584-74bacf6e45d1
Execute installation script
Check if Python hostedtoolcache folder exist...
Creating Python hostedtoolcache folder...
Create Python 3.12.14 folder
Copy Python binaries to hostedtoolcache folder
Create additional symlinks (Required for the UsePythonVersion Azure Pipelines task and the setup-python GitHub Action)
Upgrading pip...
Collecting pip
Downloading pip-26.2.1-py3-none-any.whl.metadata (4.6 kB)
Downloading pip-26.2.1-py3-none-any.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 67.5 MB/s eta 0:00:00

Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 25.0.1
Uninstalling pip-25.0.1:
Successfully uninstalled pip-25.0.1
Successfully installed pip-26.2.1
Create complete file
Successfully set up CPython (3.12.14)
Run pip install . pytest22s
▸ Run pip install . pytest
Processing ./.
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting pytest
  Downloading pytest-9.1.1-py3-none-any.whl.metadata (7.6 kB)
Collecting numpy (from challenge-tools==0.1.0)
  Downloading numpy-2.5.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (6.6 kB)
Collecting scipy (from challenge-tools==0.1.0)
  Downloading scipy-1.18.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (62 kB)
Collecting jsonschema (from challenge-tools==0.1.0)
  Downloading jsonschema-4.26.0-py3-none-any.whl.metadata (7.6 kB)
Collecting iniconfig>=1.0.1 (from pytest)
  Downloading iniconfig-2.3.0-py3-none-any.whl.metadata (2.5 kB)
Collecting packaging>=22 (from pytest)
  Downloading packaging-26.3-py3-none-any.whl.metadata (3.5 kB)
Collecting pluggy<2,>=1.5 (from pytest)
  Downloading pluggy-1.6.0-py3-none-any.whl.metadata (4.8 kB)
Collecting pygments>=2.7.2 (from pytest)
  Downloading pygments-2.21.0-py3-none-any.whl.metadata (2.5 kB)
Collecting attrs>=22.2.0 (from jsonschema->challenge-tools==0.1.0)
  Downloading attrs-26.1.0-py3-none-any.whl.metadata (8.8 kB)
Collecting jsonschema-specifications>=2023.03.6 (from jsonschema->challenge-tools==0.1.0)
  Downloading jsonschema_specifications-2025.9.1-py3-none-any.whl.metadata (2.9 kB)
Collecting referencing>=0.28.4 (from jsonschema->challenge-tools==0.1.0)
  Downloading referencing-0.37.0-py3-none-any.whl.metadata (2.8 kB)
Collecting rpds-py>=0.25.0 (from jsonschema->challenge-tools==0.1.0)
  Downloading rpds_py-2026.6.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.1 kB)
Collecting typing-extensions>=4.4.0 (from referencing>=0.28.4->jsonschema->challenge-tools==0.1.0)
  Downloading typing_extensions-4.16.0-py3-none-any.whl.metadata (3.3 kB)
Downloading pytest-9.1.1-py3-none-any.whl (386 kB)
Downloading pluggy-1.6.0-py3-none-any.whl (20 kB)
Downloading iniconfig-2.3.0-py3-none-any.whl (7.5 kB)
Downloading packaging-26.3-py3-none-any.whl (129 kB)
Downloading pygments-2.21.0-py3-none-any.whl (1.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 92.7 MB/s  0:00:00
Downloading jsonschema-4.26.0-py3-none-any.whl (90 kB)
Downloading attrs-26.1.0-py3-none-any.whl (67 kB)
Downloading jsonschema_specifications-2025.9.1-py3-none-any.whl (18 kB)
Downloading referencing-0.37.0-py3-none-any.whl (26 kB)
Downloading rpds_py-2026.6.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (366 kB)
Downloading typing_extensions-4.16.0-py3-none-any.whl (45 kB)
Downloading numpy-2.5.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (16.7 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.7/16.7 MB 74.7 MB/s  0:00:00
Downloading scipy-1.18.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (35.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 35.3/35.3 MB 10.3 MB/s  0:00:03
Building wheels for collected packages: challenge-tools
  Building wheel for challenge-tools (pyproject.toml): started
  Building wheel for challenge-tools (pyproject.toml): finished with status 'done'
  Created wheel for challenge-tools: filename=challenge_tools-0.1.0-py3-none-any.whl size=13505 sha256=ed8408a05f1d20811e7d2eaa1ec7ba8dcc125e285d1fe5da74e71357c8db3222
  Stored in directory: /tmp/pip-ephem-wheel-cache-spvape0p/wheels/23/50/50/a59f7467978e40daa069708eb19040f3b10af7b919dc9b6172
Successfully built challenge-tools
Installing collected packages: typing-extensions, rpds-py, pygments, pluggy, packaging, numpy, iniconfig, attrs, scipy, referencing, pytest, jsonschema-specifications, jsonschema, challenge-tools

Successfully installed attrs-26.1.0 challenge-tools-0.1.0 iniconfig-2.3.0 jsonschema-4.26.0 jsonschema-specifications-2025.9.1 numpy-2.5.3 packaging-26.3 pluggy-1.6.0 pygments-2.21.0 pytest-9.1.1 referencing-0.37.0 rpds-py-2026.6.3 scipy-1.18.1 typing-extensions-4.16.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
Run pytest -q tests1s
▸ Run pytest -q tests
.....                                                                    [100%]
5 passed in 0.17s
↑↓ move↵openescclose