-
Notifications
You must be signed in to change notification settings - Fork 0
refactor(autoFIPC): superseded by tested distinct-count contract #324 #328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -770,8 +770,8 @@ autoFIPC <- | |
| if ( | ||
| !is.na(newFormItemName) && | ||
| !is.na(oldFormItemName) && | ||
| (length(stats::na.omit(unique(newFormModel@Data$data[, newFormItemName]))) == | ||
| length(stats::na.omit(unique(oldFormModel@Data$data[, oldFormItemName])))) | ||
| (sum(!is.na(unique(newFormModel@Data$data[, newFormItemName]))) == | ||
| sum(!is.na(unique(oldFormModel@Data$data[, oldFormItemName])))) | ||
|
Comment on lines
+773
to
+774
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win 새 계산식을 직접 검증하도록 회귀 테스트를 수정하세요.
권장 테스트 수정- function(x) length(na.omit(unique(x))),
+ function(x) sum(!is.na(unique(x))),🤖 Prompt for AI Agents |
||
| ) { | ||
| message( | ||
| 'applying ', | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win
알고리즘 변경과 문서 변경을 분리하세요.
R/aFIPC.R의 알고리즘 변경과.jules/bolt.md의 학습 노트 변경을 별도 커밋 또는 PR로 분리하세요. 그러면 각 변경을 독립적으로 검토하고 되돌릴 수 있습니다.As per coding guidelines: “Isolate operational fixes (workflow/docs/dependency policy) from algorithmic edits.”
🤖 Prompt for AI Agents
Source: Coding guidelines