<commit_before># WontoMedia - a wontology web application
# Copyright (C) 2009 - <NAME>
#    www.wontology.com
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License version
# 3 as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program in the file COPYING and/or LICENSE.  If not,
# see <http://www.gnu.org/licenses/>.


# most basic item, used by node model unit tests
one:
  name: aNode
  title: My first node
  description: This node could be anything
  sti_type: ItemNode

two:
  name: bNode
  title: A second node
  description: This category could contain anything
  sti_type: ClassNode


testContainer:
  name: testContainer
  title: testContainer

testItem:
  name: testItem
  title: testItem
  sti_type: ItemNode

testCategory:
  name: testCategory
  title: testCategory
  sti_type: ClassNode

testProperty:
  name: testProperty
  title: testProperty
  sti_type: PropertyNode

edge_one:
  name: testItem.one_of.testCategory
  title: a title
  sti_type: ReiffiedNode

testSubcategory:
  name: testSubcategory
  title: testSubcategory
  sti_type: ClassNode

isAssigned:
  name: isAssigned
  title: isAssigned
  sti_type: PropertyNode



# group of nodes used for testing sub_property_of relationship traversal
# desired structure is:
#   A spo B spo C spo D spo E
#         |    spo M spo (same "Y" as below)
#        spo Z spo Y spo X
A:
  name: A
  title: A

B:
  name: B
  title: B

C:
  name: C
  title: C

D:
  name: D
  title: D

E:
  name: E
  title: E

M:
  name: M
  title: M

X:
  name: X
  title: X

Y:
  name: Y
  title: Y

Z:
  name: Z
  title: Z

fu:
  name: fu
  title: fu

bar:
  name: bar
  title: bar

sn:
  name: sn
  title: sn

afu:
  name: afu
  title: afu



# group of nodes for testing display/sorting of edges on node pages
nodeUsedFrequentlyAsSubject:
  name: nodeUsedFrequentlyAsSubject
  title: nodeUsedFrequentlyAsSubject

nodeUsedFrequentlyAsObject:
  name: nodeUsedFrequentlyAsObject
  title: nodeUsedFrequentlyAsObject

veryBusyNode:
  name: veryBusyNode
  title: veryBusyNode<commit_msg>Made sure all Nodes in fixtures have a valid STI sub-type, and are not raw Node objects (being sloppy before led to new test cases failing for wrong reason....).<commit_after># WontoMedia - a wontology web application
# Copyright (C) 2009 - <NAME>
#    www.wontology.com
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License version
# 3 as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program in the file COPYING and/or LICENSE.  If not,
# see <http://www.gnu.org/licenses/>.


# most basic item, used by node model unit tests
one:
  name: aNode
  title: My first node
  description: This node could be anything
  sti_type: ItemNode

two:
  name: bNode
  title: A second node
  description: This category could contain anything
  sti_type: ClassNode


testContainer:
  name: testContainer
  title: testContainer
  sti_type: ClassNode

testItem:
  name: testItem
  title: testItem
  sti_type: ItemNode

testCategory:
  name: testCategory
  title: testCategory
  sti_type: ClassNode

testProperty:
  name: testProperty
  title: testProperty
  sti_type: PropertyNode

edge_one:
  name: testItem.one_of.testCategory
  title: a title
  sti_type: ReiffiedNode

testSubcategory:
  name: testSubcategory
  title: testSubcategory
  sti_type: ClassNode

isAssigned:
  name: isAssigned
  title: isAssigned
  sti_type: PropertyNode



# group of nodes used for testing sub_property_of relationship traversal
# desired structure is:
#   A spo B spo C spo D spo E
#         |    spo M spo (same "Y" as below)
#        spo Z spo Y spo X
A:
  name: A
  title: A
  sti_type: PropertyNode

B:
  name: B
  title: B
  sti_type: PropertyNode

C:
  name: C
  title: C
  sti_type: PropertyNode

D:
  name: D
  title: D
  sti_type: PropertyNode

E:
  name: E
  title: E
  sti_type: PropertyNode

M:
  name: M
  title: M
  sti_type: PropertyNode

X:
  name: X
  title: X
  sti_type: PropertyNode

Y:
  name: Y
  title: Y
  sti_type: PropertyNode

Z:
  name: Z
  title: Z
  sti_type: PropertyNode

fu:
  name: fu
  title: fu
  sti_type: PropertyNode

bar:
  name: bar
  title: bar
  sti_type: PropertyNode

sn:
  name: sn
  title: sn
  sti_type: PropertyNode

afu:
  name: afu
  title: afu
  sti_type: PropertyNode



# group of nodes for testing display/sorting of edges on node pages
nodeUsedFrequentlyAsSubject:
  name: nodeUsedFrequentlyAsSubject
  title: nodeUsedFrequentlyAsSubject
  sti_type: ClassNode

nodeUsedFrequentlyAsObject:
  name: nodeUsedFrequentlyAsObject
  title: nodeUsedFrequentlyAsObject
  sti_type: ClassNode

veryBusyNode:
  name: veryBusyNode
  title: veryBusyNode
  sti_type: ClassNode
{'fraction_non_alphanumeric': 0.059351529584172925, 'fraction_numerical': 0.0018318373328448433, 'mean_word_length': 3.6153846153846154, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '626988', 'n_tokens_mistral': 1836, 'n_tokens_neox': 1765, 'n_words': 701}