Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/profile-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- run: python fluidsbench/bin/check_profile_contract.py --submission-root fluidsbench-submission --schema-root fluidsbench-submission
- run: python fluidsbench/bin/prepare_submission_status.py --submission-root fluidsbench-submission --check
- run: ruby fluidsbench/bin/check_launch_contract.rb
- run: node --test fluidsbench/tests/test_display_replacements.js fluidsbench/tests/test_launch.js fluidsbench/tests/test_leaderboard_compute.js fluidsbench/tests/test_compute_chart.js fluidsbench/tests/test_leaderboard_scores.js fluidsbench/tests/test_leaderboard_verification.js fluidsbench/tests/test_profile_locations.js fluidsbench/tests/test_drivaernetplusplus_profiles.js
- run: node --test fluidsbench/tests/test_display_replacements.js fluidsbench/tests/test_launch.js fluidsbench/tests/test_open_session.js fluidsbench/tests/test_leaderboard_compute.js fluidsbench/tests/test_compute_chart.js fluidsbench/tests/test_leaderboard_scores.js fluidsbench/tests/test_leaderboard_verification.js fluidsbench/tests/test_profile_locations.js fluidsbench/tests/test_drivaernetplusplus_profiles.js
- run: node fluidsbench/bin/check_leaderboard_claim_ui.js
- run: node --test fluidsbench/tests/test_official_profile_publication.js
- run: python -m unittest discover -s fluidsbench/tests -p "test_*.py"
Expand Down
31 changes: 31 additions & 0 deletions _data/open_session.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
title: "FluidsBench Open Session"
subtitle: "Benchmarking, scoring and submissions"
description: "An open community session on the scientific aims, datasets and scoring of FluidsBench, with a DrivAerML submission walkthrough and time for questions."
starts_at: "2026-11-11T16:30:00Z"
ends_at: "2026-11-11T17:30:00Z"
path: /open-session/
calendar_path: /assets/calendar/fluidsbench-open-session-2026-11-11.ics
uid: fluidsbench-open-session-20261111@fluidsbench.org
join_url: "https://teams.microsoft.com/meet/3201271797963561?p=a26xqHhGOt95LAyOWs"
meeting_id: "320 127 179 796 356 1"
passcode: "RU7M3bw6"
time_zones:
- label: "Paris (CET)"
offset: "+01:00"
- label: "New York (EST)"
offset: "-05:00"
- label: "Los Angeles (PST)"
offset: "-08:00"
agenda:
- offset_minutes: 0
duration_minutes: 35
title: "Benchmark overview and submission demonstration"
description: "Scientific aims, available datasets, scoring and a DrivAerML submission walkthrough, including the leaderboard preview."
- offset_minutes: 35
duration_minutes: 20
title: "Community questions and discussion"
description: "Questions about evaluation and submissions, feedback on the benchmark and suggestions for additional datasets."
- offset_minutes: 55
duration_minutes: 5
title: "Next steps and closing remarks"
description: "How to participate in the first submission period and continue the discussion with the community."
35 changes: 35 additions & 0 deletions _includes/open_session_notice.liquid
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{% assign event = site.open_session %}
{% if event and event.phase != 'ended' and page.permalink != event.path %}
<aside
class="open-session-notice{% if include.compact %} open-session-notice--compact{% endif %}"
aria-label="FluidsBench open session"
data-open-session
data-event-start="{{ event.starts_at }}"
data-event-end="{{ event.ends_at }}"
data-event-hide-ended="true"
>
<div class="open-session-notice__inner">
<div>
<strong>{{ event.title }}</strong>
<span class="open-session-notice__date"
><time datetime="{{ event.starts_at }}">{{ event.date_label }}</time> · {{ event.time_label -}}
</span>
{% unless include.compact %}
<p>Benchmark overview, scoring, submission walkthrough and community Q&amp;A. Everyone welcome.</p>
{% endunless %}
<span
class="open-session-live"
data-event-phase="live"
{% unless event.phase == 'live' %}
hidden
{% endunless %}
>Live now</span
>
</div>
<div class="open-session-actions">
<a class="open-session-button" href="{{ event.join_url | escape }}">Join on Microsoft Teams <span aria-hidden="true">↗</span></a>
<a href="{{ event.path | relative_url }}">Details and calendar <span aria-hidden="true">→</span></a>
</div>
</div>
</aside>
{% endif %}
1 change: 1 addition & 0 deletions _includes/scripts/misc.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<!-- Load Common JS -->
<script src="{{ '/assets/js/no_defer.js' | relative_url | bust_file_cache }}"></script>
<script defer src="{{ '/assets/js/common.js' | relative_url | bust_file_cache }}"></script>
{% if site.open_session %}<script defer src="{{ '/assets/js/open-session.js' | relative_url | bust_file_cache }}"></script>{% endif %}
<script defer src="{{ '/assets/js/copy_code.js' | relative_url | bust_file_cache }}" type="text/javascript"></script>

<!-- Jupyter Open External Links New Tab -->
Expand Down
5 changes: 5 additions & 0 deletions _layouts/default.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
<body class="{% if site.navbar_fixed %}fixed-top-nav{% endif %} {% unless site.footer_fixed %}sticky-bottom-footer{% endunless %}">
<!-- Header -->
{% include header.liquid %}
{% if page.permalink == '/' %}
{% include open_session_notice.liquid %}
{% else %}
{% include open_session_notice.liquid compact=true %}
{% endif %}
{% unless page.hide_header_background %}
<div class="header-background"><div class="img"></div></div>
{% endunless %}
Expand Down
5 changes: 5 additions & 0 deletions _pages/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ description: Find FluidsBench community channels, project repositories and conta
hide_header_background: true
---

{% if site.open_session and site.open_session.phase != 'ended' %}

<p class="ux-page-notice" data-open-session data-event-start="{{ site.open_session.starts_at }}" data-event-end="{{ site.open_session.ends_at }}" data-event-hide-ended="true">Meet the organising committee at our <a href="{{ site.open_session.path | relative_url }}">open session on {{ site.open_session.short_date_label }}, {{ site.open_session.time_label }}</a>. Bring questions about the benchmark, feedback or ideas for additional datasets.</p>
{% endif %}

<div class="ux-community-grid">
<section class="ux-community-card">
<span class="ux-community-icon" aria-hidden="true"><i class="fa-brands fa-discord"></i></span>
Expand Down
60 changes: 60 additions & 0 deletions _pages/open-session.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
layout: support
title: Open session
permalink: /open-session/
page_title: FluidsBench Open Session
page_description: Benchmarking, scoring and submissions
description: Join the FluidsBench organising committee for a benchmark overview, DrivAerML submission walkthrough and community Q&A on 11 November 2026.
hide_header_background: true
exclude_from_release: true
---

{% assign event = site.open_session %}

<div class="open-session-page" data-open-session data-event-start="{{ event.starts_at }}" data-event-end="{{ event.ends_at }}">
<p class="open-session-date"><time datetime="{{ event.starts_at }}">{{ event.date_label }}</time><br><strong>{{ event.time_label }}</strong></p>
<p class="ux-page-lead">{{ event.description }}</p>
<p>Researchers, practitioners and anyone interested in AI for fluid dynamics are welcome. The <a href="{{ '/contributors/' | relative_url }}#organisers">FluidsBench organising committee</a> will introduce the benchmark and discuss questions from the community.</p>

<section class="open-session-join" aria-label="Join the open session" data-event-phase="upcoming live"{% if event.phase == 'ended' %} hidden{% endif %}>
<div class="open-session-actions">
<a class="open-session-button" href="{{ event.join_url | escape }}">Join on Microsoft Teams <span aria-hidden="true">↗</span></a>
<span class="open-session-live" data-event-phase="live"{% unless event.phase == 'live' %} hidden{% endunless %}>The session is in progress</span>
</div>
<p>Use the meeting link to join. The organiser will admit attendees from the lobby.</p>
<p class="ux-small-note">Meeting ID: <code>{{ event.meeting_id }}</code> · Passcode: <code>{{ event.passcode }}</code></p>
<h2>Add to your calendar</h2>
<div class="open-session-actions">
<a href="{{ event.google_calendar_url | escape }}">Google Calendar <span aria-hidden="true">↗</span></a>
<a href="{{ event.outlook_calendar_url | escape }}">Outlook on the web <span aria-hidden="true">↗</span></a>
<a href="{{ event.calendar_path | relative_url }}" download>Download calendar file (.ics)</a>
</div>
<p class="ux-small-note">The calendar options add a copy of the event in your calendar's timezone. The .ics file also works with Outlook and Apple Calendar.</p>
</section>

<section class="ux-page-notice" data-event-phase="ended"{% unless event.phase == 'ended' %} hidden{% endunless %} aria-label="Session follow-up">
<h2>This session has ended</h2>
<p>Continue the discussion in <a href="{{ '/community/' | relative_url }}">the FluidsBench community</a>, or <a href="mailto:admin@fluidsbench.org">contact the team</a> for follow-up material.</p>
</section>

<p class="open-session-local-time" data-event-local-time hidden></p>
<details class="ux-page-disclosure">
<summary>Time in other locations</summary>
<ul class="open-session-timezones">
<li><span>London (GMT) / UTC</span><strong>{{ event.time_label | remove: ' GMT / UTC' }}</strong></li>
{% for zone in event.time_zones %}<li><span>{{ zone.label }}</span><strong>{{ zone.time_label }}</strong></li>{% endfor %}
</ul>
<p>All times refer to Wednesday 11 November 2026. The session lasts one hour.</p>
</details>

<h2>Programme <span class="ux-small-note">(GMT / UTC)</span></h2>
<ol class="open-session-programme">
{% for item in event.agenda %}
<li><span>{{ item.time_label }}</span><div><h3>{{ item.title }}</h3><p>{{ item.description }}</p></div></li>
{% endfor %}
</ol>

<h2>Explore FluidsBench</h2>
<p>You can explore the <a href="{{ '/datasets/' | relative_url }}">datasets</a>, read the <a href="{{ '/run/' | relative_url }}">submission instructions</a> and <a href="{{ '/leaderboard-preview/' | relative_url }}?dataset=drivaerml">preview the leaderboard</a>. Questions and suggestions for additional datasets are welcome.</p>
<p>Please share this page with colleagues and collaborators: <a href="{{ event.path | absolute_url }}">{{ event.path | absolute_url }}</a>.</p>
</div>
5 changes: 5 additions & 0 deletions _pages/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ hide_header_background: true
{% endif %}
</aside>

{% if site.open_session and site.open_session.phase != 'ended' %}

<p data-open-session data-event-start="{{ site.open_session.starts_at }}" data-event-end="{{ site.open_session.ends_at }}" data-event-hide-ended="true">Questions about submitting? Join our <a href="{{ site.open_session.path | relative_url }}">open session on {{ site.open_session.short_date_label }}, {{ site.open_session.time_label }}</a> for a submission walkthrough and Q&amp;A.</p>
{% endif %}

<section id="datasets" aria-labelledby="submission-datasets-title">
<p class="ux-page-eyebrow">Start here</p>
<h2 id="submission-datasets-title">Choose a dataset</h2>
Expand Down
101 changes: 101 additions & 0 deletions _plugins/open_session.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
require "time"
require "uri"
require "fileutils"

module FluidsBench
module OpenSession
def self.phase(start_time, end_time, now)
return "ended" if now >= end_time
now >= start_time ? "live" : "upcoming"
end

def self.ical_text(value)
value.to_s.gsub(/[\\,;]/) { |char| "\\#{char}" }.gsub(/\r\n|\r|\n/) { "\\n" }
end

# RFC 5545 folds at 75 octets, without splitting a UTF-8 character.
def self.fold_line(line)
lines = [""]
line.each_char do |char|
lines << " " if lines.last.bytesize + char.bytesize > 75
lines[-1] += char
end
lines.join("\r\n")
end

def self.calendar(event, starts, ends, stamp, page_url)
details = "#{event.fetch('description')}\n\nJoin Microsoft Teams: #{event.fetch('join_url')}\n" \
"Meeting ID: #{event.fetch('meeting_id')}\nPasscode: #{event.fetch('passcode')}\n\nDetails: #{page_url}"
lines = ["BEGIN:VCALENDAR", "VERSION:2.0", "PRODID:-//FluidsBench//Open Session//EN", "CALSCALE:GREGORIAN", "METHOD:PUBLISH",
"BEGIN:VEVENT", "UID:#{event.fetch('uid')}", "DTSTAMP:#{stamp.getutc.strftime('%Y%m%dT%H%M%SZ')}",
"DTSTART:#{starts.utc.strftime('%Y%m%dT%H%M%SZ')}", "DTEND:#{ends.utc.strftime('%Y%m%dT%H%M%SZ')}",
"SUMMARY:#{ical_text(event.fetch('title'))}", "DESCRIPTION:#{ical_text(details)}", "LOCATION:Microsoft Teams",
"URL:#{page_url}", "STATUS:CONFIRMED", "END:VEVENT", "END:VCALENDAR"]
lines.map { |line| fold_line(line) }.join("\r\n") + "\r\n"
end

def self.prepare(data, now, page_url)
starts, ends = %w[starts_at ends_at].map do |key|
value = data.fetch(key)
raise ArgumentError, "#{key} must include a timezone" unless value.match?(/(?:Z|[+-]\d\d:\d\d)\z/)
Time.iso8601(value).utc
end
raise ArgumentError, "session must end after it starts" unless ends > starts
join = URI.parse(data.fetch("join_url"))
raise ArgumentError, "expected the public Teams join link" unless join.scheme == "https" && join.host == "teams.microsoft.com" && join.path.start_with?("/meet/", "/l/meetup-join/")
event = data.merge("phase" => phase(starts, ends, now), "date_label" => starts.strftime("%A %-d %B %Y"),
"short_date_label" => starts.strftime("%a %-d %b"), "time_label" => "#{starts.strftime('%H:%M')}–#{ends.strftime('%H:%M')} GMT / UTC")
event["time_zones"] = data.fetch("time_zones").map do |zone|
zone.merge("time_label" => "#{starts.getlocal(zone.fetch('offset')).strftime('%H:%M')}–#{ends.getlocal(zone.fetch('offset')).strftime('%H:%M')}")
end
event["agenda"] = data.fetch("agenda").map do |item|
first = starts + item.fetch("offset_minutes") * 60
last = first + item.fetch("duration_minutes") * 60
raise ArgumentError, "agenda item outside session" unless first >= starts && last <= ends && last > first
item.merge("time_label" => "#{first.strftime('%H:%M')}–#{last.strftime('%H:%M')}")
end
details = "#{data.fetch('description')}\n\nJoin Microsoft Teams: #{data.fetch('join_url')}\n\nDetails: #{page_url}"
event["google_calendar_url"] = "https://calendar.google.com/calendar/r/eventedit?" + URI.encode_www_form(
"action" => "TEMPLATE", "text" => data.fetch("title"), "dates" => "#{starts.strftime('%Y%m%dT%H%M%SZ')}/#{ends.strftime('%Y%m%dT%H%M%SZ')}",
"stz" => "Europe/London", "etz" => "Europe/London", "details" => details, "location" => "Microsoft Teams")
event["outlook_calendar_url"] = "https://outlook.office.com/calendar/0/deeplink/compose?" + URI.encode_www_form(
"path" => "/calendar/action/compose", "rru" => "addevent", "subject" => data.fetch("title"), "startdt" => starts.iso8601,
"enddt" => ends.iso8601, "allday" => "false", "body" => details, "location" => "Microsoft Teams")
[event, calendar(event, starts, ends, now, page_url)]
end
end

if defined?(Jekyll::Generator)
class OpenSessionGenerator < Jekyll::Generator
safe true
priority :normal

def generate(site)
return if site.config["release_snapshot"]
data = site.data["open_session"]
return unless data
page_url = site.config.fetch("url") + site.config["baseurl"].to_s + data.fetch("path")
event, ical = OpenSession.prepare(data, site.time, page_url)
site.config["open_session"] = event
site.config["open_session_ical"] = ical
path = data.fetch("calendar_path")
page = Jekyll::PageWithoutAFile.new(site, site.source, File.dirname(path).sub(%r{\A/}, ""), File.basename(path))
page.content = ical
page.data = { "layout" => nil, "sitemap" => false, "render_with_liquid" => false }
site.pages << page
rescue ArgumentError, KeyError => error
raise Jekyll::Errors::FatalException, "FluidsBench open session: #{error.message}"
end
end

# Jekyll's page renderer normalizes line endings. Calendar files require CRLF.
Jekyll::Hooks.register :site, :post_write do |site|
event = site.config["open_session"]
ical = site.config["open_session_ical"]
next unless event && ical
destination = File.join(site.dest, event.fetch("calendar_path").sub(%r{\A/}, ""))
FileUtils.mkdir_p(File.dirname(destination))
File.binwrite(destination, ical)
end
end
end
Loading
Loading