Dontopedia

compare_words

From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-06.)

compare_words has 60 facts recorded in Dontopedia across 8 references, with 7 live disagreements.

60 facts·41 predicates·8 sources·7 in dispute

Mostly:has parameter(10), calls function(4), defined in(3)

Maturity scale raw canonical shape-checked rule-derived certified

Has Parameterin disputehasParameter

Inbound mentions (2)

Other subjects in dontopedia point AT this entity as a value. These are inverse relationships — e.g. "X motherOf this subject" — and answer questions the forward facts can't. Grouped by predicate.

definesFunctionDefines Function(1)

usesComparatorUses Comparator(1)

Other facts (49)

The long tail: predicates that appear too rarely to warrant their own section. Filter or scroll to find a specific one. Each row links to its source.

49 facts
PredicateValueRef
Calls FunctionScore Word[4]
Calls FunctionStrcmp[4]
Calls FunctionScore Word Function[6]
Calls FunctionStrcmp Function[6]
Defined inScrabble Solver Code[3]
Defined inJumble Word Finder Program[4]
Defined inFirst C Code Block[4]
Takes Parametersa, b[3]
Takes Parametersconst void* a, const void* b[4]
Implements ComparatorQsort[4]
Implements Comparatorqsort[4]
Rdf:typeC Function[6]
Rdf:typeFunction[7]
Sorts byascending score[8]
Sorts byalphabetically[8]
Used for Qsortnull[1]
Sorts by ScoreAscending[1]
Incomplete in Textnull[1]
Sorts by Ascending Scoretrue[2]
Sorts Then Alphabeticallytrue[2]
Casts to Char Pointerstrue[2]
Handles Void Pointerstrue[2]
Is Qsort Comparatortrue[2]
Stable Sort Via Strcmp on Tienull[3]
Conditions onsa == sb[3]
Returns Difference Otherwisesa - sb[3]
Returns If EqualStrcmp Function[3]
Used As Comparatornull[3]
Casts toChar Double Pointer[4]
Compares ScoresSa and Sb[4]
Stable Sort FallbackStrcmp[4]
Returns Differencesa - sb[4]
Casts Param a toWa[4]
Casts Param B toWb[4]
Else ReturnsSa Minus Sb[4]
Has ConditionalSa Equals Sb Check[4]
Return Typeint[4]
Sorts by Score Primarytrue[4]
Sorts by Lex Secondarytrue[4]
Has CommentSort by Score Ascending Comment[5]
Designed for Use WithQsort Function[5]
Return Valueint[6]
Implements LogicSort by Score Then Alphabetical[6]
Has Namecompare_words[7]
Has Return TypeInt[7]
Invokes FunctionStrcmp Function[7]
Uses Functionqsort[8]
Intended AsComparator Function[8]
Casts PointerWa[8]

Timeline

Timeline axis is valid_time — when each source says the fact was true in the world, not when Dontopedia learned about it. Retracted rows are kept for provenance; coloured stripes indicate the context kind.

