René's URL Explorer Experiment


Title: Nondeterministic geometry output with multithreading · Issue #8050 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: Nondeterministic geometry output with multithreading · Issue #8050 · IfcOpenShell/IfcOpenShell

X Title: Nondeterministic geometry output with multithreading · Issue #8050 · IfcOpenShell/IfcOpenShell

Description: Bug Description This came about after finding strange results from benchmarking. First, the good news: 0.8.5 from PyPI vs 0.8.6-94f4dbc (2026-05-10T17:14:28.000Z) gives identical output from opencascade, cgal, and cgal-simple. Hooray! No...

Open Graph Description: Bug Description This came about after finding strange results from benchmarking. First, the good news: 0.8.5 from PyPI vs 0.8.6-94f4dbc (2026-05-10T17:14:28.000Z) gives identical output from openca...

X Description: Bug Description This came about after finding strange results from benchmarking. First, the good news: 0.8.5 from PyPI vs 0.8.6-94f4dbc (2026-05-10T17:14:28.000Z) gives identical output from openca...

Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/8050

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Nondeterministic geometry output with multithreading","articleBody":"### Bug Description\n\nThis came about after finding strange results from benchmarking. First, the good news:\n\n - 0.8.5 from PyPI vs 0.8.6-94f4dbc (2026-05-10T17:14:28.000Z) gives identical output from opencascade, cgal, and cgal-simple. Hooray! No regressions!\n - This bug seems to exist in both 0.8.5 and 0.8.6-94f4dbc, so it's not a regression\n - It is somewhat rare it seems\n\nTo reproduce https://cloud.thinkmoult.com/models/ifclite/dental_clinic.ifc and use https://github.com/IfcOpenShell/ifcbench/blob/master/scripts/test_multi.py , which will run the iterator N times and see if there any differences between them.\n\n```\npython test_multi.py --model models/dental_clinic.ifc --kernel opencascade --runs 10 --threads 12\n```\n\nI've tested with opencascade, cgal, and cgal-simple. All three reliably produce either a missing (i.e. not yielded) STEP ID, or different geometry (different n_verts). The STEP ID 2752 and 2735 seem to come up quite commonly. Changing threads to 1 causes the issue to go away, so this suggests that it's not kernel-specific, but is a general multithreading thing.\n\nExample output:\n\n```\n...\nchanged_id=2752  baseline=(verts=8, tris=12, hash=2a8dd1ea4d5a445cdcd69568c65c3f24)  run=(verts=12, tris=20, hash=6fcc089a48cd1e502cf280d03994aefc)\n...\nmissing_ids=[2735]\n...\n```\n\nA neat thing with the ifcbench tool is that it has a convenient helper to run a script against a particular environment BTW, e.g.:\n\n```\nifcbench execute-py ifcopenshell-python-313-20260510-0.8.6-94f4dbc-linux64 scripts/test_multi.py --model models/dental_clinic.ifc --kernel cgal-simple --runs 10 --threads 12\n```\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\n\n```","author":{"url":"https://github.com/Moult","@type":"Person","name":"Moult"},"datePublished":"2026-05-13T05:44:04Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/8050"}

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:fc1494ba-7bd9-56ee-ddc3-4cf55f55b1e0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA8EE:EFB54:644B9:85FA3:6B04AEBA
html-safe-nonce6afb2c6b70652d42dead5d74a28d30b65a77d80d0777fb1fc8c22a442cedcd4c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEVFOkVGQjU0OjY0NEI5Ojg1RkEzOjZCMDRBRUJBIiwidmlzaXRvcl9pZCI6IjM4MDk5MTA5NTcxNTM3NTg5MDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacbc6445c5e4e00695b5b0883db458219e79cfc8240bad24062caf0f17ada85166
hovercard-subject-tagissue:4435217835
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/IfcOpenShell/IfcOpenShell/8050/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c76f86ddc700dc60cb57fee13161ad7691f88bd4a3916e6998031212cb2ea9d6/IfcOpenShell/IfcOpenShell/issues/8050
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c76f86ddc700dc60cb57fee13161ad7691f88bd4a3916e6998031212cb2ea9d6/IfcOpenShell/IfcOpenShell/issues/8050
og:image:altBug Description This came about after finding strange results from benchmarking. First, the good news: 0.8.5 from PyPI vs 0.8.6-94f4dbc (2026-05-10T17:14:28.000Z) gives identical output from openca...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMoult
hostnamegithub.com
expected-hostnamegithub.com
Nonef1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1
turbo-cache-controlno-preview
go-importgithub.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git
octolytics-dimension-user_id13692563
octolytics-dimension-user_loginIfcOpenShell
octolytics-dimension-repository_id40473201
octolytics-dimension-repository_nwoIfcOpenShell/IfcOpenShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id40473201
octolytics-dimension-repository_network_root_nwoIfcOpenShell/IfcOpenShell
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
releaseffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/8050#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F8050
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%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F8050
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=IfcOpenShell%2FIfcOpenShell
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/8050
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/8050
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/8050
IfcOpenShellhttps://github.com/IfcOpenShell
IfcOpenShellhttps://github.com/IfcOpenShell/IfcOpenShell
Codehttps://github.com/IfcOpenShell/IfcOpenShell
Issues1.2k (1.2k)https://github.com/IfcOpenShell/IfcOpenShell/issues
Pull requests940 (940)https://github.com/IfcOpenShell/IfcOpenShell/pulls
Discussionshttps://github.com/IfcOpenShell/IfcOpenShell/discussions
Actionshttps://github.com/IfcOpenShell/IfcOpenShell/actions
Projectshttps://github.com/IfcOpenShell/IfcOpenShell/projects
Wikihttps://github.com/IfcOpenShell/IfcOpenShell/wiki
Security and qualityhttps://github.com/IfcOpenShell/IfcOpenShell/security
Insightshttps://github.com/IfcOpenShell/IfcOpenShell/insights
https://github.com/IfcOpenShell/IfcOpenShell
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/8050
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/8050
Bughttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=type:"Bug"
#8370https://github.com/IfcOpenShell/IfcOpenShell/pull/8370
Nondeterministic geometry output with multithreadinghttps://github.com/IfcOpenShell/IfcOpenShell/issues/8050#top
#8370https://github.com/IfcOpenShell/IfcOpenShell/pull/8370
IfcOpenShell-Corehttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Core%22
PR Proposedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22PR%20Proposed%22
Severity:Majorhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Severity%3AMajor%22
https://github.com/Moult
Moulthttps://github.com/Moult
on May 13, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8050#issue-4435217835
https://cloud.thinkmoult.com/models/ifclite/dental_clinic.ifchttps://cloud.thinkmoult.com/models/ifclite/dental_clinic.ifc
https://github.com/IfcOpenShell/ifcbench/blob/master/scripts/test_multi.pyhttps://github.com/IfcOpenShell/ifcbench/blob/master/scripts/test_multi.py
Moulthttps://github.com/Moult
IfcOpenShell-Corehttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Core%22
Severity:Majorhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Severity%3AMajor%22
on May 13, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8050#event-25466060508
Moulthttps://github.com/Moult
Bughttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=type:"Bug"
on May 13, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8050#event-25466060830
https://github.com/petruconduraru
petruconduraruhttps://github.com/petruconduraru
on Jul 7, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8050#issuecomment-4905401401
#8370https://github.com/IfcOpenShell/IfcOpenShell/pull/8370
petruconduraruhttps://github.com/petruconduraru
PR Proposedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22PR%20Proposed%22
on Jul 7, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8050#event-27671361371
petruconduraruhttps://github.com/petruconduraru
on Jul 9, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8050#event-27747615991
Fix IfcOpenShell#8050: clone mapped items before in place mutation in…https://github.com/BIMvoice/IfcOpenShell/commit/6c7b33c3c037e93d9a72bf03291da4262b73b24d
IfcOpenShell#8050https://github.com/IfcOpenShell/IfcOpenShell/issues/8050
https://docs.github.com/articles/closing-issues-via-commit-messages
6c7b33chttps://github.com/BIMvoice/IfcOpenShell/commit/6c7b33c3c037e93d9a72bf03291da4262b73b24d
aothmshttps://github.com/aothms
on Sep 11, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8050#event-30955448493
Fix #8050: clone mapped items before in place mutation in geometry ma…https://github.com/IfcOpenShell/IfcOpenShell/commit/37c6007b3e97e7714f33d58f509061cd37c7392e
#8050https://github.com/IfcOpenShell/IfcOpenShell/issues/8050
https://docs.github.com/articles/closing-issues-via-commit-messages
37c6007https://github.com/IfcOpenShell/IfcOpenShell/commit/37c6007b3e97e7714f33d58f509061cd37c7392e
https://github.com/BryanMGIT
BryanMGIThttps://github.com/BryanMGIT
on Oct 1, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8050#issuecomment-5939440832
#8370https://github.com/IfcOpenShell/IfcOpenShell/pull/8370
37c6007https://github.com/IfcOpenShell/IfcOpenShell/commit/37c6007b3e97e7714f33d58f509061cd37c7392e
8c614fahttps://github.com/IfcOpenShell/IfcOpenShell/commit/8c614fa298c4cba0163762f18ccfe117f45ad730
4a15271https://github.com/IfcOpenShell/IfcOpenShell/commit/4a15271cab1e0bc936372eaba070498f7e8f168c
IfcOpenShell/src/ifcgeom/mapping/IfcCompositeCurve.cpphttps://github.com/IfcOpenShell/IfcOpenShell/blob/8c614fa298c4cba0163762f18ccfe117f45ad730/src/ifcgeom/mapping/IfcCompositeCurve.cpp#L53-L57
8c614fahttps://github.com/IfcOpenShell/IfcOpenShell/commit/8c614fa298c4cba0163762f18ccfe117f45ad730
IfcOpenShell/src/ifcgeom/mapping/IfcEdge.cpphttps://github.com/IfcOpenShell/IfcOpenShell/blob/8c614fa298c4cba0163762f18ccfe117f45ad730/src/ifcgeom/mapping/IfcEdge.cpp#L45-L49
8c614fahttps://github.com/IfcOpenShell/IfcOpenShell/commit/8c614fa298c4cba0163762f18ccfe117f45ad730
https://github.com/buildingsmart-community/Community-Sample-Test-Files/tree/main/IFC%202.3.0.1%20(IFC%202x3)/Medical-Dental%20Clinichttps://github.com/buildingsmart-community/Community-Sample-Test-Files/tree/main/IFC%202.3.0.1%20(IFC%202x3)/Medical-Dental%20Clinic
IfcOpenShell/src/ifc5d/ifc5d/qto.pyhttps://github.com/IfcOpenShell/IfcOpenShell/blob/8c614fa298c4cba0163762f18ccfe117f45ad730/src/ifc5d/ifc5d/qto.py#L546
8c614fahttps://github.com/IfcOpenShell/IfcOpenShell/commit/8c614fa298c4cba0163762f18ccfe117f45ad730
https://github.com/petruconduraru
petruconduraruhttps://github.com/petruconduraru
on Oct 2, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8050#issuecomment-5944807329
2cf98bahttps://github.com/IfcOpenShell/IfcOpenShell/commit/2cf98bae5873a7223add4e0e1d115f626f157919
#8370https://github.com/IfcOpenShell/IfcOpenShell/pull/8370
petruconduraruhttps://github.com/petruconduraru
on Oct 2, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8050#event-32307975483
Test a shared reversed composite curve segmenthttps://github.com/BIMvoice/IfcOpenShell/commit/9100da57735d715f400dbdf95654073a3d3499be
9100da5https://github.com/BIMvoice/IfcOpenShell/commit/9100da57735d715f400dbdf95654073a3d3499be
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/8050
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/8050
IfcOpenShell-Corehttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Core%22
PR Proposedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22PR%20Proposed%22
Severity:Majorhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Severity%3AMajor%22
Bughttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=type:"Bug"
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.