<commit_before><?php
/**
 * ScribdTest.php
 *
 * @package Embera
 * @author <NAME> <<EMAIL>>
 * @link   http://www.michael-pratt.com/
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Embera\Provider;

use Embera\ProviderTester;

/**
 * Test the Scribd Provider
 */
final class ScribdTest extends ProviderTester
{
    protected $tasks = [
        'valid_urls' => [
            'https://www.scribd.com/document/293634945/Fire-Fuels-and-Streams-The-Effects-and-Effectiveness-of-Riparian-Treatments',
            'https://www.scribd.com/doc/110799637/Synthesis-of-Knowledge-Effects-of-Fire-and-Thinning-Treatments-on-Understory-Vegetation-in-Dry-U-S-Forests',
            'https://www.scribd.com/document/345372585/Data-Hiding-in-Audio-Video-using-Anti-Forensics-Technique-for-Authentication',
        ],
        'invalid_urls' => [
            'https://www.scribd.com/',
        ],
        'fake_response' => [
            'type' => 'rich',
            'html' => '<iframe'<commit_msg>Cleaned test urls on Scribd<commit_after><?php
/**
 * ScribdTest.php
 *
 * @package Embera
 * @author <NAME> <<EMAIL>>
 * @link   http://www.michael-pratt.com/
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Embera\Provider;

use Embera\ProviderTester;

/**
 * Test the Scribd Provider
 */
final class ScribdTest extends ProviderTester
{
    protected $tasks = [
        'valid_urls' => [
            'https://www.scribd.com/document/293634945/Fire-Fuels-and-Streams-The-Effects-and-Effectiveness-of-Riparian-Treatments',
            'https://www.scribd.com/doc/110799637/Synthesis-of-Knowledge-Effects-of-Fire-and-Thinning-Treatments-on-Understory-Vegetation-in-Dry-U-S-Forests',
        ],
        'invalid_urls' => [
            'https://www.scribd.com/',
        ],
        'fake_response' => [
            'type' => 'rich',
            'html' => '<iframe'
{'fraction_non_alphanumeric': 0.14896755162241887, 'fraction_numerical': 0.022123893805309734, 'mean_word_length': 2.7067395264116576, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 19, 'https://': 7, 'lorem ipsum': 0, 'www.': 9, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3936324', 'n_tokens_mistral': 723, 'n_tokens_neox': 683, 'n_words': 110}