René's URL Explorer Experiment


Title: [BUG] fit_surrogate silently converts valid integer objectives into failures · Issue #367 · deephyper/deephyper · GitHub

Open Graph Title: [BUG] fit_surrogate silently converts valid integer objectives into failures · Issue #367 · deephyper/deephyper

X Title: [BUG] fit_surrogate silently converts valid integer objectives into failures · Issue #367 · deephyper/deephyper

Description: Describe the bug Integer objective values are treated as failed evaluations. The same values represented as floats are accepted. This changes the observations passed to the surrogate and also affects analysis helpers using the shared fai...

Open Graph Description: Describe the bug Integer objective values are treated as failed evaluations. The same values represented as floats are accepted. This changes the observations passed to the surrogate and also affec...

X Description: Describe the bug Integer objective values are treated as failed evaluations. The same values represented as floats are accepted. This changes the observations passed to the surrogate and also affec...

Opengraph URL: https://github.com/deephyper/deephyper/issues/367

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] fit_surrogate silently converts valid integer objectives into failures","articleBody":"### Describe the bug\n\nInteger objective values are treated as failed evaluations. The same values represented as floats are accepted. This changes the observations passed to the surrogate and also affects analysis helpers using the shared failure filter.\n\n### Steps to reproduce\n\n```python\nimport tempfile\nimport pandas as pd\nfrom deephyper.analysis.hpo import filter_failed_objectives\nfrom deephyper.hpo import CBO, HpProblem\n\ndf = pd.DataFrame({\"p:x\": [0.2, 0.8], \"objective\": [1, 2]})\nsuccesses, failures = filter_failed_objectives(df)\nprint(len(successes), len(failures))  # 0 2\n\np = HpProblem()\np.add_hyperparameter((0.0, 1.0), \"x\")\nwith tempfile.TemporaryDirectory() as directory:\n    search = CBO(p, n_initial_points=10, log_dir=directory)\n    search.fit_surrogate(df)\n    print(search._opt.yi)  # ['F', 'F']\n```\n\nWriting this DataFrame to CSV and passing the CSV path produces the same result. Converting `objective` to float produces zero failures and `yi == [-1.0, -2.0]`.\n\n### Expected behavior\n\nValid integer objectives should remain successful numeric observations, with the same semantics as equivalent float objectives. Only failed outcomes should become `\"F\"`.\n\n### Additional context\n\n`get_mask_of_rows_without_failures` uses `isinstance(x, float)` for non-string columns. This classifies valid integers as failures. The same predicate accepts float `NaN` as successful. Numeric validation should also handle non-finite values and preserve explicit failure markers.\n\nFound while revisiting #186; this also reproduces directly on a DataFrame without CSV parsing.\n\n### System information\n\nLinux; Python 3.11.15; DeepHyper 0.13.2; pandas 3.1.1; NumPy 2.4.6. Also reproduced with current master 7cd3f019032832be1f195c08a5fd26fe827f1483.\n\nSource: https://github.com/deephyper/deephyper/blob/7cd3f019032832be1f195c08a5fd26fe827f1483/src/deephyper/analysis/hpo/_hpo.py#L15-L26\n","author":{"url":"https://github.com/evvaletov","@type":"Person","name":"evvaletov"},"datePublished":"2026-11-07T09:46:37Z","url":"https://github.com/deephyper/deephyper/issues/367"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:49f48103-178d-c246-793b-7928f76b9a9f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8532:237D74:5BD2FA:7C236D:6B043FD6
html-safe-noncebc4baef264261a36f0a3c0a4c5e32fabc81acde7892f935ea14a4153f797ec29
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTMyOjIzN0Q3NDo1QkQyRkE6N0MyMzZEOjZCMDQzRkQ2IiwidmlzaXRvcl9pZCI6IjQwNTQ1ODYxNTQ4MzUxNDgzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac47fee2000887d233e4f94cf39f6f803e29c15c862e7da4cbe22b9b6272e2569e
hovercard-subject-tagissue:6257585847
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/deephyper/deephyper/367/issue_layout
twitter:imagehttps://opengraph.githubassets.com/340d805a2249c004b7765833b3250e5c89ba13deb9f8e5b4a342f75f4bf67929/deephyper/deephyper/issues/367
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/340d805a2249c004b7765833b3250e5c89ba13deb9f8e5b4a342f75f4bf67929/deephyper/deephyper/issues/367
og:image:altDescribe the bug Integer objective values are treated as failed evaluations. The same values represented as floats are accepted. This changes the observations passed to the surrogate and also affec...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameevvaletov
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
turbo-cache-controlno-preview
go-importgithub.com/deephyper/deephyper git https://github.com/deephyper/deephyper.git
octolytics-dimension-user_id44810957
octolytics-dimension-user_logindeephyper
octolytics-dimension-repository_id156403341
octolytics-dimension-repository_nwodeephyper/deephyper
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id156403341
octolytics-dimension-repository_network_root_nwodeephyper/deephyper
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release06dc448a76fe4751ac1db26524aefa3aa3e889a8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/deephyper/deephyper/issues/367#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeephyper%2Fdeephyper%2Fissues%2F367
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeephyper%2Fdeephyper%2Fissues%2F367
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=deephyper%2Fdeephyper
Reloadhttps://github.com/deephyper/deephyper/issues/367
Reloadhttps://github.com/deephyper/deephyper/issues/367
Reloadhttps://github.com/deephyper/deephyper/issues/367
deephyperhttps://github.com/deephyper
deephyperhttps://github.com/deephyper/deephyper
Codehttps://github.com/deephyper/deephyper
Issues16 (16)https://github.com/deephyper/deephyper/issues
Pull requests3 (3)https://github.com/deephyper/deephyper/pulls
Discussionshttps://github.com/deephyper/deephyper/discussions
Actionshttps://github.com/deephyper/deephyper/actions
Projectshttps://github.com/deephyper/deephyper/projects
Wikihttps://github.com/deephyper/deephyper/wiki
Security and qualityhttps://github.com/deephyper/deephyper/security
Insightshttps://github.com/deephyper/deephyper/insights
https://github.com/deephyper/deephyper
New issuehttps://github.com/login?return_to=https://github.com/deephyper/deephyper/issues/367
New issuehttps://github.com/login?return_to=https://github.com/deephyper/deephyper/issues/367
[BUG] fit_surrogate silently converts valid integer objectives into failureshttps://github.com/deephyper/deephyper/issues/367#top
https://github.com/evvaletov
evvaletovhttps://github.com/evvaletov
on Nov 7, 2026https://github.com/deephyper/deephyper/issues/367#issue-6257585847
#186https://github.com/deephyper/deephyper/issues/186
7cd3f01https://github.com/deephyper/deephyper/commit/7cd3f019032832be1f195c08a5fd26fe827f1483
deephyper/src/deephyper/analysis/hpo/_hpo.pyhttps://github.com/deephyper/deephyper/blob/7cd3f019032832be1f195c08a5fd26fe827f1483/src/deephyper/analysis/hpo/_hpo.py#L15-L26
7cd3f01https://github.com/deephyper/deephyper/commit/7cd3f019032832be1f195c08a5fd26fe827f1483
Sign up for freehttps://github.com/signup?return_to=https://github.com/deephyper/deephyper/issues/367
Sign in to commenthttps://github.com/login?return_to=https://github.com/deephyper/deephyper/issues/367
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.