Skip to content

Feat/to cdf#2

Open
stephTchembeu wants to merge 31 commits intokoenvo:masterfrom
stephTchembeu:feat/to_cdf
Open

Feat/to cdf#2
stephTchembeu wants to merge 31 commits intokoenvo:masterfrom
stephTchembeu:feat/to_cdf

Conversation

@stephTchembeu
Copy link

No description provided.

UnravelSports [JB] and others added 18 commits May 29, 2025 11:01
- Add CDFTrackingDataSerializer with placeholder implementation
- Add failing test using common-data-format-validator
- Add Provider.CDF enum value
- Add common-data-format-validator to test requirements
Use bugfix/packaging branch which fixes schema file inclusion
Also fixed the test path to the validators
metadata_json["match"] = {
"match": {
"id": dataset.metadata.game_id, # same as for the jsonl
"kickoff_time": dataset.metadata.periods[0].start_time,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"kickoff_time": self.convert_time(dataset.metadata.periods[0].start_time)


outputs.meta_data.write(
(
json.dumps(metadata_json, default=self.default_serializer)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be better to make the serializer expliciet and don't use default_serializer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants