Repository navigation
feat: 对齐解析元数据与平台差异(第四批) - #14
Merged
Merged
Conversation
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.
关联 #10,完成第四批解析元数据与平台差异对齐。
Python 导出的问卷快照包含
url、原始分页数据和数字滑块范围,之前 Go 会丢失或拒绝这些字段;腾讯说明题被过滤后还会导致题号偏移。本次补齐解析、默认配置及快照提交链路。变更
url(Go 字段SurveyURL,保留原有RunRequest.URL访问)。补齐省略协议、大小写及见数短链接规范化,并保留查询参数和原有平台地址校验。provider_page_raw,滑块范围支持数字、旧字符串和 null;嵌套原始元数据在复制时深拷贝。Pythondataclasses.asdict(survey)可直接传给单次提交接口。raw_relation和反向控制关系。验证
go test ./...go test -race ./...go vet ./...go build ./...tests/consumer:GOWORK=off go test ./...411ef6d的真实客户端离线生成 5 组问卷快照,逐字段比对 Go 解析与默认配置,并验证三平台快照提交、HTTP 解析和 Python 快照输入。合并后完成最终检查,再关闭 #10。