<commit_before>Class {
	#name : #RTMultiLinearColorForIdentity,
	#superclass : #RTMultiLinearColor,
	#instVars : [
		'objects'
	],
	#category : #'Roassal2-ColorNormalizer'
}

{ #category : #'as yet unclassified' }
RTMultiLinearColorForIdentity >> initialize [
	super initialize.
	self colors: (ColorPalette qualitative colors: 12 scheme: 'Set3').
	objects := #()
]

{ #category : #'as yet unclassified' }
RTMultiLinearColorForIdentity >> objects: someObjects [
	objects := someObjects
]

{ #category : #'as yet unclassified' }
RTMultiLinearColorForIdentity >> rtValue: anObject [
	^ self level: (objects indexOf: anObject) / objects size
]<commit_msg>0.292 : Fix in the multilinecolorforidentity - Bug fix<commit_after>Class {
	#name : #RTMultiLinearColorForIdentity,
	#superclass : #RTMultiLinearColor,
	#instVars : [
		'objects'
	],
	#category : #'Roassal2-ColorNormalizer'
}

{ #category : #'as yet unclassified' }
RTMultiLinearColorForIdentity >> initialize [
	super initialize.
	self colors: (ColorPalette qualitative colors: 12 scheme: 'Set3').
	objects := #()
]

{ #category : #'as yet unclassified' }
RTMultiLinearColorForIdentity >> objects: someObjects [
	objects := someObjects
]

{ #category : #'as yet unclassified' }
RTMultiLinearColorForIdentity >> rtValue: anObject [
	^ self level: (objects indexOf: anObject) - 1 / objects size
]
{'fraction_non_alphanumeric': 0.12620638455827765, 'fraction_numerical': 0.009651076466221232, 'mean_word_length': 5.419047619047619, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4147953', 'n_tokens_mistral': 446, 'n_tokens_neox': 429, 'n_words': 105}