Template talk:Falcon rocket statistics

Numeric value not always sorting correctly
template says it returns numeric values - by the total launch count of 82 sorts as less than 0 in the total launch column of Comparison of orbital launcher families. Is the problem in this template, or how its used in Comparison of orbital launcher families ? - Rod57 (talk) 13:42, 7 March 2020 (UTC)
 * A problem of that article. I fixed it. --mfb (talk) 21:14, 7 March 2020 (UTC)

Is it possible to put the data in wikidata?
This template is convenient. If the data could be put into the wikidata, the template in other languages could be updated automatically.

$ g(x) = \frac{1}{\sigma\sqrt{2\pi}} e^{ -\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^2 } $ 19:11, 13 December 2020 (UTC)
 * Most of the numbers are not bound to individual articles, we would likely need new properties for them on Wikidata (good luck getting these approved) and we would need to access them across article boundaries, which is awkward as well. --mfb (talk) 19:47, 13 December 2020 (UTC) PS: a formula as user signature is weird.

New Statistics
Would it be possible/convenient to add these items to this list?


 * Falcon rocket statistics|FTBlock5Multiplereuse: 9 - for boosters reused more than once (three or more flights)
 * Falcon rocket statistics|FTBlock5Useleader: B1051 - Identifying the boosters with the most flights
 * Falcon rocket statistics|FTBlock5Useleaderlaunches: 10 - number of launches by the flight leader
 * Falcon rocket statistics|FTBlock5Useleaderdate: 9 May 2021 - date of the latest launch by the flight leader

The main advantage would be reduce the need to edit the lead of List of Falcon 9 and Falcon Heavy launches and List of Falcon 9 first-stage boosters. AmigaClone (talk) 12:13, 30 May 2021 (UTC)
 * Where exactly would these parameters be used? The flight leader can be a tie, and there might be other useful information that needs to be changed when another booster takes the lead, and it's not that common anyway. As an example, the booster list writes "and one booster with nine and ten missions each" - this style can't be (reasonably) automated. --mfb (talk) 15:23, 30 May 2021 (UTC)


 * As an example, the second paragraph of the lead for the booster list currently reads:
 * In total 27 recovered boosters have been refurbished and subsequently flown a second time including several boosters with three to seven missions and one booster with nine and ten missions each. SpaceX intentionally limited Block 3 and Block 4 boosters to flying only two missions each, but the company indicated in 2018 that they expected the Block 5 versions to achieve 10 flights, each with only minor refurbishment.
 * Currently, only the '27' in the paragraph above is part of this template. This paragraph would be slightly revised - possibly as follows:
 * In total 27 recovered boosters have been refurbished and subsequently flown a second time. As of 26 May 2021, 9 Falcon 9 Block 5 boosters have flown more than 3 times, with the current record of 10 flights set by booster B1051 on 9 May 2021. SpaceX intentionally limited Block 3 and Block 4 boosters to flying only two missions each, but the company indicated in 2018 that they expected the Block 5 versions to achieve 10 flights, each with only minor refurbishment.
 * The portion in bold in the paragraph above would use existing stats, while the portion in bold italics in the paragraph above would use the new stats. AmigaClone (talk) 17:40, 30 May 2021 (UTC)
 * The proposed use ("more than three flights") is in conflict with the proposed parameter (3 or more flights). I don't think we need that number separately. I'm not even sure if we still need the 27 number. Anyway, such a change should be discussed on the list talk page. Once we know what we want to have in the list the template can provide that, if feasible. --mfb (talk) 21:41, 30 May 2021 (UTC)

Another one - Booster reflights
On 5 August 2021 reflights was saying 41 until, prompted by Rod's comment on talk page, I just changed it to 68 per my own count and  so that seems to have got well out of date. Can booster reflights be added to avoid this getting out of date again. C-randles (talk) 12:15, 5 August 2021 (UTC)
 * Verified and added. Can be calculated purely from existing numbers, so it's fully automated without needing anything else. F9FTlaunchreusable + F9FTlaunchexpendable + 3*FHlaunch - F9FTBlock5boosters - 29. --mfb (talk) 13:21, 5 August 2021 (UTC)

Migration to Wikidata or Commons?
Hi! Have you considered moving this data source to a "central warehouse" (Wikidata or Commons)? Modeling on Wikidata may be little cumbersome (would require new properties probably and data would be scattered among multiple entities), but on Commons, there is a tabular data support, witch seems perfect for simple datasets. Data can then be read via Lua module (Module:Tabular data) on any wiki. It would eliminate a redundancy and continual effort needed to maintain copy&paste replicas of data template on other projects... --Teslaton (talk) 21:09, 28 September 2022 (UTC)
 * Doing this on Wikidata would be too annoying. Storing a key values on commons and doing the calculations in local Lua modules (which can be copied 1:1 and rarely need updates) looks possible. Do you have experience with such a setup? --mfb (talk) 03:12, 29 September 2022 (UTC)

F9B5 total launch count
Hi mfb and Jynto (I'm tagging the two of you because you're the ones who've been active here recently). I noticed that the figure for the total launches of Falcon 9 Block 5 (aka F9FTBlock5success) is weird. As far as I know, there have been 221 Falcon 9 B5 launches + 8 Falcon Heavy launches (check stats at Falcon 9), and the current number of 227 launches seems inconsistent with that.

Now, I know for sure that until not so long ago that number was matching the number of launches of the single stick version, both because it was matching my parallel count and because the "200th flight of F9 B5" edit on 16 September 2023 is also consistent with that. My question then is: when did the count "jump" to the current number, and why did that happen? Thanks for your help, Fm3dici97 (talk) 09:02, 1 December 2023 (UTC)


 * @Fm3dici97 F9FTBlock5success doesn't include anything regarding Falcon Heavy vehicles. Ergzay (talk) 02:32, 28 December 2023 (UTC)
 * I'll add however that there appear to be a ton of problems with the list numbers and I'm doing a massive overhaul at the moment to get everything back in line. Ergzay (talk) 05:11, 28 December 2023 (UTC)
 * @Mfb I did a big overhaul on the data and main page to clean up a lot of stuff that didn't make sense and try to make the statistics more correct. Ergzay (talk) 06:58, 28 December 2023 (UTC)
 * Looks good. One question: "F9FTlaunchexpendable" says it excludes FH cores, but given the name (F9) it should also exclude FH side cores. Does it do that? --mfb (talk) 11:16, 28 December 2023 (UTC)
 * Yes, I tried to make that more clear in the comments on the page. It excludes all FH cores. Ergzay (talk) 03:04, 4 January 2024 (UTC)
 * Something is wrong with reflights. It automatically counts every FH launch as 3 reflights because F9FTBlock5boosters doesn't include FH cores. --mfb (talk) 09:44, 29 December 2023 (UTC)
 * Can you be more clear, which statistic specifically are you referring to? Ergzay (talk) 03:07, 4 January 2024 (UTC)
 * Ah I found what you were talking about, and yes what you're saying does appear to be the case. It'll need to be manually corrected on every FH flight. However as you can see from all the manual corrections, whoever wrote these templates originally felt that they could be manually updated and corrected. Not all of the statistics update correctly in various circumstances with just the input from the /data subpage. Ergzay (talk) 03:14, 4 January 2024 (UTC)
 * Current formula causing issues is below
 * Reflights = Falcon_rocket_statistics/data|F9FTlaunchreusable+Falcon_rocket_statistics/data|F9FTlaunchexpendable+3*Falcon_rocket_statistics/data|FHlaunch-Falcon_rocket_statistics/data|F9FTBlock5boosters-34
 * Of the 9 FH launches so far, we have seen two launches with three new boosters and seven with reflown side boosters and a new core.
 * How about in the 'Falcon_rocket_statistics/data' we keep track of those two configurations (along possibly with a single reflown booster). The total of the two or three would added together as FHLaunch.
 * The primary purpose of keeping track of the three possible configurations would be to allow the number of reflown boosters used in FH launches to be automated. AmigaClone (talk) 08:26, 4 January 2024 (UTC)
 * Sorry for the late reply but I can confirm that after the changes at least the issue that I reported seems to be solved and the figures are consistent with the count that was being carried out before the issue arised. Fm3dici97 (talk) 14:56, 5 January 2024 (UTC)