You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Manifest:**`id`, `name`, `version`, `requiresConfig`, `configurationFields`, `signalTypeIds`, `modelCard` (must include every section id in `REQUIRED_MODEL_CARD_SECTION_IDS` from `@roostorg/types`; call `assertModelCardHasRequiredSections(modelCard)` when registering).
-`RANDOM_SCORE`: `run()` returns `{ outputType: { scalarType: 'NUMBER' }, score: number }` in [0, 1]; no config. Threshold is set in the rule (above/below).
Copy file name to clipboardExpand all lines: package.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@roostorg/coop-integration-example",
3
-
"version": "1.0.0",
3
+
"version": "2.0.0",
4
4
"description": "Example package to show how a custom integration and signal can be used in COOP this is meant to be a reference repository and provide basic determination",
'Example plugin with two signals: one uses org config (boolean), one returns a numeric score so you can set a threshold in the rule (over/under).',
33
+
'This reference integration does not use a trained model. Outputs are randomly generated for demonstration and testing of COOP rules, configuration, and UI only.',
34
34
},
35
+
],
36
+
},
37
+
{
38
+
id: 'policyAndTaxonomy',
39
+
title: 'Policy and Taxonomy',
40
+
fields: [
41
+
{
42
+
label: 'Scope',
43
+
value:
44
+
'Not a content policy engine. Signals are placeholders: boolean “coin flip” with configurable probability and a numeric random score for threshold exercises in rules.',
45
+
},
46
+
],
47
+
},
48
+
{
49
+
id: 'annotationMethodology',
50
+
title: 'Annotation Methodology',
51
+
fields: [
52
+
{
53
+
label: 'Method',
54
+
value:
55
+
'No human or automated labeling pipeline. Values are produced with Math.random() (or equivalent logic) at evaluation time.',
56
+
},
57
+
],
58
+
},
59
+
{
60
+
id: 'performanceBenchmarks',
61
+
title: 'Performance and Benchmarks',
62
+
fields: [
63
+
{
64
+
label: 'Benchmarks',
65
+
value:
66
+
'No precision, recall, or latency benchmarks apply. Do not use performance claims from this package in production decisions.',
67
+
},
68
+
],
69
+
},
70
+
{
71
+
id: 'biasAndLimitations',
72
+
title: 'Bias and Limitations',
73
+
fields: [
74
+
{
75
+
label: 'Limitations',
76
+
value:
77
+
'Outputs are uncorrelated with input content. Unsuitable for safety, compliance, or moderation decisions. For integration testing and developer learning only.',
78
+
},
79
+
],
80
+
},
81
+
{
82
+
id: 'implementationGuidance',
83
+
title: 'Implementation Guidance',
84
+
fields: [
35
85
{
36
86
label: 'Signals',
37
-
value: `${SIGNAL_TYPE_RANDOM_SELECTION} (boolean, config-driven) and ${SIGNAL_TYPE_RANDOM_SCORE} (number 0–1, threshold in rule).`,
87
+
value: `${SIGNAL_TYPE_RANDOM_SELECTION} (boolean; org config truePercentage 0–100). ${SIGNAL_TYPE_RANDOM_SCORE} (number; set threshold and above/below in the rule).`,
88
+
},
89
+
{
90
+
label: 'Configuration',
91
+
value:
92
+
'Random Signal Selection requires org integration config (true percentage). Random Score requires no integration config.',
0 commit comments