23ws-LLMcoder/LLMcoder-GitHub-Python-Mix-Direct
Dataset Card for LLMcoder-GitHub-Python-Mix-Direct Python target autocomplete suggestions in the format of conversations for OpenAI's fine-tuning. Dataset Details Dataset Description Curated by: [More Information Needed] Funded by [optional]: [More Information Needed] Shared by [optional]: [More Information Needed] Language(s) (NLP): [More Information Needed] License: [More Information Needed] Dataset Sources [optional] The data… See the full description on the dataset page: https://huggingface.co/datasets/23ws-LLMcoder/LLMcoder-GitHub-Python-Mix-Direct.
0216
1# Reproductions/tests for crashes/read errors in TiffDecode.c2 3# When run in Python, all of these images should fail for4# one reason or another, either as a buffer overrun,5# unrecognized datastream, or truncated image file.6# There shouldn't be any segfaults.7#8# if run like9# `valgrind --tool=memcheck pytest test_tiff_crashes.py 2>&1 | grep TiffDecode.c`10# the output should be empty. There may be Python issues11# in the valgrind especially if run in a debug Python12# version.13 14import pytest15 16from PIL import Image17 18from .helper import on_ci19 20 21@pytest.mark.parametrize(22 "test_file",23 [24 "Tests/images/crash_1.tif",25 "Tests/images/crash_2.tif",26 "Tests/images/crash-2020-10-test.tif",27 "Tests/images/crash-0c7e0e8e11ce787078f00b5b0ca409a167f070e0.tif",28 "Tests/images/crash-0e16d3bfb83be87356d026d66919deaefca44dac.tif",29 "Tests/images/crash-1152ec2d1a1a71395b6f2ce6721c38924d025bf3.tif",30 "Tests/images/crash-1185209cf7655b5aed8ae5e77784dfdd18ab59e9.tif",31 "Tests/images/crash-338516dbd2f0e83caddb8ce256c22db3bd6dc40f.tif",32 "Tests/images/crash-4f085cc12ece8cde18758d42608bed6a2a2cfb1c.tif",33 "Tests/images/crash-86214e58da443d2b80820cff9677a38a33dcbbca.tif",34 "Tests/images/crash-f46f5b2f43c370fe65706c11449f567ecc345e74.tif",35 "T