Skip to content

Confidence threasholds increment/decrement by 0.01% #1046

@peterwilsoncc

Description

@peterwilsoncc

Describe the bug

In features that include a confidence threshold using a type=number input, the scroll buttons increment and decrement the threshold by 0.01%.

It would be preferable to increment by a larger amount as it's unlikely a human will consider anything greater than 1% increments, most likely they will use 5 or 10%.

Steps to Reproduce

  1. Go to Language Processing > Classification Settings
  2. Click the up or down button next to one of the confidence settings
  3. Observe the increment/decrement value is 0.01%
  4. Go to Image Processing > Descriptive Text Generator Settings
  5. Click the up or down button next to the confidence settings
  6. Observe same.

Screenshots, screen recording, code snippet

Image

Environment information

  • OS: macOS 15.7.3
  • Browser: Firefox 147.0.2

WordPress information

WordPress Environment
### wp-core ###

version: 7.0-alpha-61585
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: /%year%/%monthnum%/%day%/%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: local
user_count: 1
dotorg_communication: true

### wp-paths-sizes ###

wordpress_path: /vagrant/wp-build
wordpress_size: 728.75 MB (764145714 bytes)
uploads_path: /vagrant/content/uploads
uploads_size: 0.00 B (0 bytes)
themes_path: /vagrant/content/themes
themes_size: directory not found
plugins_path: /vagrant/content/plugins
plugins_size: 598.07 MB (627125066 bytes)
fonts_path: /vagrant/content/uploads/fonts
fonts_size: directory not found
database_size: 992.00 KB (1015808 bytes)
total_size: 1.30 GB (1392286588 bytes)

### wp-dropins (1) ###

db.php: true

### wp-active-theme ###

name: Twenty Twenty-Five (twentytwentyfive)
version: 1.4
author: the WordPress team
author_website: https://wordpress.org
parent_theme: none
theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, widgets-block-editor, block-templates, post-formats, editor-style
theme_path: /vagrant/wp-build/wp-content/themes/twentytwentyfive

### wp-themes-inactive (14) ###

Twenty Eleven: version: 5.0, author: the WordPress team
Twenty Fifteen: version: 4.1, author: the WordPress team
Twenty Fourteen: version: 4.4, author: the WordPress team
Twenty Nineteen: version: 3.2, author: the WordPress team
Twenty Seventeen: version: 4.0, author: the WordPress team
Twenty Sixteen: version: 3.7, author: the WordPress team
Twenty Ten: version: 4.5, author: the WordPress team
Twenty Thirteen: version: 4.5, author: the WordPress team
Twenty Twelve: version: 4.7, author: the WordPress team
Twenty Twenty: version: 3.0, author: the WordPress team
Twenty Twenty-Four: version: 1.4, author: the WordPress team
Twenty Twenty-One: version: 2.7, author: the WordPress team
Twenty Twenty-Three: version: 1.6, author: the WordPress team
Twenty Twenty-Two: version: 2.1, author: the WordPress team

### wp-mu-plugins (2) ###

creds-filter.php: author: (undefined), version: (undefined)
vip-safe-remote.php: author: (undefined), version: (undefined)

### wp-plugins-active (3) ###

ClassifAI: version: 3.8.0-dev, author: 10up
Query Monitor: version: 3.20.2, author: John Blackbourn
User Switching: version: 1.11.1, author: John Blackbourn

### wp-media ###

image_editor: WP_Image_Editor_GD
imagick_module_version: Not available
imagemagick_version: Not available
imagick_version: Not available
file_uploads: 1
post_max_size: 1024M
upload_max_filesize: 1024M
max_effective_size: 1 GB
max_file_uploads: 20
image_format_transforms: image/heic → image/jpeg, image/heif → image/jpeg, image/heic-sequence → image/jpeg, image/heif-sequence → image/jpeg
gd_version: 2.3.3
gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPM
ghostscript_version: not available

