diff --git a/CHANGELOG.md b/CHANGELOG.md index f76f00a..59d9e23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Changed campaign id type to REAL from INTEGER to include 7.5th campaign + +### Fixed + +- Fixed 7th campaign end date + ## [1.0.0] - 2025-01-27 ### Added diff --git a/examples/Manifest.toml b/examples/Manifest.toml index 8db43d4..5409e5b 100644 --- a/examples/Manifest.toml +++ b/examples/Manifest.toml @@ -1,8 +1,8 @@ # This file is machine-generated - editing it directly is not advised -julia_version = "1.11.3" +julia_version = "1.11.4" manifest_format = "2.0" -project_hash = "a5287f1b860b464c05770978a0adc638b6272c1f" +project_hash = "b17c80c63c72227fd6b82388344e9c9a65609776" [[deps.ANSIColoredPrinters]] git-tree-sha1 = "574baf8110975760d391c710b6341da1afa48d8c" @@ -33,12 +33,13 @@ version = "0.4.5" [[deps.Adapt]] deps = ["LinearAlgebra", "Requires"] -git-tree-sha1 = "50c3c56a52972d78e8be9fd135bfb91c9574c140" +git-tree-sha1 = "cd8b948862abee8f3d3e9b73a102a9ca924debb0" uuid = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" -version = "4.1.1" -weakdeps = ["StaticArrays"] +version = "4.2.0" +weakdeps = ["SparseArrays", "StaticArrays"] [deps.Adapt.extensions] + AdaptSparseArraysExt = "SparseArrays" AdaptStaticArraysExt = "StaticArrays" [[deps.AdaptivePredicates]] @@ -98,11 +99,16 @@ git-tree-sha1 = "5d5dda960067751bc1534aba765f771325044501" uuid = "000d9b38-65fe-4c81-bdb9-69f01f102479" version = "1.0.7" +[[deps.BitFlags]] +git-tree-sha1 = "0691e34b3bb8be9307330f88d1a3c3f25466c24d" +uuid = "d1d4a3ce-64b1-5f1a-9ba4-7e7e69966f35" +version = "0.1.9" + [[deps.Bzip2_jll]] -deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] -git-tree-sha1 = "8873e196c2eb87962a2048b3b8e08946535864a1" +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "1b96ea4a01afe0ea4090c5c8039690672dd13f2e" uuid = "6e34b625-4abd-537c-b88f-471c36dfa7a0" -version = "1.0.8+4" +version = "1.0.9+0" [[deps.CEnum]] git-tree-sha1 = "389ad5c84de1ae7cf0e28e381131c98ea87d54fc" @@ -133,9 +139,9 @@ version = "1.1.1" [[deps.CairoMakie]] deps = ["CRC32c", "Cairo", "Cairo_jll", "Colors", "FileIO", "FreeType", "GeometryBasics", "LinearAlgebra", "Makie", "PrecompileTools"] -git-tree-sha1 = "0afa2b4ac444b9412130d68493941e1af462e26a" +git-tree-sha1 = "15d6504f47633ee9b63be11a0384925ba0c84f61" uuid = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0" -version = "0.12.18" +version = "0.13.2" [[deps.Cairo_jll]] deps = ["Artifacts", "Bzip2_jll", "CompilerSupportLibraries_jll", "Fontconfig_jll", "FreeType2_jll", "Glib_jll", "JLLWrappers", "LZO_jll", "Libdl", "Pixman_jll", "Xorg_libXext_jll", "Xorg_libXrender_jll", "Zlib_jll", "libpng_jll"] @@ -161,9 +167,9 @@ weakdeps = ["SparseArrays"] [[deps.CodecZlib]] deps = ["TranscodingStreams", "Zlib_jll"] -git-tree-sha1 = "bce6804e5e6044c6daab27bb533d1295e4a2e759" +git-tree-sha1 = "962834c22b66e32aa10f7611c08c8ca4e20749a9" uuid = "944b1d66-785c-5afd-91f1-9de20f533193" -version = "0.7.6" +version = "0.7.8" [[deps.ColorBrewer]] deps = ["Colors", "JSON"] @@ -173,9 +179,9 @@ version = "0.4.1" [[deps.ColorSchemes]] deps = ["ColorTypes", "ColorVectorSpace", "Colors", "FixedPointNumbers", "PrecompileTools", "Random"] -git-tree-sha1 = "26ec26c98ae1453c692efded2b17e15125a5bea1" +git-tree-sha1 = "403f2d8e209681fcbd9468a8514efff3ea08452e" uuid = "35d6a980-a343-548e-a6ea-1d62b119f2f4" -version = "3.28.0" +version = "3.29.0" [[deps.ColorTypes]] deps = ["FixedPointNumbers", "Random"] @@ -214,6 +220,18 @@ deps = ["Artifacts", "Libdl"] uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae" version = "1.1.1+0" +[[deps.ConcurrentUtilities]] +deps = ["Serialization", "Sockets"] +git-tree-sha1 = "d9d26935a0bcffc87d2613ce14c527c99fc543fd" +uuid = "f0e56b4a-5159-44fe-b623-3e5288b988bb" +version = "2.5.0" + +[[deps.Configurations]] +deps = ["ExproniconLite", "OrderedCollections", "TOML"] +git-tree-sha1 = "4358750bb58a3caefd5f37a4a0c5bfdbbf075252" +uuid = "5218b696-f38b-4ac9-8b61-a12ec717816d" +version = "0.17.6" + [[deps.ConstructionBase]] git-tree-sha1 = "76219f1ed5771adbb096743bff43fb5fdd4c1157" uuid = "187b0558-2788-49d3-abe0-74a17ed4e7c9" @@ -280,9 +298,9 @@ version = "1.11.0" [[deps.Distributions]] deps = ["AliasTables", "FillArrays", "LinearAlgebra", "PDMats", "Printf", "QuadGK", "Random", "SpecialFunctions", "Statistics", "StatsAPI", "StatsBase", "StatsFuns"] -git-tree-sha1 = "03aa5d44647eaec98e1920635cdfed5d5560a8b9" +git-tree-sha1 = "0b4190661e8a4e51a842070e7dd4fae440ddb7f4" uuid = "31c24e10-a181-5473-b8eb-7969acd0382f" -version = "0.25.117" +version = "0.25.118" [deps.Distributions.extensions] DistributionsChainRulesCoreExt = "ChainRulesCore" @@ -302,9 +320,9 @@ version = "0.9.3" [[deps.Documenter]] deps = ["ANSIColoredPrinters", "AbstractTrees", "Base64", "CodecZlib", "Dates", "DocStringExtensions", "Downloads", "Git", "IOCapture", "InteractiveUtils", "JSON", "LibGit2", "Logging", "Markdown", "MarkdownAST", "Pkg", "PrecompileTools", "REPL", "RegistryInstances", "SHA", "TOML", "Test", "Unicode"] -git-tree-sha1 = "d0ea2c044963ed6f37703cead7e29f70cba13d7e" +git-tree-sha1 = "182a9a3fe886587ba230a417f1651a4cbc2b92d4" uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4" -version = "1.8.0" +version = "1.8.1" [[deps.Downloads]] deps = ["ArgTools", "FileWatching", "LibCURL", "NetworkOptions"] @@ -328,11 +346,27 @@ git-tree-sha1 = "b3f2ff58735b5f024c392fde763f29b057e4b025" uuid = "429591f6-91af-11e9-00e2-59fbe8cec110" version = "2.2.8" +[[deps.ExceptionUnwrapping]] +deps = ["Test"] +git-tree-sha1 = "d36f682e590a83d63d1c7dbd287573764682d12a" +uuid = "460bff9d-24e4-43bc-9d9f-a8973cb893f4" +version = "0.1.11" + [[deps.Expat_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl"] -git-tree-sha1 = "e51db81749b0777b2147fbe7b783ee79045b8e99" +git-tree-sha1 = "d55dffd9ae73ff72f1c0482454dcf2ec6c6c4a63" uuid = "2e619515-83b5-522b-bb60-26c02a35a201" -version = "2.6.4+3" +version = "2.6.5+0" + +[[deps.ExpressionExplorer]] +git-tree-sha1 = "71d0768dd78ad62d3582091bf338d98af8bbda67" +uuid = "21656369-7473-754a-2065-74616d696c43" +version = "1.1.1" + +[[deps.ExproniconLite]] +git-tree-sha1 = "c13f0b150373771b0fdc1713c97860f8df12e6c2" +uuid = "55351af7-c7e9-48d6-89ff-24e801d99491" +version = "0.10.14" [[deps.Extents]] git-tree-sha1 = "063512a13dbe9c40d999c439268539aa552d1ae6" @@ -359,9 +393,9 @@ version = "3.3.10+3" [[deps.FHist]] deps = ["BayesHistogram", "LinearAlgebra", "MakieCore", "Measurements", "RecipesBase", "Requires", "Statistics", "StatsBase"] -git-tree-sha1 = "66013ca09dbaa9017a987562c19791c3e9a64a5a" +git-tree-sha1 = "4a3b96e7a72781fe77346bf236c0e367270bc437" uuid = "68837c9b-b678-4cd5-9925-8a54edc8f695" -version = "0.11.7" +version = "0.11.9" [deps.FHist.extensions] FHistHDF5Ext = "HDF5" @@ -376,16 +410,14 @@ version = "0.11.7" [[deps.FileIO]] deps = ["Pkg", "Requires", "UUIDs"] -git-tree-sha1 = "2dd20384bf8c6d411b5c7370865b1e9b26cb2ea3" +git-tree-sha1 = "b66970a70db13f45b7e57fbda1736e1cf72174ea" uuid = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549" -version = "1.16.6" +version = "1.17.0" +weakdeps = ["HTTP"] [deps.FileIO.extensions] HTTPExt = "HTTP" - [deps.FileIO.weakdeps] - HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3" - [[deps.FilePaths]] deps = ["FilePathsBase", "MacroTools", "Reexport", "Requires"] git-tree-sha1 = "919d9412dbf53a2e6fe74af62a73ceed0bce0629" @@ -394,9 +426,9 @@ version = "0.8.3" [[deps.FilePathsBase]] deps = ["Compat", "Dates"] -git-tree-sha1 = "7878ff7172a8e6beedd1dea14bd27c3c6340d361" +git-tree-sha1 = "3bab2c5aa25e7840a4b065805c0cdfc01f3068d2" uuid = "48062228-2e41-5def-b9a4-89aafe57970f" -version = "0.9.22" +version = "0.9.24" weakdeps = ["Mmap", "Test"] [deps.FilePathsBase.extensions] @@ -465,6 +497,12 @@ deps = ["Random"] uuid = "9fa8497b-333b-5362-9e8d-4d0656e87820" version = "1.11.0" +[[deps.FuzzyCompletions]] +deps = ["REPL"] +git-tree-sha1 = "be713866335f48cfb1285bff2d0cbb8304c1701c" +uuid = "fb4132e2-a121-4a70-b8a1-d5b831dcdcc2" +version = "0.5.5" + [[deps.GeoFormatTypes]] git-tree-sha1 = "8e233d5167e63d708d41f87597433f59a0f213fe" uuid = "68eda718-8dee-11e9-39e7-89f7f65f511f" @@ -477,10 +515,10 @@ uuid = "cf35fbd7-0cd7-5166-be24-54bfbe79505f" version = "1.4.1" [[deps.GeometryBasics]] -deps = ["EarCut_jll", "Extents", "GeoInterface", "IterTools", "LinearAlgebra", "StaticArrays", "StructArrays", "Tables"] -git-tree-sha1 = "b62f2b2d76cee0d61a2ef2b3118cd2a3215d3134" +deps = ["EarCut_jll", "Extents", "GeoInterface", "IterTools", "LinearAlgebra", "PrecompileTools", "Random", "StaticArrays"] +git-tree-sha1 = "3ba0e2818cc2ff79a5989d4dca4bc63120a98bd9" uuid = "5c1252a2-5f33-56bf-86c9-59e7332b4326" -version = "0.4.11" +version = "0.5.5" [[deps.Gettext_jll]] deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl", "Libiconv_jll", "Pkg", "XML2_jll"] @@ -535,6 +573,12 @@ git-tree-sha1 = "53bb909d1151e57e2484c3d1b53e19552b887fb2" uuid = "42e2da0e-8278-4e71-bc24-59509adca0fe" version = "1.0.2" +[[deps.HTTP]] +deps = ["Base64", "CodecZlib", "ConcurrentUtilities", "Dates", "ExceptionUnwrapping", "Logging", "LoggingExtras", "MbedTLS", "NetworkOptions", "OpenSSL", "PrecompileTools", "Random", "SimpleBufferStream", "Sockets", "URIs", "UUIDs"] +git-tree-sha1 = "c67b33b085f6e2faf8bf79a61962e7339a81129c" +uuid = "cd3eb016-35fb-5094-929b-558a96fad6f3" +version = "1.10.15" + [[deps.HarfBuzz_jll]] deps = ["Artifacts", "Cairo_jll", "Fontconfig_jll", "FreeType2_jll", "Glib_jll", "Graphite2_jll", "JLLWrappers", "Libdl", "Libffi_jll"] git-tree-sha1 = "55c53be97790242c29031e5cd45e8ac296dadda3" @@ -612,9 +656,9 @@ uuid = "d25df0c9-e2be-5dd7-82c8-3ad0b3e990b9" version = "0.1.5" [[deps.InlineStrings]] -git-tree-sha1 = "45521d31238e87ee9f9732561bfee12d4eebd52d" +git-tree-sha1 = "6a9fde685a7ac1eb3495f8e812c5a7c3711c2d5e" uuid = "842dd82b-1e85-43dc-bf29-5d0ee9dffc48" -version = "1.4.2" +version = "1.4.3" [deps.InlineStrings.extensions] ArrowTypesExt = "ArrowTypes" @@ -647,9 +691,9 @@ weakdeps = ["Unitful"] [[deps.IntervalArithmetic]] deps = ["CRlibm_jll", "LinearAlgebra", "MacroTools", "RoundingEmulator"] -git-tree-sha1 = "eb6ca9aef11db0c08b7ac0a5952c6c6ba6fbebf0" +git-tree-sha1 = "0fcf2079f918f68c6412cab5f2679822cbd7357f" uuid = "d1acc4aa-44c8-5952-acd4-ba5d80a2a253" -version = "0.22.22" +version = "0.22.23" [deps.IntervalArithmetic.extensions] IntervalArithmeticDiffRulesExt = "DiffRules" @@ -690,9 +734,9 @@ uuid = "41ab1584-1d38-5bbf-9106-f11c6c58b48f" version = "1.3.1" [[deps.IrrationalConstants]] -git-tree-sha1 = "630b497eafcc20001bba38a4651b327dcfc491d2" +git-tree-sha1 = "e2222959fbc6c19554dc15174c81bf7bf3aa691c" uuid = "92d709cd-6900-40b7-9082-c6be49f344b6" -version = "0.2.2" +version = "0.2.4" [[deps.Isoband]] deps = ["isoband_jll"] @@ -892,10 +936,16 @@ version = "0.3.29" uuid = "56ddb016-857b-54e1-b83d-db4d58db5568" version = "1.11.0" +[[deps.LoggingExtras]] +deps = ["Dates", "Logging"] +git-tree-sha1 = "f02b56007b064fbfddb4c9cd60161b6dd0f40df3" +uuid = "e6f89c97-d47a-5376-807f-9c37f3926c36" +version = "1.1.0" + [[deps.MIMEs]] -git-tree-sha1 = "65f28ad4b594aebe22157d6fac869786a255b7eb" +git-tree-sha1 = "1833212fd6f580c20d4291da9c1b4e8a655b128e" uuid = "6c6e2e6c-3030-632d-7369-2d6c69616d65" -version = "0.1.4" +version = "1.0.0" [[deps.MKL_jll]] deps = ["Artifacts", "IntelOpenMP_jll", "JLLWrappers", "LazyArtifacts", "Libdl", "oneTBB_jll"] @@ -909,16 +959,22 @@ uuid = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09" version = "0.5.15" [[deps.Makie]] -deps = ["Animations", "Base64", "CRC32c", "ColorBrewer", "ColorSchemes", "ColorTypes", "Colors", "Contour", "Dates", "DelaunayTriangulation", "Distributions", "DocStringExtensions", "Downloads", "FFMPEG_jll", "FileIO", "FilePaths", "FixedPointNumbers", "Format", "FreeType", "FreeTypeAbstraction", "GeometryBasics", "GridLayoutBase", "ImageBase", "ImageIO", "InteractiveUtils", "Interpolations", "IntervalSets", "InverseFunctions", "Isoband", "KernelDensity", "LaTeXStrings", "LinearAlgebra", "MacroTools", "MakieCore", "Markdown", "MathTeXEngine", "Observables", "OffsetArrays", "Packing", "PlotUtils", "PolygonOps", "PrecompileTools", "Printf", "REPL", "Random", "RelocatableFolders", "Scratch", "ShaderAbstractions", "Showoff", "SignedDistanceFields", "SparseArrays", "Statistics", "StatsBase", "StatsFuns", "StructArrays", "TriplotBase", "UnicodeFun", "Unitful"] -git-tree-sha1 = "be3051d08b78206fb5e688e8d70c9e84d0264117" +deps = ["Animations", "Base64", "CRC32c", "ColorBrewer", "ColorSchemes", "ColorTypes", "Colors", "Contour", "Dates", "DelaunayTriangulation", "Distributions", "DocStringExtensions", "Downloads", "FFMPEG_jll", "FileIO", "FilePaths", "FixedPointNumbers", "Format", "FreeType", "FreeTypeAbstraction", "GeometryBasics", "GridLayoutBase", "ImageBase", "ImageIO", "InteractiveUtils", "Interpolations", "IntervalSets", "InverseFunctions", "Isoband", "KernelDensity", "LaTeXStrings", "LinearAlgebra", "MacroTools", "MakieCore", "Markdown", "MathTeXEngine", "Observables", "OffsetArrays", "PNGFiles", "Packing", "PlotUtils", "PolygonOps", "PrecompileTools", "Printf", "REPL", "Random", "RelocatableFolders", "Scratch", "ShaderAbstractions", "Showoff", "SignedDistanceFields", "SparseArrays", "Statistics", "StatsBase", "StatsFuns", "StructArrays", "TriplotBase", "UnicodeFun", "Unitful"] +git-tree-sha1 = "e64b545d25e05a609521bfc36724baa072bfd31a" uuid = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a" -version = "0.21.18" +version = "0.22.2" [[deps.MakieCore]] deps = ["ColorTypes", "GeometryBasics", "IntervalSets", "Observables"] -git-tree-sha1 = "9019b391d7d086e841cbeadc13511224bd029ab3" +git-tree-sha1 = "605d6e8f2b7eba7f5bc6a16d297475075d5ea775" uuid = "20f20a25-4f0e-4fdf-b5d1-57303727442b" -version = "0.8.12" +version = "0.9.1" + +[[deps.Malt]] +deps = ["Distributed", "Logging", "RelocatableFolders", "Serialization", "Sockets"] +git-tree-sha1 = "02a728ada9d6caae583a0f87c1dd3844f99ec3fd" +uuid = "36869731-bdee-424d-aa32-cab38c994e3b" +version = "1.1.2" [[deps.MappedArrays]] git-tree-sha1 = "2dab0221fe2b0f2cb6754eaa743cc266339f527e" @@ -942,6 +998,12 @@ git-tree-sha1 = "f45c8916e8385976e1ccd055c9874560c257ab13" uuid = "0a4f8689-d25c-4efe-a92b-7142dfc1aa53" version = "0.6.2" +[[deps.MbedTLS]] +deps = ["Dates", "MbedTLS_jll", "MozillaCACerts_jll", "NetworkOptions", "Random", "Sockets"] +git-tree-sha1 = "c067a280ddc25f196b5e7df3877c6b226d390aaf" +uuid = "739be429-bea8-5141-9913-cc70e7f3736d" +version = "1.1.9" + [[deps.MbedTLS_jll]] deps = ["Artifacts", "Libdl"] uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1" @@ -989,11 +1051,17 @@ version = "0.3.4" uuid = "14a3606d-f60d-562e-9121-12d972cd8159" version = "2023.12.12" +[[deps.MsgPack]] +deps = ["Serialization"] +git-tree-sha1 = "f5db02ae992c260e4826fe78c942954b48e1d9c2" +uuid = "99f44e22-a591-53d1-9472-aa23ef4bd671" +version = "1.2.1" + [[deps.NaNMath]] deps = ["OpenLibm_jll"] -git-tree-sha1 = "fe891aea7ccd23897520db7f16931212454e277e" +git-tree-sha1 = "cc0a5deefdb12ab3a096f00a6d42133af4560d71" uuid = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3" -version = "1.1.1" +version = "1.1.2" [[deps.Netpbm]] deps = ["FileIO", "ImageCore", "ImageMetadata"] @@ -1045,13 +1113,19 @@ version = "3.2.4+0" [[deps.OpenLibm_jll]] deps = ["Artifacts", "Libdl"] uuid = "05823500-19ac-5b8b-9628-191a04bc5112" -version = "0.8.1+2" +version = "0.8.1+4" + +[[deps.OpenSSL]] +deps = ["BitFlags", "Dates", "MozillaCACerts_jll", "OpenSSL_jll", "Sockets"] +git-tree-sha1 = "38cb508d080d21dc1128f7fb04f20387ed4c0af4" +uuid = "4d8831e6-92b7-49fb-bdf8-b643e874388c" +version = "1.4.3" [[deps.OpenSSL_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl"] -git-tree-sha1 = "7493f61f55a6cce7325f197443aa80d32554ba10" +git-tree-sha1 = "a9697f1d06cc3eb3fb3ad49cc67f2cfabaac31ea" uuid = "458c3c95-2e84-50aa-8efc-19380b2a3a95" -version = "3.0.15+3" +version = "3.0.16+0" [[deps.OpenSpecFun_jll]] deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl"] @@ -1066,9 +1140,9 @@ uuid = "91d4177d-7536-5919-b921-800302f37372" version = "1.3.3+0" [[deps.OrderedCollections]] -git-tree-sha1 = "12f1439c4f986bb868acda6ea33ebc78e19b95ad" +git-tree-sha1 = "cc4054e898b852042d7b503313f7ad03de99c3dd" uuid = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" -version = "1.7.0" +version = "1.8.0" [[deps.PCRE2_jll]] deps = ["Artifacts", "Libdl"] @@ -1083,9 +1157,9 @@ version = "0.11.32" [[deps.PNGFiles]] deps = ["Base64", "CEnum", "ImageCore", "IndirectArrays", "OffsetArrays", "libpng_jll"] -git-tree-sha1 = "67186a2bc9a90f9f85ff3cc8277868961fb57cbd" +git-tree-sha1 = "cf181f0b1e6a18dfeb0ee8acc4a9d1672499626c" uuid = "f57f5aa1-a3ce-4bc8-8ab9-96f992907883" -version = "0.4.3" +version = "0.4.4" [[deps.PSBoardDataBase]] deps = ["AutoHashEquals", "CSV", "DBInterface", "DataFrames", "Dates", "Documenter", "Downloads", "JLD2", "Printf", "SQLite", "StaticArrays", "Tables"] @@ -1108,9 +1182,9 @@ version = "0.5.12" [[deps.Pango_jll]] deps = ["Artifacts", "Cairo_jll", "Fontconfig_jll", "FreeType2_jll", "FriBidi_jll", "Glib_jll", "HarfBuzz_jll", "JLLWrappers", "Libdl"] -git-tree-sha1 = "ed6834e95bd326c52d5675b4181386dfbe885afb" +git-tree-sha1 = "3b31172c032a1def20c98dae3f2cdc9d10e3b561" uuid = "36c8627f-9965-5494-a995-c6b170f724f3" -version = "1.55.5+0" +version = "1.56.1+0" [[deps.Parsers]] deps = ["Dates", "PrecompileTools", "UUIDs"] @@ -1145,11 +1219,23 @@ git-tree-sha1 = "3ca9a356cd2e113c420f2c13bea19f8d3fb1cb18" uuid = "995b91a9-d308-5afd-9ec6-746e21dbc043" version = "1.4.3" +[[deps.Pluto]] +deps = ["Base64", "Configurations", "Dates", "Downloads", "ExpressionExplorer", "FileWatching", "FuzzyCompletions", "HTTP", "HypertextLiteral", "InteractiveUtils", "Logging", "LoggingExtras", "MIMEs", "Malt", "Markdown", "MsgPack", "Pkg", "PlutoDependencyExplorer", "PrecompileSignatures", "PrecompileTools", "REPL", "RegistryInstances", "RelocatableFolders", "Scratch", "Sockets", "TOML", "Tables", "URIs", "UUIDs"] +git-tree-sha1 = "b5509a2e4d4c189da505b780e3f447d1e38a0350" +uuid = "c3e4b0f8-55cb-11ea-2926-15256bba5781" +version = "0.20.4" + +[[deps.PlutoDependencyExplorer]] +deps = ["ExpressionExplorer", "InteractiveUtils", "Markdown"] +git-tree-sha1 = "e0864c15334d2c4bac8137ce3359f1174565e719" +uuid = "72656b73-756c-7461-726b-72656b6b696b" +version = "1.2.0" + [[deps.PlutoUI]] deps = ["AbstractPlutoDingetjes", "Base64", "ColorTypes", "Dates", "FixedPointNumbers", "Hyperscript", "HypertextLiteral", "IOCapture", "InteractiveUtils", "JSON", "Logging", "MIMEs", "Markdown", "Random", "Reexport", "URIs", "UUIDs"] -git-tree-sha1 = "eba4810d5e6a01f612b948c9fa94f905b49087b0" +git-tree-sha1 = "7e71a55b87222942f0f9337be62e26b1f103d3e4" uuid = "7f904dfe-b85e-4ff6-b463-dae2292396a8" -version = "0.7.60" +version = "0.7.61" [[deps.PolygonOps]] git-tree-sha1 = "77b3d3605fc1cd0b42d95eba87dfcd2bf67d5ff6" @@ -1162,6 +1248,11 @@ git-tree-sha1 = "36d8b4b899628fb92c2749eb488d884a926614d3" uuid = "2dfb63ee-cc39-5dd5-95bd-886bf059d720" version = "1.4.3" +[[deps.PrecompileSignatures]] +git-tree-sha1 = "18ef344185f25ee9d51d80e179f8dad33dc48eb1" +uuid = "91cefc8d-f054-46dc-8f8c-26e11d7c5411" +version = "3.0.3" + [[deps.PrecompileTools]] deps = ["Preferences"] git-tree-sha1 = "5aa36f7049a63a1528fe8f7c3f2113413ffd4e1f" @@ -1204,9 +1295,9 @@ version = "1.0.1" [[deps.QuadGK]] deps = ["DataStructures", "LinearAlgebra"] -git-tree-sha1 = "cda3b045cf9ef07a08ad46731f5a3165e56cf3da" +git-tree-sha1 = "9da16da70037ba9d701192e27befedefb91ec284" uuid = "1fd47b50-473d-5c70-9696-f719f8f3bcdc" -version = "2.11.1" +version = "2.11.2" [deps.QuadGK.extensions] QuadGKEnzymeExt = "Enzyme" @@ -1264,9 +1355,9 @@ version = "1.0.1" [[deps.Requires]] deps = ["UUIDs"] -git-tree-sha1 = "838a3a4188e2ded87a4f9f184b4b0d78a1e91cb7" +git-tree-sha1 = "62389eeff14780bfe55195b7204c0d8738436d64" uuid = "ae029012-a4dd-5104-9daa-d747884805df" -version = "1.3.0" +version = "1.3.1" [[deps.Rmath]] deps = ["Random", "Rmath_jll"] @@ -1303,9 +1394,9 @@ version = "1.6.1" [[deps.SQLite_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Zlib_jll"] -git-tree-sha1 = "e84fab7d16107342d7638fbd519151d9a0d80720" +git-tree-sha1 = "9a325057cdb9b066f1f96dc77218df60fe3007cb" uuid = "76ed43ae-9a5d-5a62-8c75-30186b810ce8" -version = "3.47.2+2" +version = "3.48.0+0" [[deps.Scratch]] deps = ["Dates"] @@ -1324,10 +1415,10 @@ uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b" version = "1.11.0" [[deps.ShaderAbstractions]] -deps = ["ColorTypes", "FixedPointNumbers", "GeometryBasics", "LinearAlgebra", "Observables", "StaticArrays", "StructArrays", "Tables"] -git-tree-sha1 = "79123bc60c5507f035e6d1d9e563bb2971954ec8" +deps = ["ColorTypes", "FixedPointNumbers", "GeometryBasics", "LinearAlgebra", "Observables", "StaticArrays"] +git-tree-sha1 = "818554664a2e01fc3784becb2eb3a82326a604b6" uuid = "65257c39-d410-5151-9873-9b3e5be5013e" -version = "0.4.1" +version = "0.5.0" [[deps.SharedArrays]] deps = ["Distributed", "Mmap", "Random", "Serialization"] @@ -1346,6 +1437,11 @@ git-tree-sha1 = "d263a08ec505853a5ff1c1ebde2070419e3f28e9" uuid = "73760f76-fbc4-59ce-8f25-708e95d2df96" version = "0.4.0" +[[deps.SimpleBufferStream]] +git-tree-sha1 = "f305871d2f381d21527c770d4788c06c097c9bc1" +uuid = "777ac1f9-54b0-4bf8-805c-2214025038e7" +version = "1.2.0" + [[deps.SimpleTraits]] deps = ["InteractiveUtils", "MacroTools"] git-tree-sha1 = "5d7e3f4e11935503d3ecaf7186eac40602e7d231" @@ -1397,9 +1493,9 @@ version = "0.1.1" [[deps.StaticArrays]] deps = ["LinearAlgebra", "PrecompileTools", "Random", "StaticArraysCore"] -git-tree-sha1 = "47091a0340a675c738b1304b58161f3b0839d454" +git-tree-sha1 = "0feb6b9031bd5c51f9072393eb5ab3efd31bf9e4" uuid = "90137ffa-7385-5640-81b9-e52037218182" -version = "1.9.10" +version = "1.9.13" weakdeps = ["ChainRulesCore", "Statistics"] [deps.StaticArrays.extensions] @@ -1446,15 +1542,15 @@ weakdeps = ["ChainRulesCore", "InverseFunctions"] [[deps.StringManipulation]] deps = ["PrecompileTools"] -git-tree-sha1 = "a6b1675a536c5ad1a60e5a5153e1fee12eb146e3" +git-tree-sha1 = "725421ae8e530ec29bcbdddbe91ff8053421d023" uuid = "892a3eda-7b42-436c-8928-eab12a02cf0e" -version = "0.4.0" +version = "0.4.1" [[deps.StructArrays]] deps = ["ConstructionBase", "DataAPI", "Tables"] -git-tree-sha1 = "9537ef82c42cdd8c5d443cbc359110cbb36bae10" +git-tree-sha1 = "5a3a31c41e15a1e042d60f2f4942adccba05d3c9" uuid = "09ab397b-f2b6-538f-b94a-2f83cf4a842a" -version = "0.6.21" +version = "0.7.0" [deps.StructArrays.extensions] StructArraysAdaptExt = "Adapt" @@ -1594,9 +1690,9 @@ version = "1.6.1" [[deps.XML2_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Libiconv_jll", "Zlib_jll"] -git-tree-sha1 = "a2fccc6559132927d4c5dc183e3e01048c6dcbd6" +git-tree-sha1 = "b8b243e47228b4a3877f1dd6aee0c5d56db7fcf4" uuid = "02c8fc9c-b97f-50b9-bbe4-9be30ff0a78a" -version = "2.13.5+0" +version = "2.13.6+1" [[deps.XSLT_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Libgcrypt_jll", "Libgpg_error_jll", "Libiconv_jll", "XML2_jll", "Zlib_jll"] @@ -1665,9 +1761,9 @@ version = "1.2.13+1" [[deps.Zstd_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl"] -git-tree-sha1 = "622cf78670d067c738667aaa96c553430b65e269" +git-tree-sha1 = "446b23e73536f84e8037f5dce465e92275f6a308" uuid = "3161d3a3-bdf6-5164-811a-617609db77b4" -version = "1.5.7+0" +version = "1.5.7+1" [[deps.isoband_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] @@ -1700,9 +1796,9 @@ version = "2.0.3+0" [[deps.libpng_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Zlib_jll"] -git-tree-sha1 = "d7b5bbf1efbafb5eca466700949625e07533aff2" +git-tree-sha1 = "068dfe202b0a05b8332f1e8e6b4080684b9c7700" uuid = "b53b4c65-9356-5827-b1ea-8c7a1a84506f" -version = "1.6.45+1" +version = "1.6.47+0" [[deps.libsixel_jll]] deps = ["Artifacts", "JLLWrappers", "JpegTurbo_jll", "Libdl", "libpng_jll"] @@ -1729,9 +1825,9 @@ version = "1.59.0+0" [[deps.oneTBB_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl"] -git-tree-sha1 = "7d0ea0f4895ef2f5cb83645fa689e52cb55cf493" +git-tree-sha1 = "d5a767a3bb77135a99e433afe0eb14cd7f6914c3" uuid = "1317d2d5-d96f-522e-a858-c73665f53c3e" -version = "2021.12.0+0" +version = "2022.0.0+0" [[deps.p7zip_jll]] deps = ["Artifacts", "Libdl"] diff --git a/examples/Project.toml b/examples/Project.toml index cbb2aac..6ef98ac 100644 --- a/examples/Project.toml +++ b/examples/Project.toml @@ -1,12 +1,14 @@ [deps] CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0" +ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4" DBInterface = "a10d1c49-ce27-4219-8d33-6db1a4562965" DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" FHist = "68837c9b-b678-4cd5-9925-8a54edc8f695" JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819" PSBoardDataBase = "779f6a9c-59fa-41f1-8ed1-e9a91eccb2f5" +Pluto = "c3e4b0f8-55cb-11ea-2926-15256bba5781" PlutoUI = "7f904dfe-b85e-4ff6-b463-dae2292396a8" Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" diff --git a/examples/clock_skew_stats.svg b/examples/clock_skew_stats.svg index b329995..645eb6b 100644 --- a/examples/clock_skew_stats.svg +++ b/examples/clock_skew_stats.svg @@ -2,605 +2,620 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - + - - - - - - - - - - + - + + + + + + + + + + + + + - + - + - + - + - + - + - - - - - - - - - - - - - + - - + + - - + + - - + + - + + + + - + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - - - - + - - + + - + - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - - - - - - - - - + - - - - + - - - - - - - - - - - - - - - - - - - + - + - - - - - - - - - - + - - + + - - - - - - - - - - - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -615,272 +630,274 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + + + @@ -897,10 +914,11 @@ + - + @@ -920,7 +938,7 @@ - + @@ -928,6 +946,7 @@ + @@ -945,17 +964,23 @@ + + + + + + @@ -975,10 +1000,11 @@ + - + @@ -1035,7 +1061,7 @@ - + @@ -1046,10 +1072,12 @@ + + @@ -1060,1888 +1088,2008 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/plots/skew_distrib_before_after.svg b/examples/plots/skew_distrib_before_after.svg new file mode 100644 index 0000000..17b921e --- /dev/null +++ b/examples/plots/skew_distrib_before_after.svg @@ -0,0 +1,1170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/plots/skew_distrib_campaings.svg b/examples/plots/skew_distrib_campaings.svg new file mode 100644 index 0000000..18865bc --- /dev/null +++ b/examples/plots/skew_distrib_campaings.svg @@ -0,0 +1,896 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/plots/skew_vs_runid.svg b/examples/plots/skew_vs_runid.svg new file mode 100644 index 0000000..0d41913 --- /dev/null +++ b/examples/plots/skew_vs_runid.svg @@ -0,0 +1,1973 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/psboard_clock_rise_span_histogram.svg b/examples/psboard_clock_rise_span_histogram.svg index 2005e61..a4d98ac 100644 --- a/examples/psboard_clock_rise_span_histogram.svg +++ b/examples/psboard_clock_rise_span_histogram.svg @@ -2,359 +2,362 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + - + - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - + - - - - + - + + + + - - + + - + + + + + + + - - - - + - - + + - - - - - - - - - - + - + - + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -374,390 +377,390 @@ - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - - - - + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -773,86 +776,86 @@ - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/examples/psboard_clock_turnoncurve.svg b/examples/psboard_clock_turnoncurve.svg index dfde3ff..51af7ec 100644 --- a/examples/psboard_clock_turnoncurve.svg +++ b/examples/psboard_clock_turnoncurve.svg @@ -2,403 +2,421 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + + + + - + - - + + - + + + + + + + - + - - + + - - + + - + + + + + + + + + + + + + - + - - - - - - - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + @@ -412,367 +430,377 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - - - - - + + + + + + + + + - + - + - + - + - + - + - - - - - + + + + + + + - + - - - - - - - - - + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + @@ -782,19 +810,19 @@ - + - + - + - + - + @@ -804,16 +832,16 @@ - + - + - + - + @@ -823,21 +851,21 @@ - + - + - + - + - + @@ -870,133 +898,133 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/examples/psboard_skew_histogram.svg b/examples/psboard_skew_histogram.svg index 25fe8d4..c6974dd 100644 --- a/examples/psboard_skew_histogram.svg +++ b/examples/psboard_skew_histogram.svg @@ -2,152 +2,152 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - + - + - - + + + + + + + + + + + + + + + + + + + + + @@ -165,99 +165,99 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -272,76 +272,76 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/examples/qaqc_progress.jl b/examples/qaqc_progress.jl index 959c7d5..4446d81 100644 --- a/examples/qaqc_progress.jl +++ b/examples/qaqc_progress.jl @@ -1,5 +1,5 @@ ### A Pluto.jl notebook ### -# v0.20.2 +# v0.20.4 using Markdown using InteractiveUtils @@ -28,6 +28,9 @@ SQLite.tables(db) qaqc_single_run_results = DBInterface.execute(db, "select * from qaqc_single_run_results") |> DataFrame +# ╔═╡ 7a86a76d-7a69-4549-9998-36182e312ca7 +num_premassproduction = filter(:psboard_id => <(100), qaqc_single_run_results).psboard_id |> unique |> length + # ╔═╡ 0467fb45-6b97-4148-8343-0e4b06a7c2ec qaqc_runs = let df = DBInterface.execute(db, "select * from qaqc_runs") |> DataFrame @@ -68,6 +71,7 @@ df_num_tested_boards = let ) sort!(df, :runid) df = combine(groupby(df, :psboard_id), first) + @info "" df nrow(df) filter(:psboard_id => <(100), df) df = combine( groupby(df, :campaign_id), :psboard_id => length ∘ unique => :num_tested_boards, @@ -81,6 +85,9 @@ end # ╔═╡ fa7565e0-2662-4f2c-8e1c-8f6158557d58 df_num_dispatched = let df = combine(groupby(qaqc_dispatch, :qaqc_campaign_id), nrow => :num_dispatched) + transform!(df, :qaqc_campaign_id => ByRow(Float64) => :qaqc_campaign_id) + # TODO: remove this later when dispatch table is updated + push!(df, (qaqc_campaign_id = 7.5, num_dispatched = 11)) df.num_total_dispatched = accumulate(+, df.num_dispatched) df = leftjoin(df, qaqc_campaigns, on = :qaqc_campaign_id => :id) disallowmissing!(df, :end_date) @@ -90,13 +97,14 @@ end # ╔═╡ 8a2ae739-0da0-49cc-9614-74ac7e133599 let fig = Figure(size = (600, 400)) - ax = Axis(fig[1, 1], limits = (nothing, (0, 1500)), title = "PS-Board QAQC progress") + ax = Axis(fig[1, 1], limits = (nothing, (0, 1600)), title = "PS board QAQC progress") n_campaings = nrow(df_num_dispatched) num_testeds = let v = df_num_tested_boards.num_total_tested |> copy hcat([0, v[1:(end - 1)]...], v) |> transpose |> (a -> reshape(a, 2 * n_campaings)) end + num_testeds[2:end] .= num_testeds[2:end] .- num_premassproduction num_dispatched = let v = df_num_dispatched.num_total_dispatched |> copy hcat([0, v[1:(end - 1)]...], v) |> transpose |> (a -> reshape(a, 2 * n_campaings)) @@ -106,26 +114,27 @@ let reshape(df_num_dispatched.start_date, (1, n_campaings)), reshape(df_num_dispatched.end_date, (1, n_campaings)), ) |> - (a -> reshape(a, 12)) |> + (a -> reshape(a, 16)) |> skipmissing |> collect @info "" num_testeds num_dispatched lines!(ax, start_end_dates, num_testeds, label = "tested") lines!(ax, start_end_dates, num_dispatched, label = "passed") - middle_dates = let - starts = df_num_dispatched.start_date - @. (df_num_dispatched.end_date - starts) / 2 + starts - end - text!( - ax, - middle_dates, - df_num_tested_boards.num_total_tested, - text = ["1st", "2nd", "3rd", ("$(i)th" for i in 4:n_campaings)...], - align = (:center, :bottom), - ) + middle_dates = let + starts = df_num_dispatched.start_date + @. (df_num_dispatched.end_date - starts) / 2 + starts + end + text!( + ax, + middle_dates, + df_num_tested_boards.num_total_tested, + text = ["1st", "2nd", "3rd", ("$(i)th" for i in 4:(n_campaings - 1))..., ""], + align = (:center, :bottom), + ) axislegend(position = :rb) - save("qaqc_progress.svg", fig) + hlines!(ax, 1480, color = Makie.wong_colors()[3]) + save("qaqc_progress.svg", fig) fig end @@ -136,6 +145,7 @@ end # ╠═436f0b91-4cc8-4c22-b625-cfd4779e20ec # ╠═085176e5-c0f9-4cf2-8416-581a8d20c941 # ╠═363afd96-5b0d-4b09-b480-64a40ddce8cd +# ╠═7a86a76d-7a69-4549-9998-36182e312ca7 # ╠═0467fb45-6b97-4148-8343-0e4b06a7c2ec # ╠═4c30b33a-e15e-4b3c-a0f5-50184e7a711f # ╠═560bbdc3-26a4-4fe9-8459-e5ecaad04082 diff --git a/examples/qaqc_progress.svg b/examples/qaqc_progress.svg new file mode 100644 index 0000000..b856c96 --- /dev/null +++ b/examples/qaqc_progress.svg @@ -0,0 +1,661 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/skew_stats.jl b/examples/skew_stats.jl index 84248de..b82d0cf 100644 --- a/examples/skew_stats.jl +++ b/examples/skew_stats.jl @@ -8,7 +8,7 @@ using InteractiveUtils begin using Pkg Pkg.activate(".") - Pkg.status() + # Pkg.status() true || include("../src/PSBoardDataBase.jl") end @@ -21,6 +21,7 @@ begin using DBInterface using Tables using CairoMakie + using ColorSchemes using Statistics using PlutoUI using Dates @@ -308,7 +309,8 @@ end) combine(nrow, gdf_skews_on_psbid) # ╔═╡ 0d3f7f0a-1713-4e22-acbb-7d370fabf5a7 -combine(gdf_skews_on_psbid, :skew => (v -> all(ismissing, v)) => :hasmissing) |> (df -> sort(df, :hasmissing, rev = true)) +combine(gdf_skews_on_psbid, :skew => (v -> all(ismissing, v)) => :hasmissing) |> +(df -> sort(df, :hasmissing, rev = true)) # ╔═╡ 239a808c-0411-4542-ae68-6ae6af333bd2 df_nrow_ordered = let @@ -536,7 +538,7 @@ df_skews_selected = let df skew = sdf.skew[i], width = sdf.width[i], riseup = sdf.riseup[i], - runid = sdf.runid[1], + runid = sdf.runid[i], ) end end @@ -722,6 +724,8 @@ df_compare = let end # ╔═╡ 3266d1fd-b8f0-4eb0-9a8e-2050bc9a626f +# "comparison of multiple measurements of clock skew for 18 PS Boards" was deleted +# because of new measurements for all 18 boards in campaign 6.5 let fig = Figure(size = (600, 500)) grd1 = fig[1, 1] = GridLayout() @@ -747,7 +751,8 @@ let ) colsize!(grd1, 2, Relative(0.4)) for (key, sdf) in pairs(groupby(df_compare, :psbid)) - @assert sdf.runid[2] == 382 && sdf.runid[3] == 404 + @info "" sdf.runid + # @assert sdf.runid[2] == 382 && sdf.runid[3] == 404 scatterlines!( ax1, 0:1:2, @@ -789,7 +794,7 @@ let align = (:left, :center), ) end - campaigns = df_compare.campaign_id |> unique |> sort! .|> Int64 + campaigns = df_compare.campaign_id |> unique |> sort! .|> ceil .|> Int64 Legend( grd1[2, 1], [ @@ -801,7 +806,7 @@ let orientation = :horizontal, ) - fig + # fig end # ╔═╡ 660f2bd1-d4bc-45a8-9cf6-4e875aa9f7a2 @@ -864,7 +869,8 @@ md""" """ # ╔═╡ 2a24c277-6679-49f3-b387-6937b7661a25 -invalid_measurements = [215, 291, 442, 460, 462, 545, 799, 802, 444, 255, 435, 1213, 1215, #= TODO: remove =# 1563] +invalid_measurements = + [215, 291, 442, 460, 462, 545, 799, 802, 444, 255, 435, 1213, 1215, 1563] #= TODO: remove =# # ╔═╡ 13b4112f-96ab-41a1-8ef1-d940771f6ece df_skews_selected_valids = let @@ -891,6 +897,59 @@ begin @assert all(==(1), df_skews_selected_valids.riseup) end +# ╔═╡ 4f45c81e-df2d-481f-9d30-580e44e03c72 +let + rng = Random.Xoshiro(1000) + example_results = rand(rng, eachrow(df_skews_selected_valids), 5) + + fig = Figure(size = (600, 500)) + ax_1 = Axis( + fig[1, 1], + title = "example clock skew measurement result", + xlabel = "offset / ns", + ylabel = "count", + limits = ((10, 16), nothing), + ) + ax_2 = Axis( + fig[2, 1], + title = "example clock after substracting position contribution", + xlabel = "offset / ns", + ylabel = "count", + limits = ((-3, 3), nothing), + ) + + for example_result in example_results + psbid = example_result.psbid + runid = example_result.runid + single_run = + filter( + [:psboard_id, :runid] => ( + (ref_psbid, ref_runid) -> begin + psbid == ref_psbid && runid == ref_runid + end + ), + qaqc_single_results, + ) |> first + pos_offset = qaqc_positions.rising_ns[single_run.position] + rawfilename = "../test/input/slavelogs/main/$(psbid)_$(runid)_clk.txt" + raw_points = map(eachline(rawfilename)) do line + PSBoardDataBase.ClockParser._parse_line(line) + end + stds = map(raw_points) do ((time, count)) + sqrt(count * (1000 - count) / 1000) + end + collected_points = map(raw_points) do ((time, count)) + (time - pos_offset, count) + end + scatterlines!(ax_1, raw_points, markersize = 6, label = basename(rawfilename)) + scatterlines!(ax_2, collected_points, markersize = 6, label = basename(rawfilename)) + errorbars!(ax_1, raw_points, stds, whiskerwidth = 10) + errorbars!(ax_2, collected_points, stds, whiskerwidth = 10) + end + axislegend(ax_2, position = :lt) + fig +end + # ╔═╡ 92d701aa-ab90-4c91-977d-2ce92823d130 md""" ## skew分布 @@ -929,6 +988,76 @@ let fig end +# ╔═╡ bf62eaca-dd23-4470-9c02-20ce6f9f34d7 +let + df_with_raw = leftjoin( + df_skews_selected_valids, + select(df_rawskews, [:psbid, :runid, :skew]); + on = [:psbid, :runid], + renamecols = (identity => (s -> s * "_raw")), + ) + fig = Figure(size = (600, 600)) + Label( + fig[0, 1], + "PS board clock skews measured in QAQC", + tellwidth = false, + fontsize = 20, + ) + ax_raw = Axis( + fig[1, 1], + limits = ((10, 16), nothing), + title = "before substracting position contrib.", + ) + ax_new = Axis( + fig[2, 1], + limits = ((-3, 3), nothing), + title = "after substracting position contrib.", + xlabel = "skew / ns", + ) + sh1 = stephist!( + ax_raw, + df_with_raw.skew_raw, + color = Makie.wong_colors()[2], + bins = range(10, 16, step = 2 / 56), + ) + sh2 = stephist!( + ax_new, + df_with_raw.skew, + color = Makie.wong_colors()[1], + bins = range(-3, 3, step = 2 / 56), + ) + Legend( + fig[1, 1], + [sh1], + [""" + n = $(nrow(df_with_raw)) + μ = $(@sprintf "%.4g" mean(df_with_raw.skew_raw)) + σ = $(@sprintf "%.2g" std(df_with_raw.skew_raw)) + """], + tellwidth = false, + tellheight = false, + halign = :right, + valign = :top, + margin = (10, 10, 10, 10), + ) + Legend( + fig[2, 1], + [sh2], + [""" + n = $(nrow(df_skews_selected_valids)) + μ = $(@sprintf "%.2g" mean(df_skews_selected_valids.skew)) + σ = $(@sprintf "%.2g" std(df_skews_selected_valids.skew)) + """], + tellwidth = false, + tellheight = false, + halign = :right, + valign = :top, + margin = (10, 10, 10, 10), + ) + save("plots/skew_distrib_before_after.svg", fig) + fig +end + # ╔═╡ 82063c4b-c0cf-4524-83fe-5207bb8363d8 md""" ### skew分布のcampaign依存性 @@ -949,11 +1078,12 @@ let xlabel = "skew / ns", ) hists = Hist1D[] - for gdf in groupby(df_skews_selected_valids, :campaign_id) + for gdf in groupby(df_skews_selected_valids, :campaign_id, sort = true) push!(hists, Hist1D(gdf.skew, binedges = bins)) end - sh1 = stackedhist!(ax, hists, error_color = Pattern('/')) - labels = ["campaign $i" for i in 1:7] + @info "" hists |> length + sh1 = stackedhist!(ax, hists, error_color = (:black, 0), color = ColorSchemes.tab10) + labels = ["campaign $i" for i in [1:6; 6.5; 7; 7.5]] elements = [PolyElement(polycolor = sh1.attributes.color[][i]) for i in 1:length(labels)] Legend( @@ -967,10 +1097,11 @@ let """], tellwidth = false, tellheight = false, - halign = :left, + halign = :right, valign = :top, margin = (10, 10, 10, 10), ) + save("plots/skew_distrib_campaings.svg", fig) fig end @@ -997,7 +1128,28 @@ let title = "clock skew time dependency", ) @info "" qaqc_runs + df_campaign_runlimits = let + df = combine(groupby(qaqc_runs, :campaign_id), :id => extrema) + dropmissing!(df) + df + end + @info "" df_campaign_runlimits scatter!(ax, df_skews_selected_valids.runid, df_skews_selected_valids.skew) + rangebars!(ax, + 2.2, + df_campaign_runlimits.id_extrema, + direction = :x, + color = :black, + whiskerwidth = 10, + ) + text!( + ax, + df_campaign_runlimits.id_extrema .|> mean, + fill(2.3, nrow(df_campaign_runlimits)), + text = df_campaign_runlimits.campaign_id .|> string, + align = (:center, :center) + ) + save("plots/skew_vs_runid.svg", fig) fig end @@ -1352,8 +1504,10 @@ end # ╠═cf658de8-a4c5-413e-b5e3-56b77a80336f # ╠═7efd380b-a976-4a86-8dff-8afd551f03fb # ╠═6a856a55-2611-41d0-a2c7-3645c066fc3c +# ╠═4f45c81e-df2d-481f-9d30-580e44e03c72 # ╟─92d701aa-ab90-4c91-977d-2ce92823d130 # ╠═4a4ef945-b312-44ed-ab62-ce01fc33f926 +# ╠═bf62eaca-dd23-4470-9c02-20ce6f9f34d7 # ╟─82063c4b-c0cf-4524-83fe-5207bb8363d8 # ╠═dff359b1-4827-40c6-86e4-0915974ef27d # ╠═7920b03b-1d1a-4b51-bfc0-86d1361f2ff1 diff --git a/src/import_data.jl b/src/import_data.jl index 7d717db..ab557bc 100644 --- a/src/import_data.jl +++ b/src/import_data.jl @@ -38,7 +38,7 @@ end Fill qaqc_campaigns table in `db`. """ function insert_qaqc_campaign_id(db::SQLite.DB) - campaigns = [1, 2, 3, 4, 5, 6, 7] + campaigns = [1, 2, 3, 4, 5, 6, 7, 7.5] dates = [ (DateTime(2024, 7, 22), DateTime(2024, 7, 24)), (DateTime(2024, 8, 6), DateTime(2024, 8, 9)), @@ -46,7 +46,8 @@ function insert_qaqc_campaign_id(db::SQLite.DB) (DateTime(2024, 9, 30), DateTime(2024, 10, 4)), (DateTime(2024, 11, 11), DateTime(2024, 11, 14)), (DateTime(2024, 12, 9), DateTime(2024, 12, 12)), - (DateTime(2025, 1, 20), DateTime(2024, 1, 23)), + (DateTime(2025, 1, 20), DateTime(2025, 1, 23)), + (DateTime(2025, 2, 3), DateTime(2025, 2, 3)), ] stmt_insert_campaigns = DBInterface.prepare( db, diff --git a/src/sql/create_table.sql b/src/sql/create_table.sql index 559a5b0..f0a2ecc 100644 --- a/src/sql/create_table.sql +++ b/src/sql/create_table.sql @@ -36,7 +36,7 @@ CREATE TABLE qaqc_single_run_results ( CREATE TABLE qaqc_runs ( id INTEGER NOT NULL PRIMARY KEY, - campaign_id INTEGER, + campaign_id REAL, run_datetime DATETIME, note TEXT, shifter TEXT NOT NULL, @@ -57,7 +57,7 @@ CREATE TABLE qaqc_dispatch ( ); CREATE TABLE qaqc_campaigns ( - id INTEGER NOT NULL PRIMARY KEY, + id REAL NOT NULL PRIMARY KEY, start_date DATETIME NOT NULL, end_date DATETIME NOT NULL, note TEXT