Skip to content
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

[Bug]: I can't download scores that contain . in the name #1716

Closed
1 of 4 tasks
jverre opened this issue Apr 2, 2025 · 1 comment · Fixed by #1719
Closed
1 of 4 tasks

[Bug]: I can't download scores that contain . in the name #1716

jverre opened this issue Apr 2, 2025 · 1 comment · Fixed by #1719

Comments

@jverre
Copy link
Collaborator

jverre commented Apr 2, 2025

What component(s) are affected?

  • Python SDK
  • Opik UI
  • Opik Server
  • Documentation

Opik version

  • Opik version: 1.6.13

Describe the problem

Scores that contain . are not accessible when I download traces from the traces table.

Reproduction steps and code snippets

No response

Error logs or stack trace

Step 1: Log data using:

client = opik.Opik()
client.trace(
    name="test",
    input="testing",
    feedback_scores=[
        {"name": "some_score", "value": 0.1},
        {"name": "some_score.with_dot", "value": 0.2},
        {"name": "some_score-with_dash", "value": 0.4}
    ]
)

Step 2: Navigate to the Opik UI, select the trace and download it as a json
Step 3: View the trace data and notice the missing scores. This is what I get when I download the trace specified above as a JSON:

[
  {
    "id": "0195f649-3cb0-7c6b-bc04-b5bbc30b379b",
    "name": "test",
    "input": "testing",
    "output": "",
    "duration": "",
    "comments": "",
    "some_score": 0.1,
    "some_score-with_dash": 0.4,
    "with_dot": "-",
    "User feedback": "-"
  }
]

-> Bug: some_score.with_dot is not present in the exported file

Healthcheck results

No response

@thiagohora
Copy link
Contributor

Thank you. We'll look at it and update you on this issue ASAP!

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 a pull request may close this issue.

2 participants