SillyTavern/public/scripts
valadaptive 0fce475a95 Implement random sort with a shuffle
Sorting with a random comparator doesn't actually shuffle an array.
Depending on the sorting algorithm used, there will be a bias to the
shuffle (see https://bost.ocks.org/mike/shuffle/compare.html).
If you open that link in Firefox, the bias will be especially bad.
Instead of implementing "random" character sort using a random sort
comparator, use the shuffle function instead.
2023-12-09 22:52:38 -05:00
..
extensions allow /run for quick replies from other presets 2023-12-09 17:20:15 +00:00
templates Add {{currentSwipeId}} / {{lastSwipeId}} macros 2023-12-07 02:35:24 +02:00
BulkEditOverlay.js Fix ESLint 2023-12-09 16:09:10 +02:00
PromptManager.js Fix {{original}} macro left out if original is empty 2023-12-07 01:27:55 +02:00
RossAscends-mods.js Disable scroll adjustment for firefox 2023-12-04 11:00:22 +02:00
authors-note.js lint: Comma dangle 2023-12-02 22:06:57 +02:00
backgrounds.js Rename backgrounds API endpoints 2023-12-07 15:17:19 -05:00
bookmarks.js Rename group API endpoints 2023-12-06 19:59:58 -05:00
bulk-edit.js Enable object-curly-spacing lint 2023-12-04 12:32:41 -05:00
cfg-scale.js lint: Comma dangle 2023-12-02 22:06:57 +02:00
chats.js Single doc mode: edit on click 2023-12-09 16:01:43 +02:00
extensions.js lint: Comma dangle 2023-12-02 22:06:57 +02:00
f-localStorage.js lint: Use 4 space indent 2023-12-02 21:56:16 +02:00
filters.js lint: Require semicolons 2023-12-02 21:11:06 +02:00
group-chats.js Rename group API endpoints 2023-12-06 19:59:58 -05:00
horde.js lint: Comma dangle 2023-12-02 22:06:57 +02:00
i18n.js Require single quotes 2023-12-02 13:04:51 -05:00
instruct-mode.js lint: Require semicolons 2023-12-02 21:11:06 +02:00
kai-settings.js #1403 Add Aphrodite multi-swipe 2023-12-03 20:40:09 +02:00
loader.js lint: Fix JSdocs 2023-12-03 14:23:20 +02:00
mancer-settings.js Make textgen settings type checks more concise 2023-12-03 14:56:01 -05:00
nai-settings.js Disallow multiswipe for quiet gens 2023-12-03 20:56:25 +02:00
openai.js Fix window.ai streaming 2023-12-07 17:42:06 +02:00
personas.js lint: Comma dangle 2023-12-02 22:06:57 +02:00
power-user.js Implement random sort with a shuffle 2023-12-09 22:52:38 -05:00
preset-manager.js Make textgen settings type checks more concise 2023-12-03 14:56:01 -05:00
secrets.js Rename /viewsecrets to /api/secrets/view 2023-12-04 10:14:51 -05:00
server-history.js Require single quotes 2023-12-02 13:04:51 -05:00
setting-search.js Require single quotes 2023-12-02 13:04:51 -05:00
showdown-exclusion.js lint: Comma dangle 2023-12-02 22:06:57 +02:00
slash-commands.js Merge pull request #1488 from LenAnderson/add-index-argument-to-setvar-/-setglobalvar 2023-12-08 00:40:14 +02:00
stats.js Rename stats API endpoints 2023-12-07 13:00:34 -05:00
tags.js lint: Fix JSdocs 2023-12-03 14:23:20 +02:00
textgen-settings.js Fix undefined variable reference 2023-12-03 23:24:39 +02:00
tokenizers.js Rename tokenizer routes 2023-12-04 10:17:43 -05:00
utils.js Replace path "\" with "/" server-side 2023-12-06 17:22:37 -05:00
variables.js Revert pipe caching 2023-12-08 00:33:27 +02:00
world-info.js Add WI inclusion groups 2023-12-07 20:06:06 +02:00