usedForQsortblah/omega/part-560
null
sortsByScoreblah/omega/part-560
ex:ascending
incompleteInTextblah/omega/part-560
null
sortsByAscendingScoreblah/omega/part-565
true
sortsThenAlphabeticallyblah/omega/part-565
true
castsToCharPointersblah/omega/part-565
true
handlesVoidPointersblah/omega/part-565
true
isQsortComparatorblah/omega/part-565
true
takesParametersblah/omega/part-561
a, b
stableSortViaStrcmpOnTieblah/omega/part-561
null
conditionsOnblah/omega/part-561
sa == sb
returnsDifferenceOtherwiseblah/omega/part-561
sa - sb
definedInblah/omega/part-561
ex:scrabble-solver-code
returnsIfEqualblah/omega/part-561
ex:strcmp-function
usedAsComparatorblah/omega/part-561
null
castsToblah/omega/part-563
ex:char-double-pointer
comparesScoresblah/omega/part-563
ex:sa-and-sb
callsFunctionblah/omega/part-563
ex:score-word
callsFunctionblah/omega/part-563
ex:strcmp
stableSortFallbackblah/omega/part-563
ex:strcmp
implementsComparatorblah/omega/part-563
ex:qsort
definedInblah/omega/part-563
ex:jumble-word-finder-program
takesParametersblah/omega/part-563
const void* a, const void* b
returnsDifferenceblah/omega/part-563
sa - sb
hasParameterblah/omega/part-563
ex:param-b
castsParamAToblah/omega/part-563
ex:wa
castsParamBToblah/omega/part-563
ex:wb
definedInblah/omega/part-563
ex:first-c-code-block
elseReturnsblah/omega/part-563
ex:sa-minus-sb
hasConditionalblah/omega/part-563
ex:sa-equals-sb-check
hasParameterblah/omega/part-563
ex:param-a
returnTypeblah/omega/part-563
int
implementsComparatorblah/omega/part-563
qsort
sortsByScorePrimaryblah/omega/part-563
true
sortsByLexSecondaryblah/omega/part-563
true
hasParameterblah/omega/555
ex:void-pointer-a
hasParameterblah/omega/555
ex:void-pointer-b
hasCommentblah/omega/555
ex:sort-by-score-ascending-comment
designedForUseWithblah/omega/555
ex:qsort-function
typeblah/omega/556
ex:CFunction
hasParameterblah/omega/556
ex:parameter-a
hasParameterblah/omega/556
ex:parameter-b
callsFunctionblah/omega/556
ex:score-word-function
callsFunctionblah/omega/556
ex:strcmp-function
returnValueblah/omega/556
int
implementsLogicblah/omega/556
ex:sort-by-score-then-alphabetical
typeblah/omega/558
ex:Function
hasNameblah/omega/558
compare_words
hasReturnTypeblah/omega/558
ex:Int
hasParameterblah/omega/558
ex:parameter-a
hasParameterblah/omega/558
ex:parameter-b
invokesFunctionblah/omega/558
ex:strcmp-function
labelblah/omega/560
compare_words
hasParameterblah/omega/560
ex:param-a
hasParameterblah/omega/560
ex:param-b
usesFunctionblah/omega/560
qsort
intendedAsblah/omega/560
ex:comparator-function
sortsByblah/omega/560
ascending score
sortsByblah/omega/560
alphabetically
castsPointerblah/omega/560
ex:wa

References (8)

8 references
  1. [1]Part 5603 facts
    ctx:discord/blah/omega/part-560
  2. [2]Part 5655 facts
    ctx:discord/blah/omega/part-565
  3. [3]Part 5617 facts
    ctx:discord/blah/omega/part-561
  4. [4]Part 56320 facts
    ctx:discord/blah/omega/part-563
  5. [5]5554 facts
    ctx:discord/blah/omega/555
    • full textomega-555
      text/plain2 KBdoc:agent/omega-555/09a46997-67f1-4753-a041-de893a761be6
      Show excerpt
      [2025-12-04 15:03] omega [bot]: The code execution environment rejected the C code submission with a 401 Unauthorized error. Here's the full C program for a scrabble solver as requested. You can compile and run it locally on your system:
  6. [6]5567 facts
    ctx:discord/blah/omega/556
    • full textomega-556
      text/plain3 KBdoc:agent/omega-556/5793d354-6a8a-4aa2-96a8-42f2657ee07a
      Show excerpt
      [2025-12-04 15:03] omega [bot]: ```c const char** wa = (const char**)a; const char** wb = (const char**)b; int sa = score_word(*wa); int sb = score_word(*wb); if (sa == sb) { return strcmp(*wa, *wb); } re
  7. [7]5586 facts
    ctx:discord/blah/omega/558
    • full textomega-558
      text/plain3 KBdoc:agent/omega-558/80b403a6-4f43-45c7-a14e-4128fb38a7f3
      Show excerpt
      [2025-12-04 15:04] omega [bot]: ```c int compare_words(const void* a, const void* b) { const char** wa = (const char**)a; const char** wb = (const char**)b; int sa = score_word(*wa); int sb = score_word(*wb); if (sa == s
  8. [8]5608 facts
    ctx:discord/blah/omega/560
    • full textomega-560
      text/plain2 KBdoc:agent/omega-560/c9abfec9-7715-462e-b0e7-d39612fd6975
      Show excerpt
      [2025-12-04 15:17] omega [bot]: ```c #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <time.h> #define MAX_WORDS 21 #if __has_include(<unistd.h>) #include <unistd.h> #endif // Try common dictionary pa

See also

Keep researching

Missing something or suspicious of what's here? Kick off a research session — a Claude agent will investigate, cite its sources, and file new facts into a dedicated context you can review before accepting into the shared view.