@modality-counter/core 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +54 -30
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -806,7 +806,7 @@ description: "Comprehensive system for detecting and removing AI writing pattern
|
|
|
806
806
|
- "Cluster of 3+ words from this list within 2 sentences"
|
|
807
807
|
- "High-frequency words appear in non-technical, non-specialist writing"
|
|
808
808
|
threshold: "Flag if 2+ AI vocabulary words appear within same sentence"
|
|
809
|
-
cross_references: ["
|
|
809
|
+
cross_references: ["promotional_language", "copula_avoidance"]
|
|
810
810
|
|
|
811
811
|
# Pattern 5: Superficial -ing analyses
|
|
812
812
|
superficial_ing_analyses:
|
|
@@ -913,7 +913,7 @@ description: "Comprehensive system for detecting and removing AI writing pattern
|
|
|
913
913
|
- "Third item feels forced or tangential to first two"
|
|
914
914
|
- "Use of 'three' in framing (three main, three key, three aspects)"
|
|
915
915
|
threshold: "Flag conjunctions that force unrelated items into triplets"
|
|
916
|
-
cross_references: ["generic_filler_phrases", "
|
|
916
|
+
cross_references: ["generic_filler_phrases", "superficial_ing_analyses"]
|
|
917
917
|
|
|
918
918
|
# Pattern 9: Elegant variation and synonym cycling
|
|
919
919
|
elegant_variation:
|
|
@@ -1028,6 +1028,8 @@ description: "Comprehensive system for detecting and removing AI writing pattern
|
|
|
1028
1028
|
- "Automatic smart quote substitution"
|
|
1029
1029
|
why_bad: "Indicates unedited ChatGPT output; should be straight quotes in code/technical content"
|
|
1030
1030
|
how_to_fix: "Replace with straight quotes: straight double quotes and apostrophes"
|
|
1031
|
+
example_before: 'He said "the project is on track" and it is going well'
|
|
1032
|
+
example_after: 'He said "the project is on track" and it is going well'
|
|
1031
1033
|
why_this_works: "Standard for technical and code documentation"
|
|
1032
1034
|
detection_markers:
|
|
1033
1035
|
- "Any non-ASCII quote characters in text"
|
|
@@ -1125,21 +1127,41 @@ description: "Comprehensive system for detecting and removing AI writing pattern
|
|
|
1125
1127
|
- "2+ qualifier words in single sentence (could, might, may, possibly, arguably)"
|
|
1126
1128
|
- "Negation + qualifier (not clear that, unclear whether)"
|
|
1127
1129
|
threshold: "Flag claims with 2+ hedging words in sequence"
|
|
1128
|
-
cross_references: ["
|
|
1130
|
+
cross_references: ["vague_attributions", "generic_positive_conclusions"]
|
|
1129
1131
|
|
|
1130
1132
|
# Pattern 21: Generic filler phrases
|
|
1131
1133
|
generic_filler_phrases:
|
|
1132
1134
|
purpose: "Detect wordy filler that inflates word count without adding meaning"
|
|
1133
1135
|
source: "Humanizer #22"
|
|
1136
|
+
what_to_find:
|
|
1137
|
+
[
|
|
1138
|
+
"In order to",
|
|
1139
|
+
"Due to the fact that",
|
|
1140
|
+
"At this point in time",
|
|
1141
|
+
"Has the ability to",
|
|
1142
|
+
"It is important to note that",
|
|
1143
|
+
"In order that",
|
|
1144
|
+
"For the purpose of",
|
|
1145
|
+
"In light of the fact that",
|
|
1146
|
+
]
|
|
1147
|
+
why_bad: "Adds unnecessary words that weaken sentences and signal AI writing"
|
|
1148
|
+
how_to_fix: "Replace with direct, concise alternatives"
|
|
1149
|
+
example_before: "In order to achieve success, you must make an effort. Due to the fact that resources are limited, we cannot proceed. At this point in time, it is important to note that progress continues."
|
|
1150
|
+
example_after: "To succeed, you must make an effort. Because resources are limited, we cannot proceed. Now, progress continues."
|
|
1151
|
+
why_this_works: "Removes filler while maintaining meaning"
|
|
1134
1152
|
common_replacements:
|
|
1135
|
-
"In order to
|
|
1153
|
+
"In order to": "To"
|
|
1136
1154
|
"Due to the fact that": "Because"
|
|
1137
1155
|
"At this point in time": "Now"
|
|
1138
1156
|
"Has the ability to": "Can"
|
|
1139
1157
|
"It is important to note that": "[Remove and state directly]"
|
|
1140
|
-
"
|
|
1141
|
-
"
|
|
1142
|
-
"
|
|
1158
|
+
"For the purpose of": "To"
|
|
1159
|
+
"In light of the fact that": "Since"
|
|
1160
|
+
"In order that": "So that"
|
|
1161
|
+
detection_markers:
|
|
1162
|
+
- "Multi-word phrases replaceable with single word"
|
|
1163
|
+
- "Redundant prepositions or verb phrases"
|
|
1164
|
+
cross_references: ["transition_cliches", "summary_markers"]
|
|
1143
1165
|
|
|
1144
1166
|
# Pattern 22: Formulaic section structures
|
|
1145
1167
|
formulaic_section_structures:
|
|
@@ -1217,29 +1239,6 @@ description: "Comprehensive system for detecting and removing AI writing pattern
|
|
|
1217
1239
|
|
|
1218
1240
|
# ========== VALIDATION & ENFORCEMENT
|
|
1219
1241
|
|
|
1220
|
-
# Complete validation checklist (updated with all patterns):
|
|
1221
|
-
validation_checklist:
|
|
1222
|
-
step_1: "Argument structure: Scan for contrasts, hedging, theatrical suspense, negative parallelisms - rewrite with clear position"
|
|
1223
|
-
step_2: "Emphasis patterns: Find 'pivotal', 'testament', 'cited in major outlets' - replace with facts"
|
|
1224
|
-
step_3: "Analyses: Spot superficial '-ing' verbs - replace with direct causation"
|
|
1225
|
-
step_4: "Vocabulary: Check for clustering of AI words (additionally, landscape, testament) - use simpler terms"
|
|
1226
|
-
step_5: "Superlatives: Detect 'extremely', 'absolutely', 'stunning' - replace with data/facts"
|
|
1227
|
-
step_6: "Generic terms: Look for 'this industry', 'this space' - name specific companies"
|
|
1228
|
-
step_7: "Transitions: Find 'Furthermore', 'Moreover' - use natural bridges or paragraph breaks"
|
|
1229
|
-
step_8: "Conversational excess: Count conversational sentences per paragraph - max 1 allowed"
|
|
1230
|
-
step_9: "Hedging: Spot multiple qualifiers stacked - use single qualifier only"
|
|
1231
|
-
step_10: "Filler phrases: Remove 'in order to', 'due to the fact that', 'at this point in time'"
|
|
1232
|
-
step_11: "Academic signposting: Find 'It's worth noting', 'In conclusion', 'To summarize' - cut or replace"
|
|
1233
|
-
step_12: "Moral endings: Detect 'This tells us', 'We should' - state facts instead"
|
|
1234
|
-
step_13: "Vague attributions: Find undefined sources - cite specifically with date/organization"
|
|
1235
|
-
step_14: "Style issues: Check for em dashes (max 1 per passage), boldface (minimal), emojis (remove)"
|
|
1236
|
-
step_15: "Formatting: Verify no Title Case headings, no curly quotes, no inline-header lists"
|
|
1237
|
-
step_16: "Meta-communication: Remove 'as of my training', 'I hope this helps', knowledge-cutoff disclaimers"
|
|
1238
|
-
step_17: "Sentence rhythm: Verify short/medium/long variation present, no same length 3x in a row"
|
|
1239
|
-
step_18: "Paragraph structure: Check punchy/standard/deep-dive variety, never same pattern repeated"
|
|
1240
|
-
step_19: "Personality: Have opinions? Acknowledge uncertainty? Use personality? First-person where fitting?"
|
|
1241
|
-
step_20: "Final read-aloud: Does this sound like a human wrote it, or does it feel 'AI-written'?"
|
|
1242
|
-
|
|
1243
1242
|
# Sentence rhythm rules (make it human):
|
|
1244
1243
|
sentence_variation:
|
|
1245
1244
|
short_punch: "3 to 8 words for impact"
|
|
@@ -1277,6 +1276,31 @@ description: "Comprehensive system for detecting and removing AI writing pattern
|
|
|
1277
1276
|
moderate_difficulty: [overused_ai_vocabulary, superlative_abuse, vague_attributions, em_dash_overuse]
|
|
1278
1277
|
harder_to_fix: [contrasts_and_balance, personality_and_soul, rule_of_three_overuse, elegant_variation]
|
|
1279
1278
|
requires_major_revision: [personality_and_soul, formulaic_section_structures, undue_emphasis_patterns]
|
|
1279
|
+
|
|
1280
|
+
# ========== EXECUTION FLOW
|
|
1281
|
+
|
|
1282
|
+
# Complete validation checklist (updated with all patterns):
|
|
1283
|
+
execution_flow:
|
|
1284
|
+
step_1: "Argument structure: Scan for contrasts, hedging, theatrical suspense, negative parallelisms - rewrite with clear position"
|
|
1285
|
+
step_2: "Emphasis patterns: Find 'pivotal', 'testament', 'cited in major outlets' - replace with facts"
|
|
1286
|
+
step_3: "Analyses: Spot superficial '-ing' verbs - replace with direct causation"
|
|
1287
|
+
step_4: "Vocabulary: Check for clustering of AI words (additionally, landscape, testament) - use simpler terms"
|
|
1288
|
+
step_5: "Superlatives: Detect 'extremely', 'absolutely', 'stunning' - replace with data/facts"
|
|
1289
|
+
step_6: "Generic terms: Look for 'this industry', 'this space' - name specific companies"
|
|
1290
|
+
step_7: "Transitions: Find 'Furthermore', 'Moreover' - use natural bridges or paragraph breaks"
|
|
1291
|
+
step_8: "Conversational excess: Count conversational sentences per paragraph - max 1 allowed"
|
|
1292
|
+
step_9: "Hedging: Spot multiple qualifiers stacked - use single qualifier only"
|
|
1293
|
+
step_10: "Filler phrases: Remove 'in order to', 'due to the fact that', 'at this point in time'"
|
|
1294
|
+
step_11: "Academic signposting: Find 'It's worth noting', 'In conclusion', 'To summarize' - cut or replace"
|
|
1295
|
+
step_12: "Moral endings: Detect 'This tells us', 'We should' - state facts instead"
|
|
1296
|
+
step_13: "Vague attributions: Find undefined sources - cite specifically with date/organization"
|
|
1297
|
+
step_14: "Style issues: Check for em dashes (max 1 per passage), boldface (minimal), emojis (remove)"
|
|
1298
|
+
step_15: "Formatting: Verify no Title Case headings, no curly quotes, no inline-header lists"
|
|
1299
|
+
step_16: "Meta-communication: Remove 'as of my training', 'I hope this helps', knowledge-cutoff disclaimers"
|
|
1300
|
+
step_17: "Sentence rhythm: Verify short/medium/long variation present, no same length 3x in a row"
|
|
1301
|
+
step_18: "Paragraph structure: Check punchy/standard/deep-dive variety, never same pattern repeated"
|
|
1302
|
+
step_19: "Personality: Have opinions? Acknowledge uncertainty? Use personality? First-person where fitting?"
|
|
1303
|
+
step_20: "Final read-aloud: Does this sound like a human wrote it, or does it feel 'AI-written'?"
|
|
1280
1304
|
`})})]})}}var dPs=fPs;import{Fragment as pPs,jsx as Ase,jsxs as hPs}from"react/jsx-runtime";function mPs(e={}){let{wrapper:t}=e.components||{};return t?Ase(t,Object.assign({},e,{children:Ase(r,{})})):r();function r(){let n=Object.assign({hr:"hr",h2:"h2",pre:"pre",code:"code"},e.components);return hPs(pPs,{children:[Ase(n.hr,{}),`
|
|
1281
1305
|
`,Ase(n.h2,{children:`name: answer-protocol
|
|
1282
1306
|
description: "Defines behavioral protocols for Deputy AI Assistant response patterns and communication standards"`}),`
|
package/package.json
CHANGED