René's URL Explorer Experiment


Title: Fix scoring endpoint HTTP behavior · Issue #110 · microsoft/MLOpsPython · GitHub

Open Graph Title: Fix scoring endpoint HTTP behavior · Issue #110 · microsoft/MLOpsPython

X Title: Fix scoring endpoint HTTP behavior · Issue #110 · microsoft/MLOpsPython

Description: Scoring endpoint should return json, not stringified json curl -H "Authorization: Bearer $token" $scoringUri \ -d '{"data":[[1,2,3,4,5,6,7,8,9,10],[10,9,8,7,6,5,4,3,2,1]]}' \ -H Content-type:application/json Returns: "{\"result\": [5113....

Open Graph Description: Scoring endpoint should return json, not stringified json curl -H "Authorization: Bearer $token" $scoringUri \ -d '{"data":[[1,2,3,4,5,6,7,8,9,10],[10,9,8,7,6,5,4,3,2,1]]}' \ -H Content-type:applic...

X Description: Scoring endpoint should return json, not stringified json curl -H "Authorization: Bearer $token" $scoringUri \ -d '{"data":[[1,2,3,4,5,6,7,8,9,10],[10,9,8,7,6,5,4,3,2,1]]}&#...

Opengraph URL: https://github.com/microsoft/MLOpsPython/issues/110

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fix scoring endpoint HTTP behavior","articleBody":"\r\n1. Scoring endpoint should return json, not stringified json\r\n\r\n```\r\ncurl -H \"Authorization: Bearer $token\" $scoringUri \\\r\n  -d '{\"data\":[[1,2,3,4,5,6,7,8,9,10],[10,9,8,7,6,5,4,3,2,1]]}' \\\r\n  -H Content-type:application/json\r\n```\r\n\r\nReturns:\r\n\r\n```\r\n\"{\\\"result\\\": [5113.099642122809, 3713.6329271385334]}\"\r\n```\r\n\r\nExpected:\r\n```\r\n{\"result\": [5113.099642122809, 3713.6329271385334]}\r\n```\r\n\r\nProbably we should avoid json.dumps() in:\r\nhttps://github.com/microsoft/MLOpsPython/blob/41ea9b7765183eca83cf3f193e69777858709d35/code/scoring/score.py#L46\r\n\r\n2. Scoring endpoint should not return 200 in case of error\r\n\r\nExceptions are swallowed at\r\nhttps://github.com/microsoft/MLOpsPython/blob/41ea9b7765183eca83cf3f193e69777858709d35/code/scoring/score.py#L47\r\n\r\nThe code should not only return the error message but also set an appropriate HTTP return code.\r\n","author":{"url":"https://github.com/algattik","@type":"Person","name":"algattik"},"datePublished":"2019-11-25T15:28:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/110/MLOpsPython/issues/110"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:18469e1a-d76e-8a09-930f-c27857b4a88d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id93BE:336295:1B45A3:246667:697D1962
html-safe-nonceeaa75248b9f469f8dc14ade36053616a09332b3e31257406aaa9d7d01f5a8d44
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0JFOjMzNjI5NToxQjQ1QTM6MjQ2NjY3OjY5N0QxOTYyIiwidmlzaXRvcl9pZCI6IjM5ODAxODY4MjEwNjg2NTkwNDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac382bd09d22463e67739ddb903d689ad588abc3eed12952dace8351127c109bed
hovercard-subject-tagissue:528160899
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/MLOpsPython/110/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b0d041a227f255daef3d03ffcd5939c804c10fd19455a577d1327d9a95f3973b/microsoft/MLOpsPython/issues/110
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b0d041a227f255daef3d03ffcd5939c804c10fd19455a577d1327d9a95f3973b/microsoft/MLOpsPython/issues/110
og:image:altScoring endpoint should return json, not stringified json curl -H "Authorization: Bearer $token" $scoringUri \ -d '{"data":[[1,2,3,4,5,6,7,8,9,10],[10,9,8,7,6,5,4,3,2,1]]}' \ -H Content-type:applic...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealgattik
hostnamegithub.com
expected-hostnamegithub.com
None2d5649ae937eae7f63d31fc38497f18a9f7584ad9d7f9e934a7b64b964ed52fd
turbo-cache-controlno-preview
go-importgithub.com/microsoft/MLOpsPython git https://github.com/microsoft/MLOpsPython.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id168217581
octolytics-dimension-repository_nwomicrosoft/MLOpsPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id168217581
octolytics-dimension-repository_network_root_nwomicrosoft/MLOpsPython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release87312954ce93e22874ec34d319d96d539f0beba0
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/MLOpsPython/issues/110#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FMLOpsPython%2Fissues%2F110
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FMLOpsPython%2Fissues%2F110
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FMLOpsPython
Reloadhttps://github.com/microsoft/MLOpsPython/issues/110
Reloadhttps://github.com/microsoft/MLOpsPython/issues/110
Reloadhttps://github.com/microsoft/MLOpsPython/issues/110
microsoft https://github.com/microsoft
MLOpsPythonhttps://github.com/microsoft/MLOpsPython
Notifications https://github.com/login?return_to=%2Fmicrosoft%2FMLOpsPython
Fork 1.1k https://github.com/login?return_to=%2Fmicrosoft%2FMLOpsPython
Star 1.3k https://github.com/login?return_to=%2Fmicrosoft%2FMLOpsPython
Code https://github.com/microsoft/MLOpsPython
Issues 66 https://github.com/microsoft/MLOpsPython/issues
Pull requests 17 https://github.com/microsoft/MLOpsPython/pulls
Actions https://github.com/microsoft/MLOpsPython/actions
Projects 0 https://github.com/microsoft/MLOpsPython/projects
Models https://github.com/microsoft/MLOpsPython/models
Security 0 https://github.com/microsoft/MLOpsPython/security
Insights https://github.com/microsoft/MLOpsPython/pulse
Code https://github.com/microsoft/MLOpsPython
Issues https://github.com/microsoft/MLOpsPython/issues
Pull requests https://github.com/microsoft/MLOpsPython/pulls
Actions https://github.com/microsoft/MLOpsPython/actions
Projects https://github.com/microsoft/MLOpsPython/projects
Models https://github.com/microsoft/MLOpsPython/models
Security https://github.com/microsoft/MLOpsPython/security
Insights https://github.com/microsoft/MLOpsPython/pulse
New issuehttps://github.com/login?return_to=https://github.com/microsoft/MLOpsPython/issues/110
New issuehttps://github.com/login?return_to=https://github.com/microsoft/MLOpsPython/issues/110
#121https://github.com/microsoft/MLOpsPython/pull/121
Fix scoring endpoint HTTP behaviorhttps://github.com/microsoft/MLOpsPython/issues/110#top
#121https://github.com/microsoft/MLOpsPython/pull/121
https://github.com/algattik
https://github.com/algattik
algattikhttps://github.com/algattik
on Nov 25, 2019https://github.com/microsoft/MLOpsPython/issues/110#issue-528160899
MLOpsPython/code/scoring/score.pyhttps://github.com/microsoft/MLOpsPython/blob/41ea9b7765183eca83cf3f193e69777858709d35/code/scoring/score.py#L46
41ea9b7https://github.com/microsoft/MLOpsPython/commit/41ea9b7765183eca83cf3f193e69777858709d35
MLOpsPython/code/scoring/score.pyhttps://github.com/microsoft/MLOpsPython/blob/41ea9b7765183eca83cf3f193e69777858709d35/code/scoring/score.py#L47
41ea9b7https://github.com/microsoft/MLOpsPython/commit/41ea9b7765183eca83cf3f193e69777858709d35
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.