<commit_before><?php
$I = new OparlTester($scenario);
$I->wantTo('validate oparl:file objects (one with many attributes, one with few attributes and one Rathausumschau)');
$I->sendGET('/file/7');
$I->seeOparl('
{
  "id": "http://localhost:8080/oparl/v1.0/file/7",
  "type": "https://oparl.org/schema/1.0/File",
  "name": "Dokument mit vielen Eigenschaften",
  "muenchenTransparent:orignalAccessUrl": "http://www.ris-muenchen.de/RII/RII/7.pdf",
  "fileName": "Dokument mit vielen Eigenschaften.pdf",
  "mimeType": "application/pdf",
  "accessUrl": "http://localhost:8080/dokumente/7.pdf",
  "meeting": [
    "http://localhost:8080/oparl/v1.0/meeting/4"
  ],
  "paper": [
    "http://localhost:8080/oparl/v1.0/paper/6"
  ],
  "muenchenTransparent:ocrCreator": "omnipage"
}
');
$I->sendGET('/file/8');
$I->seeOparl('
{
  "id": "http://localhost:8080/oparl/v1.0/file/8",
  "type": "https://oparl.org/schema/1.0/File",
  "name": "Dokument (tiff) mit wenig Eigenschaften",
  "muenchenTransparent:orignalAccessUrl": "http://www.ris-muenchen.de/RII/RII/8.tiff",
  "fileName": "Dokument (tiff) mit wenig Eigenschaften.tiff",
  "mimeType": "image/tiff",
  "accessUrl": "http://localhost:8080/dokumente/8.tiff"
}
');
$I->sendGET('/file/9');
$I->seeOparl('
{
  "id": "http://localhost:8080/oparl/v1.0/file/9",
  "type": "https://oparl.org/schema/1.0/File",
  "name": "Rathausumschau",
  "muenchenTransparent:orignalAccessUrl": "http://www.ris-muenchen.dehttp://example.org/rathausumschau/1-rathaus.pdf",
  "fileName": "Rathausumschau.pdf",
  "mimeType": "application/pdf",
  "accessUrl": "http://localhost:8080/dokumente/9.pdf"
}
');<commit_msg>fix oparl test case<commit_after><?php
$I = new OparlTester($scenario);
$I->wantTo('validate oparl:file objects (one with many attributes, one with few attributes and one Rathausumschau)');
$I->sendGET('/file/7');
$I->seeOparl('
{
  "id": "http://localhost:8080/oparl/v1.0/file/7",
  "type": "https://oparl.org/schema/1.0/File",
  "name": "Dokument mit vielen Eigenschaften",
  "muenchenTransparent:orignalAccessUrl": "https://www.ris-muenchen.de/RII/RII/7.pdf",
  "fileName": "Dokument mit vielen Eigenschaften.pdf",
  "mimeType": "application/pdf",
  "accessUrl": "http://localhost:8080/dokumente/7.pdf",
  "meeting": [
    "http://localhost:8080/oparl/v1.0/meeting/4"
  ],
  "paper": [
    "http://localhost:8080/oparl/v1.0/paper/6"
  ],
  "muenchenTransparent:ocrCreator": "omnipage"
}
');
$I->sendGET('/file/8');
$I->seeOparl('
{
  "id": "http://localhost:8080/oparl/v1.0/file/8",
  "type": "https://oparl.org/schema/1.0/File",
  "name": "Dokument (tiff) mit wenig Eigenschaften",
  "muenchenTransparent:orignalAccessUrl": "https://www.ris-muenchen.de/RII/RII/8.tiff",
  "fileName": "Dokument (tiff) mit wenig Eigenschaften.tiff",
  "mimeType": "image/tiff",
  "accessUrl": "http://localhost:8080/dokumente/8.tiff"
}
');
$I->sendGET('/file/9');
$I->seeOparl('
{
  "id": "http://localhost:8080/oparl/v1.0/file/9",
  "type": "https://oparl.org/schema/1.0/File",
  "name": "Rathausumschau",
  "muenchenTransparent:orignalAccessUrl": "https://www.ris-muenchen.dehttp://example.org/rathausumschau/1-rathaus.pdf",
  "fileName": "Rathausumschau.pdf",
  "mimeType": "application/pdf",
  "accessUrl": "http://localhost:8080/dokumente/9.pdf"
}
');
{'fraction_non_alphanumeric': 0.22351145038167938, 'fraction_numerical': 0.03786259541984733, 'mean_word_length': 4.829181494661921, 'pattern_counts': {'":': 48, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 9, 'lorem ipsum': 0, 'www.': 6, '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': '2991554', 'n_tokens_mistral': 1427, 'n_tokens_neox': 1380, 'n_words': 175}