### wp-server ###

server_architecture: Linux 5.15.0-92-generic aarch64
httpd_software: nginx/1.18.0
php_version: 8.1.34 64bit
php_sapi: fpm-fcgi
max_input_variables: 1000
time_limit: 900
memory_limit: 128M
admin_memory_limit: 256M
max_input_time: 900
upload_max_filesize: 1024M
php_post_max_size: 1024M
curl_version: 7.81.0 OpenSSL/3.0.2
suhosin: false
imagick_availability: false
pretty_permalinks: true
static_robotstxt_file: false
current: 2026-02-04T02:43:13+00:00
utc-time: Wednesday, 04-Feb-26 02:43:13 UTC
server-time: 2026-02-04T02:43:10+00:00

### wp-database ###

extension: mysqli
server_version: 8.0.36-0ubuntu0.22.04.1
client_version: mysqlnd 8.1.34
max_allowed_packet: 16777216
max_connections: 151

### wp-constants ###

WP_HOME: http://xu-classifai.local
WP_SITEURL: http://xu-classifai.local/wp
WP_CONTENT_DIR: /vagrant/content
WP_PLUGIN_DIR: /vagrant/content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: true
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: true
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: local
WP_DEVELOPMENT_MODE: all
DB_CHARSET: utf8
DB_COLLATE: undefined
EMPTY_TRASH_DAYS: 30

### wp-filesystem ###

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
fonts: does not exist
mu-plugins: writable

### classifai ###

0: 3.8.0-dev
1: no
2: undefined
3: 
	Authenticated: No
	Status: Disabled
	Allowed roles: administrator, editor, author, contributor
	Allowed users: 
	User based opt-out: Disabled
	Provider: ibm_watson_nlu
	Category (status): Enabled
	Category (threshold): Enabled
	Category (taxonomy): Enabled
	Keyword (status): Enabled
	Keyword (threshold): Enabled
	Keyword (taxonomy): Enabled
	Entity (status): Disabled
	Entity (threshold): Enabled
	Entity (taxonomy): Enabled
	Concept (status): Disabled
	Concept (threshold): Enabled
	Concept (taxonomy): Enabled
	Latest response: N/A
4: 
	Authenticated: Yes
	Status: Enabled
	Allowed roles: administrator, editor, author, contributor
	Allowed users: 
	User based opt-out: Disabled
	Provider: openai_chatgpt
	No. of titles: 1
	Generate title prompt: [{"title":"ClassifAI default","prompt":"Write an SEO-friendly title for the following content that will encourage readers to clickthrough, staying within a range of 40 to 60 characters and format it in sentence case.","default":1,"original":1}]
	Latest response: {"id":"chatcmpl-D5KqIZCUiXmUIwRKgCDC4ss48SDsX", "object":"chat.completion", "created":1770164130, "model":"gpt-4o-mini-2024-07-18", "choices":[{"index":0, "message":{"role":"assistant", "content":"Your first WordPress post: Tips to get started now!", "refusal":null, "annotations":[]}, "logprobs":null, "finish_reason":"stop"}], "usage":{"prompt_tokens":80, "completion_tokens":12, "total_tokens":92, "prompt_tokens_details":{"cached_tokens":0, "audio_tokens":0}, "completion_tokens_details":{"reasoning_tokens":0, "audio_tokens":0, "accepted_prediction_tokens":0, "rejected_prediction_tokens":0}}, "service_tier":"default", "system_fingerprint":"fp_f4ae844694"}
5: 
	Authenticated: No
	Status: Disabled
	Allowed roles: administrator, editor, author, contributor
	Allowed users: 
	User based opt-out: Disabled
	Provider: openai_chatgpt
	Excerpt length: 55
	Generate excerpt prompt: [{"title":"ClassifAI default","prompt":"Summarize the following message using a maximum of {{WORDS}} words. The original message was written by {{AUTHOR}}. Ensure this summary pairs well with the following text: {{TITLE}}.","original":1}]
	Latest response: N/A
