feat: implement tensor friendly json and cypher graph serializers - #14
Conversation
- Built decoupled `CypherSerializer` mapped against "Column as Node" outputs adhering to strictly declarative `CREATE` operations managing downstream idempotency logic natively via structural variables formatting escaping cleanly. - Implemented `JsonSerializer` resolving string references to strictly contiguous integer indexing natively aligning downstream external Graph Neural Network tensor expectations accurately. - Centralized all serialization formats under unified `GraphExporter` accessible consistently through datacontract-cli mapping behavior. - Included full end-to-end integration tests natively parsing DataContract files resolving YAML correctly testing output shapes against mocked expectations accurately enforcing relationships behaviors comprehensively avoiding any test mock leakage cleanly. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Implement
JsonSerializer(tensor ID mapped) andCypherSerializer(CREATEidempotent execution).Consolidate the architecture natively inside
contracthub/exporters/graph_exporter.pyregistering explicitly againstdatacontract-cliexporter mapping using standard--export-args '{"format": "cypher"}'parsing logic directly.Fully tested via
DataContract()object initialization mapped explicitly against core testing fixtures guaranteeing complete native test execution correctly resolving all relationship configurations seamlessly executing perfectly natively.PR created automatically by Jules for task 2530397524747058571 started by @ElliotSun