diff --git a/docs/README.md b/docs/README.md index 8e30dc59..cffec572 100644 --- a/docs/README.md +++ b/docs/README.md @@ -63,3 +63,15 @@ The Go command `go run ./cmd/docs-release-sync` writes the public build snapshot Release publication, edits, deletion or unpublication request a documentation workflow on `main`, preserving the existing Pages deployment branch policy. The existing daily schedule refreshes the saved history as well. Pull request checks use separate concurrency groups from production Pages deployment. Validate the generator with `go test ./cmd/docs-release-sync` and the browser pagination/normalization with `npm run test:releases --prefix docs`. Runtime release Markdown is parsed and sanitized before rendering. Screenshots in release notes should use an immutable raw GitHub commit URL; the normal documentation guides reference their repository-owned static image paths. + +### Scheduled blog posts + +Set a quoted `publish_at` timestamp with an explicit offset in the article's +front matter, for example `publish_at: "2026-12-10T00:00:00-03:00"`. Deploy the +article and its images together. The blog and article route unlock in the +browser at the scheduled time. The next daily Pages build updates the feed, +archive, tags, author pages, search index, and sitemap. + +Append `?preview=scheduled` to the blog or article URL to preview scheduled +posts. The flag is public, and scheduled content ships in the site's static +assets. Use drafts for content that should stay off the deployed site. diff --git a/docs/blog/2026-10-21-montage-050.mdx b/docs/blog/2026-10-21-montage-050.mdx index 8a538008..de321649 100644 --- a/docs/blog/2026-10-21-montage-050.mdx +++ b/docs/blog/2026-10-21-montage-050.mdx @@ -2,7 +2,7 @@ slug: montage-050-from-observations-to-a-mosaic authors: [ovvesley, llms] title: "Montage 050: a sky made of workflows" -description: Twelve observations, 58 activities, one astronomical mosaic. Explore the science, reproduce the local workflow, and read the evidence behind a completed experiment. +description: Twelve observations, 58 activities, one astronomical mosaic. Explore the measured run on AkôFlow Hub and import the versioned workflow into Desktop. image: /img/blog/montage-050/mosaic-color.png cover_alt: The 1800 by 1800 pixel color mosaic produced by the completed AkôFlow Montage hybrid experiment. cover_style: photograph @@ -13,11 +13,23 @@ import WorkflowDag from "@site/src/components/WorkflowDag"; The stars in the opening image are the output of a scientific computation. Before the color mosaic existed, individual observations had to be reprojected, their overlaps compared, their backgrounds reconciled, and their pixels combined. AkôFlow coordinates those steps as a workflow and keeps the execution evidence alongside the result. -This field note follows **Montage 050**, a 58-activity astronomy workflow. We will look at what the activities do, how to reproduce the local example, and what an existing completed experiment tells us about planning and execution. +**Montage 050** turns twelve FITS observations into three astronomical mosaics and a color preview. On AkôFlow Hub you can inspect the 58-activity workflow, open the results of a completed local run, and import the same workflow version into Desktop. -## Start with the image—and its provenance +## Open the workflow on AkôFlow Hub + +Start with [Montage 050 on AkôFlow Hub](https://hub.akoflow.com/o/akoflow/scientific-workflows-montage-050). Follow the dependencies in the workflow graph, then open **Results** to inspect the local run's plan, activity attempts, metrics, and logs. It completed **58 of 58 activities** in **53 minutes and 17 seconds** on the reference homeserver with two local Docker CPU slots. It produced [three validated FITS mosaics and four PNG previews](https://github.com/UFFeScience/akoflow-examples/releases/download/showcase-hub-v1/scientific-workflows-montage-050-results.tar.gz). + +To run your own copy, choose **Create workflow → Import from Hub** in Desktop and paste the URI for version 1. + +```text +akoflow://hub/publications/4a1b3c21-a122-4c19-bd2d-c305d400b41f/versions/1 +``` + +The URI imports the workflow definition. Pull the pinned container image and register the companion environment, scope, and topology from the [local showcase bundle](/docs/showcase/scientific-workflows/montage-050) before planning your run. + +## Where the cover image came from The cover is the actual **1800 × 1800** color preview from run `montage-docker-image-real-20261010-v2`. It is a recorded product of a completed hybrid GCP/HPC experiment. Click it to enlarge the image, or [open the original PNG](/img/blog/montage-050/mosaic-color.png). @@ -350,11 +362,9 @@ The recorded cloud compute-and-boot-disk lifecycle estimate was **USD 0.3532** a [Download the result summary and its limitations](/downloads/blog/montage-050/observed-results.json). The repository preserves the original [completion record](https://github.com/UFFeScience/akoflow/blob/main/experiments/montage-micro-hpc-e2/docker-image-real-v2-completion.json) and [detailed results](https://github.com/UFFeScience/akoflow/blob/main/experiments/montage-micro-hpc-e2/docker-image-real-v2-results.json). -## What is—and is not—verified for the local bundle - -The checked-in local image contract was validated on **2026-10-20**: twelve FITS inputs, 58 activities, and 138 named handoffs. That record explicitly states `fullExecutionPerformed: false`. Its separate daemon snapshot recorded a running workflow with zero completed activities at capture time. These are historical snapshots; neither establishes the current state of another instance. +## Compare your run with the local reference -The completed hybrid run supplies the mosaic and the results in this article. To claim a completed reproduction on your machine, retain your own successful validator output, activity records, and output manifest. The [local showcase page](/docs/showcase/scientific-workflows/montage-050) links the checked-in contract and daemon evidence. +Use the [local experiment capture](https://hub.akoflow.com/api/v1/publications/4a1b3c21-a122-4c19-bd2d-c305d400b41f/experiments/4932099c-030e-47c5-acff-0ac0a32611e1) for the two-slot Docker profile. Keep your own validator output, activity records, and output manifest so you can compare the artifacts and observed activity times in the two executions. The historical hybrid metrics above describe a separate GCP/HPC run. ## Keep the experiment with the picture diff --git a/docs/blog/2026-11-28-document-intelligence.mdx b/docs/blog/2026-11-28-document-intelligence.mdx new file mode 100644 index 00000000..eddbc63f --- /dev/null +++ b/docs/blog/2026-11-28-document-intelligence.mdx @@ -0,0 +1,52 @@ +--- +slug: document-intelligence-workflow +publish_at: "2026-11-28T00:00:00-03:00" +authors: [ovvesley, llms] +title: "Document Intelligence with AkôFlow: from invoices to a checked CSV" +description: Run a five-activity invoice workflow locally, inspect its reconciliation report, and import the versioned example from AkôFlow Hub. +image: /img/blog/document-intelligence/workflow.jpg +cover_alt: AkôFlow Desktop showing the five activities from document ingestion to the final report. +tags: [Workflows, Experiments] +--- + +An invoice summary is easier to trust when you can see how its fields were extracted and how the line items were reconciled. This AkôFlow example starts with bundled business documents and finishes with an invoice summary CSV and a reconciliation report. Each activity writes a file that you can inspect before opening the final result. + +The [Document Intelligence workflow on AkôFlow Hub](https://hub.akoflow.com/o/akoflow/document-ai-document-intelligence) includes a local reference execution. All **five activities completed in 10.76 seconds** in Docker on the reference homeserver. You can open the run in the Hub and import the workflow into Desktop to try it with the same fixture files. + + + +## Follow an invoice through the workflow + +The first activity ingests the bundled documents. Classification assigns a document type, and extraction converts the relevant fields into structured data. Reconciliation checks the extracted invoice lines. The last activity publishes the report and summary CSV. + +| Activity | File to inspect | +| --- | --- | +| Ingest | `ingested.json` | +| Classify | `classified.json` | +| Extract | `extracted.json` | +| Reconcile | `reconciliation.json` | +| Report | `invoice-summary.csv` and `report.json` | + +AkôFlow records the activity boundaries and the dependencies between those files. If a value in the CSV looks wrong, you can trace it to an earlier file and inspect the corresponding activity logs. The Desktop walkthrough below shows the reconciliation stage on the bundled example. + +![AkôFlow Desktop walkthrough showing the invoice reconciliation activity](/img/blog/document-intelligence/reconcile.jpg) + +## Inspect the result before you run it + +Open **Results** in the Hub to see the measured execution, including its plan, attempts, metrics, and logs. Download the outputs and open `invoice-summary.csv` alongside `reconciliation.json` to see what the workflow checked. The Desktop screenshots show the example walkthrough. The Hub experiment capture contains the measured run. + +![AkôFlow Desktop walkthrough showing the final document report](/img/blog/document-intelligence/report.jpg) + +[Download the validated output files](https://github.com/UFFeScience/akoflow-examples/releases/download/showcase-hub-v1/document-ai-document-intelligence-results.tar.gz) or [open the native experiment capture](https://hub.akoflow.com/api/v1/publications/85d4152f-da21-4d6b-84d0-6cc937d8b96e/experiments/54ec1072-9abf-410b-8f11-553a16f32340). + +## Run the example in AkôFlow Desktop + +Choose **Create workflow → Import from Hub** and paste the URI for version 1. + +```text +akoflow://hub/publications/85d4152f-da21-4d6b-84d0-6cc937d8b96e/versions/1 +``` + +The URI imports the workflow definition. Follow the [showcase guide](/docs/showcase/document-ai/document-intelligence) to obtain the pinned image and register the companion environment, scope, and topology. The example uses a local CPU Docker profile. + +Run the bundled documents first and compare your CSV and reconciliation output with the published files. Once you can follow the result through all five activities, you have a concrete starting point for adapting the workflow to your own document format. diff --git a/docs/blog/2026-11-29-foucault-precession.mdx b/docs/blog/2026-11-29-foucault-precession.mdx new file mode 100644 index 00000000..b4af2ae2 --- /dev/null +++ b/docs/blog/2026-11-29-foucault-precession.mdx @@ -0,0 +1,40 @@ +--- +slug: foucault-parallel-workflow +publish_at: "2026-11-29T00:00:00-03:00" +authors: [ovvesley, llms] +title: "Foucault with AkôFlow: one pendulum workflow, five parallel slots" +description: Compare two measured executions of the same workflow and follow five independent latitude simulations in the AkôFlow timeline. +image: /img/blog/foucault-precession/precession-vs-latitude.png +cover_alt: Fitted pendulum precession rates change sign across the equator and follow the analytical latitude curve. +tags: [Scientific workflows, Experiments] +--- + +The same pendulum workflow took **273.21 seconds with one slot** and **82.08 seconds with five** on the reference host. AkôFlow recorded the timing of each activity, so you can see which calculations ran together and where the workflow waited for results. + + + +## Five latitudes, one comparison + +The workflow integrates one sidereal day at latitudes −60°, −30°, 0°, +30°, and +60°. Each branch works from its own initial conditions and can run as soon as its inputs and a slot are available. Downstream activities compare the trajectories with the exact small-angle solution, check step refinement, and render the combined result. + +The results recover the expected change in precession direction across the equator. The maximum coordinate disagreement with the exact solution was **2.18 × 10⁻⁸ m**. + +![Simulated rotation of the Foucault pendulum plane across five latitudes](/img/blog/foucault-precession/foucault-precession.gif) + +## What the timeline shows + +All five latitude activities overlapped for **56.25 seconds** in the five-slot run. Compare the full execution times to see the effect of those overlapping intervals. The observed **3.33×** makespan ratio applies to these two runs on this host with the same workflow image. + +![Measured execution timeline with five overlapping latitude activities](/img/blog/foucault-precession/measured-timeline.png) + +Open the [recorded five-slot execution on AkôFlow Hub](https://hub.akoflow.com/o/akoflow/community-explorer-issue-44-foucault-precession-v1/results/2/executions/a004359f-76ee-4f8a-89c7-3f793d53945b/runs/community-foucault-run-v2/workflow) to inspect the activity graph and observed durations. + +## Try the same workflow with a different slot count + +In Desktop, choose **Create workflow → Import from Hub** and paste the URI for version 2. + +```text +akoflow://hub/publications/f67f3cd3-de44-48cc-a8ab-f171f9a4132b/versions/2 +``` + +Use the same image and inputs for both runs. Change the local capacity from one slot to five, then compare the total runtime, the overlap in the timeline, and the validation output. The activity graph gives you a way to identify the branches that can benefit from the extra capacity before launching the comparison. diff --git a/docs/blog/2026-11-30-weatherbench2.mdx b/docs/blog/2026-11-30-weatherbench2.mdx new file mode 100644 index 00000000..38ed4df8 --- /dev/null +++ b/docs/blog/2026-11-30-weatherbench2.mdx @@ -0,0 +1,30 @@ +--- +slug: weatherbench2-score-audit +publish_at: "2026-11-30T00:00:00-03:00" +authors: [ovvesley, llms] +title: "WeatherBench 2 with AkôFlow: two forecasts, one reference" +description: Follow the workflow that compares GraphCast and IFS HRES across 40 forecast horizons using the same ERA5 target. +image: /img/blog/weatherbench2/rmse-by-lead.png +cover_alt: GraphCast and IFS HRES global RMSE curves across common forecast horizons. +tags: [Scientific workflows, Experiments] +--- + +A forecast comparison depends on which observations count as the reference and which horizons the two models share. In this example, AkôFlow extracts the official WeatherBench 2 aggregate scores for GraphCast and IFS HRES, aligns them on ERA5, and produces the curves above. + +The recorded workflow completed **10 activities in 20.68 seconds**. Its inputs are two immutable score objects for 2020 on the 1.5° grid. The analysis uses global RMSE for Z500 and T2M across 40 six-hour leads, from 6 to 240 hours. + + + +## Read the result from source to chart + +Four independent branches verify and extract scores for the two models and two variables. Two downstream comparisons pair the values at the common leads. The chart and animation activities use those tables, and the final activity validates the numbers against registered hashes. + +![WeatherBench 2 score comparison as the forecast horizon increases](/img/blog/weatherbench2/rmse-by-lead.gif) + +The workflow audits published aggregate scores. It uses ERA5 for both models and preserves that comparison rule in the outputs. The [source bundle](https://github.com/UFFeScience/akoflow-examples/tree/main/weather/weatherbench2-common-era5-score-audit) records the input objects, measurement evidence, and attribution to the WeatherBench 2 and GraphCast teams. + +## Take the workflow apart in AkôFlow + +Use the bundle to build the pinned image, run its offline preflight, and import the workflow into an AkôFlow daemon. Open the execution timeline to see which extractions overlap and which outputs the comparison stages depend on. The independent GraphCast branches overlapped for roughly 0.60 seconds in the recorded run. + +The comparison CSV is the place to inspect a particular horizon. The validation file records whether the extracted values match the registered inputs. Keeping both files with the execution lets you trace a chart point back to the scores used to draw it. diff --git a/docs/blog/2026-12-01-tpch-q1.mdx b/docs/blog/2026-12-01-tpch-q1.mdx new file mode 100644 index 00000000..ef2f8d45 --- /dev/null +++ b/docs/blog/2026-12-01-tpch-q1.mdx @@ -0,0 +1,28 @@ +--- +slug: tpch-q1-workflow-audit +publish_at: "2026-12-01T00:00:00-03:00" +authors: [ovvesley, llms] +title: "Auditing PostgreSQL and MongoDB with AkôFlow" +description: Run the original and aligned TPC-H Q1 variants in isolation and trace a difference in results back to a date filter. +image: /img/blog/tpch-q1/aligned-aggregates.png +cover_alt: Numerical aggregates from PostgreSQL and MongoDB after aligning the date cutoffs. +tags: [Scientific workflows, Experiments] +--- + +One query selected **59,307 rows** in PostgreSQL. The other selected **60,175** in MongoDB. Both came from the same TPC-H Q1 comparison. The workflow ran the original queries first, then tested a controlled change to the MongoDB date cutoff. With the filters aligned, all numerical aggregates agreed in the observed run. + + + +## Preserve the original variants + +The PostgreSQL source used September 2, 1998, as its cutoff. The MongoDB pipeline used December 1, 1998. The AkôFlow workflow retains both originals and names the adjusted variant separately. It runs each engine and mode with and without an index in isolated database instances, then checks agreement for the cases that select the same rows. + +This is the Q1 audit at scale factor 0.01 using the complete generated lineitem table for that scale. The workflow records the result of each variant so you can trace the difference to the input filter. Timings describe that execution with its particular client and concurrency settings. + +![Observed timeline of AkôFlow activities for the TPC-H Q1 audit](/img/blog/tpch-q1/execution-timeline.png) + +## Inspect what each activity proved + +The reference execution completed **10 activities in 32.59 seconds**, with up to three active at once. Opening the recorded timeline shows how the isolated branches fed the validation. The scientific validation JSON records the original disagreement and the aligned numerical checks. + +To run the audit, start with the [AkôFlow source bundle](https://github.com/UFFeScience/akoflow-examples/tree/main/scientific-workflows/tpch-databases). It includes the workflow definition, the observed execution evidence, and the attribution to Merlo and colleagues. Compare the validation output before drawing conclusions from timings. The same workflow pattern works whenever you need to preserve an original query and test a hypothesis about a change. diff --git a/docs/blog/2026-12-02-blender-render-farm.mdx b/docs/blog/2026-12-02-blender-render-farm.mdx new file mode 100644 index 00000000..c86ac243 --- /dev/null +++ b/docs/blog/2026-12-02-blender-render-farm.mdx @@ -0,0 +1,32 @@ +--- +slug: blender-render-farm-workflow +publish_at: "2026-12-02T00:00:00-03:00" +authors: [ovvesley, llms] +title: "Blender with AkôFlow: split a render and assemble the animation" +description: Follow a Blender scene through two render branches and download the validated MP4 from the reference execution. +image: /img/blog/blender-render-farm/compose.jpg +cover_alt: Desktop walkthrough showing the composition stage of the Blender render workflow. +tags: [Workflows, Rendering] +--- + +A Blender scene goes into this workflow. An MP4 and a render report come out. In between, AkôFlow lets the even and odd frame activities run independently and makes composition wait for both sets of frames. [Download the reference animation and report](https://github.com/UFFeScience/akoflow-examples/releases/download/showcase-hub-v1/rendering-blender-render-farm-results.tar.gz). + +The [reference run on AkôFlow Hub](https://hub.akoflow.com/o/akoflow/rendering-blender-render-farm) completed **five activities in 18.98 seconds** on the local Docker profile with the bundled scene. + + + +## Follow both render branches + +Setup creates the scene and render plan. The separate rendering activities consume the same scene and write distinct frame sets. The composition activity consumes both sets, and verification records the completed animation in the report. In AkôFlow, those dependencies are visible in the graph and the execution history shows when each branch ran. + +![AkôFlow Desktop walkthrough showing the Blender render branches](/img/blog/blender-render-farm/workflow.jpg) + +## Run it in Desktop + +Choose **Create workflow → Import from Hub**, then paste the version 1 URI. + +```text +akoflow://hub/publications/f0608ece-22cb-45d9-ba33-aaf5d1c42231/versions/1 +``` + +Use the [Blender showcase guide](/docs/showcase/rendering/blender-render-farm) to prepare the image and register the companion definitions. After execution, inspect each render activity and open the final report alongside the MP4. The same dependency structure gives you a starting point for splitting a larger scene into frame groups. diff --git a/docs/blog/2026-12-03-video-intelligence.mdx b/docs/blog/2026-12-03-video-intelligence.mdx new file mode 100644 index 00000000..df327744 --- /dev/null +++ b/docs/blog/2026-12-03-video-intelligence.mdx @@ -0,0 +1,34 @@ +--- +slug: video-intelligence-workflow +publish_at: "2026-12-03T00:00:00-03:00" +authors: [ovvesley, llms] +title: "Video Intelligence with AkôFlow: from an MP4 to an inspectable timeline" +description: Run a local video analysis workflow and follow its probe, scene and audio outputs into a consolidated timeline. +image: /img/blog/video-intelligence/timeline.jpg +cover_alt: AkôFlow Desktop walkthrough showing the video timeline activity. +tags: [Workflows, Media] +--- + +An MP4 is easy to watch. A pipeline that extracts metadata, scenes, and audio can make the same clip easier to inspect programmatically. This AkôFlow workflow starts with a bundled video fixture and produces separate analysis files, a consolidated timeline, and a report. + +The [local reference execution on AkôFlow Hub](https://hub.akoflow.com/o/akoflow/media-video-intelligence) completed **six activities in 12.56 seconds** in Docker. + + + +## Inspect the files that feed the timeline + +Preparation produces the clip. The analysis activities write `probe.json`, `scenes.json`, and `audio.json`. The timeline activity combines their outputs, and the report activity presents the result. If a scene in the timeline looks surprising, open the scene analysis output and trace it to the activity that produced it. + +![AkôFlow Desktop walkthrough showing the six video analysis activities](/img/blog/video-intelligence/workflow.jpg) + +In the Hub, open **Results** to inspect the attempts, logs, and measured durations. [Download the checked output files](https://github.com/UFFeScience/akoflow-examples/releases/download/showcase-hub-v1/media-video-intelligence-results.tar.gz) to read the timeline alongside its input analysis files. + +## Try it with the bundled video + +Choose **Create workflow → Import from Hub** in Desktop and paste the version 1 URI. + +```text +akoflow://hub/publications/fffb92b7-1b16-4eb8-a7ab-ef0f9f7a65d4/versions/1 +``` + +The [video showcase guide](/docs/showcase/media/video-intelligence) provides the image and companion definitions for the local profile. Start with the fixture to see what the workflow emits. You can then adjust the input and compare how each stage responds to a different clip. diff --git a/docs/blog/2026-12-04-montage-hybrid.mdx b/docs/blog/2026-12-04-montage-hybrid.mdx new file mode 100644 index 00000000..fc70a392 --- /dev/null +++ b/docs/blog/2026-12-04-montage-hybrid.mdx @@ -0,0 +1,27 @@ +--- +slug: montage-hybrid-workflow +publish_at: "2026-12-04T00:00:00-03:00" +authors: [ovvesley, llms] +title: "Montage with AkôFlow: placing one workflow across two environments" +description: Follow the transfers behind the measured GCP and HPC run, then explore a GCP and local Docker deployment profile for the same workload. +image: /img/blog/montage-050/mosaic-color.png +cover_alt: Color mosaic produced by the recorded hybrid AkôFlow Montage experiment. +cover_style: photograph +tags: [Scientific workflows, Infrastructure] +--- + +The mosaic above was produced by a hybrid GCP and HPC execution of Montage 050. AkôFlow placed the work across environments while preserving the dependencies between 58 activities. The [original field note](/blog/montage-050-from-observations-to-a-mosaic) traces the astronomy behind the image. Here, we follow the execution choices behind it. + + + +## Keep the graph and change where it runs + +The graph says which input observations a projection reads and which projected files a downstream activity needs. A deployment profile describes the resources available for that computation. Moving an activity across environments also changes where its input files have to travel. Inspecting both the graph and the transfers helps you decide which work to move. + +The historical GCP/HPC run completed **58 of 58 activities**. Its reported makespan was about **115 minutes**, compared with a planned estimate of about **60 minutes**. The [observed results](/downloads/blog/montage-050/observed-results.json) record comparability limits, including different planned and observed transfer scopes. + +## Compare the local reference and the hybrid deployment guide + +Start at [Montage 050 on AkôFlow Hub](https://hub.akoflow.com/o/akoflow/scientific-workflows-montage-050) to inspect the versioned graph and the measured two-slot Docker run. Then open the [GCP and local Docker deployment guide](/docs/showcase/montage-cloud-local). That profile assigns the twelve projections to four GCP workers and keeps the remaining processing local. It describes a deployment option with your own cloud account and capacity. The hybrid timing above belongs to the recorded GCP/HPC experiment. + +Before trying a placement change, identify the files that cross the boundary. Keep the workflow and input versions pinned, then compare observed activity and transfer records against your baseline. diff --git a/docs/blog/2026-12-05-hyperparameter-search.mdx b/docs/blog/2026-12-05-hyperparameter-search.mdx new file mode 100644 index 00000000..cd149a16 --- /dev/null +++ b/docs/blog/2026-12-05-hyperparameter-search.mdx @@ -0,0 +1,32 @@ +--- +slug: hyperparameter-search-workflow +publish_at: "2026-12-05T00:00:00-03:00" +authors: [ovvesley, llms] +title: "Hyperparameter search with AkôFlow: follow a winning model back to its trial" +description: Run three training configurations, compare their held-out errors, and publish the selected model and leaderboard. +image: /img/blog/hyperparameter-search/compare-trials.jpg +cover_alt: Desktop walkthrough of the activity that compares the three training trials. +tags: [Workflows, Machine Learning] +--- + +Three regressors train on the same dataset with different learning rates and epoch budgets. Their measured held-out errors determine the winner. AkôFlow keeps the independent trials and the comparison in one workflow, so the selected model has a traceable path back to the training activity that produced it. + +The [reference run on AkôFlow Hub](https://hub.akoflow.com/o/akoflow/machine-learning-hyperparameter-search) completed **six activities in 14.63 seconds** on the local Docker profile. + + + +## Give each trial the same starting point + +A preparation activity creates the shared dataset. Three trial activities consume it, each writing its model and metrics. The comparison activity reads the three result sets and builds the leaderboard. The last activity records the winning model. + +The Desktop image shows the comparison activity in the walkthrough. The Hub **Results** tab shows the observed run of the published version. Read the training configuration alongside the held-out error before interpreting the ranking. + +## Import the example + +Paste the version 1 URI into **Create workflow → Import from Hub**. + +```text +akoflow://hub/publications/12f30a7f-d58d-43e5-9a90-eba31de75a9e/versions/1 +``` + +The [showcase guide](/docs/showcase/ai/machine-learning/hyperparameter-search) covers local setup. Run the bundled trials first, then change a learning rate or epoch budget and follow the resulting model through the same comparison and selection activities. diff --git a/docs/blog/2026-12-06-oceanbench-glonet.mdx b/docs/blog/2026-12-06-oceanbench-glonet.mdx new file mode 100644 index 00000000..4fbca861 --- /dev/null +++ b/docs/blog/2026-12-06-oceanbench-glonet.mdx @@ -0,0 +1,34 @@ +--- +slug: oceanbench-glonet-workflow +publish_at: "2026-12-06T00:00:00-03:00" +authors: [ovvesley, llms] +title: "OceanBench with AkôFlow: from GLONET forecasts to nine checked tables" +description: Explore a versioned workflow that reproduces a bounded OceanBench tutorial using pinned forecast and observation inputs. +image: /img/blog/oceanbench-glonet/metric-leads.png +cover_alt: Plots of reproduced OceanBench metrics across GLONET forecast horizons. +tags: [Scientific workflows, Experiments] +--- + +The curves show metrics from an OceanBench tutorial for two GLONET forecast initializations in January 2024. AkôFlow ran nine independent metric calls against a checksum-verified input snapshot, then combined their outputs and checked the resulting tables against the pinned tutorial notebook. + +The reference run completed **13 activities** and passed validation after resuming from a local container startup timeout. + + + +## Follow the metric branches + +Preparation pins the public input objects and their checksums. The metric activities evaluate forecasts against the reference data, then aggregation and plotting turn the tables into the graphics below. The final validation checks table cells and coverage fields at the displayed precision of the original notebook. + +![OceanBench metric curves as the forecast lead increases](/img/blog/oceanbench-glonet/forecast-lead-metrics.gif) + +![Measured activity timing for the OceanBench reproduction](/img/blog/oceanbench-glonet/timeline.png) + +The comparison is scoped to the two tutorial initializations. Use the timeline to inspect concurrency and the tables to evaluate agreement with the notebook. + +## Reproduce the tutorial workflow + +Import version 3 in Desktop using the URI below. The [source bundle](https://github.com/UFFeScience/akoflow-examples/tree/main/oceanography/oceanbench-glonet) documents the public inputs, scientific implementation, preflight, and execution records. + +```text +akoflow://hub/publications/0f2c1803-b55c-41ea-9d86-9e40331763f6/versions/3 +``` diff --git a/docs/blog/2026-12-07-local-rag.mdx b/docs/blog/2026-12-07-local-rag.mdx new file mode 100644 index 00000000..624350af --- /dev/null +++ b/docs/blog/2026-12-07-local-rag.mdx @@ -0,0 +1,28 @@ +--- +slug: local-rag-workflow +publish_at: "2026-12-07T00:00:00-03:00" +authors: [ovvesley, llms] +title: "Local RAG with AkôFlow: trace an answer back to the index" +description: Inspect how a local workflow ingests documents, chunks text, builds an index, and evaluates retrieval against bundled fixtures. +image: /img/blog/local-rag/index.jpg +cover_alt: AkôFlow Desktop walkthrough of the index-building activity. +tags: [Workflows, AI] +--- + +When the documents behind a retrieval pipeline change, you need a way to see which chunks were indexed and what the next query retrieved. This local AkôFlow workflow makes those steps inspectable. The [Hub reference execution](https://hub.akoflow.com/o/akoflow/generative-ai-local-rag) completed **six activities in 11.83 seconds** on the bundled example. + + + +## Follow the index through retrieval + +Ingestion and chunking prepare the text. The index activity packages it for retrieval. The next stages retrieve evidence, produce an answer, and evaluate the result with the supplied fixtures. Open an activity's outputs to see the inputs available to the following stage. + +## Try a document change + +Import version 1 with **Create workflow → Import from Hub** and follow the [local RAG showcase guide](/docs/showcase/ai/generative-ai/local-rag-factory). + +```text +akoflow://hub/publications/f00526cb-8aa2-4bcf-b28d-8d76c47588fb/versions/1 +``` + +First run the fixture unchanged. Then update one document and rerun with the same query. Compare the chunk and retrieval artifacts from the two runs. This gives you a way to distinguish a change in retrieved evidence from a change that happens later in the answer stage. diff --git a/docs/blog/2026-12-08-opendronemap.mdx b/docs/blog/2026-12-08-opendronemap.mdx new file mode 100644 index 00000000..7b052d30 --- /dev/null +++ b/docs/blog/2026-12-08-opendronemap.mdx @@ -0,0 +1,31 @@ +--- +slug: opendronemap-workflow +publish_at: "2026-12-08T00:00:00-03:00" +authors: [ovvesley, llms] +title: "OpenDroneMap with AkôFlow: from 77 drone photos to an orthomosaic" +description: Inspect the parallel submodels, native merge and recovered execution behind the Caliterra geospatial artifacts. +image: /img/blog/opendronemap/orthophoto.png +cover_alt: Measured Caliterra orthomosaic produced by the OpenDroneMap workflow. +cover_style: photograph +tags: [Scientific workflows, Experiments] +--- + +This Caliterra orthomosaic started with **77 CC0 photographs** from Dennis Baldwin and Unmanned Airlines. In the published AkôFlow run, two dense-processing submodels ran in parallel and their native merge produced a point cloud with **4,510,286 points**. + + + +## Follow the submodels and the merge + +The workflow splits the input, reconstructs and aligns the submodels, then starts the two dense-processing activities. The merge consumes both outputs. The final checks reopen the geospatial products and verify the point count, raster properties, and file checksums. + +![Colored point cloud rendered from the merged Caliterra result](/img/blog/opendronemap/pointcloud.png) + +The Hub record shows **nine completed activities**. It also preserves the earlier attempts interrupted by an external daemon restart and the attempts that completed after recovery. That history lets you inspect which outputs were reused and which activities ran again. + +## Inspect and import + +Open the [published OpenDroneMap workflow and results](https://hub.akoflow.com/o/akoflow/scientific-workflows-opendronemap). Version 1 can be imported into Desktop with the URI below. The [showcase guide](/docs/showcase/scientific-workflows/opendronemap) describes the exact image and original photos needed for a reproduction. + +```text +akoflow://hub/publications/fa855624-54cc-44a9-9c9a-b3117b31eb33/versions/1 +``` diff --git a/docs/blog/2026-12-09-transfer-roundtrip.mdx b/docs/blog/2026-12-09-transfer-roundtrip.mdx new file mode 100644 index 00000000..6228dfbb --- /dev/null +++ b/docs/blog/2026-12-09-transfer-roundtrip.mdx @@ -0,0 +1,29 @@ +--- +slug: cross-environment-file-transfers +publish_at: "2026-12-09T00:00:00-03:00" +authors: [ovvesley, llms] +title: "Cross-environment transfers with AkôFlow: follow a file through Slurm, Kind, and GCP" +description: Trace a recorded round trip from PlaFRIM to Kind and GCP, then back to PlaFRIM with checksum verification at each handoff. +image: /img/architecture/transfer-runtime-paths.svg +cover_alt: AkôFlow architecture diagram illustrating runtime file transfer paths. +tags: [Workflows, Infrastructure] +--- + +A workflow can finish an activity on one machine and need its output on another. In this AkôFlow fixture, a payload traveled from the PlaFRIM Slurm environment to Kind, then to a GCP worker, and finally back to PlaFRIM. The last activity checked the original payload and both intermediary receipts before writing its final receipt. + + + +## Follow each handoff + +| Environment | What the activity verifies or writes | +| --- | --- | +| PlaFRIM source | Writes the payload and its SHA-256 checksum. | +| Kind | Verifies the payload and checksum, then writes its receipt. | +| GCP | Verifies the incoming files and writes the cloud receipt. | +| PlaFRIM destination | Checks the payload and both receipts, then writes the final receipt. | + +The recorded execution completed **four activities** and reported **391 bytes** across three transfers. Its observed makespan was **545.536 seconds**, including the distributed execution lifecycle. The GCP instance was destroyed after the run. The small payload makes this a check of routing and integrity. + +## Use the fixture to check your topology + +The [round-trip source bundle](https://github.com/UFFeScience/akoflow-examples/tree/main/real/plafrim-kind-cloud-roundtrip) includes the scope, network, workflow, and plan. Adapt the environment IDs and capacity to your deployment. After a run, check the output receipt alongside the activity and transfer records so you can confirm where the files traveled and whether they arrived intact. diff --git a/docs/blog/2026-12-10-reuse-a-hub-workflow.mdx b/docs/blog/2026-12-10-reuse-a-hub-workflow.mdx new file mode 100644 index 00000000..89c48665 --- /dev/null +++ b/docs/blog/2026-12-10-reuse-a-hub-workflow.mdx @@ -0,0 +1,32 @@ +--- +slug: reproduce-a-workflow-from-hub +publish_at: "2026-12-10T00:00:00-03:00" +authors: [ovvesley, llms] +title: "AkôFlow Hub: hand a workflow to someone who can run it" +description: Share a versioned workflow and reference outputs, then import and validate a fresh execution in another Desktop installation. +image: /img/blog/hub-is-alive/11-import-review.png +cover_alt: AkôFlow Desktop showing the workflow import review before creating a local copy. +tags: [Workflows, AkôFlow Hub] +--- + +A colleague wants to rerun your invoice workflow on their own machine. Send them the AkôFlow Hub version together with the results they should expect. They can review the dependencies before running and compare their reconciliation output with the reference. + + + +## As the publisher, share the version and the evidence + +Use [Document Intelligence on AkôFlow Hub](https://hub.akoflow.com/o/akoflow/document-ai-document-intelligence) as the example. Its version has a workflow definition, and the Results tab includes the recorded five-activity Docker run. The archive includes the final CSV as well as the extracted fields and reconciliation report. + +Share the version URI, a link to the recorded results, and the setup guide for the companion environment. Those three pieces tell the receiver what to import, how to provision it, and what to compare. + +## As the receiver, run it in your own Desktop + +Open **Create workflow → Import from Hub** and paste the URI for version 1. + +```text +akoflow://hub/publications/85d4152f-da21-4d6b-84d0-6cc937d8b96e/versions/1 +``` + +Review the import and use the [showcase guide](/docs/showcase/document-ai/document-intelligence) to obtain the image and register the environment, scope, and topology. Run on your local Docker profile with the bundled documents. Compare the new `invoice-summary.csv` and `reconciliation.json` with the [reference output archive](https://github.com/UFFeScience/akoflow-examples/releases/download/showcase-hub-v1/document-ai-document-intelligence-results.tar.gz). + +Keep the two execution records alongside the version. The same definition gives you a reference for comparing outputs, and the separate execution records show how the two machines ran it. diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts index 513b996c..f7c7f88c 100644 --- a/docs/docusaurus.config.ts +++ b/docs/docusaurus.config.ts @@ -3,6 +3,11 @@ import type { Config } from "@docusaurus/types"; import type * as Preset from "@docusaurus/preset-classic"; import { publicSiteUrl } from "./src/utils/publicSiteUrl"; +import type { BlogPost } from "@docusaurus/plugin-content-blog"; +import { blogSchedulePluginName, isScheduledBlogPost } from "./src/utils/blogSchedule"; + +const buildTime = Date.now(); + const config: Config = { title: "AkôFlow", tagline: "Open Source Engine for Containerized Scientific Workflows", @@ -64,6 +69,19 @@ const config: Config = { "Tutorials, experiments, and results from the AkôFlow project.", showReadingTime: true, postsPerPage: "ALL", + async processBlogPosts({ blogPosts }) { + return blogPosts.map((post) => { + if (!isScheduledBlogPost(post.metadata.frontMatter, buildTime)) return post; + return { + ...post, + metadata: { + ...post.metadata, + unlisted: true, + frontMatter: { ...post.metadata.frontMatter, unlisted: true }, + }, + }; + }); + }, blogSidebarCount: 0, onInlineTags: "ignore", onUntruncatedBlogPosts: "ignore", @@ -93,6 +111,22 @@ const config: Config = { ], plugins: [ + () => ({ + name: blogSchedulePluginName, + allContentLoaded({ allContent, actions }) { + const blog = allContent["docusaurus-plugin-content-blog"]?.default as + | { blogPosts: BlogPost[] } + | undefined; + actions.setGlobalData( + (blog?.blogPosts ?? []) + .filter(({ metadata }) => + !metadata.frontMatter.draft && + isScheduledBlogPost(metadata.frontMatter, buildTime), + ) + .map(({ metadata }) => metadata), + ); + }, + }), [ "@docusaurus/plugin-client-redirects", { diff --git a/docs/src/components/blog/BlogCard.tsx b/docs/src/components/blog/BlogCard.tsx index 44ad89cf..6176d974 100644 --- a/docs/src/components/blog/BlogCard.tsx +++ b/docs/src/components/blog/BlogCard.tsx @@ -4,15 +4,16 @@ import useBaseUrl from "@docusaurus/useBaseUrl"; import type { PropBlogPostMetadata } from "@docusaurus/plugin-content-blog"; import styles from "./blog.module.css"; -export default function BlogCard({ post }: { post: PropBlogPostMetadata }) { +export default function BlogCard({ post, query = "" }: { post: PropBlogPostMetadata; query?: string }) { const image = useBaseUrl( post.frontMatter.image ?? "/img/interface/onboarding/first-simulation-result.png", ); + const url = post.permalink + query; return (
tag.label).join(" · ")}

- {post.title} + {post.title}

{post.description}

{Math.ceil(post.readingTime ?? 1)} min read - + Read the story ↗
diff --git a/docs/src/theme/BlogListPage/index.tsx b/docs/src/theme/BlogListPage/index.tsx index 97aacb8e..c4db7272 100644 --- a/docs/src/theme/BlogListPage/index.tsx +++ b/docs/src/theme/BlogListPage/index.tsx @@ -1,4 +1,9 @@ import React, { useState } from "react"; +import { usePluginData } from "@docusaurus/useGlobalData"; +import { useLocation } from "@docusaurus/router"; +import useIsBrowser from "@docusaurus/useIsBrowser"; +import type { PropBlogPostMetadata } from "@docusaurus/plugin-content-blog"; +import { blogPreviewQuery, blogSchedulePluginName, isBlogPreview, isScheduledBlogPost } from "@site/src/utils/blogSchedule"; import Layout from "@theme/Layout"; import type { Props } from "@theme/BlogListPage"; import BlogBackdrop from "@site/src/components/blog/BlogBackdrop"; @@ -10,7 +15,16 @@ import styles from "@site/src/components/blog/blog.module.css"; export default function BlogListPage({ items, metadata }: Props) { const [query, setQuery] = useState(""); const [category, setCategory] = useState("All stories"); - const posts = items.map(({ content }) => content.metadata); + const { search } = useLocation(); + const isBrowser = useIsBrowser(); + const preview = isBrowser && isBlogPreview(search); + const scheduledPosts = usePluginData(blogSchedulePluginName) as PropBlogPostMetadata[]; + const posts = [ + ...items.map(({ content }) => content.metadata), + ...scheduledPosts.filter(({ frontMatter }) => + isBrowser && (preview || !isScheduledBlogPost(frontMatter)), + ), + ].sort((a, b) => Date.parse(b.date) - Date.parse(a.date)); const categories = [ "All stories", ...new Set(posts.flatMap((post) => post.tags.map((tag) => tag.label))), @@ -79,7 +93,7 @@ export default function BlogListPage({ items, metadata }: Props) {

{visible.map((post) => ( - + ))}
{visible.length === 0 && ( diff --git a/docs/src/theme/BlogPostItem/Header/index.tsx b/docs/src/theme/BlogPostItem/Header/index.tsx index 4b289018..99ccf622 100644 --- a/docs/src/theme/BlogPostItem/Header/index.tsx +++ b/docs/src/theme/BlogPostItem/Header/index.tsx @@ -1,5 +1,7 @@ import React from "react"; import Link from "@docusaurus/Link"; +import { useLocation } from "@docusaurus/router"; +import { blogPreviewQuery, isBlogPreview } from "@site/src/utils/blogSchedule"; import useBaseUrl from "@docusaurus/useBaseUrl"; import { useBlogPost } from "@docusaurus/plugin-content-blog/client"; import BlogThemeSwitch from "@site/src/components/blog/BlogThemeSwitch"; @@ -9,6 +11,7 @@ import BlogAuthorByline from "@site/src/components/blog/BlogAuthorByline"; import styles from "@site/src/components/blog/blog.module.css"; export default function BlogPostItemHeader() { + const { search } = useLocation(); const { metadata } = useBlogPost(); const { title, description, frontMatter } = metadata; const image = useBaseUrl( @@ -23,7 +26,7 @@ export default function BlogPostItemHeader() { return (
- ← All stories + ← All stories
; + } + + return ( + + +
+

This article is scheduled

+ Back to the blog +
+
+ ); +} diff --git a/docs/src/utils/blogSchedule.ts b/docs/src/utils/blogSchedule.ts new file mode 100644 index 00000000..3aeb2f5c --- /dev/null +++ b/docs/src/utils/blogSchedule.ts @@ -0,0 +1,22 @@ +export const blogSchedulePluginName = "akoflow-blog-schedule"; +export const blogPreviewQuery = "?preview=scheduled"; + +export function isBlogPreview(search: string): boolean { + return new URLSearchParams(search).get("preview") === "scheduled"; +} + +export function isScheduledBlogPost( + frontMatter: Record, + now = Date.now(), +): boolean { + const date = frontMatter.publish_at; + if (date === undefined) return false; + if ( + typeof date !== "string" || + !/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:Z|[+-]\d{2}:\d{2})$/.test(date) || + !Number.isFinite(Date.parse(date)) + ) { + throw new Error("Blog publish_at must be a quoted ISO timestamp with an explicit timezone."); + } + return Date.parse(date) > now; +} diff --git a/docs/static/img/blog/blender-render-farm/compose.jpg b/docs/static/img/blog/blender-render-farm/compose.jpg new file mode 100644 index 00000000..4e6355c4 Binary files /dev/null and b/docs/static/img/blog/blender-render-farm/compose.jpg differ diff --git a/docs/static/img/blog/blender-render-farm/workflow.jpg b/docs/static/img/blog/blender-render-farm/workflow.jpg new file mode 100644 index 00000000..e551f877 Binary files /dev/null and b/docs/static/img/blog/blender-render-farm/workflow.jpg differ diff --git a/docs/static/img/blog/document-intelligence/reconcile.jpg b/docs/static/img/blog/document-intelligence/reconcile.jpg new file mode 100644 index 00000000..341ba96a Binary files /dev/null and b/docs/static/img/blog/document-intelligence/reconcile.jpg differ diff --git a/docs/static/img/blog/document-intelligence/report.jpg b/docs/static/img/blog/document-intelligence/report.jpg new file mode 100644 index 00000000..f1fb6ed9 Binary files /dev/null and b/docs/static/img/blog/document-intelligence/report.jpg differ diff --git a/docs/static/img/blog/document-intelligence/workflow.jpg b/docs/static/img/blog/document-intelligence/workflow.jpg new file mode 100644 index 00000000..6f616593 Binary files /dev/null and b/docs/static/img/blog/document-intelligence/workflow.jpg differ diff --git a/docs/static/img/blog/foucault-precession/foucault-precession.gif b/docs/static/img/blog/foucault-precession/foucault-precession.gif new file mode 100644 index 00000000..6aa2f5e4 Binary files /dev/null and b/docs/static/img/blog/foucault-precession/foucault-precession.gif differ diff --git a/docs/static/img/blog/foucault-precession/measured-timeline.png b/docs/static/img/blog/foucault-precession/measured-timeline.png new file mode 100644 index 00000000..6746df94 Binary files /dev/null and b/docs/static/img/blog/foucault-precession/measured-timeline.png differ diff --git a/docs/static/img/blog/foucault-precession/precession-vs-latitude.png b/docs/static/img/blog/foucault-precession/precession-vs-latitude.png new file mode 100644 index 00000000..5a148b04 Binary files /dev/null and b/docs/static/img/blog/foucault-precession/precession-vs-latitude.png differ diff --git a/docs/static/img/blog/hyperparameter-search/compare-trials.jpg b/docs/static/img/blog/hyperparameter-search/compare-trials.jpg new file mode 100644 index 00000000..91d995f5 Binary files /dev/null and b/docs/static/img/blog/hyperparameter-search/compare-trials.jpg differ diff --git a/docs/static/img/blog/local-rag/index.jpg b/docs/static/img/blog/local-rag/index.jpg new file mode 100644 index 00000000..601cf1ad Binary files /dev/null and b/docs/static/img/blog/local-rag/index.jpg differ diff --git a/docs/static/img/blog/oceanbench-glonet/forecast-lead-metrics.gif b/docs/static/img/blog/oceanbench-glonet/forecast-lead-metrics.gif new file mode 100644 index 00000000..3bd24fa2 Binary files /dev/null and b/docs/static/img/blog/oceanbench-glonet/forecast-lead-metrics.gif differ diff --git a/docs/static/img/blog/oceanbench-glonet/metric-leads.png b/docs/static/img/blog/oceanbench-glonet/metric-leads.png new file mode 100644 index 00000000..820aaa12 Binary files /dev/null and b/docs/static/img/blog/oceanbench-glonet/metric-leads.png differ diff --git a/docs/static/img/blog/oceanbench-glonet/timeline.png b/docs/static/img/blog/oceanbench-glonet/timeline.png new file mode 100644 index 00000000..8c8766fc Binary files /dev/null and b/docs/static/img/blog/oceanbench-glonet/timeline.png differ diff --git a/docs/static/img/blog/opendronemap/orthophoto.png b/docs/static/img/blog/opendronemap/orthophoto.png new file mode 100644 index 00000000..c9c3306b Binary files /dev/null and b/docs/static/img/blog/opendronemap/orthophoto.png differ diff --git a/docs/static/img/blog/opendronemap/pointcloud.png b/docs/static/img/blog/opendronemap/pointcloud.png new file mode 100644 index 00000000..8349295f Binary files /dev/null and b/docs/static/img/blog/opendronemap/pointcloud.png differ diff --git a/docs/static/img/blog/tpch-q1/aligned-aggregates.png b/docs/static/img/blog/tpch-q1/aligned-aggregates.png new file mode 100644 index 00000000..6daae1e7 Binary files /dev/null and b/docs/static/img/blog/tpch-q1/aligned-aggregates.png differ diff --git a/docs/static/img/blog/tpch-q1/execution-timeline.png b/docs/static/img/blog/tpch-q1/execution-timeline.png new file mode 100644 index 00000000..bda304f5 Binary files /dev/null and b/docs/static/img/blog/tpch-q1/execution-timeline.png differ diff --git a/docs/static/img/blog/video-intelligence/timeline.jpg b/docs/static/img/blog/video-intelligence/timeline.jpg new file mode 100644 index 00000000..a14d7a1c Binary files /dev/null and b/docs/static/img/blog/video-intelligence/timeline.jpg differ diff --git a/docs/static/img/blog/video-intelligence/workflow.jpg b/docs/static/img/blog/video-intelligence/workflow.jpg new file mode 100644 index 00000000..0bf446b1 Binary files /dev/null and b/docs/static/img/blog/video-intelligence/workflow.jpg differ diff --git a/docs/static/img/blog/weatherbench2/rmse-by-lead.gif b/docs/static/img/blog/weatherbench2/rmse-by-lead.gif new file mode 100644 index 00000000..e89e2429 Binary files /dev/null and b/docs/static/img/blog/weatherbench2/rmse-by-lead.gif differ diff --git a/docs/static/img/blog/weatherbench2/rmse-by-lead.png b/docs/static/img/blog/weatherbench2/rmse-by-lead.png new file mode 100644 index 00000000..e123e55f Binary files /dev/null and b/docs/static/img/blog/weatherbench2/rmse-by-lead.png differ