6: 
	Authenticated: No
	Status: Disabled
	Allowed roles: administrator, editor, author, contributor
	Allowed users: 
	User based opt-out: Disabled
	Provider: openai_chatgpt
7: 
	Authenticated: No
	Status: Disabled
	Allowed roles: administrator, editor, author, contributor
	Allowed users: 
	User based opt-out: Disabled
	Provider: openai_chatgpt
	No. of suggestions: 1
	Expand text prompt: [{"title":"ClassifAI default","prompt":"Increase the content length no more than 2 to 4 sentences.","original":1}]
	Condense text prompt: [{"title":"ClassifAI default","prompt":"Decrease the content length no more than 2 to 4 sentences.","original":1}]
	Latest response: N/A
8: 
	Authenticated: Yes
	Status: Enabled
	Allowed roles: administrator, editor, author, contributor
	Allowed users: 1
	User based opt-out: Enabled
	Provider: openai_chatgpt
9: 
	Authenticated: No
	Status: Disabled
	Allowed roles: administrator, editor, author, contributor
	Allowed users: 
	User based opt-out: Disabled
	Provider: ms_azure_text_to_speech
	Allowed post types: post
	Voice: 
	Latest response - Voices: N/A
10: 
	Authenticated: No
	Status: Disabled
	Allowed roles: administrator, editor, author, contributor
	Allowed users: 
	User based opt-out: Disabled
	Provider: openai_whisper
	Latest response: N/A
11: 
	Authenticated: No
	Status: Disabled
	Allowed roles: administrator, editor, author, contributor
	Allowed users: 
	User based opt-out: Disabled
	Provider: openai_moderation
	Content to Moderate: 
	Latest response: N/A
12: 
	Authenticated: No
	Status: Disabled
	Allowed roles: 
	Allowed users: 
	User based opt-out: Disabled
	Provider: openai_embeddings
13: 
	Authenticated: No
	Status: Disabled
	Allowed roles: administrator, editor, author, contributor
	Allowed users: 
	User based opt-out: Disabled
	Provider: openai_embeddings
14: 
	Authenticated: No
	Status: Disabled
	Allowed roles: administrator, editor, author, contributor
	Allowed users: 
	User based opt-out: Disabled
	Provider: ms_computer_vision
	Generate descriptive text: 0, 0, 0
	Confidence threshold: 70
	Latest response:: N/A
15: 
	Authenticated: No
	Status: Disabled
	Allowed roles: administrator, editor, author, contributor
	Allowed users: 
	User based opt-out: Disabled
	Provider: ms_computer_vision
	Tag taxonomy: image_tags
	Confidence threshold: 70
	Latest response:: N/A
16: 
	Authenticated: No
	Status: Disabled
	Allowed roles: administrator, editor, author, contributor
	Allowed users: 
	User based opt-out: Disabled
	Provider: ms_computer_vision
	Latest response:: N/A
17: 
	Authenticated: No
	Status: Disabled
	Allowed roles: administrator, editor, author, contributor
	Allowed users: 
	User based opt-out: Disabled
	Provider: ms_computer_vision
	Latest response:: N/A
18: 
	Authenticated: No
	Status: Disabled
	Allowed roles: administrator, editor, author
	Allowed users: 
	User based opt-out: Disabled
	Provider: openai_dalle
	Number of images: 1
	Quality: auto
	Size: 1024x1024
	Latest response:: N/A
19: 
	Authenticated: No
	Status: Disabled
	Allowed roles: administrator, editor, author, contributor
	Allowed users: 
	User based opt-out: Disabled
	Provider: ms_computer_vision
	Latest response:: N/A
20: 
	Authenticated: No
	Status: Disabled
	Allowed roles: administrator, editor, author, contributor
	Allowed users: 
	User based opt-out: Disabled
	Provider: openai_embeddings

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions