Repository navigation
fix(pv/neuro-matrix): 加两处除零守卫并归正光伏 input 基准 - #163
Open
KujouShiori wants to merge 1 commit into
Open
KujouShiori wants to merge 1 commit into
KujouShiori wants to merge 1 commit into
Conversation
- 基站的 PHOTOVOLTAIC_ASSEMBER 分支按 recipe.data 的 input 求并行比值,input 缺失时 getInt 返回 0,浮点除零得 +Infinity,(int) 收窄成 Integer.MAX_VALUE,并行基数取到上限且时长倍率压成约 4.6e-10;现在 input 不大于 0 时 parallel 固定 1.0,配方按原样跑一次
- 编译室 CalculateEquation 与 CalculateEquationNoise 直接除以 true_answer,range 缺失或过小时其为 0,比值成 NaN 或 Infinity,0.9 到 1.1 的成败判定恒假且非有限值经 putDouble("muti") 进 NBT;现在 true_answer 为 0 时返回 0.0
- 光伏装配三条配方的 input 取 131072 的 1、2、16 倍,与机器里 true_eut 的基准同一,1 : 2 : 16 的比率不变
- 现存 5 条 PHOTOVOLTAIC_ASSEMBER 配方 input 均大于 0,两条 COMPILER_RECIPE 的 range 均为 120,本提交只补守卫,不改既有配方行为
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
测试计划