• bitcoinBitcoin(BTC)$60,609.001.23%
  • ethereumEthereum(ETH)$1,704.321.25%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$554.230.46%
  • usd-coinUSDC(USDC)$1.000.00%
  • rippleXRP(XRP)$0.951.48%
  • solanaSolana(SOL)$71.311.31%
  • tronTRON(TRX)$0.303293-0.03%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.050.99%
  • HyperliquidHyperliquid(HYPE)$61.951.49%
  • zcashZcash(ZEC)$713.83-4.83%
  • dogecoinDogecoin(DOGE)$0.0570612.32%
  • leo-tokenLEO Token(LEO)$8.990.16%
  • moneroMonero(XMR)$438.06-15.37%
  • whitebitWhiteBIT Coin(WBT)$61.267.61%
  • chainlinkChainlink(LINK)$9.272.39%
  • USDSUSDS(USDS)$1.000.02%
  • cardanoCardano(ADA)$0.1505512.94%
  • Ethena USDeEthena USDe(USDE)$1.00-0.05%
  • stellarStellar(XLM)$0.1275740.13%
  • daiDai(DAI)$1.00-0.01%
  • bitcoin-cashBitcoin Cash(BCH)$209.132.52%
  • nearNEAR Protocol(NEAR)$3.085.68%
  • litecoinLitecoin(LTC)$43.512.83%
  • CantonCanton(CC)$0.076488-1.79%
  • avalanche-2Avalanche(AVAX)$6.661.19%
  • tether-goldTether Gold(XAUT)$3,561.460.83%
  • USD1USD1(USD1)$1.00-0.04%
  • uniswapUniswap(UNI)$4.68-0.39%
  • Ripple USDRipple USD(RLUSD)$1.000.01%
  • the-open-networkGram (prev. Toncoin)(GRAM)$0.962.47%
  • suiSui(SUI)$0.671.87%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • hedera-hashgraphHedera(HBAR)$0.0546696.01%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.17%
  • paypal-usdPayPal USD(PYUSD)$1.000.02%
  • quant-networkQuant(QNT)$149.271.81%
  • BittensorBittensor(TAO)$184.151.27%
  • shiba-inuShiba Inu(SHIB)$0.0000042.31%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.12-0.12%
  • Circle USYCCircle USYC(USYC)$1.150.00%
  • crypto-com-chainCronos(CRO)$0.039598-1.78%
  • MemeCoreMemeCore(M)$0.846.11%
  • RainRain(RAIN)$0.002549-7.16%
  • okbOKB(OKB)$82.921.84%
  • Falcon USDFalcon USD(USDF)$1.000.18%
  • United StablesUnited Stables(U)$1.000.02%
  • pax-goldPAX Gold(PAXG)$3,558.900.69%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • BitwayBitway(BTW)$1.0010.62%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Building Supervised Fine-Tuning Data from NVIDIA Open-SWE-Traces: Trajectory Parsing, Patch Analysis, Token Budgets, and Tool-Use Metrics

June 27, 2026
in AI & Technology
Reading Time: 1 min read
A A
Building Supervised Fine-Tuning Data from NVIDIA Open-SWE-Traces: Trajectory Parsing, Patch Analysis, Token Budgets, and Tool-Use Metrics
ShareShareShareShareShare
banner("STEP 3 — Building the analysis DataFrame")
def process_example(ex):
   traj = normalize_trajectory(ex.get("trajectory"))
   rc = role_counts(traj)
   nf, add, dele, _files, _exts = parse_patch(ex.get("model_patch"))
   meta = normalize_metadata(ex.get("metadata"))
   full_text = "\n".join(message_text(m) for m in traj)
   return {
       "instance_id": ex.get("instance_id"),
       "repo": ex.get("repo"),
       "language": (ex.get("language") or "unknown").lower(),
       "license": ex.get("license"),
       "resolved": ex.get("resolved"),
       "agent": ex.get("_agent"),
       "model": ex.get("_model"),
       "n_messages": len(traj),
       "n_system": rc.get("system", 0),
       "n_user": rc.get("user", 0),
       "n_assistant": rc.get("assistant", 0),
       "n_tool": rc.get("tool", 0),
       "patch_files": nf,
       "patch_add": add,
       "patch_del": dele,
       "patch_churn": add + dele,
       "traj_tokens": count_tokens(full_text),
       "category": meta.get("category"),
       "meta_files": meta.get("num_modified_files"),
       "meta_lines": meta.get("num_modified_lines"),
       "_tools": extract_tool_names(traj),
   }
records = [process_example(ex) for ex in raw_rows]
df = pd.DataFrame(records)
df["is_resolved"] = (df["resolved"] == 1)
df["known_label"] = df["resolved"].isin([0, 1])
print(f"DataFrame: {df.shape[0]} rows x {df.shape[1]} cols")
print("\nNumeric summary:")
print(df[["n_messages", "n_assistant", "n_tool",
         "patch_files", "patch_churn", "traj_tokens"]].describe().round(1))

Credit: Source link

YOU MAY ALSO LIKE

Workers At GTA 6 Studio Rockstar Games Vote Overwhelmingly Against Union Recognition

AI Could Soon Edit Live Videos in Real Time – Unite.AI

ShareTweetSendSharePin

Related Posts

Workers At GTA 6 Studio Rockstar Games Vote Overwhelmingly Against Union Recognition
AI & Technology

Workers At GTA 6 Studio Rockstar Games Vote Overwhelmingly Against Union Recognition

November 26, 2026
AI Could Soon Edit Live Videos in Real Time – Unite.AI
AI & Technology

AI Could Soon Edit Live Videos in Real Time – Unite.AI

November 26, 2026
Which Is Better for Teamwork and Project Delivery? – Unite.AI
AI & Technology

Which Is Better for Teamwork and Project Delivery? – Unite.AI

November 26, 2026
The Screens App Will Let You Turn Your iPhone Duo Into An Itty Bitty MacBook
AI & Technology

The Screens App Will Let You Turn Your iPhone Duo Into An Itty Bitty MacBook

November 26, 2026
Next Post
Venezuela Earthquakes Live Updates: Death Toll Rises to Over 900 and Nearly 3,000 Injured as Search Continues – The New York Times

Venezuela Earthquakes Live Updates: Death Toll Rises to Over 900 and Nearly 3,000 Injured as Search Continues - The New York Times

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Net Migration to U.K. Falls to Lowest Level Since 1997, Excluding Pandemic – The New York Times

Net Migration to U.K. Falls to Lowest Level Since 1997, Excluding Pandemic – The New York Times

November 26, 2026
Lemonade, Inc. (LMND) Analyst/Investor Day Prepared Remarks Transcript

Lemonade, Inc. (LMND) Analyst/Investor Day Prepared Remarks Transcript

November 23, 2026
Nasdaq Expects Smooth Anthropic IPO, Griggs Says

Nasdaq Expects Smooth Anthropic IPO, Griggs Says

November 24, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!